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

#include <XMLExportSharedData.hxx>

Public Member Functions

 ScMySharedData (const sal_Int32 nTableCount)
 
 ~ScMySharedData ()
 
void SetLastColumn (const sal_Int32 nTable, const sal_Int32 nCol)
 
void SetLastRow (const sal_Int32 nTable, const sal_Int32 nRow)
 
sal_Int32 GetLastColumn (const sal_Int32 nTable) const
 
sal_Int32 GetLastRow (const sal_Int32 nTable) const
 
void AddDrawPage (const ScMyDrawPage &aDrawPage, const sal_Int32 nTable)
 
void SetDrawPageHasForms (const sal_Int32 nTable, bool bHasForms)
 
css::uno::Reference< css::drawing::XDrawPage > GetDrawPage (const sal_Int32 nTable)
 
bool HasDrawPage () const
 
bool HasForm (const sal_Int32 nTable, css::uno::Reference< css::drawing::XDrawPage > &xDrawPage)
 
void AddNewShape (const ScMyShape &aMyShape)
 
void SortShapesContainer ()
 
ScMyShapesContainerGetShapesContainer ()
 
void AddTableShape (const sal_Int32 nTable, const css::uno::Reference< css::drawing::XShape > &xShape)
 
ScMyTableShapesGetTableShapes ()
 
ScMyDetectiveObjContainerGetDetectiveObjContainer ()
 
void AddNoteObj (const css::uno::Reference< css::drawing::XShape > &xShape, const ScAddress &rPos)
 
void SortNoteShapes ()
 
ScMyNoteShapesContainerGetNoteShapes ()
 

Private Attributes

std::vector< sal_Int32 > nLastColumns
 
std::vector< sal_Int32 > nLastRows
 
std::unique_ptr< ScMyTableShapespTableShapes
 
std::unique_ptr< ScMyDrawPagespDrawPages
 
std::unique_ptr< ScMyShapesContainerpShapesContainer
 
std::unique_ptr< ScMyDetectiveObjContainerpDetectiveObjContainer
 
std::unique_ptr< ScMyNoteShapesContainerpNoteShapes
 
sal_Int32 nTableCount
 

Detailed Description

Definition at line 49 of file XMLExportSharedData.hxx.

Constructor & Destructor Documentation

◆ ScMySharedData()

ScMySharedData::ScMySharedData ( const sal_Int32  nTableCount)
explicit

Definition at line 26 of file XMLExportSharedData.cxx.

◆ ~ScMySharedData()

ScMySharedData::~ScMySharedData ( )

Member Function Documentation

◆ AddDrawPage()

void ScMySharedData::AddDrawPage ( const ScMyDrawPage aDrawPage,
const sal_Int32  nTable 
)

Definition at line 63 of file XMLExportSharedData.cxx.

References nTableCount, and pDrawPages.

◆ AddNewShape()

void ScMySharedData::AddNewShape ( const ScMyShape aMyShape)

Definition at line 100 of file XMLExportSharedData.cxx.

References pShapesContainer.

◆ AddNoteObj()

void ScMySharedData::AddNoteObj ( const css::uno::Reference< css::drawing::XShape > &  xShape,
const ScAddress rPos 
)

Definition at line 120 of file XMLExportSharedData.cxx.

References ScMyNoteShape::aPos, pNoteShapes, and ScMyNoteShape::xShape.

◆ AddTableShape()

void ScMySharedData::AddTableShape ( const sal_Int32  nTable,
const css::uno::Reference< css::drawing::XShape > &  xShape 
)

Definition at line 113 of file XMLExportSharedData.cxx.

References nTableCount, and pTableShapes.

◆ GetDetectiveObjContainer()

ScMyDetectiveObjContainer * ScMySharedData::GetDetectiveObjContainer ( )
inline

Definition at line 77 of file XMLExportSharedData.hxx.

References pDetectiveObjContainer.

◆ GetDrawPage()

uno::Reference< drawing::XDrawPage > ScMySharedData::GetDrawPage ( const sal_Int32  nTable)

Definition at line 77 of file XMLExportSharedData.cxx.

References pDrawPages.

◆ GetLastColumn()

sal_Int32 ScMySharedData::GetLastColumn ( const sal_Int32  nTable) const

Definition at line 48 of file XMLExportSharedData.cxx.

References nLastColumns.

Referenced by ScMyNotEmptyCellsIterator::SetCurrentTable().

