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



It is possible to load document properties from a file on disk. You may find this of interest:

http://www.oooforum.org/forum/viewtopic.phtml?t=94527


On 06/20/2012 12:54 AM, Rafael Dominguez wrote:
Im trying to fetch document properties like author, creation date, application that created it, etc, from a document or template stored in the filesystem that arent loaded, to get the templates from the filesystem im using this class http://opengrok.libreoffice.org/xref/core/sfx2/inc/sfx2/doctempl.hxx, is it posible to extend it to get what i need???

I also found that theres a uno component to do that for loaded documents call XDocumentProperties http://www.openoffice.org/api/docs/common/ref/com/sun/star/document/XDocumentProperties.html, is it possible to use that one??? or theres another alternative???

--
Andrew Pitonyak
My Macro Document: http://www.pitonyak.org/AndrewMacro.odt
Info:  http://www.pitonyak.org/oo.php




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.