tabview2.cxx (b3f79822) tabview2.cxx (0deba7fb)
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

--- 104 unchanged lines hidden (view full) ---

113 nBlockEndY = 0;
114 nBlockEndZ = 0;
115
116 SelectionChanged(); // Status wird mit gesetzer Markierung abgefragt
117 }
118}
119
120void ScTabView::InitBlockMode( SCCOL nCurX, SCROW nCurY, SCTAB nCurZ,
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

--- 104 unchanged lines hidden (view full) ---

113 nBlockEndY = 0;
114 nBlockEndZ = 0;
115
116 SelectionChanged(); // Status wird mit gesetzer Markierung abgefragt
117 }
118}
119
120void ScTabView::InitBlockMode( SCCOL nCurX, SCROW nCurY, SCTAB nCurZ,
121 sal_Bool bTestNeg, sal_Bool bCols, sal_Bool bRows )
121 sal_Bool bTestNeg, sal_Bool bCols, sal_Bool bRows, sal_Bool bForceNeg )
122{
123 if (!bIsBlockMode)
124 {
125 if (!ValidCol(nCurX)) nCurX = MAXCOL;
126 if (!ValidRow(nCurY)) nCurY = MAXROW;
127
128 ScMarkData& rMark = aViewData.GetMarkData();
129 SCTAB nTab = aViewData.GetTabNo();
130
131 // Teil von Markierung aufheben?
122{
123 if (!bIsBlockMode)
124 {
125 if (!ValidCol(nCurX)) nCurX = MAXCOL;
126 if (!ValidRow(nCurY)) nCurY = MAXROW;
127
128 ScMarkData& rMark = aViewData.GetMarkData();
129 SCTAB nTab = aViewData.GetTabNo();
130
131 // Teil von Markierung aufheben?
132 if (bTestNeg)
132//IAccessibility2 Implementation 2009-----
133 if (bForceNeg)
134 bBlockNeg = sal_True;
135//-----IAccessibility2 Implementation 2009
136 else if (bTestNeg)
133 {
134 if ( bCols )
135 bBlockNeg = rMark.IsColumnMarked( nCurX );
136 else if ( bRows )
137 bBlockNeg = rMark.IsRowMarked( nCurY );
138 else
139 bBlockNeg = rMark.IsCellMarked( nCurX, nCurY );
140 }

--- 838 unchanged lines hidden ---
137 {
138 if ( bCols )
139 bBlockNeg = rMark.IsColumnMarked( nCurX );
140 else if ( bRows )
141 bBlockNeg = rMark.IsRowMarked( nCurY );
142 else
143 bBlockNeg = rMark.IsCellMarked( nCurX, nCurY );
144 }

--- 838 unchanged lines hidden ---