LibreOffice Module sc (master)  1
Classes | Public Member Functions | Private Types | Private Attributes | List of all members
ScConsData Class Reference

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< ScReferenceEntryScReferenceList
 

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
 

Detailed Description

Use structure ScDocument if a certain size is exceeded?

Definition at line 41 of file consoli.hxx.

Member Typedef Documentation

typedef std::vector<ScReferenceEntry> ScConsData::ScReferenceList
private

Definition at line 50 of file consoli.hxx.

Constructor & Destructor Documentation

ScConsData::ScConsData ( )

Definition at line 57 of file consoli.cxx.

References nColCount.

ScConsData::~ScConsData ( )

Definition at line 69 of file consoli.cxx.

Member Function Documentation

void ScConsData::AddData ( ScDocument pSrcDoc,
SCTAB  nTab,
SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2 
)
void ScConsData::AddFields ( const ScDocument pSrcDoc,
SCTAB  nTab,
SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2 
)
void ScConsData::AddName ( const OUString &  rName)
void ScConsData::DeleteData ( )
void ScConsData::DoneFields ( )

Definition at line 131 of file consoli.cxx.

References InitData().

Referenced by ScDocShell::DoConsolidate().

SCROW ScConsData::GetInsertCount ( ) const

Definition at line 371 of file consoli.cxx.

References nColCount, nRowCount, ppRefs, ppUsed, and size.

Referenced by ScDocShell::DoConsolidate().

void ScConsData::GetSize ( SCCOL rCols,
SCROW rRows 
) const

Definition at line 143 of file consoli.cxx.

References nColCount, and nRowCount.

Referenced by ScDocShell::DoConsolidate().

void ScConsData::InitData ( )

Definition at line 91 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 
)
void ScConsData::SetFlags ( ScSubTotalFunc  eFunc,
bool  bColName,
bool  bRowName,
bool  bRef 
)

Definition at line 149 of file consoli.cxx.

References bColByName, bReference, bRowByName, DeleteData(), eFunction, nColCount, and nRowCount.

Referenced by ScDocShell::DoConsolidate().

void ScConsData::SetSize ( SCCOL  nCols,
SCROW  nRows 
)

Definition at line 136 of file consoli.cxx.

References DeleteData(), nColCount, and nRowCount.

Referenced by ScDocShell::DoConsolidate().

Member Data Documentation

OUString ScConsData::aCornerText
private

Definition at line 66 of file consoli.hxx.

Referenced by AddData(), DeleteData(), and OutputToDocument().

bool ScConsData::bColByName
private

Definition at line 53 of file consoli.hxx.

Referenced by AddData(), AddFields(), DeleteData(), OutputToDocument(), and SetFlags().

bool ScConsData::bCornerUsed
private

Definition at line 65 of file consoli.hxx.

Referenced by AddData(), and DeleteData().

bool ScConsData::bReference
private

Definition at line 52 of file consoli.hxx.

Referenced by AddData(), AddName(), InitData(), and SetFlags().

bool ScConsData::bRowByName
private

Definition at line 54 of file consoli.hxx.

Referenced by AddData(), AddFields(), DeleteData(), OutputToDocument(), and SetFlags().

ScSubTotalFunc ScConsData::eFunction
private

Definition at line 51 of file consoli.hxx.

Referenced by AddData(), OutputToDocument(), and SetFlags().

::std::vector<OUString> ScConsData::maColHeaders
private

Definition at line 60 of file consoli.hxx.

Referenced by AddData(), AddFields(), DeleteData(), and OutputToDocument().

::std::vector<OUString> ScConsData::maRowHeaders
private

Definition at line 61 of file consoli.hxx.

Referenced by AddData(), AddFields(), DeleteData(), and OutputToDocument().

::std::vector<OUString> ScConsData::maTitles
private

Definition at line 62 of file consoli.hxx.

Referenced by AddName(), DeleteData(), and OutputToDocument().

SCSIZE ScConsData::nColCount
private
SCSIZE ScConsData::nDataCount
private

Definition at line 63 of file consoli.hxx.

Referenced by AddFields(), AddName(), DeleteData(), InitData(), and OutputToDocument().

SCSIZE ScConsData::nRowCount
private
std::unique_ptr<std::unique_ptr<ScFunctionData[]>[]> ScConsData::ppFunctionData
private

Definition at line 58 of file consoli.hxx.

Referenced by AddData(), DeleteData(), InitData(), and OutputToDocument().

std::unique_ptr<std::unique_ptr<ScReferenceList[]>[]> ScConsData::ppRefs
private

Definition at line 59 of file consoli.hxx.

Referenced by AddData(), AddName(), DeleteData(), GetInsertCount(), InitData(), and OutputToDocument().

std::unique_ptr<std::unique_ptr<SCSIZE[]>[]> ScConsData::ppTitlePos
private

Definition at line 64 of file consoli.hxx.

Referenced by AddName(), DeleteData(), InitData(), and OutputToDocument().

std::unique_ptr<std::unique_ptr<bool[]>[]> ScConsData::ppUsed
private

Definition at line 57 of file consoli.hxx.

Referenced by AddData(), AddName(), DeleteData(), GetInsertCount(), InitData(), and OutputToDocument().


The documentation for this class was generated from the following files: