To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=69627
                 Issue #|69627
                 Summary|written OpenDocument file format doesn't fit to the cr
                        |eated text document
               Component|Word processor
                 Version|680m182
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|save-export
             Assigned to|od
             Reported by|od





------- Additional comments from [EMAIL PROTECTED] Mon Sep 18 01:44:53 -0700 
2006 -------
Scenario:
- Paragraph style “Heading 1” is assigned to outline level 1 of the outline 
style.
- Parent paragraph style of “Heading 1” is paragraph style “Heading”.
- List style “Numbering 1” is set at paragraph style “Heading”.
- Paragraph style “Heading 1” is assigned to the first paragraph of the text
document.

Resulting text document:
The first paragraph applies the outline style and is numbered according its
definition.

Resulting OpenDocument file format (only extracts):
from styles.xml:
<style:style style:name="Heading" 
        style:family="paragraph" 
        style:parent-style-name="Standard" 
        style:list-style-name="Numbering_20_1" 
        style:class="text">
        ...
</style:style>
<style:style style:name="Heading_20_1"
        style:family="paragraph"
        style:parent-style-name="Heading"
        style:class="text"
        style:default-outline-level="1">
        ...
</style:style>
from content.xml:
<text:h
        text:style-name="Heading_20_1"
        text:outline-level="1">
first paragraph
</text:h>

Defect:
The current XML import interprets the resulting OpenDocument file format in such
the way, that the first paragraph applies the outline style.
But, according to the OpenDocument file format specification the first paragraph
has to apply the list style “Numbering 1”. A heading only applies the outline
style, if its paragraph's style doesn't define any list style. The paragraph
style of the first paragraph is “Heading 1” and this paragraph style inherits
the list style “Numbering 1” from its parent paragraph style “Heading”.

Proposed fix:
If the above the described case occurs for one of the paragraph styles, which
are assigned to one of the outline levels of the outline style, the following
changes are made:
- Instead of writing the outline style into the OpenDocument file format an
identical normal list style with a defined name is written. The defined name is
the corrently internal used name for the outline style – this is “Outline”.
- All paragraph styles, which are assigned to an outline level of the outline
style, got as its list style the newly written identical normal list style.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to