Issue 17720 - character styles on "table-of-content" entries lost when saving a document
Summary: character styles on "table-of-content" entries lost when saving a document
Status: CLOSED DUPLICATE of issue 21359
Alias: None
Product: Writer
Classification: Application
Component: ui (show other issues)
Version: OOo 1.1 RC
Hardware: Other Other OS
: P2 Trivial (vote)
Target Milestone: ---
Assignee: openoffice
QA Contact: issues@sw
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-31 16:01 UTC by Frank Schönheit
Modified: 2013-08-07 14:41 UTC (History)
2 users (show)

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


Attachments
document to reproduce the bug case (6.00 KB, application/octet-stream)
2003-07-31 16:02 UTC, Frank Schönheit
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Frank Schönheit 2003-07-31 16:01:15 UTC
* open the attached bug doc
* Therein, you see a Table Of Content (TOC), together with 6 headings
* In the TOC, open the context menu, chose "Edit Table/Index"
* on the dialog started now, go to tab page "Entries"
* select "Level 1". The entry structure for this level is basically "E# LS E LE T #"
* Select the "LS" (hyperlink start) element
* not that in the "Character Style" listbox, "<None>" is selected
* change this selection to "table_of_content". This is a character style
"derived" from the "Internet Link" style, which only overrides the text color
(light red)
* do the same for the "LE" (hyperlink end) element
* close the dialog with OK
=> the links in the TOC are "light red" now, which is exactly as intended
* save the document
* reload the document
=> the links in the TOC are still colored "light red"
* in the context menu of the TOC, chose "Update table/index"
=> the links in the TOC are now colored with the usual link color

Editing the table reveals that the character style for the "LS" and the "LE"
elements is lost - they're again set to "<None>". This does not depend on the
update of the table, but only on saving and reloading - if you edit the table
immediately after the reload, you see that it's already broken.
Comment 1 Frank Schönheit 2003-07-31 16:02:10 UTC
Created attachment 8179 [details]
document to reproduce the bug case
Comment 2 Frank Schönheit 2003-07-31 16:03:57 UTC
fs->dvo: Not sure if you're the right person for this. To me it sounds
like of problem if saving/loading, thus I think it may not be
completely wrong ...

fs->sba: To me this sounds a little bit like a PP1-candidate. Finally,
it's a kind of data loss ... What do you think?
Comment 3 openoffice 2003-09-18 17:34:43 UTC
.
Comment 4 openoffice 2004-02-04 18:53:46 UTC
.
Comment 5 openoffice 2004-03-24 19:12:27 UTC
dvo: Has already been fixed by OS in #i17720#.

*** This issue has been marked as a duplicate of 21359 ***
Comment 6 Martin Hollmichel 2005-01-18 14:44:56 UTC
close issue.