Hi there
I’m having a problem getting Aspose.Words to read the rightmost indentation of text which is in a bulleted list. The text in the Word document I’m testing with has some text sections with a right indentation of 0.63cm, and these sections are contained in bulleted lists. However, when I query the paragraph.ParagraphFormat.RightIndent property for these particular paragraphs, it returns 0.0cm.
We need to store this value as our language translation tool which uses Aspose.Words deletes all paragraphs before recreating them with translated text. Consequently, the formatting is being changed slightly upon output due to the problem mentioned above.
Am I perhaps using the wrong paragraph property for the textual right indentation - The property’s name would suggest I’m not but I was wondering are there special separate indentation properties for bulleted lists that I am maybe not using?
Thanks
Eric
Hi Eric,
Thanks for your inquiry. For list items there are properties ListLevel.NumberPosition, ListLevel.TabPosition, ListLevel.TextPosition, which are used to configure each level of your list. Please see the following link for more information:
http://www.aspose.com/documentation/file-format-components/aspose.words-for-.net-and-java/aspose.words.lists.listlevel.html
Hope this helps.
Best regards.
Hi Alexey
I think I might have explained myself poorly
What I meant was that, the margin at the right of the page for list in my document is .63cm, but it’s being lost when I save the document. So I was wondering what property this is stored in. I’ve had a look but can’t seem to find it.
I’ve attached an image to demonstrate. When the cursor is placed over the list, you can see that the margin at the right has changed.
Thanks
Eric
Hi Eric,
Thanks for your inquiry. Is right margin lost after open/save the document using Aspose.Words? If so, please attach your document here for testing. I will check the issue and provide you more information.
Best regards.
Yes it is, but only for lists! I’ve attached the document as requested
Hi
Thank you for additional information. I managed to reproduce the problem on my side. We will notify you as soon as it is resolved.
Best regards.
Hi Alexey
No problem! Thanks for checking it out for me
Eric
The issues you have found earlier (filed as WORDSNET-2742) have been fixed in this .NET update and this Java update.
This message was posted using Notification2Forum from Downloads module by aspose.notifier.