Bug 107722

Summary: UNO command to toggle Hidden characters' visibility
Product: LibreOffice Reporter: Yousuf Philips (jay) (retired) <philipz85>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: enhancement CC: momonasmon, rb.henschel, sdc.blanco, s.zosgornik, vsfoote
Priority: medium    
Version: 5.4.0.0.alpha1+   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=107658
https://bugs.documentfoundation.org/show_bug.cgi?id=117631
https://bugs.documentfoundation.org/show_bug.cgi?id=158168
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 86899, 102345    

Description Yousuf Philips (jay) (retired) 2017-05-09 12:02:03 UTC
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'.
Comment 1 Yousuf Philips (jay) (retired) 2017-05-09 12:16:43 UTC
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'.
Comment 2 V Stuart Foote 2017-05-09 15:06:20 UTC
+1
Comment 3 Timur 2018-05-17 09:06:28 UTC
'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'?
Comment 4 Stéphane Guillou (stragu) 2023-11-13 08:43:39 UTC
(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).
Comment 5 Stéphane Guillou (stragu) 2023-11-13 08:57:46 UTC
*** Bug 143221 has been marked as a duplicate of this bug. ***