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 ()
 
bool HasShapes () const
 
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 ( const sal_Int32  nTableCount)
explicit

Definition at line 26 of file XMLExportSharedData.cxx.

ScMySharedData::~ScMySharedData ( )

Member Function Documentation

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

Definition at line 63 of file XMLExportSharedData.cxx.

References nTableCount, and pDrawPages.

void ScMySharedData::AddNewShape ( const ScMyShape aMyShape)

Definition at line 100 of file XMLExportSharedData.cxx.

References pShapesContainer.

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

Definition at line 126 of file XMLExportSharedData.cxx.

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

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

Definition at line 119 of file XMLExportSharedData.cxx.

References nTableCount, and pTableShapes.

ScMyDetectiveObjContainer* ScMySharedData::GetDetectiveObjContainer ( )
inline

Definition at line 78 of file XMLExportSharedData.hxx.

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

Definition at line 77 of file XMLExportSharedData.cxx.

References pDrawPages.

sal_Int32 ScMySharedData::GetLastColumn ( const sal_Int32  nTable) const

Definition at line 48 of file XMLExportSharedData.cxx.

References nLastColumns.

Referenced by ScMyNotEmptyCellsIterator::SetCurrentTable().

sal_Int32 ScMySharedData::GetLastRow ( const sal_Int32  nTable) const

Definition at line 58 of file XMLExportSharedData.cxx.

References nLastRows.

Referenced by ScMyNotEmptyCellsIterator::SetCurrentTable().

ScMyNoteShapesContainer* ScMySharedData::GetNoteShapes ( )
inline

Definition at line 81 of file XMLExportSharedData.hxx.

ScMyShapesContainer* ScMySharedData::GetShapesContainer ( )
inline

Definition at line 74 of file XMLExportSharedData.hxx.

ScMyTableShapes* ScMySharedData::GetTableShapes ( )
inline

Definition at line 77 of file XMLExportSharedData.hxx.

bool ScMySharedData::HasDrawPage ( ) const
inline

Definition at line 70 of file XMLExportSharedData.hxx.

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

Definition at line 86 of file XMLExportSharedData.cxx.

References pDrawPages.

bool ScMySharedData::HasShapes ( ) const

Definition at line 113 of file XMLExportSharedData.cxx.

References pShapesContainer, and pTableShapes.

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

Definition at line 70 of file XMLExportSharedData.cxx.

References pDrawPages.

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().

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().

void ScMySharedData::SortNoteShapes ( )

Definition at line 136 of file XMLExportSharedData.cxx.

References pNoteShapes.

void ScMySharedData::SortShapesContainer ( )

Definition at line 107 of file XMLExportSharedData.cxx.

References pShapesContainer.

Member Data Documentation

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

Definition at line 51 of file XMLExportSharedData.hxx.

Referenced by GetLastColumn(), and SetLastColumn().

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

Definition at line 52 of file XMLExportSharedData.hxx.

Referenced by GetLastRow(), and SetLastRow().

sal_Int32 ScMySharedData::nTableCount
private

Definition at line 58 of file XMLExportSharedData.hxx.

Referenced by AddDrawPage(), and AddTableShape().

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

Definition at line 56 of file XMLExportSharedData.hxx.

Referenced by ~ScMySharedData().

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

Definition at line 57 of file XMLExportSharedData.hxx.

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

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

Definition at line 53 of file XMLExportSharedData.hxx.

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


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