To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=53489





------- Additional comments from [EMAIL PROTECTED] Thu Aug 18 07:30:37 -0700 
2005 -------
Are you sure this should be treated as an "enhancement"? Treating the
relative column widths as "percent values" is simply wrong and not
just an incomplete implementation that can later be enhanced. The
treatment only works when, by accident or design, the relative widths
add up to approximately 100 (once the total is close to 100, any slight
error will probably go unnoticed).

The Open Document specification says:

  "A relative width is specified by the style:rel-column-width
  property that takes a number value, followed by a '*' character.
  If rc is the relative with [sic] of the column, rs the sum of
  all relative columns widths, and ws the absolute width that is
  available for these columns, then the absolute with wc of the
  column is wc=rc ws/rs."

Nowhere is there any suggestion that these values should be assumed
to be percentage values. As I cannot find the code in question, I
would guess that the error is that "rs" (the sum of all relative
column widths) is being assumed to be 100 instead of being calculated
correctly by summing the relative width values for each column.

This use of "n*" notation for relative width values is identical to
the proportional width scheme defined in the DocBook specification
and assuming the values to be percentages (despite the "*" character,
not the "%" character) hinders what was probably a deliberate attempt
to make the specifications compatible in this respect.

In the meantime, I can work around this by converting the ratios to
percentage values, but this is not easy to do in what was an otherwise
simple XSLT stylesheet (I might post my solution later if I can get
something working).


---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
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]

Reply via email to