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 50 of file xmlsubti.hxx.

Constructor & Destructor Documentation

ScMyTables::ScMyTables ( ScXMLImport rImport)
explicit

Definition at line 58 of file xmlsubti.cxx.

ScMyTables::~ScMyTables ( )

Definition at line 68 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 253 of file xmlsubti.cxx.

References ScMyOLEFixer::AddOLE(), and aFixupOLEs.

Referenced by XMLTableShapeImportHelper::finishShape().

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

Definition at line 77 of file xmlsubti.hxx.

References ScMyOLEFixer::FixupOLEs().

Referenced by ScXMLImport::endDocument().

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

Definition at line 83 of file xmlsubti.hxx.

References maProtectionData.

Referenced by ScXMLTableProtectionContext::ScXMLTableProtectionContext().

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

Definition at line 84 of file xmlsubti.hxx.

References sCurrentSheetName.

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

Definition at line 219 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
inline
bool ScMyTables::HasDrawPage ( ) const
bool ScMyTables::HasXShapes ( ) const

Definition at line 248 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)
inlinestatic

Definition at line 78 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)
private

Member Data Documentation

ScMyOLEFixer ScMyTables::aFixupOLEs
private

Definition at line 55 of file xmlsubti.hxx.

Referenced by AddOLE().

ScAddress ScMyTables::maCurrentCellPos
private
ScRangeList ScMyTables::maMatrixRangeList
private

Definition at line 62 of file xmlsubti.hxx.

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

ScXMLTabProtectionData ScMyTables::maProtectionData
private

Definition at line 63 of file xmlsubti.hxx.

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

sal_Int32 ScMyTables::nCurrentColCount
private

Definition at line 64 of file xmlsubti.hxx.

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

sal_Int16 ScMyTables::nCurrentDrawPage
private

Definition at line 65 of file xmlsubti.hxx.

Referenced by GetCurrentXDrawPage(), and HasDrawPage().

sal_Int16 ScMyTables::nCurrentXShapes
private

Definition at line 66 of file xmlsubti.hxx.

Referenced by GetCurrentXShapes(), and HasXShapes().

ScXMLImport& ScMyTables::rImport
private
OUString ScMyTables::sCurrentSheetName
private

Definition at line 60 of file xmlsubti.hxx.

Referenced by GetCurrentSheetName(), and NewSheet().

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

Definition at line 57 of file xmlsubti.hxx.

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

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

Definition at line 58 of file xmlsubti.hxx.

Referenced by GetCurrentXDrawPage(), and HasDrawPage().

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

Definition at line 59 of file xmlsubti.hxx.

Referenced by GetCurrentXShapes(), and HasXShapes().


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