We are currently using Java aspose-words-17.4.0.jar version jar file in our Java application to modify the word document .
I have attached a sample program in which we are trying to replace the date displayed (Japanese format:2017 年 7 月24 日) on top of every page’s header except first page.
When ever we are executing the attached Java Program**(TestHeaderFooterWords.java)** we can see the new date on every page’s header but size of the document is been reduced.
I have attached the original input word document(before date replacement:inputDateReplacement.docx) of size 149kb and also output word document(After date replacement:outputDateReplacmentDocument.docx) 106 kb.
Due to this we are seeing severe formatting issues when we later convert the word document to HTML.
Please analayze the issue and let us know the reasons for **RaisedToAspose.zip (235.7 KB)