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





------- Additional comments from [EMAIL PROTECTED] Thu Apr 19 07:02:38 +0000 
2007 -------
aWish contains the 'wished' column widths referring to the width of the contents
of the cells. In my opinion these values are only useful if the optimal column
width should be calculated. For a simple 'space equally' operation, the
algorithm should be straightforward: Sum up the column widths and divide by the
number of columns. Anyway, the algorithm as implemented there works, except from
a bug in lcl_CalcColValues: pTab->FirstCell() gives us a cell frame from the
outer table. At the end of the loop, pCell = pCell->GetNextLayoutLeaf() gives us
a cell frame in the inner table which causes the while loop to be finished
(leaving aWish with to little values, resulting in nCnt = 0). IMHO, all cell
frames of the inner table should be skipped and the while loop should continue
with the next cell frame of the outer table. Hope this helps.

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