You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by Paul ROYE <pr...@easyprof.com> on 2009/02/12 13:53:41 UTC

Differences between TxMasterStyleAtom and StyleTextPropAtom TextProps

Hi !

I have seen differences between TxMasterStyleAtom and StyleTextPropAtom 
TextProps names.
Like :

TxMasterStyleAtom
new TextProp(2, 0x4000, "spaceafter"),
new TextProp(2, 0x8000, "defaultTabSize"),
new TextProp(2, 0x10000, "fontAlign"),

StyleTextPropAtom
new TextProp(2, 0x4000, "spaceafter"),
new TextProp(2, 0x8000, "text.offset"),
new TextProp(2, 0x10000, "bullet.offset"),

Is it bugs ?
Why names are different ?
I'm facing various problems with unknown properties, and I thought that 
it would have come from those lines.

Thank you.
Paul

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


Re: Differences between TxMasterStyleAtom and StyleTextPropAtom TextProps

Posted by Yegor Kozlov <ye...@dinom.ru>.
The order of properties in TxMasterStyleAtom and StyleTextPropAtom is 
different. However, it is not improbable, that there is bug because most 
of this code is based on reverse engineering. I should say it was a 
pretty hard job to decode them :)

If you find that the order of properties is wrong, please create a bug 
in bugzilla and attach the problem file along with explanation.

Regards,
Yegor
> Hi !
>
> I have seen differences between TxMasterStyleAtom and 
> StyleTextPropAtom TextProps names.
> Like :
>
> TxMasterStyleAtom
> new TextProp(2, 0x4000, "spaceafter"),
> new TextProp(2, 0x8000, "defaultTabSize"),
> new TextProp(2, 0x10000, "fontAlign"),
>
> StyleTextPropAtom
> new TextProp(2, 0x4000, "spaceafter"),
> new TextProp(2, 0x8000, "text.offset"),
> new TextProp(2, 0x10000, "bullet.offset"),
>
> Is it bugs ?
> Why names are different ?
> I'm facing various problems with unknown properties, and I thought 
> that it would have come from those lines.
>
> Thank you.
> Paul
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
> For additional commands, e-mail: user-help@poi.apache.org
>
>


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


Re: Differences between TxMasterStyleAtom and StyleTextPropAtom TextProps

Posted by Paul ROYE <pr...@easyprof.com>.
Thank you.
And thank microsoft :(
> On Thu, 12 Feb 2009, Paul ROYE wrote:
>> I have seen differences between TxMasterStyleAtom and 
>> StyleTextPropAtom TextProps names.
>
> IIRC, they really are different. I think two different people at 
> microsoft read the same general idea, then coded things differently :(
>
> Grab yourself the powerpoint binary file format docs from:
>     http://www.microsoft.com/interop/docs/OfficeBinaryFormats.mspx
> and look up the two atoms of interest, it should tell you all about 
> the different prop types
>
> Nick
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
> For additional commands, e-mail: user-help@poi.apache.org
> ------------------------------------------------------------------------
>
>
> No virus found in this incoming message.
> Checked by AVG - www.avg.com 
> Version: 8.0.233 / Virus Database: 270.10.22/1946 - Release Date: 02/10/09 17:44:00
>
>   


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


Re: Differences between TxMasterStyleAtom and StyleTextPropAtom TextProps

Posted by Nick Burch <ni...@torchbox.com>.
On Thu, 12 Feb 2009, Paul ROYE wrote:
> I have seen differences between TxMasterStyleAtom and StyleTextPropAtom 
> TextProps names.

IIRC, they really are different. I think two different people at microsoft 
read the same general idea, then coded things differently :(

Grab yourself the powerpoint binary file format docs from:
 	http://www.microsoft.com/interop/docs/OfficeBinaryFormats.mspx
and look up the two atoms of interest, it should tell you all about the 
different prop types

Nick

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