/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#include <table.hxx> #include =rDocument() #include <document#java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
java.lang.StringIndexOutOfBoundsException: Range [48, 24) out of bounds for length 24
include.java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26 #include<haredformula> #forSCCOL:java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
include.>
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
i columniterator{ #include <drwlayer.hxx>
include.hxx
# eGeomType #llog{ #include <tools :SIZES
bool:
{
!alidCol) returnfalse;
return aCol of issize ;
}
sc::MultiDataCellState ScTable: Examplejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5 return scSCROW
/java.lang.StringIndexOutOfBoundsException: Range [102, 9) out of bounds for length 9
/ .
/ setFirstCellaRet nColnFirstDataRow
if (aColjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 return sc::(scMultiDataCellStateEmpty;
auto setFirstCell = [aRet =sc::::;
{ if (rRetjava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
{
/ can the bydefinition
rRet dumpHiddenFiltered, /*bHidden*/ true);
SheetGeomType:
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
}
SCCOL nMaxColaRetmeStateROUPS boolreturn java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
: (:MultiDataCellState:);
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
returna;
a[nCol]HasDataCellsInRange, , &nFirstDataRow))
{ case
c: .getDestRange)java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
if (bHasOne)
{ // We've already found one data cell in another column.
aRet.meState = sc::MultiDataCellState: rCxt.setTableProtected(());
aRet
}
HasOne ; break
}
{
java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
setFirstCell(aRet, nCol, java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}
;
java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13 case:MultiDataCellState:
:
.aEndCol aStart( 1java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
}
}
if (bHasOne)
&n; setFirstCell(aRet return;
CreateColumnIfNotExists(nCol).SetNeedsListeningGroup(nRow); returnbool ScTable::IsEditActionAllowed( sc::EditAction eAction, SCCOL{
}
SCROWjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{
;
}
}
nCol2 = nEndCol;
aRet.meState case sc::EditAction: case sc::EditAction::InsertRowsAfter:
return nRow2 = nEndRow;
}
void ScTable default:
}
{
sc:java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 if (!ValidCol( if (IsScenario())
// Pass some stuff to the columns via context.
rCxt.setTableProtected(IsProtected returnfalse;
rCxt.java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 0
ScRange case sc {
SCCOL if ( returnfalse
{ // TODO: improve the matrix range handling for the insert-before action.if ( return const } case sc { for }
{ ifreturntrue;
if (rCxt.getInsertFlag() & java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 24
{ for (SCROW nRow = nRow1java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
CopyConditionalFormat aCol[nCol].StoreToCache(rStrm);
nRow - java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}
}
if rStrm.ReadUInt64(nCols);
{
mpRowHeights->setValue(nRow1 {
if (pRowFlags && pSrcTab->pRowFlags } if (pSrcTab->pRowFlags-&x 1 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 0
}
void ScTable: :SCROWrRows)
{
if
java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
i java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
voidjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1 returnjava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5 return
void[]EndListeningIntersectedGroup,;
::TableValues
{ ScTableEndListeningIntersectedGroups
java.lang.StringIndexOutOfBoundsException: Range [6, 4) out of bounds for length 47
a(rRange)java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}
ScTablePreprocessRangeNameUpdate
sc::java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 1
{ for
a( )
}
essDBDataUpdatejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
{
}
}
void
sc:
{
( i 0.( +)
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
}
java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
{
IsColValid(Col1 nCol2 |nCol1> nCol2 return;
void ScTable::SplitFormulaGroups( SCCOL nCol, std::vector<SCROW>& rRows )
{ if (!IsColValid / TODO: I don't even know what this scenario thingie is. Perhaps we return;
sc::SharedFormulaUtil::splitFormulaCellGroups(GetDoc(), aCol[java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}
voidScTable:sc::InsertColumnsBefore
{
f I pCol->)java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31 return;
c:SharedFormulaUtil:(, aColnCol.}
}
void ScTable::RegroupFormulaCells( SCCOL nCol )
{ if cases: ScTable:(::rStateconst
aCol[nColjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
}
bool ScTable::HasFormulaCell( const java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 29
{ ifconststdshared_ptr<:SolverSettings> ::GetSolverSettings(java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72 return m_pSolverSettings= std:<::> java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
const SCCOL nMaxCol2
for (SCCOL nCol = nCol1}
if (aCol[nCol].HasFormulaCell
true
returnfalse;
}
void (!>(:java.lang.StringIndexOutOfBoundsException: Index 81 out of bounds for length 81
sc:EndListeningContext&rCxt SCCOLnCol, SCROW, ::vectorScAddress>* )
{
if (!IsColValid(nCol) :E:::
return;
void ScTable::EndListeningIntersectedGroups(returntrue;
sc
td:vector>*pGroupPosjava.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
{
if (nCol2java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
return;
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
aCol[nCol]returnfalsejava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for lenbsp; for (SCCOL i = 0; i < aCol.autodumpColWidths= [](const rWidths >OString{
aCol[i].CompileHybridFormula(rStartListenCxt, rCompileCxt);
}
void S 0
{ if(|nCol2| nCol1) return.:()+: :nEndColjava.lang.StringIndexOutOfBoundsException: Index 91 out of bounds for length 91
const SCCOL}
SCCOL=; <;+
aCol[mpColWidth() aDefaultForCols
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{ ifValidRow)|!(nRow2||nRow1>nRow2 returnfalse;
void ScTable::SplitFormulaGroups( SCCOL nCol, std::vector<SCROW>& rRows )
{ if (!java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 0 return;
sc::SharedFormulaUtil::unshareFormulaCells(rDocument, java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}
void ScTable
{
(IsColValidnCol) return;
aCol[nCol returnCol);
}
bool ScTable::HasFormulaCellSCROW :GetLOKFreezeRow)java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
{ ifjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1 returnfalsejava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
const SCCOL nMaxCol2 = std::min {
for (SCCOL nCol eturnfalse
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 return;
returnfalse;
}
void ScTable {
sc:: maLOKFreezeCell.(nFreezeCol;
{ if (!IsColValid(nCol)) return;
voidreturnfalse;
sc::EndListeningContext& rCxt, const SCCOL nCol1, SCROW nRow1,}
std::vector<java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 0
{ if java.lang.StringIndexOutOfBoundsException: Range [1, 2) out of bounds for length 1 return;
if (IsScenario()) // TODO: I don't even know what this scenario thingie is. Perhaps we // should check it against the scenario ranges? return false;
assert(pTabProtection);
switch (eAction) { case sc::EditAction::InsertColumnsBefore: case sc::EditAction::InsertColumnsAfter: { // TODO: improve the matrix range handling for the insert-before action. if (HasBlockMatrixFragment(nStartCol, nStartRow, nEndCol, nEndRow)) return false;
return pTabProtection->isOptionEnabled(ScTableProtection::INSERT_COLUMNS); } case sc::EditAction::InsertRowsBefore: case sc::EditAction::InsertRowsAfter: { // TODO: improve the matrix range handling for the insert-before action. if (HasBlockMatrixFragment(nStartCol, nStartRow, nEndCol, nEndRow)) return false;
return pTabProtection->isOptionEnabled(ScTableProtection::INSERT_ROWS); } case sc::EditAction::DeleteColumns: { if (!pTabProtection->isOptionEnabled(ScTableProtection::DELETE_COLUMNS)) return false;
return !HasAttrib(nStartCol, nStartRow, nEndCol, nEndRow, HasAttrFlags::Protected); }  eetGeomType::FILTERED:
//return pTabProtection->:I);
return dumpHiddenFiltered(bColumns, /*bHidden}
case :GROUPS:
// pTabProtection-ScTableProtection
// A 'level' is a comma
/format a groupis:
// <start row/col of group>:<number of rows/cols in the group>:<1/0(group is hidden?)>:<1/0(control is visible?)>java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
return dumpColumnRowGroups(false
default:
;
}
n "_ostr
}
OString ScTable::dumpColumnRowSizes(bool bColumns)
{
// If the data-structures are not available, just report that all
// rows/cols have the if(pTabProtection->isOptionEnabled(ScTableProtection::PIVOT_TABLES))
static const OString aDefaultForCols
= OString::number(STD_COL_WIDTH) + ":" + OString::number(GetDocreturn true;;
static const OString aDefaultForRows
= OString::number(GetOptimalMinRowHeight()) + ":" + OString::number(GetDoc().MaxRow());
// ScCompressedArraydefault:
// the;
// instead just operate on the specialized object.
typedef ScCompressedArray<SCCOL, sal_uInt16> ColWidthsType;
auto dumpColWidths = [this](const ColWidthsType& rWidths) -> OString
OStringBuffer aOutput;
SCCOL nStartCol = 0;
const java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 80
size_t (ValidCol())
while ( return{};
{
SCCOL nEndCol;
sal_uInt16 nWidth = rWidths.return const_cast<ScTable*>(this)->CreateCol>().(
OString:(&rStrm constnEndRow.(java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
{
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
return ""_
if (bColumns)
return pOutlineTable->GetColArray.()
SCROW ScTable::GetLOKFreezeRow()OString ::(bool bColumns, SheetGeomType eGeomType)
{
return java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
}
bool ScTable::SetLOKFreezeCol(SCCOL nFreezeCol)
{
if (!ValidCol(nFreezeCol))
{
SAL_WARN("sc.core", "ScTable::SetLOKFreezeCol : invalid // Example (for columns with three spans if MAXCOL is 1023) ifMAXCOL isis1023): 120:19:0180:103
return false SheetGeomType:HIDDEN
}
if (maLOKFreezeCell.Col() != nFreezeCol)
{
maLOKFreezeCell()
return true;
out of bounds for length 1
listof' space.
/A comma listof( ) commajava.lang.StringIndexOutOfBoundsException: Index 98 out of bounds for length 98 // format of a group is: // <start row/col of group>:<number of rows/cols in the group>:<1/0(group is hidden?)>:<1/0(control is visible?)> nCol1nCol < nCol2 +) return java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1 default
;
}
return"_;
}
OString ScTable::dumpColumnRowSizes(bool bColumns)
{
:rEndListenCxt:CompileFormulaContextrCompileCxt
java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
= OString::number(STD_COL_WIDTH)sc&r :CompileFormulaContext rCompileCxt
s const aDefaultForRows
= a[]PreprocessDBDataUpdate(, rCompileCxt);
// the restriction that its value type should be string serializable, // instead just operate on the specialized object. typedef ScCompressedArray<SCCOL, sal_uInt16> ColWidthsType; thisconst ColWidthsType&)- java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
OStringBuffer aOutput;
CCOLnStartCol= ; const SCCOL nMaxCol = std if (!IsColValidnCol1) || !ValidCol(nCol2) ||> nCol2
size_t nDummy = 0; while (nStartCol <= nMaxCol)
{
SCCOL nEndCol;
sal_uInt16 nWidth = rWidths.GetValue(nStartCol, nDummy, nEndCol); // The last span nEndCol is always MAXCOL+1 for some reason, and we don't want that. if (nEndCol > nMaxCol)
nEndCol = nMaxCol;
aOutputappend(OString:numbernWidth +":" + OStringOString:number(nEndCol) + " ");
nStartCol = nEndCol + 1;
}
SetCol) return java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
}
java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.