An UNO command is needed for the 'Hidden Text' checkbox found in Tools > Options > Writer > Formatting Aids. Hopefully these code pointers are of use. http://opengrok.libreoffice.org/xref/core/sw/source/uibase/config/usrpref.cxx#101 http://opengrok.libreoffice.org/xref/core/sw/inc/viewopt.hxx#SetShowHiddenChar A similar UNO command is already available for the 'Fields: Hidden Paragraph' checkbox (.uno:ShowHiddenParagraphs). http://opengrok.libreoffice.org/xref/core/sw/sdi/swriter.sdi#5370 The new UNO command will be added to the View menu in a grouped section with Formatting Marks (.uno:ControlCodes) below 'Track Changes'.
Similar to 'Fields: Hidden Paragraph' (.uno:ShowHiddenParagraphs), hidden text should be made independent from 'Formatting Marks' (.uno:ControlCodes) so it can be shown/hidden irrespective of the state of 'Formatting Marks'.
+1
'Hidden Text' is mentioned in Bug 107658 and help says: "Displays text that uses the character format "hidden", when View - Formatting Marks is enabled." Is this bug about 'Fields: Hidden Text'?
(In reply to Timur from comment #3) > Is this bug about 'Fields: Hidden Text'? No, this is about characters hidden with the font effect "Hidden" in the Character formatting dialog. Not the conditional fields. Toggling is currently only possible with Tools > Options > Writer > Formatting Aids > Hidden characters (+ toggling Formatting Marks visibility).
*** Bug 143221 has been marked as a duplicate of this bug. ***