Hello,
I'm currently working with Aspose.Words (.NET) version 9.6.0 for generating documents/reports. I've discovered something interesting in regards to the Footer of the generated document.
The original template-document (see "Before.dotx" file listed within the enclosed ZIP-file) contains a Footer in which a frame has been placed containing a PageNumber field. The text wrapping of the frame has been set to "Around" and its position to "right", in order to align the frame to the right side of the Footer.
After initializing the previously mentioned template as an Aspose.Words.Document object (via "_objAsposeWordsDoc = New Aspose.Words.Document(strSourcePath)") and saving the object as a Word document (via "_objAsposeWordsDoc.Save(IO.Path.Combine(strDestinationPath, strDestinationFilename & ".doc"), Aspose.Words.SaveFormat.Doc)"), the frame listed within the Footer has been converted to a Textbox. Also, the textbox suddenly has a default border and the textbox options "Word wrap text in AutoShape" & "Resize AutoShape to fit text" have been set to true. Due to this, it appears that a vertical line has been added to the left of the Page Number (see "After (Generated with Aspose.Words.Document.Save).doc" file listed within the enclosed ZIP-file).
I would've expected that when saving the document, the frame (listed within the original template) would remain intact, rather then being converted to a textbox?
With kind regards,
Tom Pouwelse
Software Engineer Infoland BV