◆ GetLastRow()

sal_Int32 ScMySharedData::GetLastRow ( const sal_Int32  nTable) const

Definition at line 58 of file XMLExportSharedData.cxx.

References nLastRows.

Referenced by ScMyNotEmptyCellsIterator::SetCurrentTable().

◆ GetNoteShapes()

ScMyNoteShapesContainer * ScMySharedData::GetNoteShapes ( )
inline

Definition at line 80 of file XMLExportSharedData.hxx.

References pNoteShapes.

◆ GetShapesContainer()

ScMyShapesContainer * ScMySharedData::GetShapesContainer ( )
inline

Definition at line 74 of file XMLExportSharedData.hxx.

References pShapesContainer.

◆ GetTableShapes()

ScMyTableShapes * ScMySharedData::GetTableShapes ( )
inline

Definition at line 76 of file XMLExportSharedData.hxx.

References pTableShapes.

◆ HasDrawPage()

bool ScMySharedData::HasDrawPage ( ) const
inline

Definition at line 70 of file XMLExportSharedData.hxx.

References pDrawPages.

◆ HasForm()

bool ScMySharedData::HasForm ( const sal_Int32  nTable,
css::uno::Reference< css::drawing::XDrawPage > &  xDrawPage 
)

Definition at line 86 of file XMLExportSharedData.cxx.

References pDrawPages.

◆ SetDrawPageHasForms()

void ScMySharedData::SetDrawPageHasForms ( const sal_Int32  nTable,
bool  bHasForms 
)

Definition at line 70 of file XMLExportSharedData.cxx.

References pDrawPages.

◆ SetLastColumn()

void ScMySharedData::SetLastColumn ( const sal_Int32  nTable,
const sal_Int32  nCol 
)

Definition at line 43 of file XMLExportSharedData.cxx.

References nLastColumns.

Referenced by ScXMLExportDatabaseRanges::GetEmptyDatabaseRanges().

◆ SetLastRow()

void ScMySharedData::SetLastRow ( const sal_Int32  nTable,
const sal_Int32  nRow 
)

Definition at line 53 of file XMLExportSharedData.cxx.

References nLastRows.

Referenced by ScXMLExportDatabaseRanges::GetEmptyDatabaseRanges().

◆ SortNoteShapes()

void ScMySharedData::SortNoteShapes ( )

Definition at line 130 of file XMLExportSharedData.cxx.

References pNoteShapes.

◆ SortShapesContainer()

void ScMySharedData::SortShapesContainer ( )

Definition at line 107 of file XMLExportSharedData.cxx.

References pShapesContainer.

Member Data Documentation

◆ nLastColumns

std::vector<sal_Int32> ScMySharedData::nLastColumns
private

Definition at line 51 of file XMLExportSharedData.hxx.

Referenced by GetLastColumn(), and SetLastColumn().

◆ nLastRows

std::vector<sal_Int32> ScMySharedData::nLastRows
private

Definition at line 52 of file XMLExportSharedData.hxx.

Referenced by GetLastRow(), and SetLastRow().

◆ nTableCount

sal_Int32 ScMySharedData::nTableCount
private

Definition at line 58 of file XMLExportSharedData.hxx.

Referenced by AddDrawPage(), and AddTableShape().

◆ pDetectiveObjContainer

std::unique_ptr<ScMyDetectiveObjContainer> ScMySharedData::pDetectiveObjContainer
private

Definition at line 56 of file XMLExportSharedData.hxx.

Referenced by GetDetectiveObjContainer(), and ~ScMySharedData().

◆ pDrawPages

std::unique_ptr<ScMyDrawPages> ScMySharedData::pDrawPages
private

◆ pNoteShapes

std::unique_ptr<ScMyNoteShapesContainer> ScMySharedData::pNoteShapes
private

Definition at line 57 of file XMLExportSharedData.hxx.

Referenced by AddNoteObj(), GetNoteShapes(), SortNoteShapes(), and ~ScMySharedData().

◆ pShapesContainer

std::unique_ptr<ScMyShapesContainer> ScMySharedData::pShapesContainer
private

◆ pTableShapes

std::unique_ptr<ScMyTableShapes> ScMySharedData::pTableShapes
private

Definition at line 53 of file XMLExportSharedData.hxx.

Referenced by AddTableShape(), GetTableShapes(), and ~ScMySharedData().


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