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:
[legend]

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

ScXMLImportrImport
 
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)
explicit

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

Definition at line 76 of file xmlsubti.hxx.

References aFixupOLEs, and ScMyOLEFixer::FixupOLEs().

Referenced by ScXMLImport::endDocument().

◆ GetCurrentCellPos()

const ScAddress & ScMyTables::GetCurrentCellPos ( ) const
inline

◆ GetCurrentColCount()

SCCOL ScMyTables::GetCurrentColCount ( ) const

◆ GetCurrentProtectionData()

ScXMLTabProtectionData & ScMyTables::GetCurrentProtectionData ( )
inline

Definition at line 82 of file xmlsubti.hxx.

References maProtectionData.

Referenced by ScXMLTableProtectionContext::ScXMLTableProtectionContext().

◆ GetCurrentRow()

SCROW ScMyTables::GetCurrentRow ( ) const
inline

◆ GetCurrentSheet()

SCTAB ScMyTables::GetCurrentSheet ( ) const
inline

◆ GetCurrentSheetName()

const OUString & ScMyTables::GetCurrentSheetName ( ) const
inline

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
inline

◆ 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)
inlinestatic

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)
private

Member Data Documentation

◆ aFixupOLEs

ScMyOLEFixer ScMyTables::aFixupOLEs
private

Definition at line 54 of file xmlsubti.hxx.

Referenced by AddOLE(), and FixupOLEs().

◆ maCurrentCellPos

ScAddress ScMyTables::maCurrentCellPos
private

◆ maMatrixRangeList

ScRangeList ScMyTables::maMatrixRangeList
private

Definition at line 61 of file xmlsubti.hxx.

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

◆ maProtectionData

ScXMLTabProtectionData ScMyTables::maProtectionData
private

Definition at line 62 of file xmlsubti.hxx.

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

◆ nCurrentColCount

sal_Int32 ScMyTables::nCurrentColCount
private

Definition at line 63 of file xmlsubti.hxx.

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

◆ nCurrentDrawPage

sal_Int16 ScMyTables::nCurrentDrawPage
private

Definition at line 64 of file xmlsubti.hxx.

Referenced by GetCurrentXDrawPage(), and HasDrawPage().

◆ nCurrentXShapes

sal_Int16 ScMyTables::nCurrentXShapes
private

Definition at line 65 of file xmlsubti.hxx.

Referenced by GetCurrentXShapes(), and HasXShapes().

◆ rImport

ScXMLImport& ScMyTables::rImport
private

◆ sCurrentSheetName

OUString ScMyTables::sCurrentSheetName
private

Definition at line 59 of file xmlsubti.hxx.

Referenced by GetCurrentSheetName(), and NewSheet().

◆ xCurrentSheet

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

Definition at line 56 of file xmlsubti.hxx.

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

◆ xDrawPage

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

Definition at line 57 of file xmlsubti.hxx.

Referenced by GetCurrentXDrawPage(), and HasDrawPage().

◆ xShapes

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

Definition at line 58 of file xmlsubti.hxx.

Referenced by GetCurrentXShapes(), and HasXShapes().


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