Page 1 of 1

[Solved] [Writer] Working with open Writer document

Posted: Mon Jun 08, 2020 4:02 pm
by lopez
Hi,
I'm looking for a way to connect uno to an opened writer document. I try to open a new document and work with it with c#/uno and it works well.
But unfortunatly i need to interact with an already opened document.
Is there a way to do it ?

Thanks in advance

Re: [Writer] Working with open Writer document

Posted: Mon Jun 08, 2020 5:26 pm
by JeJe
Enumerate the components to find the one you want, an example in Basic is here:
viewtopic.php?f=45&t=87507#p410596

Re: [Writer] Working with open Writer document

Posted: Mon Jun 08, 2020 5:30 pm
by Villeroy
http://www.openoffice.org/api/docs/comm ... entFromURL
returns the document no matter if it was already loaded or not.

Re: [Writer] Working with open Writer document

Posted: Mon Jun 08, 2020 5:31 pm
by lopez
Thanks for all. :D