poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yegor Kozlov <ye...@dinom.ru>
Subject Re: Extracting bullets from PPT
Date Wed, 17 Jun 2009 14:02:29 GMT
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: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org


Mime
View raw message