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

#include <xmlimprt.hxx>

Inheritance diagram for ScXMLImport:
[legend]
Collaboration diagram for ScXMLImport:
[legend]

Classes

class  MutexGuard
 Use this class to manage solar mutex locking instead of calling LockSolarMutex() and UnlockSolarMutex() directly. More...
 

Public Member Functions

 ScXMLImport (const css::uno::Reference< css::uno::XComponentContext > &rContext, OUString const &implementationName, SvXMLImportFlags nImportFlag, const css::uno::Sequence< OUString > &sSupportedServiceNames={})
 
virtual ~ScXMLImport () noexcept override
 
virtual void SAL_CALL initialize (const css::uno::Sequence< css::uno::Any > &aArguments) override
 
SvXMLImportContextCreateMetaContext (sal_Int32 nElement)
 
SvXMLImportContextCreateFontDeclsContext ()
 
SvXMLImportContextCreateScriptContext ()
 
SvXMLImportContextCreateStylesContext (bool bAutoStyles)
 
SvXMLImportContextCreateBodyContext (const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList)
 
virtual void SetStatistics (const css::uno::Sequence< css::beans::NamedValue > &i_rStats) override
 
ScDocumentImportGetDoc ()
 
ScDocumentGetDocument ()
 
const ScDocumentGetDocument () const
 
ScMyTablesGetTables ()
 
std::vector< ScDocRowHeightUpdater::TabRanges > & GetRecalcRowRanges ()
 
bool IsStylesOnlyMode () const
 
const rtl::Reference< XMLPropertySetMapper > & GetCellStylesPropertySetMapper () const
 
const rtl::Reference< XMLPropertySetMapper > & GetColumnStylesPropertySetMapper () const
 
const rtl::Reference< XMLPropertySetMapper > & GetRowStylesPropertySetMapper () const
 
const rtl::Reference< XMLPropertySetMapper > & GetTableStylesPropertySetMapper () const
 
void SetPostProcessData (sc::ImportPostProcessData *p)
 
sc::ImportPostProcessDataGetPostProcessData ()
 
sc::PivotTableSourcesGetPivotTableSources ()
 
void AddNamedExpression (ScMyNamedExpression aMyNamedExpression)
 
void AddNamedExpression (SCTAB nTab, ScMyNamedExpression aNamedExp)
 
void AddLabelRange (ScMyLabelRange aMyLabelRange)
 
void AddValidation (const ScMyImportValidation &rValidation)
 
bool GetValidation (const OUString &sName, ScMyImportValidation &aValidation)
 
ScMyImpDetectiveOpArrayGetDetectiveOpArray ()
 
ScXMLChangeTrackingImportHelperGetChangeTrackingImportHelper ()
 
void InsertStyles ()
 
void SetChangeTrackingViewSettings (const css::uno::Sequence< css::beans::PropertyValue > &rChangeProps)
 
virtual void SetViewSettings (const css::uno::Sequence< css::beans::PropertyValue > &aViewProps) override
 
virtual void SetConfigurationSettings (const css::uno::Sequence< css::beans::PropertyValue > &aConfigProps) override
 
ScMyStylesImportHelperGetStylesImportHelper ()
 
sal_Int32 SetCurrencySymbol (const sal_Int32 nKey, std::u16string_view rCurrency)
 
bool IsCurrencySymbol (const sal_Int32 nNumberFormat, std::u16string_view sCurrencySymbol, std::u16string_view sBankSymbol)
 
void SetType (const css::uno::Reference< css::beans::XPropertySet > &rProperties, sal_Int32 &rNumberFormat, const sal_Int16 nCellType, std::u16string_view rCurrency)
 
void ProgressBarIncrement ()
 
void SetNewCondFormatData ()
 
bool HasNewCondFormatData () const
 
void SetStyleToRanges (const ScRangeList &rRanges, const OUString *pStyleName, const sal_Int16 nCellType, const OUString *pCurrency)
 
bool SetNullDateOnUnitConverter ()
 
XMLNumberFormatAttributesExportHelperGetNumberFormatAttributesExportHelper ()
 
ScMyStyleNumberFormatsGetStyleNumberFormats ()
 
void SetStylesToRangesFinished ()
 
virtual void SAL_CALL setTargetDocument (const css::uno::Reference< css::lang::XComponent > &xDoc) override
 
virtual void SAL_CALL startDocument () override
 
virtual void SAL_CALL endDocument () override
 
virtual void DisposingModel () override
 
void LockSolarMutex ()
 
void UnlockSolarMutex ()
 
sal_Int32 GetByteOffset () const
 
void SetRangeOverflowType (ErrCode nType)
 
void SetNamedRanges ()
 
void SetSheetNamedRanges ()
 
void SetLabelRanges ()
 
