Re: [libreoffice-users] Re: How do I use a singleton in LibO basic?

2018-02-28 Thread Jean-Francois Nifenecker
Le 28/02/2018 à 18:03, ptoye a écrit : Thank you so much for this. I had no idea that you had first to get a context - I hadn't found this in the documentation (but will now have another look). It's working fine now. I found this completely by chance when looking into this macro expander

[libreoffice-users] Re: How do I use a singleton in LibO basic?

2018-02-28 Thread ptoye
Thank you so much for this. I had no idea that you had first to get a context - I hadn't found this in the documentation (but will now have another look). It's working fine now. - Peter -- Sent from: http://nabble.documentfoundation.org/Users-f1639498.html -- To unsubscribe e-mail to:

Re: [libreoffice-users] How do I use a singleton in LibO basic?

2018-02-28 Thread jean-francois . nifenecker
Hi Peter, an example using the macro expander which is a singleton as well, defined as : "/singletons/com.sun.star.util.theMacroExpander" 8< --- Dim oContext as Object 'context object Dim oMacroExpand as Object 'macro expander

[libreoffice-users] How do I use a singleton in LibO basic?

2018-02-28 Thread ptoye
I want to use one of the API singletons (com.sun.star.util.thePathSettings since you ask) but I can find nothing in the documentation telling me how to create the (only) instance so I can get some of the properties. As I understand singletons, they have a hidden constructor, and some form of

[libreoffice-users] Re: Window corruption in macro editor

2018-02-28 Thread ptoye
It's still happening in LibO 5,4,5,1 64-bit. And it's a real PITA as one a minute I have to minimise and then restore the window. Has no-one else seen this? - Peter -- Sent from: http://nabble.documentfoundation.org/Users-f1639498.html -- To unsubscribe e-mail to:

Re: [libreoffice-users] Limit on resizing windows in LO 6 (GTK)

2018-02-28 Thread Roy Reese
> Enviar: miércoles 28 de febrero de 2018 a las 1:02 > De: "Dave Howorth" > > > > For what it's worth, it's not a problem on my LO 5.1.6.2 on Linux > > Mint 18 or LO 5.3.3.2 on Puppy Tahr Linux. On both systems, the menu > > bar just collapses as I shrink the window. > > >