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


Hi Rafael,

On Wed, Jun 20, 2012 at 12:24:51AM -0430, Rafael Dominguez <venccsralph@gmail.com> 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???

Yes, XDocumentProperties sounds good. If you need usage examples,
RtfExport::WriteInfo() (sw/source/filter/ww8/rtfexport.cxx:400) and
RTFDocumentImpl::popState()
(writerfilter/source/rtftok/rtfdocumentimpl.cxx:3240) comes to my mind.

Miklos

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.