Extended Information in Titlebar

Shared Libraries
Forum rules
For sharing working examples of macros / scripts. These can be in any script language supported by OpenOffice.org [Basic, Python, Netbean] or as source code files in Java or C# even - but requires the actual source code listing. This section is not for asking questions about writing your own macros.
Post Reply
User avatar
Lupp
Volunteer
Posts: 3553
Joined: Sat May 31, 2014 7:05 pm
Location: München, Germany

Extended Information in Titlebar

Post by Lupp »

There were repeated questions mainly concerning the full path, and I posted specialised code for this case long ago.

As I myself use for years now a substantially enriched version of a solution, from which already the mentioned snippet was derived, and meanwhile tested it with many versions of AOO (4.1.7) and LibO (3.3 up to 7.6.0.0.alpha1) I will now also post the enhanced code despite the fact that it isn't just a snippet, but consist of two small modules needing to be placed correctly. In addition the contained event handling subroutines need to be assigned to the obvious events for the application, not just for an open document).
Additional explanations and the code are contained in the attachment.
ExtendedInformationInTitlebar.ods
(21.32 KiB) Downloaded 199 times
The topic is also found at https://ask.libreoffice.org/t/extended- ... -bar/93057 .
On Windows 10: LibreOffice 24.2 (new numbering) and older versions, PortableOpenOffice 4.1.7 and older, StarOffice 5.2
---
Lupp from München
Post Reply