HRS001: A figure in Page Footer stirs from original place

A figure in Page Footer stirs from original place. (Not placed exactly.)
Attached files)
C02.doc <- Input
Doc2PdfSave Out.pdf <- Output <- Sample source code
See the footer in page 2. There is a figure like a triangle. It stirs in PDF.


Thanks for your inquiry. We tested the scenario and have managed to reproduce the same problem. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-11121. We will further look into the details of this problem and keep you updated on the status of correction. We apologize for your inconvenience.

Best regards,


Thanks for being patient. Unfortunately, after an initial analysis we have decided to postpone the implementation of this issue. This is because we’re currently unable to understand how MS Word positions the problematic shape.

The problematic “figure like a triangle” is actually a glyph inside a text box. So its position is determined by the text box position. The problematic text box is anchored in a table inside footer and has vertical position of -41.35 points relative to the anchor paragraph. That’s where Aspose.Words positions it. MS Word positions it differently and we cannot understand how exactly.

At first we thought that maybe it tries to fit the position inside footer. However when we added some paragraphs above the table, the text box moved further down inside MS Word. This behaviour we cannot understand at all. Why it moves down when actually more space was added in the footer above the anchor, and the text box properties say it should be 41 point above the anchor?

If the table with the text box is copied to the main story, the text box is positioned above the table (like in Aspose.Words).

If the document is re-saved via MS Word without maintaining compatibility, the text box is positioned above the table (like in Aspose.Words). So it must be some very specific footer-related logic (or a bug). More experiments are needed to guess MS Word logic.

In the meanwhile while you’re waiting for a fix, you may anchor the problematic text box in the paragraph below the table as a workaround. This way MS Word seems to use the paragraph-relative position without quirks.

Best regards,

The issues you have found earlier (filed as WORDSNET-11121) have been fixed in this Aspose.Words for .NET 21.2 update and this Aspose.Words for Java 21.2 update.