Thanks Ryan...
Thanks & Regards
Praveen
"Ryan Ackley" <[EMAIL PROTECTED]>
17/07/2003 19:56
Please respond to "POI Developers List"
To: "POI Developers List" <[EMAIL PROTECTED]>
cc:
Subject: Re: Praveen hows it going?
Praveen,
I changed StyleDescription so that the istd is now a part of _papx as well
as being stored in _istd for quick access.
Ryan
----- Original Message -----
From: "Praveen Mathew" <[EMAIL PROTECTED]>
To: "POI Developers List" <[EMAIL PROTECTED]>
Sent: Wednesday, July 16, 2003 12:42 PM
Subject: Re: Praveen hows it going?
> Ryan, please clarify this. I am finding this difficult to understand
>
> According to Spec.... typedef union _UPX
> {
> struct
> {
> uchar grpprl[cbMaxGrpprlStyleChpx];
> } chpx;
> struct
> {
> 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
> short???
>
>
>
> Thanks & Regards
> Praveen
>
>
>
>
>
>
> "Ryan Ackley" <[EMAIL PROTECTED]>
> 16/07/2003 19:45
> Please respond to "POI Developers List"
>
>
> To: "POI Developers List" <[EMAIL PROTECTED]>
> cc:
> Subject: Re: Praveen hows it going?
>
>
>
> > Ryan this is what I plan to make. Please review it & tell me if I
> should
> > 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
> it
> tested when you finish.
>
> > Add the functions like createChp(), createPap() in StyleSheet class
> which
> 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.
>
> Ryan
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]