You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by Praveen Mathew <pr...@in.ibm.com> on 2003/08/05 16:30:09 UTC

HWPF Status

Hi Ryan,
             How is the Compression of PAP & CHP going?? Will you be able 
to commit the code soon?

Btw, I was thinking of making a class which gives the interfaces to modify 
specific properties(PAP & CHP) for a text run given its FC, & also to read 
the Existing properties of a Text run. Now that we have our Compression & 
Decompression of SPRMS in form, it should be possible.

Have you planned anything on these lines

Thanks & Regards
Praveen

Praveen Mathew


Re: HWPF Status

Posted by Ryan Ackley <sa...@cfl.rr.com>.
> Hi Ryan,
>              How is the Compression of PAP & CHP going?? Will you be able
> to commit the code soon?

Finished both, I just need to write tests. I will commit tonight. I wasn't
sure what happened to you. I hadn't heard from you in awhile. Did you ever
make those changes you were going to make to the decompressor?

> Btw, I was thinking of making a class which gives the interfaces to modify
> specific properties(PAP & CHP) for a text run given its FC, & also to read
> the Existing properties of a Text run.

Absolutely, I encourage you to go for it. I will be committing some classes
tonight. org.apache.hwpf.usermodel.CharacterProperties extends
CHPAbstractType and org.apache.hwpf.usermodel.ParagraphProperties extends
PAPAbstractType. These two classes will be the interfaces for the CHPs and
PAPs respectively. I only stubbed them so I could write my compressor so you
don't have to wait for me to commit them.

Ryan


---------------------------------------------------------------------
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/


Re: Bugzilla Bug 13478 (RawDataBlock: Missing workaround for low performance InputStreams )

Posted by Chris Nokleberg <ch...@sixlegs.com>.
On Sat, Aug 30, 2003 at 02:48:26PM -0400, robert_weir@us.ibm.com wrote:
> I was just updating my code to use POI 2.0 pre3 JAR and noticed that this 
> bug is still unfixed in RawDataBlock.java.  What's up with that?  This was 
> discovered and a patch was provided almost a year ago. 

It looks like the patch was applied on July 31, one day after 2.0-pre3
was released. You could try checking out REL_2_BRANCH from CVS.

Chris

---------------------------------------------------------------------
To unsubscribe, e-mail: poi-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: poi-dev-help@jakarta.apache.org


Bugzilla Bug 13478 (RawDataBlock: Missing workaround for low performance InputStreams )

Posted by ro...@us.ibm.com.
I was just updating my code to use POI 2.0 pre3 JAR and noticed that this 
bug is still unfixed in RawDataBlock.java.  What's up with that?  This was 
discovered and a patch was provided almost a year ago. 

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13478

I'm perfectly happy to patch it on my machine and distribute that, but it 
would be nice to fix it in the real 2.0 release soon so we can get some 
test coverage of it. 

Am I the only  one running into this?

For what its worth, if I run with a simple FileInputStream, I never get 
this error.  But if I load the contents of the XLS file into a buffer and 
then pass a ByteArrayInputStream to POI, it always happens.  Make the 
patch and it works correct either way.

Is there anything I can do to help with this to get it moving?


-Rob