Lines 880-885
Link Here
|
880 |
long nSizeY = 0; |
880 |
long nSizeY = 0; |
881 |
long nHeight = 0; |
881 |
long nHeight = 0; |
882 |
pViewData->GetMergeSizePixel( nCol, nRow, nSizeX, nSizeY ); |
882 |
pViewData->GetMergeSizePixel( nCol, nRow, nSizeX, nSizeY ); |
|
|
883 |
nSizeY = pViewData->ToPixel(pDoc->GetRowHeight(nRow, nTab), pViewData->GetPPTY()); |
883 |
Point aPos = pViewData->GetScrPos( nCol, nRow, eWhich ); |
884 |
Point aPos = pViewData->GetScrPos( nCol, nRow, eWhich ); |
884 |
if ( bLayoutRTL ) |
885 |
if ( bLayoutRTL ) |
885 |
aPos.X() -= nSizeX; |
886 |
aPos.X() -= nSizeX; |
Lines 1674-1685
Link Here
|
1674 |
|
1675 |
|
1675 |
if ( !bDouble && !bFormulaMode && rMEvt.IsLeft() ) |
1676 |
if ( !bDouble && !bFormulaMode && rMEvt.IsLeft() ) |
1676 |
{ |
1677 |
{ |
|
|
1678 |
SCsCOL nRealPosX; |
1679 |
SCsROW nRealPosY; |
1680 |
pViewData->GetPosFromPixel( aPos.X(), aPos.Y(), eWhich, nRealPosX, nRealPosY, false );//the real row/col |
1681 |
ScMergeFlagAttr* pRealPosAttr = (ScMergeFlagAttr*) |
1682 |
pDoc->GetAttr( nRealPosX, nRealPosY, nTab, ATTR_MERGE_FLAG ); |
1677 |
ScMergeFlagAttr* pAttr = (ScMergeFlagAttr*) |
1683 |
ScMergeFlagAttr* pAttr = (ScMergeFlagAttr*) |
1678 |
pDoc->GetAttr( nPosX, nPosY, nTab, ATTR_MERGE_FLAG ); |
1684 |
pDoc->GetAttr( nPosX, nPosY, nTab, ATTR_MERGE_FLAG ); |
1679 |
if (pAttr->HasAutoFilter()) |
1685 |
if( pRealPosAttr->HasAutoFilter() ) |
1680 |
{ |
1686 |
{ |
|
|
1687 |
SC_MOD()->InputEnterHandler(); |
1688 |
if (DoAutoFilterButton( nRealPosX, nRealPosY, rMEvt)) |
1689 |
return; |
1690 |
} |
1691 |
if( pAttr->HasAutoFilter() ) |
1692 |
{ |
1681 |
SC_MOD()->InputEnterHandler(); //Add for i85305 |
1693 |
SC_MOD()->InputEnterHandler(); //Add for i85305 |
1682 |
if (DoAutoFilterButton(nPosX, nPosY, rMEvt)) |
1694 |
if (DoAutoFilterButton( nPosX, nPosY, rMEvt)) |
1683 |
return; |
1695 |
return; |
1684 |
} |
1696 |
} |
1685 |
if (pAttr->HasButton()) |
1697 |
if (pAttr->HasButton()) |