Hello,
I’ve got a writer document on which I programmatically add a table. So far so good. My question is: after the table is actually created and populated, using: oTable = oDoc.createInstance(“com.sun.star.text.TextTable”)
Is there a way to retrieve the document owning object (in the example: the oDoc object) from the table object itself? This would avoid passing too many parameters to some subs I’ve got to write (only passing oTable without having to cascade passing the oDoc object).
I’ve used XRay to check for various entry points, I’ve had a look a web resources about AOO and LibO API interfaces but to no avail. I guess I’m overlooking something here.
Thanks in advance for any help or suggestion.
Best regards,
Jean-Francois Nifenecker, Bordeaux