I am trying to get the UserdefinedProperties of an Open Office Writer Document.
My questions are first how can i adress the currently open file in the writer? And how can i access the metadata after I told the programmm from which file it should get the data?
hopefully someone of you can help me.
Thank you very much.
Here are links to Java code to do these things:
See How to get the opened document using UNO?
See https://forum.openoffice.org/en/forum/viewtopic.php?f=20&t=80124.
Check this interface XDocumentProperties
Sample code 1. https://wiki.openoffice.org/wiki/Documentation/DevGuide/ProUNO/Properties#Example:_query_and_change_the_properties 2. https://incubator.apache.org/odftoolkit/simple/document/cookbook/Manipulate%20Metadata.html#Access%20the%20user%20defined%20element