RE: PPT/POI - RichTextRun - java.lang.StringIndexOutOfBoundsException - method getText()

2006-11-22 Thread Erez Eisenstein
Sent: Wednesday, November 22, 2006 3:08 PM To: POI Users List Subject: Re: PPT/POI - RichTextRun - java.lang.StringIndexOutOfBoundsException - method getText() On Wed, 22 Nov 2006, Erez Eisenstein wrote: > When I invoke the method > org.apache.poi.hslf.usermodel.RichTextRun.getText() I get a

PPT/POI - RichTextRun - java.lang.StringIndexOutOfBoundsException - method getText()

2006-11-22 Thread Erez Eisenstein
Hi Nick & Yegor. When I invoke the method org.apache.poi.hslf.usermodel.RichTextRun.getText() I get an exception - StringIndexOutOfBoundsException. I can see that the length member of this instance has a very big value (1572863), while the getText() method of the TextRun returns a shorter String

PPT - RichTextRun - missing bullets properties

2006-11-14 Thread Erez Eisenstein
Hi I am iterating over a LinkedList returned by the getTextPropList() method, invoked on an instance of RichTextRun class, and I'm trying to extract all the attributes of this instance. More specifically - I'm trying to extract the bullet properties of this RichTextRun. I can see them when viewin

(POI/PPT) NullPointerException - EscherTextboxWrapper

2006-11-13 Thread Erez Eisenstein
Hi What can you make of this? Should I open a new bug in bugzilla? Thanks class java.lang.NullPointerException - null java.lang.NullPointerException at org.apache.poi.hslf.record.EscherTextboxWrapper.(EscherTextboxWrap per.java:52) at org.apache.poi.hslf.model.TextBox.(TextBox

ArrayIndexOutOfBoundsException - LittleEndian - getNumber()

2006-11-13 Thread Erez Eisenstein
Hi What can you make out of this exception? (while initializing a SlideShow) class java.lang.ArrayIndexOutOfBoundsException - 45 java.lang.ArrayIndexOutOfBoundsException: 45 at org.apache.poi.util.LittleEndian.getNumber(LittleEndian.java:491) at org.apache.poi.util.LittleEndian.g

RE: org.apache.poi.hslf.usermodel.SlideShow - buildSlidesAndNotes()

2006-11-13 Thread Erez Eisenstein
esAndNotes() On Sun, 12 Nov 2006, Erez Eisenstein wrote: > I get the following exception: > > class java.lang.ClassCastException - org.apache.poi.hslf.record.Slide > java.lang.ClassCastException: org.apache.poi.hslf.record.Slide >at org.apache.poi.hslf.usermodel.SlideShow.bui

RE: org.apache.poi.hslf.usermodel.SlideShow - buildSlidesAndNotes()

2006-11-13 Thread Erez Eisenstein
eShow - buildSlidesAndNotes() On Sun, 12 Nov 2006, Erez Eisenstein wrote: > I get the following exception: > > class java.lang.ClassCastException - org.apache.poi.hslf.record.Slide > java.lang.ClassCastException: org.apache.poi.hslf.record.

org.apache.poi.hslf.usermodel.SlideShow - buildSlidesAndNotes()

2006-11-12 Thread Erez Eisenstein
Hi Nick and Yegor. I get the following exception: class java.lang.ClassCastException - org.apache.poi.hslf.record.Slide java.lang.ClassCastException: org.apache.poi.hslf.record.Slide at org.apache.poi.hslf.usermodel.SlideShow.buildSlidesAndNotes This happens when I try to instantiate

documentation - POI - PPT

2006-11-08 Thread Erez Eisenstein
Hi Where can I find documentation about all the features and the support for PPT files? thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] Mailing List: http://jakarta.apache.org/site/mail2.html#poi The Apache Jakarta Poi Pr

RE: Numbering formats of lines of text in PPT files

2006-10-09 Thread Erez Eisenstein
Thanks, I'll try that :) -Original Message- From: Yegor Kozlov [mailto:[EMAIL PROTECTED] Sent: Monday, October 09, 2006 6:20 PM To: POI Users List Subject: Re: Numbering formats of lines of text in PPT files Hi, Recently we added RuchTextRun.getIndentLevel() which returns the indent

Numbering formats of lines of text in PPT files

2006-10-09 Thread Erez Eisenstein
Hi Nick, I'm having the following problem: After extracting several lines of text from a TextBox, if the lines were numbered, with also sub-numbered, I can't tell which line is which. Example: 1. first line a. first sub-line b. second sub-line 2. second line 3.

RE: Re[2]: org.apache.poi.hslf.model.ShapeGroup - getShapes()

2006-09-26 Thread Erez Eisenstein
: POI Users List Subject: Re[2]: org.apache.poi.hslf.model.ShapeGroup - getShapes() What shapes do you have in the slide? Text boxes, rectangles or something more complex, for example, polygons or custom shapes? NB> On Tue, 26 Sep 2006, Erez Eisenstein wrote: >&

org.apache.poi.hslf.model.ShapeGroup - getShapes()

