Supposing you goal is only “visual”, i.e. you want to see one of two different graphical decoration elements without any action being triggered behind the scene, this can be done by abusing the list feature of Writer.
To do this, you need to be familiar with styles and notably with list styles. If not, read the Writer Guide for an introduction and practice a bit before going further.
Create a new list style (list styles can be accessed by clicking on the fifth icon from the left in the toolbar of the side style pane – F11 if not yet visible). Name it RadioBtn or something similar to your liking.
- ignore all tabs except
Position
and Customize
IMPORTANT: once you’ve begun to configure the style yo your liking, don’t use any other tab because they will override your settings and you’ll have to restart from the beginning.
- in
Customize
, select Level 1-10 and Number: as Bullet
- then for Level 1, press Select, select Character block "Geometric shapes*
- you should see a white square at U+25A1
- click on it
- OK
- for Level 2, press Select, select Character block "Dingbats*
- you should see a white square with a check mark at U+2611 and U+2612
- click on one of them
- OK
- in
Position
, you adjust the position of the mark and the left indent ("margin’) of the text for the “radio button”
- select Level 1-10
- set Aligned at 0cm
- set both Indent at and Tab stop at 1,27cm (or other distance you prefer)
It is important that these two values always remain the same.
When you want to add a “radio button” on a paragraph, apply your RadioBtn to the paragraph (this comes in addition to any paragraph style you apply to the the paragraph). An unchecked “button” appears at left.
To check the button, put the cursor at the very beginning of the text and press Tab. To uncheck a button, put the cursor at the very beginning of the text and press Shift+Tab.
PS: these are not usual radio buttons but this is the closest I could find in the widely available Unicode glyphs. If you want real traditional radio buttons, create them in a graphical program like Draw and same them as an image (JPEG, PNG, …). Instead of selecting Number: “Bullet”, use “Graphics” and import your files.