<html>
<head>
<base href="https://bugs.documentfoundation.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:mstahl@redhat.com" title="Michael Stahl <mstahl@redhat.com>"> <span class="fn">Michael Stahl</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - FILESAVE: OOXML export is missing document statistics"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=90904">bug 90904</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>libreoffice@lists.freedesktop.org, mstahl@redhat.com
</td>
</tr>
<tr>
<td style="text-align:right;">Component</td>
<td>Writer
</td>
<td>filters and storage
</td>
</tr>
<tr>
<td style="text-align:right;">Version</td>
<td>4.4.2.2 release
</td>
<td>Inherited From OOo
</td>
</tr>
<tr>
<td style="text-align:right;">Summary</td>
<td>FILESAVE: OOXML DOCX missing metadata
</td>
<td>FILESAVE: OOXML export is missing document statistics
</td>
</tr>
<tr>
<td style="text-align:right;">Whiteboard</td>
<td>
</td>
<td>easyHack difficultyBeginner skillCPP filter:ooxml
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - FILESAVE: OOXML export is missing document statistics"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=90904#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - FILESAVE: OOXML export is missing document statistics"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=90904">bug 90904</a>
from <span class="vcard"><a class="email" href="mailto:mstahl@redhat.com" title="Michael Stahl <mstahl@redhat.com>"> <span class="fn">Michael Stahl</span></a>
</span></b>
<pre>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)".
<a href="http://www.ecma-international.org/publications/standards/Ecma-376.htm">http://www.ecma-international.org/publications/standards/Ecma-376.htm</a></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>