TabAlignment.LIST

Hi,
I am currently trying to rebuild/emulate an already existing rtf document with Aspose.Words. One of the tasks is to build a style which contains tab stops with the attribute “list tab stop” (I don’t know how it is called exactly in the english version of Word, I use a localized one). I try to achieve this with the following line of code:

styleH9.getParagraphFormat().getTabStops().add(new TabStop(ConvertUtil.millimeterToPoint(66.2),TabAlignment.LIST,TabLeader.NONE));

But TabAlignment.LIST has the same effect as TabAlignment.LEFT - in both cases Word tells me that the tab stop is “left”.
What am I doing wrong?
Best regards,
Mathias Harbeck

Hi

Thanks for your request. I think you can get or set list tab position using ListLevel.TabPosition (of course, if paragraph is a list item, otherwise there is no sense in TabAlignment.LIST):
https://reference.aspose.com/words/java/com.aspose.words/listlevel/#setTabPosition-double
Hope this helps. Please feel free to ask if you need more assistance, I will be glad to help you.
Best regards,