Nick Burch <nick <at> torchbox.com> writes:

> 
> On Fri, 14 Mar 2008, vemuri phani wrote:
> > I have a word document and I have some bulleted text in it. I want to
> > extract the text from it and at the same time I want to distinguish text
> > that appears in bulleted list from the one that doesn't. In other words,
> > I am looking to get all the bulleted lists that are present in a
> > range/paragraph, the get to the type of bullets used ( if possible) and
> > finally to the text.
> 
> Have you tried getting the paragraph, fetching the style for it, then
> checking the properties on that?
> 
> Otherwise, I'd suggest doing a simple file, one paragraph. Save that, then
> take a copy and turn bullets on. Compare the two files with
> poifs.dev.POIFSViewer, spot which bit holds the bullet info, then tweak
> hwpf to expose that to you
> 
> Nick
> 


Which properties on the style do I check for the existense of the bullets? I did
some searching in this list and I saw that paragraphProperties.getIlvl() might
have that information, but it's always returning 9, with and without the bullet
list. If bulleted list is in fact not supported, I will look into adding support
for this. I first want to make sure that it is indeed not supported.
Thanks,
-Pavan.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to