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

--- Comment #141 from Jim Raykowski <rayk...@gmail.com> ---
Created attachment 163540
  --> https://bugs.documentfoundation.org/attachment.cgi?id=163540&action=edit
outline folding with persistence

Persistence seems to be working. This is my first time poking around xmloff
export and import. It would be super great to have this looked over by a kind
dev with experience in this area. Persistence addition was the only changes in
patchset 21. loext:outline-content-visible is the tag used to indicate outline
content was folded. Below is a cut out of a content.xml office:body tag that
shows Heading 2 and Heading 4 outline content was folded when the document was
saved.   

<office:body>
<office:text>
<text:sequence-decls>
...
</text:sequence-decls>
<text:h text:style-name="P1" text:outline-level="1">Heading 1</text:h>
<text:p text:style-name="P5">A paragraph under Heading 1</text:p>
<text:h text:style-name="P2" text:outline-level="2"
loext:outline-content-visible="false">Heading 2</text:h>
<text:p text:style-name="P5">A paragraph under Heading 2</text:p>
<text:h text:style-name="P3" text:outline-level="2">Heading 3</text:h>
<text:p text:style-name="P5">A paragraph under Heading 3</text:p>
<text:h text:style-name="P4" text:outline-level="3"
loext:outline-content-visible="false">Heading 4</text:h>
<text:p text:style-name="P5">A paragraph under Heading 4</text:p>
</office:text>
</office:body>

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

Reply via email to