https://bugs.documentfoundation.org/show_bug.cgi?id=94307

            Bug ID: 94307
           Summary: Wrong automatic character style after reopen document
           Product: LibreOffice
           Version: 5.0.2.1 rc
          Hardware: x86 (IA32)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: matthias.t...@gmx-topmail.de

Created attachment 118793
  --> https://bugs.documentfoundation.org/attachment.cgi?id=118793&action=edit
Example document and screenshots

Version: 5.0.1.2
Build ID: 00m0(Build:2)
Locale: en-US (C)

There seems to be an issue with automatic formatting after reopen a prepared
document. I tried this with "character style". If two styles are linked the
text is correctly formatted but after reopen the document one style is not
correctly set.

If this is done with "paragraph style", everything is working fine. The
paragraphs are formatted correctly after reopen the document.

Instruction to reproduce the issue with "character style": 
Create style one and format some text area with that style one.
Create second style, based on style one. Format another text area with that
style two.
Change setting in style two to set the font size "- 2 pt" realtive to style
one.
-> The second text area is correclty formatted after apply that style.
Save and close the document.
Open the document.
-> The second text area is set to style two but it is not formatted in that
way.
-> After open the style two properties and apply once again the text area two
is formatted correctly.

Screenshot description:
01: Prepared text. First sentence is formatted with style "text_bold".
02: Create new style, based on style "text_bold".
03: Set style "text" to second sentence.
04: Both sentences are formatted correctly. Sentence two (style "text") has
font size "- 2 pt" based on font size of style "text_bold".
05: Document was saved. Reload now.
06: The second sentence is not formatted as expected (style "text"). The font
size should be "- 2 pt" based on style "text_bold" but is seems to be smaller.
07: Open settings for style "text".
08: Apply settings by simply click on "OK".
09: The second sentence (style "text") is correclty formatted after apply the
style once again.

LL_issue_char_style.odt: Document to reproduce.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to