[HSLF] Bug 40143 - Font size

2006-12-19 Thread Tales Paiva Nogueira
Hi List, any news about bug #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
w the text, 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. TextC

PPT Unicode

2006-12-05 Thread Tales Paiva Nogueira
Hi List, 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. I can ignore these garbage chars, but I lost the text style informations, as it's indexes are based in the original unicode

Re: Master Sheet

2006-11-21 Thread Tales Paiva Nogueira
Hi, This method is returning null always no matter which file you try to open. I just don't understand why the method is like this: /** * Return the master sheet . */ public MasterSheet getMasterSheet(){ return null; } Are you sure it is correct? Regards, Tales Yegor

[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 informat

RE: TextBox bug

2006-07-13 Thread Tales Paiva Nogueira
just the same): > > > RichTextRun[] 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

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 sheet)

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. Fo