Issue 28549 - character styles lost upon save/reload
Summary: character styles lost upon save/reload
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: ui (show other issues)
Version: 680
Hardware: All All
: P2 Trivial (vote)
Target Milestone: ---
Assignee: eric.savary
QA Contact: issues@sw
URL:
Keywords:
: 28803 30081 (view as issue list)
Depends on:
Blocks:
 
Reported: 2004-04-30 08:22 UTC by Frank Schönheit
Modified: 2013-08-07 14:41 UTC (History)
1 user (show)

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


Attachments
sample document which contains some text with applied character styles (5.17 KB, application/vnd.sun.xml.writer)
2004-04-30 08:22 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 2004-04-30 08:22:04 UTC
* create a new text document
* create a new character style, giving it a different font color
* type some text, and assign the new character style to some portions of the text
* save the document
* reload the document
=> the character style is not assigned to the text anymore

(I am going to attach a bug doc)

It seems that really *all* character styles are lost when the document is saved.
Well, not the definitions of the style, but the assignments of the style to text
portions.
They do not re-appear when loading the document in e.g. OpenOffice.org 1.1.1, so
this really seems to be a bug about saving, not loading.

The bug already happened in SRC680m34.
Comment 1 Frank Schönheit 2004-04-30 08:22:48 UTC
Created attachment 14886 [details]
sample document which contains some text with applied character styles
Comment 2 openoffice 2004-05-10 16:44:14 UTC
dvo: This was broken as part #i17343#,  integrated into txtparae.cxx v1.110.
That bugfix wanted to check for invalid properties by testing "mnIndex != -1",
but apparently only "mnIndex" made it into the source. Hence some properties
were skipped.
Comment 3 openoffice 2004-05-10 17:15:33 UTC
*** Issue 28803 has been marked as a duplicate of this issue. ***
Comment 4 openoffice 2004-05-17 13:04:52 UTC
re-open so I may re-assign.
Comment 5 openoffice 2004-05-17 13:09:14 UTC
dvo->es: Please test.
Comment 6 eric.savary 2004-05-17 15:03:32 UTC
ES: verified in dvoea1
Comment 7 eric.savary 2004-05-17 15:03:53 UTC
Verified
Comment 8 openoffice 2004-06-11 12:34:48 UTC
*** Issue 30081 has been marked as a duplicate of this issue. ***
Comment 9 eric.savary 2004-06-15 18:22:53 UTC
ok in src680_m43-2_01.8788