We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Clone looses orientation of text blocks

If you clone a word document which contains a text block with vertical text orientation, the clone will loose the orientation: the text will be horizontal there (which of course breaks the layout).

Tested with version 18.6.0

is this a known bug? are there any workarounds?

Thanks!

@bertram.weckmann,

Thanks for your inquiry. To ensure a timely and accurate response, please ZIP and attach the following resources here for testing:

  • Your input Word document
  • Aspose.Words generated output DOCX file showing the undesired behavior
  • Please create a standalone console application (source code without compilation errors) that helps us to reproduce your problem on our end and attach it here for testing.

As soon as you get these pieces of information ready, we will start investigation into your issue and provide you more information. Thanks for your cooperation.

@awais.hafeez,
I’ve attached the original file and the output after cloning.

I cannot provide easily a standalone application, but the issue should really be easy to reproduce: just create a textarea in word and rotate it, then clone and the rotation is gone.

Good enough to debug? :wink:
Thanks!!

@bertram.weckmann,

But, the problem still occurs when you “Save As” “original.docx” to DOC format (see msw-2016.zip (727.7 KB) and screenshot). So, this seems to be a difference between DOCX and DOC formats. If we can help you with anything else, please feel free to ask.

perfect, thanks for the hint… after making sure we keep docx it works like a charm!