[prev in list] [next in list] [prev in thread] [next in thread]
List: poi-user
Subject: Re[2]: Master sheet handling
From: Yegor Kozlov <yegor () dinom ! ru>
Date: 2006-12-26 9:38:03
Message-ID: 2295524171.20061226123803 () dinom ! ru
[Download RAW message or body]
Hi
Aha! You are doing it wrong.
RichTextRun._getRawParagraphStyle() returns the collection of the
OVERRIDDEN style properties.
If the properly is not there, you should examine the master sheet.
A good example is RichTextRun.getCharTextPropVal().
If a character property is not found it searches it in the master
sheet.
P.S. I don't recommend you to use the accessors to low-level style records.
Be careful, this code is subject to change. Or use it only as a
temporary solution, until the proper classes appear.
Regards, Yegor
EG> Hi
EG> A further explanation:
EG> I'm working with POI HSLF to read MS-PowerPoint presentations to JAVA objects \
supplied with POI.
EG> I have a code that traverses the \
RichTextRun._getRawParagraphStyle().getTextPropList() list, finding any property with \
key containing "bullet.". This is the way I identify bullets.
EG> The problem I encounter is that master sheets' bullets are not recognized by \
HSLF.
EG> Hope I made myself clearer.
EG> -----Original Message-----
EG> From: Yegor Kozlov [mailto:yegor@dinom.ru]
EG> Sent: ב 25 דצמבר 2006 14:20
EG> To: POI Users List
EG> Subject: Re: Master sheet handling
EG> Hi
EG> Could you describe the problem in details?
EG> We don't yet support bullets and numbered lists. How did you access
EG> the bullets info?
EG> It would be good if you attach the problem to bugzilla. I will take a
EG> look at it.
EG> Regards, Yegor
EG>> Hi
EG>> Is it a known problem that master sheets are not parsed well? I see for
EG>> example that bullets from master sheets are not identified, whereas
EG>> bullets specifically requested from the user do.
EG>> Am I correct? If so - is this issue going to be solved soon?
EG>> 10x
EG>> Eitan
EG> ---------------------------------------------------------------------
EG> To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
EG> Mailing List: http://jakarta.apache.org/site/mail2.html#poi
EG> The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/
EG> ---------------------------------------------------------------------
EG> To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
EG> Mailing List: http://jakarta.apache.org/site/mail2.html#poi
EG> The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/
---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
Mailing List: http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic