Set styles to words and create a Table of Contents in a single click
latest release: 2023-03-29 10:33:48
KeyParaStocX (Keyword-based Paragraph Styling and Table of Contents eXtension) is a LibreOffice extension that searches for the configured keywords in a text, changes their style and builds a Table of Contents for them.
The keywords and their target styles can be configured by the users.
The main functionality of KeyParaStocX is to automatically build a Table of Contents for documents after their formatting, all in a single click.
KeyParaStocX allows to:
- set keywords (regular expressions, actually) to search for,
- set styles that are to be set to the found keywords,
- format a document and build a Table of Contents in a single click.
Users can set the configuration just once and build a Table of Contents in a single click for every document they open.
The extension integrates into Writer options and is independent of the operating system (should work on all).
There are 7 levels of the Table of Contents and thus 7 keyword-style pairs. The lowest level allows an additional keyword to be searched for in case the primary one isn't found. This is for historical reasons - the primary goal the extension was created for was processing legal acts of two types.
KeyParaStocX can also serve developers as an example of how to write a LibreOffice component in Python and how to call a Python component from Basic/StarBasic macro code.
The extension was formerly called "Pożeracz ustaw" or "PozeraczUstaw".
Fix for languages missing in the default configuration. Fixed running under a special Python without sys.argv. Thanks to Matthias Seidel for reporting and help with testing.Download 1.0.0 Default configuration & i18n support 3.3 Linux, Windows, macOS GPL
Add support for default configuration, not requiring the user to manually save the options. Added internationalization support in configuration. Small fixes. A second icon added. Code clean-up.Download 0.9.0 Support for user configuration. 3.3 Linux, Windows, macOS GPL
Support for user configuration. Small code and license clean-up.Download 0.7.0 Updated descriptions and copyright. 3.3 Linux, Windows, macOS GPL
Updated descriptions and copyright.Download 0.6.0 A toolbar button, an icon and a license. 3.3 Linux, Windows, macOS GPL
Added a toolbar button, an icon and a license file inside the extension.Download 0.4.0 First version in English 3.3 Linux, Windows, macOS GPL
Renamed the extension and translated to English. Other small changes.Download