[Bug 90904] FILESAVE: OOXML export is missing document statistics

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Apr 28 04:23:49 PDT 2015


https://bugs.documentfoundation.org/show_bug.cgi?id=90904

Michael Stahl <mstahl at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |libreoffice at lists.freedeskt
                   |                            |op.org, mstahl at redhat.com
          Component|Writer                      |filters and storage
            Version|4.4.2.2 release             |Inherited From OOo
            Summary|FILESAVE: OOXML DOCX        |FILESAVE: OOXML export is
                   |missing metadata            |missing document statistics
         Whiteboard|                            |easyHack difficultyBeginner
                   |                            |skillCPP filter:ooxml

--- Comment #2 from Michael Stahl <mstahl at redhat.com> ---
it should be quite easy to add this, marking as easy-hack.

the document properties are exported to OOXML here:

oox/source/core/xmlfilterbase.cxx:XmlFilterBase&
XmlFilterBase::exportDocumentProperties( Reference< XDocumentProperties >
xProperties )

all that is missing is getting the XDocumentProperties::getDocumentStatistics()
and converting that to XML elements or attributes.

in ECMA-376 3rd edition the definition of the "Extended File Properties"
elements starts on page 4254, "22.2.2.1 Application" up to 
"22.2.2.28 Words (Word Count)".

http://www.ecma-international.org/publications/standards/Ecma-376.htm

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20150428/aff75aa7/attachment.html>


More information about the LibreOffice mailing list