Hello again;

Here is how the OpenOffice.org Developers Guide 2.0 "DevelopersGuide.pdf" (1047 pages) describes variables. Note the exclusive use of millimeters, and the declaration of 1/100 mm (.01 mm, or two decimal places) as the limit to the degree of accuracy:

ParaLeftMargin long — Determines the left margin of the paragraph in 1/100 mm.
ParaRightMargin long — Determines the right margin of the paragraph in 1/100 mm.
ParaTopMargin long — Determines the top margin of the paragraph in 1/100 mm.
ParaBottomMargin long — Determines the bottom margin of the paragraph in 1/100 
mm.

TabStopPosition long — Position of the tab stop in 1/100 mm.

Height long — Contains the height of the object (1/100 mm).
Width long — Contains the width of the object (1/100 mm).

HoriOrientPosition long — Contains the horizontal position of the object (1/100 
mm).

VertOrientPosition long — Contains the vertical position of the object (1/100 
mm). Valid only
if TextEmbeddedObject::VertOrient is VertOrientation::NONE .

HoriOrientPosition long — Contains the horizontal position of the object (1/100 
mm).

VertOrientPosition long — Contains the vertical position of the object (1/100 
mm). Valid only if
TextEmbeddedObject::VertOrient is VertOrientation::NONE.

PaperSize com.sun.star.awt.Size. Specifies the size of the paper in 1/100 mm.

Page Partitioning
All units and dimensions are measured in 1/100th of a millimeter.

LineWidth long — Width of the line in 1/100th of a millimeter.



It seems clear to me that the the use of "inches" was never even considered. The problem caused by the limit of two decimal places when using Inches as the unit of measurement (a 25X reduction in resolution) was never considered either.

In fact, the word "inch" appears only ONCE in the ENTIRE DOCUMENT:

CharFontPitch short — This property contains the font pitch that is specified in
com.sun.star.awt.FontPitch. The word font pitch refers to characters
per inch, but the possible values are DONTKNOW, FIXED and VARIABLE.
VARIABLE points to the difference between proportional and unpropor tional
fonts.

I would guess that this reference to "inch" was used reluctantly, and only because they had to.

I would like to hear one of the developers explain why they allow the resolution in Inches to be 25 times worse than in millimeters.

John Hardy


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to