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





------- Additional comments from [EMAIL PROTECTED] Wed Jan 16 10:39:14 +0000 
2008 -------
ama->liuyu:
Yes, you realized the problem well. We have to detect if the table is part of
the fly frame or in the fly frame inserted into a table. Your patch looks for
table starting after the insert position. If you find such a table you allow the
expansion of the fly content range. Even this works for the bug scenario it will
not solve slightly different scenarios.
First scenario:
Create a table which contains in the first cell a paragraph and another table
(table in table).
Try to insert our fly frame (RTF-formatted) into this paragraph before the inner
table =>
the problem still occurs because the inner table is detected by your patch.
This happens because your loop runs until pNd->EndOfSectionIndex(), why?
Wouldn't be pNd->GetIndex() enough?
Second scenario:
If you do not select only one fly frame, select two paragraphs which two fly
frames anchored to them. If you insert this (RTF-formatted) into a table, the
problem still occurs.
This happens because the first fly frame insertion shifts all nodes in our nodes
array. Your saved nSaveCrsrNodeIndex is not correct any longer, it points to a
position before the original insert position. When the second fly frame is
inserted, it detects the table _behind_ nSaveCrsrNodeIndex and the problem
starts again.


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