Hi,
The attached document is uploaded to the system, and blank pages are added to the created document, and the document is corrupted.
I attached the original file and corrupted file. We are using Aspose.Word 20.1 version. Thanks.
YG10886.zip (196.8 KB)
We tested the scenario and have managed to reproduce the same problem on our end. For the sake of correction, we have logged this problem in our issue tracking system. The ID of this issue is WORDSNET-19845. We will further look into the details of this problem and will keep you updated on the status of correction. We apologize for your inconvenience.
Hi, Is there an improvement on WORDSNET-19845 issue?
Is there any method you could suggest for this error other than waiting for improvement?
WORDSNET-19845 is not resolved yet; but we have completed the analysis of this issue. The issue occurs because MS Word truncates page header with a tall floating frame (removing the frame from the layout) and Aspose.Words currently does not.
The issue is reproducible with the attached simplified 19845s.zip (19.0 KB). In the document header, there is a table which is visible in MS Word layout. After the table there are several paragraphs with floating frame attributes. The frame is huge and occupies almost entire page. MS Word does not render the frame. Aspose.Words currently renders the frame as a part of header, so it is present on every page.
The document structure appears correct. The frame is preserved if the document is edited-resaved via MS Word.
The current header/footer truncation logic does not take floater heights into account, so Aspose.Words does not attempt to truncate the problematic header. We will update the logic accordingly and inform you here when we will resolve this issue in future. We apologize for any inconvenience.
The issues you have found earlier (filed as WORDSNET-19845) have been fixed in this Aspose.Words for .NET 21.3 update and this Aspose.Words for Java 21.3 update.