To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=77232
User bm changed the following:
What |Old value |New value
================================================================================
Assigned to|bm |nn
--------------------------------------------------------------------------------
------- Additional comments from [EMAIL PROTECTED] Mon Jul 30 14:14:28 +0000
2007 -------
Looking at lcl_detectRanges() I found out that for a range like this:
* * *
* * *
* * *
* * * *
is split up like this:
A C D
A C D
A C D
A B B/C D
I.e., range B consists of two cells which are "in rows", therefore the
splitting-direction (DataRowSource) is ambiguous.
->NN: This only appears for a de-selection where you leave just one cell in a
column like in the example. It is not a very common example, I think. So, I
would only fix this if there is a somewhat obvious fix that does not wreck other
places.
Maybe range B could be detected to be only one cell, and not yield an ambiguous
state in this case, but count as "don't care", because all sub-ranges have "data
in columns" and only one is undecided. This is not really ambiguous (in contrast
to a complete range that only consists of one cell).
Maybe a query like this would solve the situation, once range "B" is only one
cell:
if( !bRowDiff && !bColDiff )
++nUndecided;
else if( bRowDiff && ! bColDiff )
++nDataInColumns;
else if( bColDiff && ! bRowDiff )
++nDataInRows;
else if( bRowDiff && bColDiff )
bRowSourceAmbiguous = true;
if( (nDataInRows > 0 && nDataInColumns) > 0 || nUndecided > 0 )
bRowSourceAmbiguous = true;
---------------------------------------------------------------------
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]