2006-09-26 Thread Erez Eisenstein
Hi Nick. I get the following exception: class java.lang.ClassCastException - org.apache.poi.ddf.EscherOptRecord java.lang.ClassCastException: org.apache.poi.ddf.EscherOptRecord at org.apache.poi.hslf.model.ShapeGroup.getShapes(ShapeGroup.java:59) This is when I invoke the getShapes() meth

RE: TextBox bug

2006-07-13 Thread Erez Eisenstein
I am not creating a TextBox myself... >> >> I have an instance of Slide, and I call the getShapes() method (some > of >> the shapes are TextBox instances) >> >> >> >> -Original Message- >> From: Nick Burch [mailto:[EMAIL PROTECTED] >>

RE: TextBox bug

2006-07-13 Thread Erez Eisenstein
Thursday, July 13, 2006 11:23 AM > To: POI Users List > Subject: Re: TextBox bug > > On Thu, 13 Jul 2006, Erez Eisenstein wrote: >> If I create a new ppt file, with an empty textbox in it (that says: >> "click to add subtitle"), than the _txtrun is null. This c

RE: TextBox bug

2006-07-13 Thread Erez Eisenstein
Bug number - 40036 -Original Message- From: Nick Burch [mailto:[EMAIL PROTECTED] Sent: Thursday, July 13, 2006 11:42 AM To: POI Users List Subject: RE: TextBox bug On Thu, 13 Jul 2006, Erez Eisenstein wrote: > I have an instance of Slide, and I call the getShapes() method (some

RE: TextBox bug

2006-07-13 Thread Erez Eisenstein
bug On Thu, 13 Jul 2006, Erez Eisenstein wrote: > If I create a new ppt file, with an empty textbox in it (that says: > "click to add subtitle"), than the _txtrun is null. This causes the > TextBox class to throw NullPointerExceptions, in methods getText(), > setSheet

TextBox bug

2006-07-13 Thread Erez Eisenstein
If I create a new ppt file, with an empty textbox in it (that says: "click to add subtitle"), than the _txtrun is null. This causes the TextBox class to throw NullPointerExceptions, in methods getText(), setSheet(). - To unsubscri

RE: _getRawParagraphStyle()

2006-07-12 Thread Erez Eisenstein
PROTECTED] Sent: Wednesday, July 12, 2006 6:38 PM To: POI Users List Subject: Re: _getRawParagraphStyle() On Wed, 12 Jul 2006, Erez Eisenstein wrote: > Using the _getRawParagraphStyle() method, I've looked at the TextProp > names and values I get from a PPT file, that uses numbering. After

_getRawParagraphStyle()

2006-07-12 Thread Erez Eisenstein
Hi, I'm trying to use Bullets and Numbering in PowerPoint. Using the _getRawParagraphStyle() method, I've looked at the TextProp names and values I get from a PPT file, that uses numbering. After that, I changed the numbering (from numbers to letters), and looked at the TextProps - but they are a

RE: _getRawParagraphStyle(), _getRawCharacterStyle()

2006-07-12 Thread Erez Eisenstein
Okay, thanks :) -Original Message- From: Nick Burch [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 12, 2006 3:05 PM To: POI Users List Subject: RE: _getRawParagraphStyle(), _getRawCharacterStyle() On Wed, 12 Jul 2006, Erez Eisenstein wrote: > So all I really need from each TextP

RE: _getRawParagraphStyle(), _getRawCharacterStyle()

2006-07-12 Thread Erez Eisenstein
tyle(), _getRawCharacterStyle() On Wed, 12 Jul 2006, Erez Eisenstein wrote: > What does the "Size" attribute of the TextProp means? > > Same question for "Mask" and "WriteMask"? You shouldn't need them, unless you're trying to write them out. They relate to

RE: _getRawParagraphStyle(), _getRawCharacterStyle()

2006-07-12 Thread Erez Eisenstein
Style(), _getRawCharacterStyle() On Wed, 12 Jul 2006, Erez Eisenstein wrote: > RichTextRun class has _getRawParagraphStyle() and > _getRawCharacterStyle() methods, that I am using to extract a LinkedList > of TextProp instances. For each text styling applied to the characters, or their pa

_getRawParagraphStyle(), _getRawCharacterStyle()

2006-07-12 Thread Erez Eisenstein
Hi, I need some help with org.apache.poi.hslf RichTextRun class has _getRawParagraphStyle() and _getRawCharacterStyle() methods, that I am using to extract a LinkedList of TextProp instances. How do I use the TextProp instance to make out the bullets and numbering of several lines of text? Whe

RE: Re[2]: org.apache.poi.hslf.model.TextRun

2006-06-08 Thread Erez Eisenstein
de.getTextRuns(). EE> For each TextRun, I want to know its x/y position. EE> -Original Message- EE> From: Nick Burch [mailto:[EMAIL PROTECTED] EE> Sent: Wednesday, June 07, 2006 5:05 PM EE> To: Erez Eisenstein EE> Cc: POI Users List EE> Subject: Re: org.apache

RE: org.apache.poi.hslf.model.TextRun

2006-06-07 Thread Erez Eisenstein
I am asking about the TextRun[] return from the method org.apache.poi.hslf.model.Slide.getTextRuns(). For each TextRun, I want to know its x/y position. -Original Message- From: Nick Burch [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 07, 2006 5:05 PM To: Erez Eisenstein Cc: POI