Skip to main content
Apr 1, 2009 8:19 AM UTC
Question

how to grasp Tab Stop setting for text flow or for a para

hi, does anybody know how easily to get default TabStopFormat ? currently i check via para.computeTextLayoutElementFormat.tabstops which may have nothing.
This topic is closed to new replies. Start a new post to keep the conversation going.

1 reply

Adobe Employee
Apr 1, 2009 4:10 PM UTC
tabStops default value is null. You can set the tabStops at the TextFlow level, and let them inherit down to the paragraphs. Then any paragraph which does not set the tabStops itself will inherit them from the TextFlow.

Here's an example of how this would look in the markup:
<TextFlow xmlns=" http://ns.adobe.com/textLayout/2008" fontSize="18" tabStops="300">
<p>
<tab/>Implicit alignment type [300]
</p>
</TextFlow>
Translate