LibreOffice Module sc (master)
1
|
Use structure ScDocument if a certain size is exceeded? More...
#include <consoli.hxx>
Classes | |
struct | ScReferenceEntry |
Public Member Functions | |
ScConsData () | |
~ScConsData () | |
void | SetSize (SCCOL nCols, SCROW nRows) |
void | SetFlags (ScSubTotalFunc eFunc, bool bColName, bool bRowName, bool bRef) |
void | InitData () |
void | DeleteData () |
void | AddFields (const ScDocument *pSrcDoc, SCTAB nTab, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2) |
void | DoneFields () |
void | AddData (ScDocument *pSrcDoc, SCTAB nTab, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2) |
void | AddName (const OUString &rName) |
void | OutputToDocument (ScDocument &rDestDoc, SCCOL nCol, SCROW nRow, SCTAB nTab) |
void | GetSize (SCCOL &rCols, SCROW &rRows) const |
SCROW | GetInsertCount () const |
Private Types | |
typedef std::vector< ScReferenceEntry > | ScReferenceList |
Private Attributes | |
ScSubTotalFunc | eFunction |
bool | bReference |
bool | bColByName |
bool | bRowByName |
SCSIZE | nColCount |
SCSIZE | nRowCount |
std::unique_ptr< std::unique_ptr< bool[]>[]> | ppUsed |
std::unique_ptr< std::unique_ptr< ScFunctionData[]>[]> | ppFunctionData |
std::unique_ptr< std::unique_ptr< ScReferenceList[]>[]> | ppRefs |
::std::vector< OUString > | maColHeaders |
::std::vector< OUString > | maRowHeaders |
::std::vector< OUString > | maTitles |
SCSIZE | nDataCount |
std::unique_ptr< std::unique_ptr< SCSIZE[]>[]> | ppTitlePos |
bool | bCornerUsed |
OUString | aCornerText |
Use structure ScDocument if a certain size is exceeded?
Definition at line 41 of file consoli.hxx.
|
private |
Definition at line 50 of file consoli.hxx.
ScConsData::ScConsData | ( | ) |
Definition at line 56 of file consoli.cxx.
References nColCount.
ScConsData::~ScConsData | ( | ) |
Definition at line 68 of file consoli.cxx.
void ScConsData::AddData | ( | ScDocument * | pSrcDoc, |
SCTAB | nTab, | ||
SCCOL | nCol1, | ||
SCROW | nRow1, | ||
SCCOL | nCol2, | ||
SCROW | nRow2 | ||
) |
Definition at line 239 of file consoli.cxx.
References aCornerText, bColByName, bCornerUsed, bReference, bRowByName, eFunction, ScDocument::GetString(), ScDocument::GetValue(), ScDocument::HasData(), ScDocument::HasValueData(), i, maColHeaders, maRowHeaders, nColCount, nPos, nRowCount, ppFunctionData, ppRefs, ppUsed, PutInOrder(), SC_CONS_NOTFOUND, and SUBTOTAL_FUNC_CNT2.
Referenced by ScDocShell::DoConsolidate().
void ScConsData::AddFields | ( | const ScDocument * | pSrcDoc, |
SCTAB | nTab, | ||
SCCOL | nCol1, | ||
SCROW | nRow1, | ||
SCCOL | nCol2, | ||
SCROW | nRow2 | ||
) |
Definition at line 159 of file consoli.cxx.
References bColByName, bRowByName, ScDocument::GetString(), i, lcl_AddString(), maColHeaders, maRowHeaders, nColCount, nDataCount, and nRowCount.
Referenced by ScDocShell::DoConsolidate().
void ScConsData::AddName | ( | const OUString & | rName | ) |
Definition at line 206 of file consoli.cxx.
References bReference, maTitles, nColCount, nDataCount, nRowCount, ppRefs, ppTitlePos, ppUsed, SC_CONS_NOTFOUND, and size.
Referenced by ScDocShell::DoConsolidate().
void ScConsData::DeleteData | ( | ) |
Definition at line 72 of file consoli.cxx.
References aCornerText, bColByName, bCornerUsed, bRowByName, maColHeaders, maRowHeaders, maTitles, nColCount, nDataCount, nRowCount, ppFunctionData, ppRefs, ppTitlePos, ppUsed, and swap().
Referenced by SetFlags(), and SetSize().
void ScConsData::DoneFields | ( | ) |
Definition at line 130 of file consoli.cxx.
References InitData().
Referenced by ScDocShell::DoConsolidate().
SCROW ScConsData::GetInsertCount | ( | ) | const |
Definition at line 370 of file consoli.cxx.
References nColCount, nRowCount, ppRefs, ppUsed, and size.
Referenced by ScDocShell::DoConsolidate().
Definition at line 142 of file consoli.cxx.
References nColCount, and nRowCount.
Referenced by ScDocShell::DoConsolidate().
void ScConsData::InitData | ( | ) |
Definition at line 90 of file consoli.cxx.
References bReference, i, nColCount, nDataCount, nRowCount, ppFunctionData, ppRefs, ppTitlePos, and ppUsed.
Referenced by DoneFields().
void ScConsData::OutputToDocument | ( | ScDocument & | rDestDoc, |
SCCOL | nCol, | ||
SCROW | nRow, | ||
SCTAB | nTab | ||
) |
Definition at line 392 of file consoli.cxx.
References aArr, aCornerText, ScTokenArray::AddDoubleReference(), ScTokenArray::AddOpCode(), ScTokenArray::AddSingleReference(), ScRange::aEnd, bColByName, bRowByName, eFunction, eOpCodeTable, ScDocument::GetOutlineTable(), ScOutlineTable::GetRowArray(), ScDocument::GetSheetLimits(), i, ScSingleRefData::InitFlags(), ScComplexRefData::InitFlags(), ScOutlineArray::Insert(), ScDocument::InsertRow(), maColHeaders, maRowHeaders, maTitles, ScDocument::MaxCol(), ScConsData::ScReferenceEntry::nCol, nColCount, nCount, nDataCount, nPos, ScConsData::ScReferenceEntry::nRow, nRowCount, ScConsData::ScReferenceEntry::nTab, ocClose, ocOpen, ocStop, ppFunctionData, ppRefs, ppTitlePos, ppUsed, ScComplexRefData::Ref1, ScComplexRefData::Ref2, SC_CONS_NOTFOUND, ScSingleRefData::SetAddress(), ScSingleRefData::SetColRel(), ScDocument::SetDrawPageSize(), ScDocument::SetError(), ScSingleRefData::SetFlag3D(), ScDocument::SetFormulaCell(), ScComplexRefData::SetRange(), ScAddress::SetRow(), ScSingleRefData::SetRowRel(), ScDocument::SetString(), ScSingleRefData::SetTabRel(), ScDocument::SetValue(), ScDocument::ShowRow(), size, and ScDocument::UpdateOutlineRow().
Referenced by ScDocShell::DoConsolidate().
void ScConsData::SetFlags | ( | ScSubTotalFunc | eFunc, |
bool | bColName, | ||
bool | bRowName, | ||
bool | bRef | ||
) |
Definition at line 148 of file consoli.cxx.
References bColByName, bReference, bRowByName, DeleteData(), eFunction, nColCount, and nRowCount.
Referenced by ScDocShell::DoConsolidate().
Definition at line 135 of file consoli.cxx.
References DeleteData(), nColCount, and nRowCount.
Referenced by ScDocShell::DoConsolidate().
|
private |
Definition at line 66 of file consoli.hxx.
Referenced by AddData(), DeleteData(), and OutputToDocument().
|
private |
Definition at line 53 of file consoli.hxx.
Referenced by AddData(), AddFields(), DeleteData(), OutputToDocument(), and SetFlags().
|
private |
Definition at line 65 of file consoli.hxx.
Referenced by AddData(), and DeleteData().
|
private |
Definition at line 52 of file consoli.hxx.
Referenced by AddData(), AddName(), InitData(), and SetFlags().
|
private |
Definition at line 54 of file consoli.hxx.
Referenced by AddData(), AddFields(), DeleteData(), OutputToDocument(), and SetFlags().
|
private |
Definition at line 51 of file consoli.hxx.
Referenced by AddData(), OutputToDocument(), and SetFlags().
|
private |
Definition at line 60 of file consoli.hxx.
Referenced by AddData(), AddFields(), DeleteData(), and OutputToDocument().
|
private |
Definition at line 61 of file consoli.hxx.
Referenced by AddData(), AddFields(), DeleteData(), and OutputToDocument().
|
private |
Definition at line 62 of file consoli.hxx.
Referenced by AddName(), DeleteData(), and OutputToDocument().
|
private |
Definition at line 55 of file consoli.hxx.
Referenced by AddData(), AddFields(), AddName(), DeleteData(), GetInsertCount(), GetSize(), InitData(), OutputToDocument(), SetFlags(), and SetSize().
|
private |
Definition at line 63 of file consoli.hxx.
Referenced by AddFields(), AddName(), DeleteData(), InitData(), and OutputToDocument().
|
private |
Definition at line 56 of file consoli.hxx.
Referenced by AddData(), AddFields(), AddName(), DeleteData(), GetInsertCount(), GetSize(), InitData(), OutputToDocument(), SetFlags(), and SetSize().
|
private |
Definition at line 58 of file consoli.hxx.
Referenced by AddData(), DeleteData(), InitData(), and OutputToDocument().
|
private |
Definition at line 59 of file consoli.hxx.
Referenced by AddData(), AddName(), DeleteData(), GetInsertCount(), InitData(), and OutputToDocument().
|
private |
Definition at line 64 of file consoli.hxx.
Referenced by AddName(), DeleteData(), InitData(), and OutputToDocument().
|
private |
Definition at line 57 of file consoli.hxx.
Referenced by AddData(), AddName(), DeleteData(), GetInsertCount(), InitData(), and OutputToDocument().