void SetStringRefSyntaxIfMissing ()
 
void ExtractFormulaNamespaceGrammar (OUString &rFormula, OUString &rFormulaNmsp, ::formula::FormulaGrammar::Grammar &reGrammar, const OUString &rAttrValue, bool bRestrictToExternalNmsp=false) const
 Extracts the formula string, the formula grammar namespace URL, and a grammar enum value from the passed formula attribute value. More...
 
FormulaError GetFormulaErrorConstant (const OUString &rStr) const
 
ScEditEngineDefaulterGetEditEngine ()
 
const ScXMLEditAttributeMapGetEditAttributeMap () const
 
virtual void NotifyContainsEmbeddedFont () override
 

Static Public Member Functions

static sal_Int16 GetCellType (const char *rStrValue, const sal_Int32 nStrLength)
 
static sal_Int32 GetRangeType (std::u16string_view sRangeType)
 

Protected Member Functions

virtual SvXMLImportContextCreateFastContext (sal_Int32 nElement, const ::css::uno::Reference< ::css::xml::sax::XFastAttributeList > &xAttrList) override
 
virtual XMLShapeImportHelperCreateShapeImport () override
 

Private Types

typedef ::std::map< SCTAB, ScMyNamedExpressionsSheetNamedExpMap
 

Private Member Functions

 ScXMLImport (const ScXMLImport &)=delete
 
const ScXMLImportoperator= (const ScXMLImport &)=delete
 
void SetStyleToRanges ()
 
void ExamineDefaultStyle ()
 

Private Attributes

ScDocumentpDoc
 
std::unique_ptr< ScDocumentImportmpDocImport
 
std::unique_ptr< ScCompilermpComp
 
std::unique_ptr< ScEditEngineDefaultermpEditEngine
 
std::unique_ptr< sc::PivotTableSourcesmpPivotSources
 
std::unique_ptr< ScXMLEditAttributeMapmpEditAttrMap
 
std::unique_ptr< ScXMLChangeTrackingImportHelperpChangeTrackingImportHelper
 
std::unique_ptr< ScMyStylesImportHelperpStylesImportHelper
 
rtl::Reference< XMLPropertyHandlerFactoryxScPropHdlFactory
 
rtl::Reference< XMLPropertySetMapperxCellStylesPropertySetMapper
 
rtl::Reference< XMLPropertySetMapperxColumnStylesPropertySetMapper
 
rtl::Reference< XMLPropertySetMapperxRowStylesPropertySetMapper
 
rtl::Reference< XMLPropertySetMapperxTableStylesPropertySetMapper
 
sc::ImportPostProcessDatampPostProcessData
 
ScMyTables aTables
 Lift cycle managed elsewhere, no need to delete. More...
 
std::vector< ScDocRowHeightUpdater::TabRangesmaRecalcRowRanges
 
ScMyNamedExpressions m_aMyNamedExpressions
 
SheetNamedExpMap m_SheetNamedExpressions
 
ScMyLabelRanges maMyLabelRanges
 
ScMyImportValidations maValidations
 
std::unique_ptr< ScMyImpDetectiveOpArraypDetectiveOpArray
 
std::optional< SolarMutexGuardmoSolarMutexGuard
 
std::unique_ptr< XMLNumberFormatAttributesExportHelperpNumberFormatAttributesExportHelper
 
std::unique_ptr< ScMyStyleNumberFormatspStyleNumberFormats
 
css::uno::Reference< css::util::XNumberFormats > xNumberFormats
 
css::uno::Reference< css::util::XNumberFormatTypes > xNumberFormatTypes
 
css::uno::Reference< css::sheet::XSheetCellRangeContainer > xSheetCellRanges
 
OUString sPrevStyleName
 
OUString sPrevCurrency
 
sal_uInt32 nSolarMutexLocked
 
sal_Int32 nProgressCount
 
sal_Int16 nPrevCellType
 
bool bLoadDoc
 
bool bNullDateSetted
 
bool bSelfImportingXMLSet
 
bool mbLockSolarMutex
 
bool mbImportStyles
 
bool mbHasNewCondFormatData
 

Detailed Description

Definition at line 114 of file xmlimprt.hxx.

Member Typedef Documentation

◆ SheetNamedExpMap

Definition at line 119 of file xmlimprt.hxx.

Constructor & Destructor Documentation

◆ ScXMLImport() [1/2]

ScXMLImport::ScXMLImport ( const ScXMLImport )
privatedelete

◆ ScXMLImport() [2/2]

ScXMLImport::ScXMLImport ( const css::uno::Reference< css::uno::XComponentContext > &  rContext,
OUString const &  implementationName,
SvXMLImportFlags  nImportFlag,
const css::uno::Sequence< OUString > &  sSupportedServiceNames = {} 
)

◆ ~ScXMLImport()

ScXMLImport::~ScXMLImport ( )
overridevirtualnoexcept

Member Function Documentation

◆ AddLabelRange()

void ScXMLImport::AddLabelRange ( ScMyLabelRange  aMyLabelRange)
inline

Definition at line 233 of file xmlimprt.hxx.

References maMyLabelRanges.

Referenced by ScXMLLabelRangeContext::endFastElement().

◆ AddNamedExpression() [1/2]

void ScXMLImport::AddNamedExpression ( ScMyNamedExpression  aMyNamedExpression)
inline

Definition at line 226 of file xmlimprt.hxx.

References m_aMyNamedExpressions.

◆ AddNamedExpression() [2/2]

void ScXMLImport::AddNamedExpression ( SCTAB  nTab,
ScMyNamedExpression  aNamedExp 
)

Definition at line 571 of file xmlimprt.cxx.

References m_SheetNamedExpressions.

◆ AddValidation()

void ScXMLImport::AddValidation ( const ScMyImportValidation rValidation)
inline

Definition at line 238 of file xmlimprt.hxx.

References maValidations.

◆ CreateBodyContext()

SvXMLImportContext * ScXMLImport::CreateBodyContext ( const rtl::Reference< sax_fastparser::FastAttributeList > &  rAttrList)

Definition at line 444 of file xmlimprt.cxx.

◆ CreateFastContext()

SvXMLImportContext * ScXMLImport::CreateFastContext ( sal_Int32  nElement,
const ::css::uno::Reference< ::css::xml::sax::XFastAttributeList > &  xAttrList 
)
overrideprotectedvirtual

◆ CreateFontDeclsContext()

SvXMLImportContext * ScXMLImport::CreateFontDeclsContext ( )

Definition at line 422 of file xmlimprt.cxx.

◆ CreateMetaContext()

SvXMLImportContext * ScXMLImport::CreateMetaContext ( sal_Int32  nElement)

Definition at line 449 of file xmlimprt.cxx.

References IsStylesOnlyMode().

Referenced by CreateFastContext().

◆ CreateScriptContext()

SvXMLImportContext * ScXMLImport::CreateScriptContext ( )

Definition at line 466 of file xmlimprt.cxx.

References IsStylesOnlyMode().

◆ CreateShapeImport()

XMLShapeImportHelper * ScXMLImport::CreateShapeImport ( )
overrideprotectedvirtual

Definition at line 552 of file xmlimprt.cxx.

◆ CreateStylesContext()

SvXMLImportContext * ScXMLImport::CreateStylesContext ( bool  bAutoStyles)

Definition at line 431 of file xmlimprt.cxx.

◆ DisposingModel()

void ScXMLImport::DisposingModel ( )
overridevirtual

Definition at line 1502 of file xmlimprt.cxx.

References pDoc.

◆ endDocument()

void SAL_CALL ScXMLImport::endDocument ( )
overridevirtual

◆ ExamineDefaultStyle()

void ScXMLImport::ExamineDefaultStyle ( )
private

◆ ExtractFormulaNamespaceGrammar()

void ScXMLImport::ExtractFormulaNamespaceGrammar ( OUString &  rFormula,
OUString &  rFormulaNmsp,
::formula::FormulaGrammar::Grammar reGrammar,
const OUString &  rAttrValue,
bool  bRestrictToExternalNmsp = false 
) const

Extracts the formula string, the formula grammar namespace URL, and a grammar enum value from the passed formula attribute value.

