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: 3620
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 298 times
The topic is also found at https://ask.libreoffice.org/t/extended- ... -bar/93057 .

<edit 2024-09-17 about 13:15 UTC>
There is a reworked version of the "manual" also demonstrating the effects of the supplied code. For this pupose related events needed to be redirected to doument macros.
ExtendedInformationInTitlebarReworked.ods
(90.24 KiB) Downloaded 32 times
</edit>
On Windows 10: LibreOffice 24.8.3 and older versions, PortableOpenOffice 4.1.7 and older, StarOffice 5.2
---
Lupp from München
Post Reply