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



_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to