You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by "mr.jonze" <mr...@gmail.com> on 2006/06/07 20:51:29 UTC
Re: org.apache.poi.hslf.model.TextRun
By the way,
how could I get some properties of the text runs, like the name of the font,
its size and color, for example?
Thanks...
2006/6/7, mr. jonze <mr...@gmail.com>:
>
>
>
> ---------- Forwarded message ----------
> From: Nick Burch <ni...@torchbox.com>
> Date: 07/06/2006 12:21
> Subject: RE: org.apache.poi.hslf.model.TextRun
> To: Erez Eisenstein <EE...@axismobile.com>
> Cc: POI Users List <poi-user@jakarta.apache.org >
>
> On Wed, 7 Jun 2006, Erez Eisenstein wrote:
> > I am asking about the TextRun[] return from the method
> > org.apache.poi.hslf.model.Slide.getTextRuns().
>
> My point still stands. It depends on the underlying records that were
> glued together to make your TextRun.
>
> If they came from a SlideListWithAtom (layout based on the Master Slide),
> then you can't tell where they came from.
>
> If they came from an EscherTextboxWrapper (layout is Escher based, in the
> slide's PPDrawing), then you can ask Escher where it lives. You'll need to
> step into the records to do this though.
>
>
> Until we grok the master slides stuff, we can't have a common model
> interface for the positioning.
>
> Nick
>
> ---------------------------------------------------------------------
> 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/
>
>
Re: org.apache.poi.hslf.model.TextRun
Posted by Nick Burch <ni...@torchbox.com>.
On Wed, 7 Jun 2006, mr.jonze wrote:
> how could I get some properties of the text runs, like the name of the
> font, its size and color, for example?
Ask model.TextBox for the RichTextRuns. The RichTextRun will tell you
font/size/etc, provided it's not the default
Nick
---------------------------------------------------------------------
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/
Re: org.apache.poi.hslf.model.TextRun
Posted by Nick Burch <ni...@torchbox.com>.
On Wed, 7 Jun 2006, mr.jonze wrote:
> how could I get some properties of the text runs, like the name of the
> font, its size and color, for example?
Ask model.TextBox for the RichTextRuns. The RichTextRun will tell you
font/size/etc, provided it's not the default
Nick
---------------------------------------------------------------------
To unsubscribe, e-mail: poi-dev-unsubscribe@jakarta.apache.org
Mailing List: http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/