poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Praveen Mathew <prmat...@in.ibm.com>
Subject Re: Praveen hows it going?
Date Wed, 16 Jul 2003 16:42:42 GMT
Ryan, please clarify this.  I am finding this difficult to understand

According to Spec.... typedef union _UPX
            uchar grpprl[cbMaxGrpprlStyleChpx];
            } chpx;
            ushort istd;
            uchar grpprl[cbMaxGrpprlStylePapx];
            } papx;
    uchar rgb[1];
    } UPX;

the papx stored in STSH has istd & & grpprl. In our current StyleDescription class,
the _papx which is being returned from getPAPX() is only made of grrprl.
In the uncompressProperty(byte[] grpprl, Object parent, StyleSheet styleSheet, 
boolean doIstd) function of StyleSheet class,
we are doing ((ParagraphProperties)newProperty).setIstd(LittleEndian.getShort(grpprl, 
0));. Can we get the istd from this grpprl at ofset 0 by reading the 

Thanks & Regards

"Ryan Ackley" <sackley@cfl.rr.com>
16/07/2003 19:45
Please respond to "POI Developers List"

        To:     "POI Developers List" <poi-dev@jakarta.apache.org>
        Subject:        Re: Praveen hows it going?


> Ryan this is what I plan to make. Please review it &  tell me if I 
> proceed with this approach.
> Create a seperate class called SprmOperationsVm, which has the following
> static  methods needed for the various Sprm operations.
> 1. unCompressProperty()
> 2.  unCompressPAPOperation()
> 3.  unCompressCHPOperation()
> 4.   unCompressTAPOperation()
> 5. unCompressSEPOperation()
> 6. compressProperty()
> 7.  compressPAPOperation()
> 8.  compressCHPOperation()
> 9.   compressTAPOperation()
> 10. compressSEPOperation().

I would like you to focus on only this for now. I will explain how I want 
tested when you finish.

> Add the functions like createChp(), createPap() in StyleSheet class 
you have already commented out.

don't worry about this

> Enhance the ParagraphProperties, CharacterProperties,TableProperties &
> SectionProperties classes to add all the filelds.

I will be working on this

> Add getPAP(),getCHP() & setPAP(), setCHP() functions in Styledescription
> class which u have commented out.

Don't worry about this either.


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

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message