Issue 111155

Summary: Fields formatted as hidden text show in TOC/indexes
Product: Writer Reporter: nemeth.lacko
Component: formattingAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: issues, TorrAB
Version: OOo 3.2   
Target Milestone: ---   
Hardware: Unknown   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
table of contents example
none
detailed sample none

Description nemeth.lacko 2010-04-26 12:29:10 UTC
Content of a conditional field displayed in indexes (table of contents, lists of
figures, index of tables) despite of its hidden text formatting. (I had to add a
new index update icon to the Hungarian cross reference toolbar to handle this
problem.)
Comment 1 nemeth.lacko 2010-04-26 12:30:16 UTC
Created attachment 69118 [details]
table of contents example
Comment 2 nemeth.lacko 2010-04-26 12:32:32 UTC
Testing:

Switch on Tools-Options-OOo Writer-Foirmatting Aid-Hidden text and
View-Nonprinting characters to show the hidden text of the example.
Comment 3 eric.savary 2010-04-26 14:29:37 UTC
Same root cause as  27377.
TOC/Indexes do not retrieve character formatting of their references.
Hidden text is a character formatting.
-> Text is not hidden

*** This issue has been marked as a duplicate of 27377 ***
Comment 4 eric.savary 2010-04-26 14:29:56 UTC
Closed
Comment 5 nemeth.lacko 2010-04-26 20:22:42 UTC
I have reopened this issue, because the normal (ie. OpenOffice.org's) way to
handle hidden text is different from the real character formattings. Please,
check the test file: plain hidden text and not conditional text fields are
missing from TOC references.
Comment 6 eric.savary 2010-04-26 22:36:23 UTC
@nemeth: You are perfectly right. Sorry, I mixed up different things...

@OS: different remarks:
- contrary to other character attributes, the "hidden text" attribute is
generally preserved in TOCs/indexes
-- Exception: fields[1] formatted as hidden WHILE in a paragraph with non hidden
text will show -> bug.
-- Fields formatted as hidden are hidden when the whole paragraph is formatted
as hidden text -> Ok

I will attached a document illustrating this. 


[1] *Any* fields, not only "conditional fields" as first reported. In the first
attached document, the text noted "hidden field" is not a "real" field but a
text mark, a text marked as reference...
Comment 7 eric.savary 2010-04-26 22:42:18 UTC
Created attachment 69136 [details]
detailed sample
Comment 8 Marcus 2017-05-20 11:15:13 UTC
Reset assigne to the default "issues@openoffice.apache.org".
Comment 9 oooforum (fr) 2019-07-22 10:09:14 UTC
*** Issue 127623 has been marked as a duplicate of this issue. ***