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

#include <xmlsubti.hxx>

Collaboration diagram for ScMyTables:

Public Member Functions

 ScMyTables (ScXMLImport &rImport)
 ~ScMyTables ()
void NewSheet (const OUString &sTableName, const OUString &sStyleName, const ScXMLTabProtectionData &rProtectData)
void AddRow ()
void SetRowStyle (const OUString &rCellStyleName)
void AddColumn (bool bIsCovered)
void FixupOLEs ()
void DeleteTable ()
const ScAddressGetCurrentCellPos () const
void AddColStyle (const sal_Int32 nRepeat, const OUString &rCellStyleName)
ScXMLTabProtectionDataGetCurrentProtectionData ()
const OUString & GetCurrentSheetName () const
SCTAB GetCurrentSheet () const
SCCOL GetCurrentColCount () const
SCROW GetCurrentRow () const
const css::uno::Reference< css::sheet::XSpreadsheet > & GetCurrentXSheet () const
css::uno::Reference< css::drawing::XDrawPage > const & GetCurrentXDrawPage ()
css::uno::Reference< css::drawing::XShapes > const & GetCurrentXShapes ()
bool HasDrawPage () const
bool HasXShapes () const
void AddOLE (const css::uno::Reference< css::drawing::XShape > &rShape, const OUString &rRangeList)
void AddMatrixRange (const SCCOL nStartColumn, const SCROW nStartRow, const SCCOL nEndColumn, const SCROW nEndRow, const OUString &rFormula, const OUString &rFormulaNmsp, const formula::FormulaGrammar::Grammar)
bool IsPartOfMatrix (const ScAddress &rScAddress) const

Static Public Member Functions

static bool IsOLE (const css::uno::Reference< css::drawing::XShape > &rShape)

Private Member Functions

void SetTableStyle (const OUString &sStyleName)

Private Attributes

ScMyOLEFixer aFixupOLEs
css::uno::Reference< css::sheet::XSpreadsheet > xCurrentSheet
css::uno::Reference< css::drawing::XDrawPage > xDrawPage
css::uno::Reference< css::drawing::XShapes > xShapes
OUString sCurrentSheetName
ScAddress maCurrentCellPos
ScRangeList maMatrixRangeList
ScXMLTabProtectionData maProtectionData
sal_Int32 nCurrentColCount
sal_Int16 nCurrentDrawPage
sal_Int16 nCurrentXShapes

Detailed Description

Definition at line 49 of file xmlsubti.hxx.

Constructor & Destructor Documentation

ScMyTables::ScMyTables ( ScXMLImport rImport)

Definition at line 56 of file xmlsubti.cxx.

ScMyTables::~ScMyTables ( )

Definition at line 66 of file xmlsubti.cxx.

Member Function Documentation

