Subject: Re: Questions about our XML grammar
From: Paul Rohr (paul@abisource.com)
Date: Wed Jan 10 2001 - 12:41:40 CST
At 11:10 AM 1/10/01 -0500, Dom Lachowicz wrote:
>FYI, Word styles are like our styles, not our "props" attributes. i.e. a 
>style is a set of predefined attributes inherited by any element. MSWord 
>uses PAP and CHP binary structures (actually, groups of diffs to these 
>structures - GRPPLs of PAPXs and CHPXs) to store what we currently call 
>"props".
Exactly.  In the abstract, our concepts are very similar, but the .abw 
markup is deliberately much simpler than Word's in this respect.  
For both character and paragraph-level styles, here's a comparison of what 
you see:
  where             what it looks like
  -----             ------------------
  both UIs (en-US)  Style: Normal
  .abw format       style="Normal"
  .doc format       (a bunch of binary gobbledygook)
Ditto for individual formatting properties:
  where             what it looks like
  -----             ------------------
  both UIs (en-US)  Font: Times New Roman, Size: 14pt
  .abw format       props="font-family:Times New Roman, font-size:14pt"
  .doc format       (more gobbledygook)
Any questions?  :-)
Paul
PS:  Once again, I should express my eternal gratitude to folks like Caolan, 
Justin, and Dom, who've spent so much time groveling through the details of 
that "binary gobbledygook" so that the rest of us never have to.  
This archive was generated by hypermail 2b25 : Wed Jan 10 2001 - 13:33:09 CST