Use RichTextRun's getBulletOffset(), getTextOffset() and getIndentLevel().
Also, take a look at
http://svn.apache.org/repos/asf/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/model/TextPainter.java
This class renders ppt text into java.awt.Graphics2D and supports bullets and
multiple indentation levels.
Yegor
I'm trying to extract bullets and sub-bullets from a powerpoint list, and
determine the indentation level for each. I can get the TextRuns for a
slide, and for each, extract a RichTextRun, but that seems to only give me
newline-separated text and global bullet information (such as bullet size).
Is there any way to get what I want? If it requires extensions to POI, can
you give me some tips/pointers? (I'm a complete POI newbie!)
Thanks!
Larry
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]