Lt. Apache OpenOffice ist StandaloneDpcumentInfo deprecated:
Supported Interface
XDocumentProperties
Description
provides document-specific information such as the author, creation
date, and user-defined fields.
This service replaces the deprecated DocumentInfo and
StandaloneDocumentInfo services.
Since
OOo 3.0
XDocumentProperties gibt es auch bei LibreOffice:
https://api.libreoffice.org/docs/idl/ref/interfacecom_1_1sun_1_1star_1_1document_1_1XDocumentProperties.html
Am 26.06.2018 um 09:46 schrieb Jörg Schmidt:
> Hallo,
>
> in OpenOffice funktioniert:
>
> Sub Main
> info = CreateUNOService("com.sun.star.document.StandaloneDocumentInfo")
> info.loadFromURL(ConvertToURL("D:\testdatei.ods"))
> Msgbox info.dbg_properties
> End Sub
>
> Gibt es dafür in LibreOffice einen Ersatz? (abgesehen davon das Dokument
> "hidden" zu laden)
>
>
>
> Gruß
> Jörg
>
>
--
Liste abmelden mit E-Mail an: [email protected]
Probleme?
https://de.libreoffice.org/hilfe-kontakt/mailing-listen/abmeldung-liste/
Tipps zu Listenmails: https://wiki.documentfoundation.org/Netiquette/de
Listenarchiv: https://listarchives.libreoffice.org/de/discuss/
Datenschutzerklärung: https://www.documentfoundation.org/privacy