Main Window Outliner for Writer

Creating Extension - Shared Libraries
Forum rules
For sharing working examples of macros / scripts. These can be in any script language supported by [Basic, Python, Netbean] or as source code files in Java or C# even - but requires the actual source code listing. This forum is not for asking questions about writing your own macros.

Main Window Outliner for Writer

Postby JeJe » Wed Aug 05, 2020 6:24 pm

Outline-like main window for normal text paragraphs. Useful when starting a document with an outline before complex document elements are added (it probably won't work with those).
Paragraphs are hidden by creating an identical style with the hidden characters property. The paragraphs are shown again by changing the paragraph back to the original style
The hidden styles will be called Zhidden_YOURSTYLENAME
The Z is so these style are listed after your other custom styles

NOTE: CONSIDER PRE BETA USE AT OWN RISK. Always back up documents. Use the test document for experimentation – if problems don't use.

Attached is the extension, a help document and a test document to try it out.
JeOutliner Help.odt
(54.86 KiB) Downloaded 45 times
JeOutliner Test Document.odt
(16.12 KiB) Downloaded 52 times
(16.69 KiB) Downloaded 47 times
Openoffice 4.1.6
Windows 8
Posts: 1410
Joined: Wed Mar 09, 2016 2:40 pm

Return to Code Snippets

Who is online

Users browsing this forum: No registered users and 1 guest