fetab.cxx (efeef26f) | fetab.cxx (8ef2f12b) |
---|---|
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 --- 92 unchanged lines hidden (view full) --- 101}; 102 103TblWait::TblWait( sal_uInt16 nCnt, SwFrm *pFrm, SwDocShell &rDocShell, sal_uInt16 nCnt2): 104 pWait( 0 ) 105{ 106 sal_Bool bWait = 20 < nCnt || 20 < nCnt2 || (pFrm && 107 20 < pFrm->ImplFindTabFrm()->GetTable()->GetTabLines().Count()); 108 if( bWait ) | 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 --- 92 unchanged lines hidden (view full) --- 101}; 102 103TblWait::TblWait( sal_uInt16 nCnt, SwFrm *pFrm, SwDocShell &rDocShell, sal_uInt16 nCnt2): 104 pWait( 0 ) 105{ 106 sal_Bool bWait = 20 < nCnt || 20 < nCnt2 || (pFrm && 107 20 < pFrm->ImplFindTabFrm()->GetTable()->GetTabLines().Count()); 108 if( bWait ) |
109 pWait = new SwWait( rDocShell, sal_True ); | 109 pWait = new SwWait( rDocShell, true ); |
110} 111 112 113void SwFEShell::ParkCursorInTab() 114{ 115 SwCursor * pSwCrsr = GetSwCrsr(); 116 117 ASSERT(pSwCrsr, "no SwCursor"); --- 1022 unchanged lines hidden (view full) --- 1140} 1141 1142void SwFEShell::SetRowsToRepeat( sal_uInt16 nSet ) 1143{ 1144 SwFrm *pFrm = GetCurrFrm(); 1145 SwTabFrm *pTab = pFrm ? pFrm->FindTabFrm() : 0; 1146 if( pTab && pTab->GetTable()->GetRowsToRepeat() != nSet ) 1147 { | 110} 111 112 113void SwFEShell::ParkCursorInTab() 114{ 115 SwCursor * pSwCrsr = GetSwCrsr(); 116 117 ASSERT(pSwCrsr, "no SwCursor"); --- 1022 unchanged lines hidden (view full) --- 1140} 1141 1142void SwFEShell::SetRowsToRepeat( sal_uInt16 nSet ) 1143{ 1144 SwFrm *pFrm = GetCurrFrm(); 1145 SwTabFrm *pTab = pFrm ? pFrm->FindTabFrm() : 0; 1146 if( pTab && pTab->GetTable()->GetRowsToRepeat() != nSet ) 1147 { |
1148 SwWait aWait( *GetDoc()->GetDocShell(), sal_True ); | 1148 SwWait aWait( *GetDoc()->GetDocShell(), true ); |
1149 SET_CURR_SHELL( this ); 1150 StartAllAction(); 1151 GetDoc()->SetRowsToRepeat( *pTab->GetTable(), nSet ); 1152 EndAllActionAndCall(); 1153 } 1154} 1155/*-- 30.06.2004 08:46:35--------------------------------------------------- 1156 returns the number of rows consecutively selected from top --- 1433 unchanged lines hidden --- | 1149 SET_CURR_SHELL( this ); 1150 StartAllAction(); 1151 GetDoc()->SetRowsToRepeat( *pTab->GetTable(), nSet ); 1152 EndAllActionAndCall(); 1153 } 1154} 1155/*-- 30.06.2004 08:46:35--------------------------------------------------- 1156 returns the number of rows consecutively selected from top --- 1433 unchanged lines hidden --- |