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::ScMyTables ( ScXMLImport rImport)

Definition at line 56 of file xmlsubti.cxx.

◆ ~ScMyTables()

ScMyTables::~ScMyTables ( )

Definition at line 66 of file xmlsubti.cxx.

Member Function Documentation

◆ AddColStyle()

void ScMyTables::AddColStyle ( const sal_Int32  nRepeat,
const OUString &  rCellStyleName 

◆ AddColumn()

void ScMyTables::AddColumn ( bool  bIsCovered)

◆ AddMatrixRange()

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 

◆ AddOLE()

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

◆ AddRow()

void ScMyTables::AddRow ( )

◆ DeleteTable()

void ScMyTables::DeleteTable ( )

◆ FixupOLEs()

void ScMyTables::FixupOLEs ( )

Definition at line 76 of file xmlsubti.hxx.

References aFixupOLEs, and ScMyOLEFixer::FixupOLEs().

Referenced by ScXMLImport::endDocument().

◆ GetCurrentCellPos()

const ScAddress & ScMyTables::GetCurrentCellPos ( ) const

◆ GetCurrentColCount()

SCCOL ScMyTables::GetCurrentColCount ( ) const

◆ GetCurrentProtectionData()

ScXMLTabProtectionData & ScMyTables::GetCurrentProtectionData ( )

Definition at line 82 of file xmlsubti.hxx.

References maProtectionData.

Referenced by ScXMLTableProtectionContext::ScXMLTableProtectionContext().

◆ GetCurrentRow()

SCROW ScMyTables::GetCurrentRow ( ) const

◆ GetCurrentSheet()

SCTAB ScMyTables::GetCurrentSheet ( ) const

◆ GetCurrentSheetName()

const OUString & ScMyTables::GetCurrentSheetName ( ) const

Definition at line 83 of file xmlsubti.hxx.

References sCurrentSheetName.

◆ GetCurrentXDrawPage()

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

◆ GetCurrentXShapes()

uno::Reference< drawing::XShapes > const & ScMyTables::GetCurrentXShapes ( )

◆ GetCurrentXSheet()

const css::uno::Reference< css::sheet::XSpreadsheet > & ScMyTables::GetCurrentXSheet ( ) const

◆ HasDrawPage()

bool ScMyTables::HasDrawPage ( ) const

◆ HasXShapes()

bool ScMyTables::HasXShapes ( ) const

Definition at line 247 of file xmlsubti.cxx.

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

Referenced by ScXMLTableContext::endFastElement().

◆ IsOLE()

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

◆ IsPartOfMatrix()

bool ScMyTables::IsPartOfMatrix ( const ScAddress rScAddress) const

◆ NewSheet()

void ScMyTables::NewSheet ( const OUString &  sTableName,
const OUString &  sStyleName,
const ScXMLTabProtectionData rProtectData 

◆ SetRowStyle()

void ScMyTables::SetRowStyle ( const OUString &  rCellStyleName)

◆ SetTableStyle()

void ScMyTables::SetTableStyle ( const OUString &  sStyleName)

Member Data Documentation

◆ aFixupOLEs

ScMyOLEFixer ScMyTables::aFixupOLEs

Definition at line 54 of file xmlsubti.hxx.

Referenced by AddOLE(), and FixupOLEs().

◆ maCurrentCellPos

ScAddress ScMyTables::maCurrentCellPos

◆ maMatrixRangeList

ScRangeList ScMyTables::maMatrixRangeList

Definition at line 61 of file xmlsubti.hxx.

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

◆ maProtectionData

ScXMLTabProtectionData ScMyTables::maProtectionData

Definition at line 62 of file xmlsubti.hxx.

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

◆ nCurrentColCount

sal_Int32 ScMyTables::nCurrentColCount

Definition at line 63 of file xmlsubti.hxx.

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

◆ nCurrentDrawPage

sal_Int16 ScMyTables::nCurrentDrawPage

Definition at line 64 of file xmlsubti.hxx.

Referenced by GetCurrentXDrawPage(), and HasDrawPage().

◆ nCurrentXShapes

sal_Int16 ScMyTables::nCurrentXShapes

Definition at line 65 of file xmlsubti.hxx.

Referenced by GetCurrentXShapes(), and HasXShapes().

◆ rImport

ScXMLImport& ScMyTables::rImport

◆ sCurrentSheetName

OUString ScMyTables::sCurrentSheetName

Definition at line 59 of file xmlsubti.hxx.

Referenced by GetCurrentSheetName(), and NewSheet().

◆ xCurrentSheet

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

Definition at line 56 of file xmlsubti.hxx.

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

◆ xDrawPage

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

Definition at line 57 of file xmlsubti.hxx.

Referenced by GetCurrentXDrawPage(), and HasDrawPage().

◆ xShapes

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: