Date: prev next · Thread: first prev next last
2018 Archives by date, by thread · List index


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: discuss+unsubscribe@de.libreoffice.org
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

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.