To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=53489
Issue #:|53489
Summary:|Incorrect Calculation of Relative Column Widths in
|Tables
Component:|Word processor
Version:|OOo 2.0 Beta
Platform:|All
URL:|
OS/Version:|Windows 2000
Status:|UNCONFIRMED
Status whiteboard:|
Keywords:|
Resolution:|
Issue type:|DEFECT
Priority:|P3
Subcomponent:|formatting
Assigned to:|mru
Reported by:|dgardner
------- Additional comments from [EMAIL PROTECTED] Thu Aug 18 04:57:58 -0700
2005 -------
I've been using XSLT stylesheets to create the "content.xml" file in
Open Document format in OO.o Writer 1.9.122. The source documents
in DocBook XML format specify table column widths proportionally using
the "n*" notation, where "n" is the proportion. These values are copied
directly to the Open Document content because they are defined to mean
the same thing and work the same way. In Open Document the content
looks like this:
<style:style style:family="table-column" style:name="col1">
<style:table-column-properties style:rel-column-width="40*"/>
</style:style>
<style:style style:family="table-column" style:name="col2">
<style:table-column-properties style:rel-column-width="60*"/>
</style:style>
<!-- .... -->
<table:table table:style-name="YYY" table:table-name="t1">
<table:table-columns>
<table:table-column table:style-name="col1"/>
<table:table-column table:style-name="col2"/>
</table:table-columns>
<!-- ... -->
</table:table>
When I open this content in Writer, it looks fine. The column widths are
split 40:60 as expected. However, if the proportions are specified as
values that do not resemble percentages, it does not work. The same
relative column widths can be specified using "2*" and "3*" instead of
"40*" and "60*", but small numbers like that result in all columns
appearing to be the same width.
Because the "percentage-like" ratios work and the very same ratios
specified using "non-percentage-like" values do not work, I suspect that
the relative column widths are being interpreted as percentages instead
of arbitrary ratios. This does not conform to the Open Document 1.0
specification (section 15.9.1 "Column Width") that shows how the widths
should be calculated from the proportional values (the same way as
DocBook does it, which it why the transformation should be so convenient
and why I noticed that there was a problem).
I tried to find the source code that does this calculation but got
completely lost and couldn't find anything at all--I didn't even know
which CVS repository might contain the code--so, I can't confirm that
the reason for the problem is what I suspect it might be. Does anyone
know where that code might be?
---------------------------------------------------------------------
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]