Bug 107722 - UNO command to toggle Hidden characters' visibility
Summary: UNO command to toggle Hidden characters' visibility
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.4.0.0.alpha1+
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 143221 (view as bug list)
Depends on:
Blocks: UNO-Command-New Formatting-Mark
  Show dependency treegraph
 
Reported: 2017-05-09 12:02 UTC by Yousuf Philips (jay) (retired)
Modified: 2023-11-13 09:01 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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. ***