Hi there,
I’m seeing the difference in node tags in the word docs generated by Aspose 13.5.0 and Aspose 13.12.0. The main difference I noticed is <w:doNotTrackMoves /> is not present in settings.xml file of documents generated by newer versions of Aspose.
Please suggest me why this is happening?
Hi Praneeth,
Hi Awais,
We have some control documents generated via Aspose 13.5.0 and now we are using 13.12.0.
Now, we are seeing some changes in xml files of the word document.
I’m listing some of them as follows:
1. The settings.xml when generated via 13.12.0 doesn’t have <w:doNotTrackMoves /> node. It was present in settings.xml when generated via 13.5.0.
2. There are some node cutdown in headers and footers.xml. I’m noticing that the
<w:rPr><w:rFonts w:asciiTheme=“minorHAnsi” w:eastAsiaTheme=“minorHAnsi” w:hAnsiTheme=“minorHAnsi” w:cstheme=“minorBidi” /> <w:color w:val=“365F91” w:themeColor=“accent1” w:themeShade=“BF” /><w:sz w:val=“22” /><w:szCs w:val=“22” /><w:lang w:val=“en-US” w:eastAsia=“en-US” w:bidi=“ar-SA” /></w:rPr>
present in headers or footers .xml of 13.12.0.
While <w:rPr><w:color w:val=“365F91” w:themeColor=“accent1” w:themeShade=“BF” /></w:rPr>
when generated via Aspose 13.12.0.
We are seeing that Aspose has decided to remove
<w:rFonts w:asciiTheme=“minorHAnsi” w:eastAsiaTheme=“minorHAnsi” w:hAnsiTheme=“minorHAnsi” w:cstheme=“minorBidi” />
and
<w:sz w:val=“22” /><w:szCs w:val=“22” /><w:lang w:val=“en-US” w:eastAsia=“en-US” w:bidi=“ar-SA” />
from the rPr node.
To summarize only color properties are retained in run properties of a paragraph and run fonts and size nodes are removed.
3. In styles.xml I’m seeing the extra pPr node and 2 attributes
w:line=“276” w:lineRule=“auto” in spacing node are added in styles.xml.
4. In glossary folder their is similar sort of difference in document.xml and settings.xml.
There are some more issues apart from above in 2010 documents which I’ll add with documents in this thread.
I’m interested in knowing why Aspose has decided to change their xml structure in newer versions of Aspose and what is the probability for the change in xml’s in future future versions. We are asking this because our control docs are failing due to the change in xml’s.
I’m hereby attaching two word docs generated by Aspose 13.5.0 and 13.12.0. Please have a look. Thanks.
Hi Praneeth,
Hello Awais,
I’m hereby attaching the java sample application and the sample document ComplexFirstEvenOddHeaderFooter.docx.
Let me tell you that we are applying the header footer formatting from the sample document to the Aspose newly created document.
The changes are appearing in the documents generated after applying the options.
Please use 13.5.0 Aspose.words jar and 13.12.0 Aspose.words jar file and check the xml differences.
In the example scenario we are not applying styles but when we do so the changes in styles.xml appears.
Please have a look. Thanks.
Hi Praneeth,
Hi Awais, Is there any update on this?
Hi Praneeth,