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 40 of file consoli.hxx.

Member Typedef Documentation

◆ ScReferenceList

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

Definition at line 49 of file consoli.hxx.

Constructor & Destructor Documentation

◆ ScConsData()

ScConsData::ScConsData ( )

Definition at line 56 of file consoli.cxx.

◆ ~ScConsData()

ScConsData::~ScConsData ( )

Definition at line 68 of file consoli.cxx.

Member Function Documentation

◆ AddData()

void ScConsData::AddData ( ScDocument pSrcDoc,
SCTAB  nTab,
SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2 
)

◆ AddFields()

void ScConsData::AddFields ( const ScDocument pSrcDoc,
SCTAB  nTab,
SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2 
)

◆ AddName()

void ScConsData::AddName ( const OUString &  rName)

◆ DeleteData()

void ScConsData::DeleteData ( )

◆ DoneFields()

void ScConsData::DoneFields ( )

Definition at line 130 of file consoli.cxx.

References InitData().

◆ GetInsertCount()

SCROW ScConsData::GetInsertCount ( ) const

Definition at line 369 of file consoli.cxx.

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

◆ GetSize()

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

Definition at line 142 of file consoli.cxx.

References nColCount, and nRowCount.

◆ InitData()

void ScConsData::InitData ( )

Definition at line 90 of file consoli.cxx.

References bReference, get(), i, nColCount, nDataCount, nRowCount, ppFunctionData, ppRefs, ppTitlePos, and ppUsed.

Referenced by DoneFields().

◆ OutputToDocument()

void ScConsData::OutputToDocument ( ScDocument rDestDoc,
SCCOL  nCol,
SCROW  nRow,
SCTAB  nTab 
)

◆ SetFlags()

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.

◆ SetSize()

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

Definition at line 135 of file consoli.cxx.

References DeleteData(), nColCount, and nRowCount.

Member Data Documentation

◆ aCornerText

OUString ScConsData::aCornerText
private

Definition at line 65 of file consoli.hxx.

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

◆ bColByName

bool ScConsData::bColByName
private

Definition at line 52 of file consoli.hxx.

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

◆ bCornerUsed

bool ScConsData::bCornerUsed
private

Definition at line 64 of file consoli.hxx.

Referenced by AddData(), and DeleteData().

◆ bReference

bool ScConsData::bReference
private

Definition at line 51 of file consoli.hxx.

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

◆ bRowByName

bool ScConsData::bRowByName
private

Definition at line 53 of file consoli.hxx.

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

◆ eFunction

ScSubTotalFunc ScConsData::eFunction
private

Definition at line 50 of file consoli.hxx.

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

◆ maColHeaders

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

Definition at line 59 of file consoli.hxx.

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

◆ maRowHeaders

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

Definition at line 60 of file consoli.hxx.

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

◆ maTitles

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

Definition at line 61 of file consoli.hxx.

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

◆ nColCount

SCSIZE ScConsData::nColCount
private

◆ nDataCount

SCSIZE ScConsData::nDataCount
private

Definition at line 62 of file consoli.hxx.

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

◆ nRowCount

SCSIZE ScConsData::nRowCount
private

◆ ppFunctionData

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

Definition at line 57 of file consoli.hxx.

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

◆ ppRefs

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

Definition at line 58 of file consoli.hxx.

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

◆ ppTitlePos

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

Definition at line 63 of file consoli.hxx.

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

◆ ppUsed

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

Definition at line 56 of file consoli.hxx.

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


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