Forum


Replies: 3   Views: 3289
Wrong app.xml
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by AquaSapphire  · 05-04-2012 - 11:48

Hello ,


If you create document then app.xml is "default"
Ex:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <Properties xmlns="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties" xmlns:vt="http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes">
<Template>Normal.dotm</Template>
<TotalTime>0</TotalTime>
<Pages>1</Pages>
<Words>1</Words>
<Characters>1</Characters>
<Application>Microsoft Office Word</Application>
<DocSecurity>4</DocSecurity>
<Lines>1</Lines>
<Paragraphs>1</Paragraphs>
<ScaleCrop>false</ScaleCrop>
<Company>Company</Company>
<LinksUpToDate>false</LinksUpToDate>
<CharactersWithSpaces>1</CharactersWithSpaces>
<SharedDoc>false</SharedDoc>
<HyperlinksChanged>false</HyperlinksChanged>
<AppVersion>12.0000</AppVersion>
</Properties>

But it is not true! you may have more than 1 page, 1 Word, etc

Thanks

Posted by admin  · 11-04-2013 - 12:13

Hello,

That's not an error. By default phpdocx inserts that values and you can open the document without errors. If you open the document and then save it, that values will be updated.

Regards.

Posted by AquaSapphire  · 11-04-2013 - 12:13

Yes, but if I want know some statistics ( For ex: pages count ) in document ( with PHP ) I cannot do it.