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


User cl changed the following:

                What    |Old value                 |New value
================================================================================
                  Status|NEW                       |RESOLVED
--------------------------------------------------------------------------------
              Resolution|                          |FIXED
--------------------------------------------------------------------------------




------- Additional comments from [EMAIL PROTECTED] Tue Sep 16 16:37:30 +0000 
2008 -------
I have a fix available on cws impress159, fixed in

xmloff/source/draw/ximpshap.cxx (r. 1.29.60.1)

svx/source/table/svdotable.cxx ( no actual changes here, I just removed my first
fix, the fix in xmloff is much safer)

The problem in short non technical terms is as follows:

When the document is loaded and the size of the table shape is set, it is
reformatted but the styles are not yet applied so the text size may be different
to what is shown later. So the font size at this stage may be larger than it
should be and may cause line wraps where there should be none.

Now the longer technical story:

xmlimport.cxx locks the shape with the XActionLockable interface. This causes
the table shape not to react on modifications from the table model until it is
unlocked. But SdXMLTableShapeContext::EndElement() changes the table shape size
before the shape is unlocked. Now changing the table shape size causes the shape
to be modified and the table is layouted. After that
SdXMLTableShapeContext::EndElement() calls SdXMLShapeContext::EndElement() which
unlocks the shape and only then are all events processed and one of the events
is setting the actual style at the table. :-(

The


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