[Solved] Persistent Identification of a Component

Creating a macro - Writing a Script - Using the API (OpenOffice Basic, Python, BeanShell, JavaScript)
Post Reply
User avatar
Lupp
Volunteer
Posts: 3548
Joined: Sat May 31, 2014 7:05 pm
Location: München, Germany

[Solved] Persistent Identification of a Component

Post by Lupp »

The Stardesktop gives access to all the current frames and components.
However, I don't know a way to get an identifyer (handle, ID) for each component reliably persistent as long as the component not was closed.
.Title and .URL may change.
Is there remedy?
Last edited by Lupp on Fri Mar 15, 2019 5:06 pm, edited 1 time in total.
On Windows 10: LibreOffice 24.2 (new numbering) and older versions, PortableOpenOffice 4.1.7 and older, StarOffice 5.2
---
Lupp from München
hubert lambert
Posts: 145
Joined: Mon Jun 13, 2016 10:50 am

Re: Persistent Identification of a Component

Post by hubert lambert »

Hi,

Have you try the RuntimeUID property of the document model?
Regards.
AOOo 4.1.2 on Win7 | LibreOffice on various Linux systems
User avatar
Lupp
Volunteer
Posts: 3548
Joined: Sat May 31, 2014 7:05 pm
Location: München, Germany

Re: Persistent Identification of a Component

Post by Lupp »

Thanks! That's exactly what I looked for.
On Windows 10: LibreOffice 24.2 (new numbering) and older versions, PortableOpenOffice 4.1.7 and older, StarOffice 5.2
---
Lupp from München
User avatar
karolus
Volunteer
Posts: 1159
Joined: Sat Jul 02, 2011 9:47 am

Re: Persistent Identification of a Component

Post by karolus »

Hallo again

See viewtopic.php?f=20&t=88337#p415266

Karolus
AOO4, Libreoffice 6.1 on Rasbian OS (on ARM)
Libreoffice 7.4 on Debian 12 (Bookworm) (on RaspberryPI4)
Libreoffice 7.6 flatpak on Debian 12 (Bookworm) (on RaspberryPI4)
Post Reply