Parameters
rFormula(out-parameter) Returns the plain formula string with the leading equality sign if existing.
rFormulaNmsp(out-parameter) Returns the URL of the formula grammar namespace if the attribute value contains the prefix of an unknown namespace.
reGrammar(out-parameter) Returns the exact formula grammar if the formula is in a supported ODF format (e.g. FormulaGrammar::GRAM_PODF for ODF 1.0/1.1 formulas, or FormulaGrammar::GRAM_ODFF for ODF 1.2 formulas a.k.a. OpenFormula). Returns the default storage grammar, if the attribute value does not contain a namespace prefix. Returns the special value FormulaGrammar::GRAM_EXTERNAL, if an unknown namespace could be extracted from the formula which will be contained in the parameter rFormulaNmsp then.
rAttrValueThe value of the processed formula attribute.
bRestrictToExternalNmspIf set to true, only namespaces of external formula grammars will be recognized. Internal namespace prefixes (e.g. 'oooc:' or 'of:' will be considered to be part of the formula, e.g. an expression with range operator.

Definition at line 1580 of file xmlimprt.cxx.

References SvXMLNamespaceMap::AttrValue, GetDocument(), ScDocument::GetFormulaParserPool(), ScDocument::GetStorageGrammar(), ScFormulaParserPool::hasFormulaParser(), XML_NAMESPACE_NONE, XML_NAMESPACE_OF, XML_NAMESPACE_OOOC, XML_NAMESPACE_UNKNOWN, and XML_NAMESPACE_UNKNOWN_FLAG.

Referenced by ScXMLNamedExpressionContext::ScXMLNamedExpressionContext(), and ScXMLTableRowCellContext::ScXMLTableRowCellContext().

◆ GetByteOffset()

sal_Int32 ScXMLImport::GetByteOffset ( ) const

◆ GetCellStylesPropertySetMapper()

const rtl::Reference< XMLPropertySetMapper > & ScXMLImport::GetCellStylesPropertySetMapper ( ) const
inline

◆ GetCellType()

sal_Int16 ScXMLImport::GetCellType ( const char *  rStrValue,
const sal_Int32  nStrLength 
)
static

◆ GetChangeTrackingImportHelper()

ScXMLChangeTrackingImportHelper * ScXMLImport::GetChangeTrackingImportHelper ( )

Definition at line 589 of file xmlimprt.cxx.

References pChangeTrackingImportHelper.

Referenced by ScXMLBodyContext::createFastChildContext().

◆ GetColumnStylesPropertySetMapper()

const rtl::Reference< XMLPropertySetMapper > & ScXMLImport::GetColumnStylesPropertySetMapper ( ) const
inline

Definition at line 217 of file xmlimprt.hxx.

References xColumnStylesPropertySetMapper.

◆ GetDetectiveOpArray()

ScMyImpDetectiveOpArray * ScXMLImport::GetDetectiveOpArray ( )

◆ GetDoc()

ScDocumentImport & ScXMLImport::GetDoc ( )

◆ GetDocument() [1/2]

ScDocument * ScXMLImport::GetDocument ( )
inline

Definition at line 205 of file xmlimprt.hxx.

References pDoc.

Referenced by ScMyTables::AddColStyle(), ScXMLTableRowCellContext::AddFormulaCell(), ScXMLTableRowCellContext::AddNonFormulaCell(), ScXMLTableRowCellContext::AddTextAndValueCell(), XMLTableStyleContext::ApplyCondFormat(), ScXMLDatabaseRangeContext::ConvertToDBData(), ScXMLDDELinkContext::CreateDDELink(), ScXMLTableRowCellContext::createFastChildContext(), ScMyTables::DeleteTable(), ScXMLTableRowCellContext::DoMerge(), ScXMLCalculationSettingsContext::endFastElement(), ScXMLBodyContext::endFastElement(), ScXMLTableColContext::endFastElement(), ScXMLTableColsContext::endFastElement(), ScXMLConditionalFormatsContext::endFastElement(), ScXMLConditionalFormatContext::endFastElement(), ScXMLConsolidationContext::endFastElement(), ScXMLDDELinkContext::endFastElement(), ScXMLDatabaseRangeContext::endFastElement(), ScXMLExternalRefTabSourceContext::endFastElement(), ScXMLConditionContext::endFastElement(), ScXMLDPConditionContext::endFastElement(), ScXMLTableRowContext::endFastElement(), ScXMLTableContext::endFastElement(), ExtractFormulaNamespaceGrammar(), sc::SparklineGroupsImportContext::fillSparklineAttributes(), ScMyOLEFixer::FixupOLEs(), ScMyTables::GetCurrentColCount(), sc::SparklineGroupsImportContext::insertSparklines(), ScXMLTableRowCellContext::PutFormulaCell(), ScXMLTableRowCellContext::PutTextCell(), ScXMLTableRowCellContext::PutValueCell(), ScXMLBodyContext::ScXMLBodyContext(), ScXMLColumnSplitContext::ScXMLColumnSplitContext(), ScXMLConditionalFormatContext::ScXMLConditionalFormatContext(), ScXMLConditionalFormatsContext::ScXMLConditionalFormatsContext(), ScXMLConsolidationContext::ScXMLConsolidationContext(), ScXMLDataBarFormatContext::ScXMLDataBarFormatContext(), ScXMLDatabaseRangeContext::ScXMLDatabaseRangeContext(), ScXMLDataStreamContext::ScXMLDataStreamContext(), ScXMLDetectiveHighlightedContext::ScXMLDetectiveHighlightedContext(), ScXMLMappingContext::ScXMLMappingContext(), ScXMLSetItemContext::ScXMLSetItemContext(), ScXMLSortContext::ScXMLSortContext(), ScXMLSourceCellRangeContext::ScXMLSourceCellRangeContext(), ScXMLTableColContext::ScXMLTableColContext(), ScXMLTableContext::ScXMLTableContext(), ScXMLTableRowCellContext::ScXMLTableRowCellContext(), ScXMLTableRowContext::ScXMLTableRowContext(), ScXMLTableScenarioContext::ScXMLTableScenarioContext(), ScXMLTableRowCellContext::SetAnnotation(), ScXMLTableRowCellContext::SetCellRangeSource(), ScXMLTableRowCellContext::SetContentValidation(), SetCurrencySymbol(), ScXMLTableRowCellContext::SetDetectiveObj(), ScXMLTableRowCellContext::SetFormulaCell(), ScXMLColumnAggregateContext::~ScXMLColumnAggregateContext(), ScXMLColumnMergeContext::~ScXMLColumnMergeContext(), ScXMLColumnNumberContext::~ScXMLColumnNumberContext(), ScXMLColumnRemoveContext::~ScXMLColumnRemoveContext(), ScXMLColumnRemoveNullContext::~ScXMLColumnRemoveNullContext(), ScXMLColumnTextContext::~ScXMLColumnTextContext(), ScXMLDateTimeContext::~ScXMLDateTimeContext(), and ScXMLMappingContext::~ScXMLMappingContext().

◆ GetDocument() [2/2]

const ScDocument * ScXMLImport::GetDocument ( ) const
inline

Definition at line 206 of file xmlimprt.hxx.

References pDoc.

◆ GetEditAttributeMap()

const ScXMLEditAttributeMap & ScXMLImport::GetEditAttributeMap ( ) const

Definition at line 1661 of file xmlimprt.cxx.

References mpEditAttrMap.

Referenced by ScXMLTableRowCellContext::PushFormat().

◆ GetEditEngine()

ScEditEngineDefaulter * ScXMLImport::GetEditEngine ( )

◆ GetFormulaErrorConstant()

FormulaError ScXMLImport::GetFormulaErrorConstant ( const OUString &  rStr) const

◆ GetNumberFormatAttributesExportHelper()

XMLNumberFormatAttributesExportHelper * ScXMLImport::GetNumberFormatAttributesExportHelper ( )

Definition at line 1097 of file xmlimprt.cxx.

References pNumberFormatAttributesExportHelper.

Referenced by SetType().

◆ GetPivotTableSources()

sc::PivotTableSources & ScXMLImport::GetPivotTableSources ( )

Definition at line 312 of file xmlimprt.cxx.

References mpPivotSources.

Referenced by ScXMLDataPilotTableContext::endFastElement().

◆ GetPostProcessData()

sc::ImportPostProcessData * ScXMLImport::GetPostProcessData ( )
inline

Definition at line 222 of file xmlimprt.hxx.

References mpPostProcessData.

Referenced by ScXMLDataStreamContext::endFastElement().

◆ GetRangeType()

sal_Int32 ScXMLImport::GetRangeType ( std::u16string_view  sRangeType)
static

Definition at line 1187 of file xmlimprt.cxx.

References COLUMN_HEADER, i, ROW_HEADER, SC_FILTER, SC_PRINT_RANGE, and SC_REPEAT_ROW.

◆ GetRecalcRowRanges()

std::vector< ScDocRowHeightUpdater::TabRanges > & ScXMLImport::GetRecalcRowRanges ( )
inline

Definition at line 210 of file xmlimprt.hxx.

References maRecalcRowRanges.

Referenced by ScXMLTableRowContext::endFastElement().

◆ GetRowStylesPropertySetMapper()

const rtl::Reference< XMLPropertySetMapper > & ScXMLImport::GetRowStylesPropertySetMapper ( ) const
inline

Definition at line 218 of file xmlimprt.hxx.

References xRowStylesPropertySetMapper.

Referenced by XMLTableStylesContext::GetImportPropertyMapper().

◆ GetStyleNumberFormats()

ScMyStyleNumberFormats * ScXMLImport::GetStyleNumberFormats ( )

Definition at line 1104 of file xmlimprt.cxx.

References pStyleNumberFormats.

Referenced by SetStyleToRanges().

◆ GetStylesImportHelper()

ScMyStylesImportHelper * ScXMLImport::GetStylesImportHelper ( )
inline

◆ GetTables()

ScMyTables & ScXMLImport::GetTables ( )
inline

◆ GetTableStylesPropertySetMapper()

const rtl::Reference< XMLPropertySetMapper > & ScXMLImport::GetTableStylesPropertySetMapper ( ) const
inline

Definition at line 219 of file xmlimprt.hxx.

References xTableStylesPropertySetMapper.

◆ GetValidation()

bool ScXMLImport::GetValidation ( const OUString &  sName,
ScMyImportValidation aValidation 
)

Definition at line 557 of file xmlimprt.cxx.

References maValidations, and sName.

Referenced by ScXMLTableRowCellContext::SetContentValidation().

◆ HasNewCondFormatData()

bool ScXMLImport::HasNewCondFormatData ( ) const
inline

Definition at line 261 of file xmlimprt.hxx.

References mbHasNewCondFormatData.

◆ initialize()

void ScXMLImport::initialize ( const css::uno::Sequence< css::uno::Any > &  aArguments)
overridevirtual

◆ InsertStyles()

void ScXMLImport::InsertStyles ( )

Definition at line 596 of file xmlimprt.cxx.

References ExamineDefaultStyle().

Referenced by XMLTableStylesContext::endFastElement().

◆ IsCurrencySymbol()

bool ScXMLImport::IsCurrencySymbol ( const sal_Int32  nNumberFormat,
std::u16string_view  sCurrencySymbol,
std::u16string_view  sBankSymbol 
)

Definition at line 847 of file xmlimprt.cxx.

References SvNumberFormatter::GetLegacyOnlyCurrencyEntry(), and SC_CURRENCYSYMBOL.

Referenced by SetType().

◆ IsStylesOnlyMode()

bool ScXMLImport::IsStylesOnlyMode ( ) const
inline

Definition at line 212 of file xmlimprt.hxx.

References bLoadDoc.

Referenced by CreateMetaContext(), and CreateScriptContext().

◆ LockSolarMutex()

void ScXMLImport::LockSolarMutex ( )

◆ NotifyContainsEmbeddedFont()

void ScXMLImport::NotifyContainsEmbeddedFont ( )
overridevirtual

Definition at line 1668 of file xmlimprt.cxx.

References pDoc, and ScDocument::SetEmbedFonts().

◆ operator=()

const ScXMLImport & ScXMLImport::operator= ( const ScXMLImport )
privatedelete

◆ ProgressBarIncrement()

void ScXMLImport::ProgressBarIncrement ( )

◆ SetChangeTrackingViewSettings()

void ScXMLImport::SetChangeTrackingViewSettings ( const css::uno::Sequence< css::beans::PropertyValue > &  rChangeProps)

◆ SetConfigurationSettings()

void ScXMLImport::SetConfigurationSettings ( const css::uno::Sequence< css::beans::PropertyValue > &  aConfigProps)
overridevirtual

◆ SetCurrencySymbol()

sal_Int32 ScXMLImport::SetCurrencySymbol ( const sal_Int32  nKey,
std::u16string_view  rCurrency 
)

◆ SetLabelRanges()

void ScXMLImport::SetLabelRanges ( )

◆ SetNamedRanges()

void ScXMLImport::SetNamedRanges ( )

Definition at line 1311 of file xmlimprt.cxx.

References ScDocument::GetRangeName(), m_aMyNamedExpressions, and pDoc.

Referenced by endDocument().

◆ SetNewCondFormatData()

void ScXMLImport::SetNewCondFormatData ( )
inline

◆ SetNullDateOnUnitConverter()

bool ScXMLImport::SetNullDateOnUnitConverter ( )

◆ SetPostProcessData()

void ScXMLImport::SetPostProcessData ( sc::ImportPostProcessData p)

Definition at line 307 of file xmlimprt.cxx.

References mpPostProcessData, and p.

Referenced by ScXMLImportWrapper::ImportFromComponent().

◆ SetRangeOverflowType()

void ScXMLImport::SetRangeOverflowType ( ErrCode  nType)

◆ SetSheetNamedRanges()

void ScXMLImport::SetSheetNamedRanges ( )

Definition at line 1325 of file xmlimprt.cxx.

References ScDocument::GetRangeName(), m_SheetNamedExpressions, and pDoc.

Referenced by endDocument().

◆ SetStatistics()

void ScXMLImport::SetStatistics ( const css::uno::Sequence< css::beans::NamedValue > &  i_rStats)
overridevirtual

Definition at line 478 of file xmlimprt.cxx.

References nCount, and s_stats.

◆ SetStringRefSyntaxIfMissing()

void ScXMLImport::SetStringRefSyntaxIfMissing ( )

◆ SetStylesToRangesFinished()

void ScXMLImport::SetStylesToRangesFinished ( )

Definition at line 1111 of file xmlimprt.cxx.

References SetStyleToRanges(), and sPrevStyleName.

Referenced by ScMyTables::DeleteTable().

◆ SetStyleToRanges() [1/2]

void ScXMLImport::SetStyleToRanges ( )
private

◆ SetStyleToRanges() [2/2]

void ScXMLImport::SetStyleToRanges ( const ScRangeList rRanges,
const OUString *  pStyleName,
const sal_Int16  nCellType,
const OUString *  pCurrency 
)

◆ setTargetDocument()

void SAL_CALL ScXMLImport::setTargetDocument ( const css::uno::Reference< css::lang::XComponent > &  xDoc)
overridevirtual

◆ SetType()

void ScXMLImport::SetType ( const css::uno::Reference< css::beans::XPropertySet > &  rProperties,
sal_Int32 &  rNumberFormat,
const sal_Int16  nCellType,
std::u16string_view  rCurrency 
)

◆ SetViewSettings()

void ScXMLImport::SetViewSettings ( const css::uno::Sequence< css::beans::PropertyValue > &  aViewProps)
overridevirtual

◆ startDocument()

void SAL_CALL ScXMLImport::startDocument ( )
overridevirtual

◆ UnlockSolarMutex()

void ScXMLImport::UnlockSolarMutex ( )

Member Data Documentation

◆ aTables

ScMyTables ScXMLImport::aTables
private

Lift cycle managed elsewhere, no need to delete.

Definition at line 139 of file xmlimprt.hxx.

Referenced by endDocument(), and GetTables().

◆ bLoadDoc

bool ScXMLImport::bLoadDoc
private

Definition at line 163 of file xmlimprt.hxx.

Referenced by IsStylesOnlyMode(), and startDocument().

◆ bNullDateSetted

bool ScXMLImport::bNullDateSetted
private

Definition at line 164 of file xmlimprt.hxx.

Referenced by SetNullDateOnUnitConverter().

◆ bSelfImportingXMLSet

bool ScXMLImport::bSelfImportingXMLSet
private

Definition at line 165 of file xmlimprt.hxx.

Referenced by endDocument(), and startDocument().

◆ m_aMyNamedExpressions

ScMyNamedExpressions ScXMLImport::m_aMyNamedExpressions
private

Definition at line 143 of file xmlimprt.hxx.

Referenced by AddNamedExpression(), SetNamedRanges(), and ~ScXMLImport().

◆ m_SheetNamedExpressions

SheetNamedExpMap ScXMLImport::m_SheetNamedExpressions
private

Definition at line 144 of file xmlimprt.hxx.

Referenced by AddNamedExpression(), and SetSheetNamedRanges().

◆ maMyLabelRanges

ScMyLabelRanges ScXMLImport::maMyLabelRanges
private

Definition at line 146 of file xmlimprt.hxx.

Referenced by AddLabelRange(), SetLabelRanges(), and ~ScXMLImport().

◆ maRecalcRowRanges

std::vector<ScDocRowHeightUpdater::TabRanges> ScXMLImport::maRecalcRowRanges
private

Definition at line 141 of file xmlimprt.hxx.

Referenced by endDocument(), and GetRecalcRowRanges().

◆ maValidations

ScMyImportValidations ScXMLImport::maValidations
private

Definition at line 147 of file xmlimprt.hxx.

Referenced by AddValidation(), GetValidation(), and ~ScXMLImport().

◆ mbHasNewCondFormatData

bool ScXMLImport::mbHasNewCondFormatData
private

Definition at line 168 of file xmlimprt.hxx.

Referenced by HasNewCondFormatData(), and SetNewCondFormatData().

◆ mbImportStyles

bool ScXMLImport::mbImportStyles
private

Definition at line 167 of file xmlimprt.hxx.

Referenced by initialize(), SetStyleToRanges(), and SetType().

◆ mbLockSolarMutex

bool ScXMLImport::mbLockSolarMutex
private

Definition at line 166 of file xmlimprt.hxx.

Referenced by initialize(), and LockSolarMutex().

◆ moSolarMutexGuard

std::optional<SolarMutexGuard> ScXMLImport::moSolarMutexGuard
private

Definition at line 149 of file xmlimprt.hxx.

Referenced by LockSolarMutex(), UnlockSolarMutex(), and ~ScXMLImport().

◆ mpComp

std::unique_ptr<ScCompiler> ScXMLImport::mpComp
private

Definition at line 123 of file xmlimprt.hxx.

Referenced by GetFormulaErrorConstant(), and setTargetDocument().

◆ mpDocImport

std::unique_ptr<ScDocumentImport> ScXMLImport::mpDocImport
private

Definition at line 122 of file xmlimprt.hxx.

Referenced by endDocument(), ExamineDefaultStyle(), GetDoc(), and setTargetDocument().

◆ mpEditAttrMap

std::unique_ptr<ScXMLEditAttributeMap> ScXMLImport::mpEditAttrMap
mutableprivate

Definition at line 127 of file xmlimprt.hxx.

Referenced by GetEditAttributeMap().

◆ mpEditEngine

std::unique_ptr<ScEditEngineDefaulter> ScXMLImport::mpEditEngine
private

Definition at line 124 of file xmlimprt.hxx.

Referenced by GetEditEngine().

◆ mpPivotSources

std::unique_ptr<sc::PivotTableSources> ScXMLImport::mpPivotSources
private

Definition at line 125 of file xmlimprt.hxx.

Referenced by endDocument(), and GetPivotTableSources().

◆ mpPostProcessData

sc::ImportPostProcessData* ScXMLImport::mpPostProcessData
private

Definition at line 137 of file xmlimprt.hxx.

Referenced by GetPostProcessData(), and SetPostProcessData().

◆ nPrevCellType

sal_Int16 ScXMLImport::nPrevCellType
private

Definition at line 162 of file xmlimprt.hxx.

Referenced by SetStyleToRanges().

◆ nProgressCount

sal_Int32 ScXMLImport::nProgressCount
private

Definition at line 161 of file xmlimprt.hxx.

Referenced by ProgressBarIncrement().

◆ nSolarMutexLocked

sal_uInt32 ScXMLImport::nSolarMutexLocked
private

Definition at line 160 of file xmlimprt.hxx.

Referenced by LockSolarMutex(), and UnlockSolarMutex().

◆ pChangeTrackingImportHelper

std::unique_ptr<ScXMLChangeTrackingImportHelper> ScXMLImport::pChangeTrackingImportHelper
private

Definition at line 128 of file xmlimprt.hxx.

Referenced by GetChangeTrackingImportHelper(), and ~ScXMLImport().

◆ pDetectiveOpArray

std::unique_ptr<ScMyImpDetectiveOpArray> ScXMLImport::pDetectiveOpArray
private

Definition at line 148 of file xmlimprt.hxx.

Referenced by GetDetectiveOpArray(), and ~ScXMLImport().

◆ pDoc

ScDocument* ScXMLImport::pDoc
private

◆ pNumberFormatAttributesExportHelper

std::unique_ptr<XMLNumberFormatAttributesExportHelper> ScXMLImport::pNumberFormatAttributesExportHelper
private

Definition at line 151 of file xmlimprt.hxx.

Referenced by GetNumberFormatAttributesExportHelper(), and ~ScXMLImport().

◆ pStyleNumberFormats

std::unique_ptr<ScMyStyleNumberFormats> ScXMLImport::pStyleNumberFormats
private

Definition at line 152 of file xmlimprt.hxx.

Referenced by GetStyleNumberFormats(), and ~ScXMLImport().

◆ pStylesImportHelper

std::unique_ptr<ScMyStylesImportHelper> ScXMLImport::pStylesImportHelper
private

Definition at line 129 of file xmlimprt.hxx.

Referenced by GetStylesImportHelper(), ScXMLImport(), and ~ScXMLImport().

◆ sPrevCurrency

OUString ScXMLImport::sPrevCurrency
private

Definition at line 159 of file xmlimprt.hxx.

Referenced by SetStyleToRanges().

◆ sPrevStyleName

OUString ScXMLImport::sPrevStyleName
private

Definition at line 158 of file xmlimprt.hxx.

Referenced by SetStylesToRangesFinished(), and SetStyleToRanges().

◆ xCellStylesPropertySetMapper

rtl::Reference< XMLPropertySetMapper > ScXMLImport::xCellStylesPropertySetMapper
private

Definition at line 132 of file xmlimprt.hxx.

Referenced by GetCellStylesPropertySetMapper(), and ScXMLImport().

◆ xColumnStylesPropertySetMapper

rtl::Reference< XMLPropertySetMapper > ScXMLImport::xColumnStylesPropertySetMapper
private

Definition at line 133 of file xmlimprt.hxx.

Referenced by GetColumnStylesPropertySetMapper(), and ScXMLImport().

◆ xNumberFormats

css::uno::Reference<css::util::XNumberFormats> ScXMLImport::xNumberFormats
private

Definition at line 153 of file xmlimprt.hxx.

Referenced by SetType().

◆ xNumberFormatTypes

css::uno::Reference<css::util::XNumberFormatTypes> ScXMLImport::xNumberFormatTypes
private

Definition at line 154 of file xmlimprt.hxx.

Referenced by SetType().

◆ xRowStylesPropertySetMapper

rtl::Reference< XMLPropertySetMapper > ScXMLImport::xRowStylesPropertySetMapper
private

Definition at line 134 of file xmlimprt.hxx.

Referenced by GetRowStylesPropertySetMapper(), and ScXMLImport().

◆ xScPropHdlFactory

rtl::Reference< XMLPropertyHandlerFactory > ScXMLImport::xScPropHdlFactory
private

Definition at line 131 of file xmlimprt.hxx.

Referenced by ScXMLImport().

◆ xSheetCellRanges

css::uno::Reference<css::sheet::XSheetCellRangeContainer> ScXMLImport::xSheetCellRanges
private

Definition at line 156 of file xmlimprt.hxx.

Referenced by SetStyleToRanges().

◆ xTableStylesPropertySetMapper

rtl::Reference< XMLPropertySetMapper > ScXMLImport::xTableStylesPropertySetMapper
private

Definition at line 135 of file xmlimprt.hxx.

Referenced by GetTableStylesPropertySetMapper(), and ScXMLImport().


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