void ScMyTables::AddColStyle ( const sal_Int32  nRepeat,
const OUString &  rCellStyleName 
void ScMyTables::AddColumn ( bool  bIsCovered)
void ScMyTables::AddMatrixRange ( const SCCOL  nStartColumn,
const SCROW  nStartRow,
const SCCOL  nEndColumn,
const SCROW  nEndRow,
const OUString &  rFormula,
const OUString &  rFormulaNmsp,
const formula::FormulaGrammar::Grammar  eGrammar 
void ScMyTables::AddOLE ( const css::uno::Reference< css::drawing::XShape > &  rShape,
const OUString &  rRangeList 

Definition at line 252 of file xmlsubti.cxx.

References ScMyOLEFixer::AddOLE(), and aFixupOLEs.

Referenced by XMLTableShapeImportHelper::finishShape().

void ScMyTables::AddRow ( )
void ScMyTables::DeleteTable ( )
void ScMyTables::FixupOLEs ( )

Definition at line 76 of file xmlsubti.hxx.

References ScMyOLEFixer::FixupOLEs().

Referenced by ScXMLImport::endDocument().

const ScAddress& ScMyTables::GetCurrentCellPos ( ) const
SCCOL ScMyTables::GetCurrentColCount ( ) const
ScXMLTabProtectionData& ScMyTables::GetCurrentProtectionData ( )

Definition at line 82 of file xmlsubti.hxx.

References maProtectionData.

Referenced by ScXMLTableProtectionContext::ScXMLTableProtectionContext().

SCROW ScMyTables::GetCurrentRow ( ) const
SCTAB ScMyTables::GetCurrentSheet ( ) const
const OUString& ScMyTables::GetCurrentSheetName ( ) const

Definition at line 83 of file xmlsubti.hxx.

References sCurrentSheetName.

uno::Reference< drawing::XDrawPage > const & ScMyTables::GetCurrentXDrawPage ( )

Definition at line 218 of file xmlsubti.cxx.

References maCurrentCellPos, nCurrentDrawPage, ScAddress::Tab(), xCurrentSheet, and xDrawPage.

Referenced by GetCurrentXShapes().

uno::Reference< drawing::XShapes > const & ScMyTables::GetCurrentXShapes ( )
const css::uno::Reference< css::sheet::XSpreadsheet >& ScMyTables::GetCurrentXSheet ( ) const
bool ScMyTables::HasDrawPage ( ) const
bool ScMyTables::HasXShapes ( ) const

Definition at line 247 of file xmlsubti.cxx.

References maCurrentCellPos, nCurrentXShapes, ScAddress::Tab(), and xShapes.

Referenced by ScXMLTableContext::endFastElement().

static bool ScMyTables::IsOLE ( const css::uno::Reference< css::drawing::XShape > &  rShape)

Definition at line 77 of file xmlsubti.hxx.

References ScMyOLEFixer::IsOLE().

Referenced by XMLTableShapeImportHelper::finishShape().

bool ScMyTables::IsPartOfMatrix ( const ScAddress rScAddress) const
void ScMyTables::NewSheet ( const OUString &  sTableName,
const OUString &  sStyleName,
const ScXMLTabProtectionData rProtectData 
void ScMyTables::SetRowStyle ( const OUString &  rCellStyleName)
void ScMyTables::SetTableStyle ( const OUString &  sStyleName)

Member Data Documentation

ScMyOLEFixer ScMyTables::aFixupOLEs

Definition at line 54 of file xmlsubti.hxx.

Referenced by AddOLE().

ScAddress ScMyTables::maCurrentCellPos
ScRangeList ScMyTables::maMatrixRangeList

Definition at line 61 of file xmlsubti.hxx.

Referenced by AddMatrixRange(), DeleteTable(), and IsPartOfMatrix().

ScXMLTabProtectionData ScMyTables::maProtectionData

Definition at line 62 of file xmlsubti.hxx.

Referenced by DeleteTable(), GetCurrentProtectionData(), and NewSheet().

sal_Int32 ScMyTables::nCurrentColCount

Definition at line 63 of file xmlsubti.hxx.

Referenced by AddColStyle(), GetCurrentColCount(), and NewSheet().

sal_Int16 ScMyTables::nCurrentDrawPage

Definition at line 64 of file xmlsubti.hxx.

Referenced by GetCurrentXDrawPage(), and HasDrawPage().

sal_Int16 ScMyTables::nCurrentXShapes

Definition at line 65 of file xmlsubti.hxx.

Referenced by GetCurrentXShapes(), and HasXShapes().

ScXMLImport& ScMyTables::rImport
OUString ScMyTables::sCurrentSheetName

Definition at line 59 of file xmlsubti.hxx.

Referenced by GetCurrentSheetName(), and NewSheet().

css::uno::Reference< css::sheet::XSpreadsheet > ScMyTables::xCurrentSheet

Definition at line 56 of file xmlsubti.hxx.

Referenced by GetCurrentXDrawPage(), GetCurrentXSheet(), NewSheet(), and SetTableStyle().

css::uno::Reference< css::drawing::XDrawPage > ScMyTables::xDrawPage

Definition at line 57 of file xmlsubti.hxx.

Referenced by GetCurrentXDrawPage(), and HasDrawPage().

css::uno::Reference< css::drawing::XShapes > ScMyTables::xShapes

Definition at line 58 of file xmlsubti.hxx.

Referenced by GetCurrentXShapes(), and HasXShapes().

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