[HSLF] Bug 40143 - Font size

2006-12-19 Thread Tales Paiva Nogueira
Hi List, any news about bug #40143 http://issues.apache.org/bugzilla/show_bug.cgi?id=40143? I'm experiencing the same problem described in some files. The font size returned is wrong, sometimes the correct information is being stored in other style like asian_or_complex, char_unknown_2 and

Re: PPT Unicode

2006-12-07 Thread Tales Paiva Nogueira
, without styles. Thanks a lot, -- Tales Paiva Nick Burch wrote: On Tue, 5 Dec 2006, Tales Paiva Nogueira wrote: When PowerPoint stores text in Unicode a unknown char (byte value = 0) is placed between every normal char making the text 2 times longer than it really is. TextCharsAtoms, and other

[HSLF] Indentation level identification

2006-08-17 Thread Tales Paiva Nogueira
Hi, I need to identify the indentation level of a text in a TextBox. For this I created a method in the RichTextRun class as follows: public int getTextOffset(){ return getParaTextPropVal(text.offset); } Assuming that the property name that holds this

RE: TextBox bug

2006-07-13 Thread Tales Paiva Nogueira
Hi, I noticed this problem few days ago, I made a little change in the code, and it worked properly for my needs. The change I made was add an test to ensure that the _txtrun isn't null. Below is the code for the setSheet(Sheet sheet) in the TextBox class: public void setSheet(Sheet

RE: TextBox bug

2006-07-13 Thread Tales Paiva Nogueira
[] rt; if (_txtrun == null) rt = new RichTextRun[0]; else rt = _txtrun.getRichTextRuns(); Thanks -Original Message- From: Tales Paiva Nogueira [mailto:[EMAIL PROTECTED] Sent: Thursday, July 13, 2006 3:15 PM To: POI Users List Subject: RE: TextBox bug Hi, I noticed

PPT Pictures

2006-06-30 Thread Tales Paiva Nogueira
Hi, I'm having trouble extracting images from PPT files. When I have the same image more than once, the API identifies only one image even if the size differs from one to another. I use the readPictures method in the HSLFSlideShow class which puts the image streams in the a pictstream vector.