Bug 146215 - Wizard to quickly insert interactive check boxes
Summary: Wizard to quickly insert interactive check boxes
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
Hardware: All All
: medium enhancement
Assignee: Not Assigned
Depends on:
Blocks: Form-Controls Wizard DoAsExtension
  Show dependency treegraph
Reported: 2021-12-13 19:10 UTC by andreas_k
Modified: 2021-12-20 10:02 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:
Regression By:

How it look at google docs and in MS Word / LibreOffice (12.91 KB, image/png)
2021-12-14 08:07 UTC, andreas_k

Note You need to log in before you can comment on or make changes to this bug.
Description andreas_k 2021-12-13 19:10:42 UTC
Checkboxes are very usefull within markdown. Also google docs has checkbox list style by default in the UI.

But Checkboxes are more than a list style. In markdown at github you can check and uncheck checkboxes very easy and you have a list of checked items.

I would like to see the following items within LibreOffice:

1. easier use of checkboxes
   md use - [] and a checkbox was auto generated, this would be cool to use also within LibO (AutoCorrect)

2. TOC for checkboxes
   you can have within your (large) document checkboxes and than you can define a TOC to list all checkboxes with status.

Actual Results:

Expected Results:

Reproducible: Always

User Profile Reset: No

Additional Info:
Comment 1 Heiko Tietze 2021-12-14 07:31:39 UTC
Do you mean check box as in special characters [1] or as known from forms. The latter might be somewhat difficult to handle due to positioning, complex attributes, design mode etc.

For the ToC you may use index entries, an user-defined index and spacial characters right out of the box. But I don't see the benefit here.

[1] https://unicode-table.com/en/sets/check/
Comment 2 andreas_k 2021-12-14 08:07:38 UTC
Created attachment 176923 [details]
How it look at google docs and in MS Word / LibreOffice

I mean form checkboxes, cause LibO has this functionality.

But maybe you can see how easy it was in google docs. See Attachment.

If you use special caracters you have the issue that you can't mix that good between checked and unchecked.
Comment 3 andreas_k 2021-12-14 08:09:29 UTC
(In reply to Heiko Tietze from comment #1)
> For the ToC you may use index entries, an user-defined index and spacial
> characters right out of the box. But I don't see the benefit here.

If you have a document where you have in x sections checkboxes, it would be cool and usefull to have a ToC with all the checkboxes where you see the status, can jump with hyperlink, see the page number, ...
Comment 4 Heiko Tietze 2021-12-14 09:09:39 UTC
(In reply to andreas_k from comment #2)
> How it look at google docs and in MS Word / LibreOffice

Looks like an ordinary unnumbered list using the check mark symbol as bullet. Easy to do out of the box. 

But actually you can click the checkbox which makes the text strike-through. Super upgly but I see no way to check a bullet symbol. Remember that we are bound to the file format and it would need to allow form fields as bullets.

What we can do is to have the check mark and use level 1 for unchecked and 2 for checked. It's not intuitive and depends on the font.
Comment 5 Heiko Tietze 2021-12-16 14:29:25 UTC
The point is that we are bound to ODF. And bullets are just characters, which can be checkmarks and actually we ship one list style with checked symbols, but not interactive. So solving the tasklist example with ordinary lists is not working.

But since the use case might be relevant for many I would appreciate a wizard that converts a list into form controls. 

Another approach is requested in bug 44571 with kind of autoformat turning [] into a checkbox. However, this wouldn't be a clickable control.
Comment 6 Cor Nouws 2021-12-20 10:02:43 UTC
Andreas: I think I understand your idea.

Heiko: The section here
shows how it is used.

Andreas: for having the 'check' boxes, you can create your own autoCorrect entries of course.
But then, that does not allow any TOC of check boxes of course.

I think it makes fun - but wonder how many would use it ;)