edtwin.cxx (b10a5c0b) | edtwin.cxx (93641701) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 951 unchanged lines hidden (view full) --- 960#define MOVE_UP_SMALL 1 961#define MOVE_RIGHT_BIG 2 962#define MOVE_DOWN_BIG 3 963#define MOVE_LEFT_BIG 4 964#define MOVE_UP_BIG 5 965#define MOVE_RIGHT_SMALL 6 966#define MOVE_DOWN_SMALL 7 967 | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 951 unchanged lines hidden (view full) --- 960#define MOVE_UP_SMALL 1 961#define MOVE_RIGHT_BIG 2 962#define MOVE_DOWN_BIG 3 963#define MOVE_LEFT_BIG 4 964#define MOVE_UP_BIG 5 965#define MOVE_RIGHT_SMALL 6 966#define MOVE_DOWN_SMALL 7 967 |
968// #121236# Support for shift key in writer 969#define MOVE_LEFT_HUGE 8 970#define MOVE_UP_HUGE 9 971#define MOVE_RIGHT_HUGE 10 972#define MOVE_DOWN_HUGE 11 973 |
|
968void SwEditWin::ChangeFly( sal_uInt8 nDir, sal_Bool bWeb ) 969{ 970 SwWrtShell &rSh = rView.GetWrtShell(); 971 SwRect aTmp = rSh.GetFlyRect(); 972 if( aTmp.HasArea() && 973 // --> FME 2005-01-13 #i40348# 974 // IsSelObjProtected() seems to be the correct condition, not 975 // !HasReadonlySel(), otherwise frame is not moveable if content is --- 6 unchanged lines hidden (view full) --- 982 RES_FRM_SIZE, RES_FRM_SIZE, 983 RES_VERT_ORIENT, RES_ANCHOR, 984 RES_COL, RES_COL, 985 RES_PROTECT, RES_PROTECT, 986 RES_FOLLOW_TEXT_FLOW, RES_FOLLOW_TEXT_FLOW, 0); 987 rSh.GetFlyFrmAttr( aSet ); 988 RndStdIds eAnchorId = ((SwFmtAnchor&)aSet.Get(RES_ANCHOR)).GetAnchorId(); 989 Size aSnap; | 974void SwEditWin::ChangeFly( sal_uInt8 nDir, sal_Bool bWeb ) 975{ 976 SwWrtShell &rSh = rView.GetWrtShell(); 977 SwRect aTmp = rSh.GetFlyRect(); 978 if( aTmp.HasArea() && 979 // --> FME 2005-01-13 #i40348# 980 // IsSelObjProtected() seems to be the correct condition, not 981 // !HasReadonlySel(), otherwise frame is not moveable if content is --- 6 unchanged lines hidden (view full) --- 988 RES_FRM_SIZE, RES_FRM_SIZE, 989 RES_VERT_ORIENT, RES_ANCHOR, 990 RES_COL, RES_COL, 991 RES_PROTECT, RES_PROTECT, 992 RES_FOLLOW_TEXT_FLOW, RES_FOLLOW_TEXT_FLOW, 0); 993 rSh.GetFlyFrmAttr( aSet ); 994 RndStdIds eAnchorId = ((SwFmtAnchor&)aSet.Get(RES_ANCHOR)).GetAnchorId(); 995 Size aSnap; |
996 bool bHuge(MOVE_LEFT_HUGE == nDir || 997 MOVE_UP_HUGE == nDir || 998 MOVE_RIGHT_HUGE == nDir || 999 MOVE_DOWN_HUGE == nDir); 1000 |
|
990 if(MOVE_LEFT_SMALL == nDir || 991 MOVE_UP_SMALL == nDir || 992 MOVE_RIGHT_SMALL == nDir || 993 MOVE_DOWN_SMALL == nDir ) | 1001 if(MOVE_LEFT_SMALL == nDir || 1002 MOVE_UP_SMALL == nDir || 1003 MOVE_RIGHT_SMALL == nDir || 1004 MOVE_DOWN_SMALL == nDir ) |
1005 { |
|
994 aSnap = PixelToLogic(Size(1,1)); | 1006 aSnap = PixelToLogic(Size(1,1)); |
1007 } |
|
995 else 996 { 997 aSnap = rSh.GetViewOptions()->GetSnapSize(); 998 short nDiv = rSh.GetViewOptions()->GetDivisionX(); 999 if ( nDiv > 0 ) 1000 aSnap.Width() = Max( (sal_uLong)1, (sal_uLong)aSnap.Width() / nDiv ); 1001 nDiv = rSh.GetViewOptions()->GetDivisionY(); 1002 if ( nDiv > 0 ) 1003 aSnap.Height() = Max( (sal_uLong)1, (sal_uLong)aSnap.Height() / nDiv ); 1004 } 1005 | 1008 else 1009 { 1010 aSnap = rSh.GetViewOptions()->GetSnapSize(); 1011 short nDiv = rSh.GetViewOptions()->GetDivisionX(); 1012 if ( nDiv > 0 ) 1013 aSnap.Width() = Max( (sal_uLong)1, (sal_uLong)aSnap.Width() / nDiv ); 1014 nDiv = rSh.GetViewOptions()->GetDivisionY(); 1015 if ( nDiv > 0 ) 1016 aSnap.Height() = Max( (sal_uLong)1, (sal_uLong)aSnap.Height() / nDiv ); 1017 } 1018 |
1019 if(bHuge) 1020 { 1021 // #121236# 567twips == 1cm, but just take three times the normal snap 1022 aSnap = Size(aSnap.Width() * 3, aSnap.Height() * 3); 1023 } 1024 |
|
1006 SwRect aBoundRect; 1007 Point aRefPoint; 1008 // OD 18.09.2003 #i18732# - adjustment for allowing vertical position 1009 // aligned to page for fly frame anchored to paragraph or to character. 1010 { 1011 SwFmtVertOrient aVert( (SwFmtVertOrient&)aSet.Get(RES_VERT_ORIENT) ); 1012 const bool bFollowTextFlow = 1013 static_cast<const SwFmtFollowTextFlow&>(aSet.Get(RES_FOLLOW_TEXT_FLOW)).GetValue(); --- 7 unchanged lines hidden (view full) --- 1021 long nLeft = Min( aTmp.Left() - aBoundRect.Left(), aSnap.Width() ); 1022 long nRight = Min( aBoundRect.Right() - aTmp.Right(), aSnap.Width() ); 1023 long nUp = Min( aTmp.Top() - aBoundRect.Top(), aSnap.Height() ); 1024 long nDown = Min( aBoundRect.Bottom() - aTmp.Bottom(), aSnap.Height() ); 1025 1026 switch ( nDir ) 1027 { 1028 case MOVE_LEFT_BIG: | 1025 SwRect aBoundRect; 1026 Point aRefPoint; 1027 // OD 18.09.2003 #i18732# - adjustment for allowing vertical position 1028 // aligned to page for fly frame anchored to paragraph or to character. 1029 { 1030 SwFmtVertOrient aVert( (SwFmtVertOrient&)aSet.Get(RES_VERT_ORIENT) ); 1031 const bool bFollowTextFlow = 1032 static_cast<const SwFmtFollowTextFlow&>(aSet.Get(RES_FOLLOW_TEXT_FLOW)).GetValue(); --- 7 unchanged lines hidden (view full) --- 1040 long nLeft = Min( aTmp.Left() - aBoundRect.Left(), aSnap.Width() ); 1041 long nRight = Min( aBoundRect.Right() - aTmp.Right(), aSnap.Width() ); 1042 long nUp = Min( aTmp.Top() - aBoundRect.Top(), aSnap.Height() ); 1043 long nDown = Min( aBoundRect.Bottom() - aTmp.Bottom(), aSnap.Height() ); 1044 1045 switch ( nDir ) 1046 { 1047 case MOVE_LEFT_BIG: |
1029 case MOVE_LEFT_SMALL: aTmp.Left( aTmp.Left() - nLeft ); break; | 1048 case MOVE_LEFT_HUGE: 1049 case MOVE_LEFT_SMALL: aTmp.Left( aTmp.Left() - nLeft ); 1050 break; 1051 |
1030 case MOVE_UP_BIG: | 1052 case MOVE_UP_BIG: |
1031 case MOVE_UP_SMALL: aTmp.Top( aTmp.Top() - nUp ); break; 1032 case MOVE_RIGHT_SMALL: if( aTmp.Width() < aSnap.Width() + MINFLY ) break; 1033 nRight = aSnap.Width(); // kein break 1034 case MOVE_RIGHT_BIG: aTmp.Left( aTmp.Left() + nRight ); break; 1035 case MOVE_DOWN_SMALL: if( aTmp.Height() < aSnap.Height() + MINFLY ) break; 1036 nDown = aSnap.Height(); // kein break 1037 case MOVE_DOWN_BIG: aTmp.Top( aTmp.Top() + nDown ); break; | 1053 case MOVE_UP_HUGE: 1054 case MOVE_UP_SMALL: aTmp.Top( aTmp.Top() - nUp ); 1055 break; 1056 1057 case MOVE_RIGHT_SMALL: 1058 if( aTmp.Width() < aSnap.Width() + MINFLY ) 1059 break; 1060 nRight = aSnap.Width(); // kein break 1061 case MOVE_RIGHT_HUGE: 1062 case MOVE_RIGHT_BIG: aTmp.Left( aTmp.Left() + nRight ); 1063 break; 1064 1065 case MOVE_DOWN_SMALL: 1066 if( aTmp.Height() < aSnap.Height() + MINFLY ) 1067 break; 1068 nDown = aSnap.Height(); // kein break 1069 case MOVE_DOWN_HUGE: 1070 case MOVE_DOWN_BIG: aTmp.Top( aTmp.Top() + nDown ); 1071 break; 1072 |
1038 default: ASSERT( sal_True, "ChangeFly: Unknown direction." ); 1039 } 1040 sal_Bool bSet = sal_False; 1041 if ((FLY_AS_CHAR == eAnchorId) && ( nDir % 2 )) 1042 { 1043 long aDiff = aTmp.Top() - aRefPoint.Y(); 1044 if( aDiff > 0 ) 1045 aDiff = 0; --- 91 unchanged lines hidden (view full) --- 1137 // --> OD 2005-01-31 #i40845# - start undo action in order to get only one 1138 // undo action for this change. 1139 SwWrtShell &rSh = rView.GetWrtShell(); 1140 rSh.StartUndo(); 1141 // <-- 1142 1143 long nX = 0; 1144 long nY = 0; | 1073 default: ASSERT( sal_True, "ChangeFly: Unknown direction." ); 1074 } 1075 sal_Bool bSet = sal_False; 1076 if ((FLY_AS_CHAR == eAnchorId) && ( nDir % 2 )) 1077 { 1078 long aDiff = aTmp.Top() - aRefPoint.Y(); 1079 if( aDiff > 0 ) 1080 aDiff = 0; --- 91 unchanged lines hidden (view full) --- 1172 // --> OD 2005-01-31 #i40845# - start undo action in order to get only one 1173 // undo action for this change. 1174 SwWrtShell &rSh = rView.GetWrtShell(); 1175 rSh.StartUndo(); 1176 // <-- 1177 1178 long nX = 0; 1179 long nY = 0; |
1145 sal_Bool bOnePixel = sal_False; | 1180 const sal_Bool bOnePixel( 1181 MOVE_LEFT_SMALL == nDir || 1182 MOVE_UP_SMALL == nDir || 1183 MOVE_RIGHT_SMALL == nDir || 1184 MOVE_DOWN_SMALL == nDir); 1185 const sal_Bool bHuge( 1186 MOVE_LEFT_HUGE == nDir || 1187 MOVE_UP_HUGE == nDir || 1188 MOVE_RIGHT_HUGE == nDir || 1189 MOVE_DOWN_HUGE == nDir); |
1146 sal_uInt16 nAnchorDir = SW_MOVE_UP; 1147 switch(nDir) 1148 { 1149 case MOVE_LEFT_SMALL: | 1190 sal_uInt16 nAnchorDir = SW_MOVE_UP; 1191 switch(nDir) 1192 { 1193 case MOVE_LEFT_SMALL: |
1150 bOnePixel = sal_True; 1151 //no break; | 1194 case MOVE_LEFT_HUGE: |
1152 case MOVE_LEFT_BIG: 1153 nX = -1; 1154 nAnchorDir = SW_MOVE_LEFT; 1155 break; 1156 case MOVE_UP_SMALL: | 1195 case MOVE_LEFT_BIG: 1196 nX = -1; 1197 nAnchorDir = SW_MOVE_LEFT; 1198 break; 1199 case MOVE_UP_SMALL: |
1157 bOnePixel = sal_True; 1158 //no break; | 1200 case MOVE_UP_HUGE: |
1159 case MOVE_UP_BIG: 1160 nY = -1; 1161 break; 1162 case MOVE_RIGHT_SMALL: | 1201 case MOVE_UP_BIG: 1202 nY = -1; 1203 break; 1204 case MOVE_RIGHT_SMALL: |
1163 bOnePixel = sal_True; 1164 //no break; | 1205 case MOVE_RIGHT_HUGE: |
1165 case MOVE_RIGHT_BIG: 1166 nX = +1; 1167 nAnchorDir = SW_MOVE_RIGHT; 1168 break; 1169 case MOVE_DOWN_SMALL: | 1206 case MOVE_RIGHT_BIG: 1207 nX = +1; 1208 nAnchorDir = SW_MOVE_RIGHT; 1209 break; 1210 case MOVE_DOWN_SMALL: |
1170 bOnePixel = sal_True; 1171 //no break; | 1211 case MOVE_DOWN_HUGE: |
1172 case MOVE_DOWN_BIG: 1173 nY = +1; 1174 nAnchorDir = SW_MOVE_DOWN; 1175 break; 1176 } 1177 1178 if(0 != nX || 0 != nY) 1179 { 1180 sal_uInt8 nProtect = rSh.IsSelObjProtected( FLYPROTECT_POS|FLYPROTECT_SIZE ); 1181 Size aSnap( rSh.GetViewOptions()->GetSnapSize() ); 1182 short nDiv = rSh.GetViewOptions()->GetDivisionX(); 1183 if ( nDiv > 0 ) 1184 aSnap.Width() = Max( (sal_uLong)1, (sal_uLong)aSnap.Width() / nDiv ); 1185 nDiv = rSh.GetViewOptions()->GetDivisionY(); 1186 if ( nDiv > 0 ) 1187 aSnap.Height() = Max( (sal_uLong)1, (sal_uLong)aSnap.Height() / nDiv ); 1188 1189 if(bOnePixel) | 1212 case MOVE_DOWN_BIG: 1213 nY = +1; 1214 nAnchorDir = SW_MOVE_DOWN; 1215 break; 1216 } 1217 1218 if(0 != nX || 0 != nY) 1219 { 1220 sal_uInt8 nProtect = rSh.IsSelObjProtected( FLYPROTECT_POS|FLYPROTECT_SIZE ); 1221 Size aSnap( rSh.GetViewOptions()->GetSnapSize() ); 1222 short nDiv = rSh.GetViewOptions()->GetDivisionX(); 1223 if ( nDiv > 0 ) 1224 aSnap.Width() = Max( (sal_uLong)1, (sal_uLong)aSnap.Width() / nDiv ); 1225 nDiv = rSh.GetViewOptions()->GetDivisionY(); 1226 if ( nDiv > 0 ) 1227 aSnap.Height() = Max( (sal_uLong)1, (sal_uLong)aSnap.Height() / nDiv ); 1228 1229 if(bOnePixel) |
1230 { |
|
1190 aSnap = PixelToLogic(Size(1,1)); | 1231 aSnap = PixelToLogic(Size(1,1)); |
1232 } 1233 else if(bHuge) 1234 { 1235 // #121236# 567twips == 1cm, but just take three times the normal snap 1236 aSnap = Size(aSnap.Width() * 3, aSnap.Height() * 3); 1237 } |
|
1191 1192 nX *= aSnap.Width(); 1193 nY *= aSnap.Height(); 1194 1195 SdrView *pSdrView = rSh.GetDrawView(); 1196 const SdrHdlList& rHdlList = pSdrView->GetHdlList(); 1197 SdrHdl* pHdl = rHdlList.GetFocusHdl(); 1198 rSh.StartAllAction(); --- 374 unchanged lines hidden (view full) --- 1573 { 1574 eKeyState = KS_GlossaryExpand; 1575 break; 1576 } 1577 1578 switch( rKeyCode.GetModifier() | rKeyCode.GetCode() ) 1579 { 1580 case KEY_RIGHT | KEY_MOD2: | 1238 1239 nX *= aSnap.Width(); 1240 nY *= aSnap.Height(); 1241 1242 SdrView *pSdrView = rSh.GetDrawView(); 1243 const SdrHdlList& rHdlList = pSdrView->GetHdlList(); 1244 SdrHdl* pHdl = rHdlList.GetFocusHdl(); 1245 rSh.StartAllAction(); --- 374 unchanged lines hidden (view full) --- 1620 { 1621 eKeyState = KS_GlossaryExpand; 1622 break; 1623 } 1624 1625 switch( rKeyCode.GetModifier() | rKeyCode.GetCode() ) 1626 { 1627 case KEY_RIGHT | KEY_MOD2: |
1628 case KEY_RIGHT | KEY_SHIFT: |
|
1581 eKeyState = KS_ColRightBig; 1582 eFlyState = KS_Fly_Change; | 1629 eKeyState = KS_ColRightBig; 1630 eFlyState = KS_Fly_Change; |
1583 nDir = MOVE_RIGHT_SMALL; | 1631 nDir = rKeyCode.GetModifier() & KEY_SHIFT ? MOVE_RIGHT_HUGE : MOVE_RIGHT_SMALL; |
1584 goto KEYINPUT_CHECKTABLE; 1585 1586 case KEY_LEFT | KEY_MOD2: | 1632 goto KEYINPUT_CHECKTABLE; 1633 1634 case KEY_LEFT | KEY_MOD2: |
1635 case KEY_LEFT | KEY_SHIFT: |
|
1587 eKeyState = KS_ColRightSmall; 1588 eFlyState = KS_Fly_Change; | 1636 eKeyState = KS_ColRightSmall; 1637 eFlyState = KS_Fly_Change; |
1589 nDir = MOVE_LEFT_SMALL; | 1638 nDir = rKeyCode.GetModifier() & KEY_SHIFT ? MOVE_LEFT_HUGE : MOVE_LEFT_SMALL; |
1590 goto KEYINPUT_CHECKTABLE; | 1639 goto KEYINPUT_CHECKTABLE; |
1640 |
|
1591 case KEY_RIGHT | KEY_MOD2 | KEY_SHIFT: 1592 eKeyState = KS_ColLeftSmall; 1593 goto KEYINPUT_CHECKTABLE; | 1641 case KEY_RIGHT | KEY_MOD2 | KEY_SHIFT: 1642 eKeyState = KS_ColLeftSmall; 1643 goto KEYINPUT_CHECKTABLE; |
1644 |
|
1594 case KEY_LEFT | KEY_MOD2 | KEY_SHIFT: 1595 eKeyState = KS_ColLeftBig; 1596 goto KEYINPUT_CHECKTABLE; 1597 1598 case KEY_RIGHT | KEY_MOD2 | KEY_MOD1: 1599 eKeyState = KS_CellRightBig; 1600 goto KEYINPUT_CHECKTABLE; | 1645 case KEY_LEFT | KEY_MOD2 | KEY_SHIFT: 1646 eKeyState = KS_ColLeftBig; 1647 goto KEYINPUT_CHECKTABLE; 1648 1649 case KEY_RIGHT | KEY_MOD2 | KEY_MOD1: 1650 eKeyState = KS_CellRightBig; 1651 goto KEYINPUT_CHECKTABLE; |
1652 |
|
1601 case KEY_LEFT | KEY_MOD2 | KEY_MOD1: 1602 eKeyState = KS_CellRightSmall; 1603 goto KEYINPUT_CHECKTABLE; | 1653 case KEY_LEFT | KEY_MOD2 | KEY_MOD1: 1654 eKeyState = KS_CellRightSmall; 1655 goto KEYINPUT_CHECKTABLE; |
1656 |
|
1604 case KEY_RIGHT | KEY_MOD2 | KEY_SHIFT | KEY_MOD1: 1605 eKeyState = KS_CellLeftSmall; 1606 goto KEYINPUT_CHECKTABLE; | 1657 case KEY_RIGHT | KEY_MOD2 | KEY_SHIFT | KEY_MOD1: 1658 eKeyState = KS_CellLeftSmall; 1659 goto KEYINPUT_CHECKTABLE; |
1660 |
|
1607 case KEY_LEFT | KEY_MOD2 | KEY_SHIFT | KEY_MOD1: 1608 eKeyState = KS_CellLeftBig; 1609 goto KEYINPUT_CHECKTABLE; 1610 1611 case KEY_UP | KEY_MOD2: | 1661 case KEY_LEFT | KEY_MOD2 | KEY_SHIFT | KEY_MOD1: 1662 eKeyState = KS_CellLeftBig; 1663 goto KEYINPUT_CHECKTABLE; 1664 1665 case KEY_UP | KEY_MOD2: |
1666 case KEY_UP | KEY_SHIFT: |
|
1612 eKeyState = KS_ColBottomSmall; 1613 eFlyState = KS_Fly_Change; | 1667 eKeyState = KS_ColBottomSmall; 1668 eFlyState = KS_Fly_Change; |
1614 nDir = MOVE_UP_SMALL; | 1669 nDir = rKeyCode.GetModifier() & KEY_SHIFT ? MOVE_UP_HUGE : MOVE_UP_SMALL; |
1615 goto KEYINPUT_CHECKTABLE; | 1670 goto KEYINPUT_CHECKTABLE; |
1671 |
|
1616 case KEY_DOWN | KEY_MOD2: | 1672 case KEY_DOWN | KEY_MOD2: |
1673 case KEY_DOWN | KEY_SHIFT: |
|
1617 eKeyState = KS_ColBottomBig; 1618 eFlyState = KS_Fly_Change; | 1674 eKeyState = KS_ColBottomBig; 1675 eFlyState = KS_Fly_Change; |
1619 nDir = MOVE_DOWN_SMALL; | 1676 nDir = rKeyCode.GetModifier() & KEY_SHIFT ? MOVE_DOWN_HUGE : MOVE_DOWN_SMALL; |
1620 goto KEYINPUT_CHECKTABLE; | 1677 goto KEYINPUT_CHECKTABLE; |
1678 |
|
1621// case KEY_UP | KEY_MOD2 | KEY_SHIFT: 1622// eKeyState = KS_ColTopBig; 1623// goto KEYINPUT_CHECKTABLE; 1624// case KEY_DOWN | KEY_MOD2 | KEY_SHIFT: 1625// eKeyState = KS_ColTopSmall; 1626// goto KEYINPUT_CHECKTABLE; 1627 1628 case KEY_UP | KEY_MOD2 | KEY_MOD1: 1629 eKeyState = KS_CellBottomSmall; 1630 goto KEYINPUT_CHECKTABLE; | 1679// case KEY_UP | KEY_MOD2 | KEY_SHIFT: 1680// eKeyState = KS_ColTopBig; 1681// goto KEYINPUT_CHECKTABLE; 1682// case KEY_DOWN | KEY_MOD2 | KEY_SHIFT: 1683// eKeyState = KS_ColTopSmall; 1684// goto KEYINPUT_CHECKTABLE; 1685 1686 case KEY_UP | KEY_MOD2 | KEY_MOD1: 1687 eKeyState = KS_CellBottomSmall; 1688 goto KEYINPUT_CHECKTABLE; |
1689 |
|
1631 case KEY_DOWN | KEY_MOD2 | KEY_MOD1: 1632 eKeyState = KS_CellBottomBig; 1633 goto KEYINPUT_CHECKTABLE; | 1690 case KEY_DOWN | KEY_MOD2 | KEY_MOD1: 1691 eKeyState = KS_CellBottomBig; 1692 goto KEYINPUT_CHECKTABLE; |
1693 |
|
1634 case KEY_UP | KEY_MOD2 | KEY_SHIFT | KEY_MOD1: 1635 eKeyState = KS_CellTopBig; 1636 goto KEYINPUT_CHECKTABLE; | 1694 case KEY_UP | KEY_MOD2 | KEY_SHIFT | KEY_MOD1: 1695 eKeyState = KS_CellTopBig; 1696 goto KEYINPUT_CHECKTABLE; |
1697 |
|
1637 case KEY_DOWN | KEY_MOD2 | KEY_SHIFT | KEY_MOD1: 1638 eKeyState = KS_CellTopSmall; 1639 goto KEYINPUT_CHECKTABLE; 1640 1641KEYINPUT_CHECKTABLE: 1642 if( rSh.IsTableMode() || !rSh.GetTableFmt() ) 1643 { 1644 if(KS_KeyToView != eFlyState) --- 4151 unchanged lines hidden --- | 1698 case KEY_DOWN | KEY_MOD2 | KEY_SHIFT | KEY_MOD1: 1699 eKeyState = KS_CellTopSmall; 1700 goto KEYINPUT_CHECKTABLE; 1701 1702KEYINPUT_CHECKTABLE: 1703 if( rSh.IsTableMode() || !rSh.GetTableFmt() ) 1704 { 1705 if(KS_KeyToView != eFlyState) --- 4151 unchanged lines hidden --- |