inlineheadings InLine Headings

Tags: Macro Writer

last edited: 2023-01-27


An inline (or run-in) headings generator for LibreOffice writer documents to comply with some academic reports constraints.

ilh help en2
screenshot EN


Academic reports and works must often follow very precise formatting guidelines. Such guidelines may require the use of so-called inline or run-in headings. The APA (American Psychologists Association) is one of these organizations.

An inline heading, aka “run-in” heading is a heading (outline) paragraph with a special formatting, so that the heading is not in a separate paragraph, as usually, but part of the text body that follows.

This extension uses a trick to "turn" your standard title paragraphs into inline paragraphs:

  • Processes the current Writer document. The process covers the text body and sections. Note that tables, frames, headers and notes are not processed.
  • Turns any heading paragraph level into an inline heading (levels 1..10).
  • Can undo the inlining for easy document update or correction.
  • Tries to create document backups before processing (read the warning below).
  • Comes with a help page.


InLine Headings is written in English. As French is my mother language, this one is supported as well. The interface uses the current LibreOffice language settings.



The document process is extensive. This means that, in some contexts, things might go wrong. Even though I’ve tested this extension for a while without meeting any problem, and even though an attempt to backup the document is run before the actual process, I very strongly advise to work on a copy of the original document.


Release List

Release: Version 0.5.1 – Several fixes and separator specification addition.

Compatibility: 6.4
Operating Systems: Linux, Windows, macOS
License: LGPL
Release Notes:

Fixed: several bugs fixed.

Added: ability to specify a separator string between the in-lined header and the following text. Possibility to specify and save the separator string.

Release: InLine Headings v.0.4.0 – First public release

Compatibility: 6.4
Operating Systems: Linux, Windows
License: GPL
Release Notes:

Developed under Linux with LibreOffice v.6.4 and 7.2.

Should work under previous versions and under Windows.

Other Extensions


A tool to help managing LibreOffice personal color palettes.



BASIC Runtime paramenters (English)

LibreOffice BASIC Runtime Paramenters Reference Card.



BASIC Files (English)

LibreOffice BASIC Files Reference Card.



BASIC Dialogs (English)

LibreOffice BASIC Dialog Reference Card.



BASIC Runtime Library (English)

LibreOffice BASIC Runtime Library Reference Card.



BASIC Events (English)

LibreOffice BASIC Events Reference Card.




Post your review

You cannot post reviews until you have logged in. Login Here.


  • Dave Nadler Jul 30, 2022, 5:16 PM (8 months ago)

    Installed in 7.2 on Windows 10. Clicked on toolbar icon (after I finally figured out it wasn't added to any menu), and it immediately died with an Error dialog "BASIC runtime error. Object variable not set" Its really unfortunate run-in headings are not a standard feature in Libre Office as thousands of us need this feature!

    • Jean-Francois Nifenecker Aug 3, 2022, 11:55 AM (8 months ago)

      Hi Dave,
      can't reproduce the problem here (Win10, LibO 7.2, fresh profile).
      Would you mind contacting me directly (see About box)?
      A screen capture showing where the error occurs would help, too.
      Thanks for reporting.

RSS feed for reviews on this page | RSS feed for all reviews