Free Support Forum - aspose.com

Word Textbox Objects

I have a Word Document with regular text to the left and a textbox object (with text) located to the right of the regular text. When I save the document (after a few replaces), it pushes the regular text to the left of the textbox object to a new page. Does this component have issues with textbox objects or am I leaving something out?

John

Yes, we have several known problems with textboxes, especially when they are grouped together. Please send your document and I will check if this can be fixed or worked around.

There is only one text box object. If I just open it and save it, it works fine. If I replace any of the mergefields (fields between # signs) it pushes all text to the left of the textbox object to another page.

Thanks for your help.

John Nassar

One correction from my previous post. The document DOES save correctly even with the merges. Its when I print the document that it pushes the text to the next page. So it appears to be a printing issue with the textbox object.

John

Should I assume no response from anyone means I’m hosed???

Sorry for the delay in replying. We are looking into the issue and hope to fix it in the next 1-2 weeks.

Two of us tried to reproduce this problem independently and we couldn't. All works fine for us. We are able to insert text into the bookmarks in your document and save it. It opens and prints okay.

Here is the code I used to insert text:

Bookmarks bookmarks = doc.Range.Bookmarks;

bookmarks["SEMCT11"].Text = "SEMCT11 Text";
bookmarks["SEMST11"].Text = "SEMST11 Text";
bookmarks["HOTLOC11"].Text = "HOTLOC11 Text";
bookmarks["SEMDATR11"].Text = "SEMDATR11 Text";
bookmarks["SEMEVE11"].Text = "SEMEVE11 Text";

Please make sure you are using the latest version of Aspose.Words. If that does not help, please post us some of your code you use to populate the document.