Issue 111155 - Fields formatted as hidden text show in TOC/indexes
Summary: Fields formatted as hidden text show in TOC/indexes
Alias: None
Product: Writer
Classification: Application
Component: formatting (show other issues)
Version: OOo 3.2
Hardware: Unknown All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
: 127623 (view as issue list)
Depends on:
Reported: 2010-04-26 12:29 UTC by nemeth.lacko
Modified: 2019-07-22 10:09 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---

table of contents example (10.58 KB, application/vnd.oasis.opendocument.text)
2010-04-26 12:30 UTC, nemeth.lacko
no flags Details
detailed sample (14.73 KB, application/vnd.oasis.opendocument.text)
2010-04-26 22:42 UTC, eric.savary
no flags Details

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

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
Comment 5 nemeth.lacko 2010-04-26 20:22:42 UTC
I have reopened this issue, because the normal (ie.'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 "".
Comment 9 oooforum (fr) 2019-07-22 10:09:14 UTC
*** Issue 127623 has been marked as a duplicate of this issue. ***