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

Free Support Forum - aspose.com

Issue of text wrapping in case of dynamic shapes

Hi,

Text is wrapping in loop limit shape even when the shape is of dynamic size.
We do not want the text to wrap.

PFA test case.
LoopLimitTextWrappingInVsdx.zip (152.8 KB)

Thanks,
Astha

@asthac,
Your code snippet and files are same as you have shared on another thread:

Kindly recheck and share files again, we will investigate and share our findings with you. Your response is awaited.

Best Regards,
Imran Rafique

@imran.rafique

Yes, the test case is same.
Please check the vsdx file in the attachment above (ignore the png)- it has text wrapping which is not desired.

Thanks.

@asthac,
We managed to replicate the problem of text wrapping. It has been logged under the ticket ID DIAGRAMJAVA-50524 in our bug tracking system. We have linked your post to this ticket and will keep you informed regarding any available updates.

Best Regards,
Imran Rafique

@asthac,
In reference to the ticket ID DIAGRAMJAVA-50524, the text is being wrapped due to this line of code: .append("<Line:285.00 to 286.00>,\n") (it has an enter key). If there is any other issue, then kindly highlight with the help of a snapshot.

@imran.rafique

The text should be wrapped from \n(Enter key). But it is wrapping at the end where enter key is not there in text.

Text should be like this,

<Line:285.00 to 286.00>,
Repeat While *IN03(Command Three) not equal to ‘1’ And IN12 not equal to ‘1’ /||||

But it is looking like this:

Snap 2017-09-28 at 12.17.14.png (6.9 KB)

Thanks,
Astha

@asthac,
Thank you for the confirmation. We have logged this information under the same ticket ID DIAGRAMJAVA-50524. We will let you know once it is fixed.

@asthac,

The view of the shape’s text is different in the Microsoft Visio 2016 and 2013. This is the snapshot as we can see output drawing on our environment: Snapshot.png (1.8 KB). Please review the code and see if there any change, otherwise please share details of the Microsoft Visio application and Operating System details along with the name and edition. (e.g. Microsoft Visio Professional 2013 64 bit).