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

            Bug ID: 174376
           Summary: Don't define unused sequence-decls
           Product: LibreOffice
           Version: 25.2.0.0 alpha0+
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: minor
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Reproduction:

1. Create a new Writer document
2. Save it as a flat ODT
3. Inspect the end of the FODT, looking for a  <text:sequence-decls> element

Expected Results:

Either that element is missing entirely, or it is empty.

Actual Results:

We get:

   <text:sequence-decls>
    <text:sequence-decl text:display-outline-level="0"
text:name="Illustration"/>
    <text:sequence-decl text:display-outline-level="0" text:name="Table"/>
    <text:sequence-decl text:display-outline-level="0" text:name="Text"/>
    <text:sequence-decl text:display-outline-level="0" text:name="Drawing"/>
    <text:sequence-decl text:display-outline-level="0" text:name="Figure"/>
   </text:sequence-decls>

even though the document haes no illustrations, no tables, no figures, no
drawings etc.

Also, even if the document had these items, but they were never numbered - it
would still not make sense to have these.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to