[Libreoffice-bugs] [Bug 38093] Add an Outline View layout and editing mode to Writer

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Jul 25 22:39:30 UTC 2020


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

--- Comment #141 from Jim Raykowski <raykowj at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200725/5a0a02e2/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list