I'm working on a new project that involves reading AbiWord files, and
in looking over some output from Abi (so that I could then write the
code to process it), I noticed a few things that I'd like to suggest
be changed and I might even submit the patch to do it if no one
objects.

* No tags/attributes for page sizes and/or margins. I would suggest
that these are probably either abiword or section attributes.

* Is there a reason we call it "props" rather than "style"?  Yes,  it
is our properties, but it's also similar to CSS style values.

* The "line-height" property for <p> is tracked as a multiple of
something I'm guessing the default line height), rather than the more
common fixed value for "leading".

* The "color" property for <c> should have a leading # in front of
the size hex values to delineate it as a hex value (as per CSS spec).
That way we could also support other types of color specifications
such as names ("aqua", "black", etc.) or other color spaces (CMYK,
gray, etc.).

* Subscript and Superscript are handled with the "text-position"
property, but that seems pretty limiting since it doesn't provide for
control over baseline shift percentage.  Could we replace that value
with a float (or int) specifying how much to baseline shift by (and
it should support both fixed values as well as percentages - eg. 5,
-5, 50%).

* The columns property tells one how many columns, but nothing about
their sizes/margins.


That's it for now, since I'm on the road with my Wintel laptop and
the Windows build doesn't have bullet or border dialogs, so I can't
try to see what they generate.  If someone wants to send me some
sample docs that use though, that would be much appreciated!


Leonard
--
----------------------------------------------------------------------------
                   You've got a SmartFriend� in Pennsylvania
----------------------------------------------------------------------------
Leonard Rosenthol                       Internet:       [EMAIL PROTECTED]
                                        America Online: MACgician
Web Site: <http://www.lazerware.com/>
FTP Site: <ftp://ftp.lazerware.com/>
PGP Fingerprint: C76E 0497 C459 182D 0C6B  AB6B CA10 B4DF 8067 5E65


Reply via email to