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 11:11:25 +0000 2008 ------- ama->liuyu: Instead of starting from the original insertion point we should analyze the nodes before the pNd. pNd->FindTableNode() is wrong because it delivers the table outside the fly frame as well. But if the table is inside the fly frame, it should start immediately before pNd: <table start> <cell start> <pNd> ... In the case above the table is inside and the range has to be expanded. The table below is outside and the range must not to be expanded: <table start> <cell start> <text node> <pNd> ... So you have to look for the node just before pNd, if it is not a <cell start node> there is no need to expand the range. If it is a cell start and the previous node is a table start then the range has to be expanded. --------------------------------------------------------------------- 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]