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

#include <xmlexprt.hxx>

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

Public Member Functions

 ScXMLExport (const css::uno::Reference< css::uno::XComponentContext > &rContext, OUString const &implementationName, SvXMLExportFlags nExportFlag)
 
virtual ~ScXMLExport () override
 
void collectAutoStyles () override
 
ScDocumentGetDocument ()
 
const ScDocumentGetDocument () const
 
bool IsMatrix (const ScAddress &aCell, ScRange &aCellAddress, bool &bIsFirst) const
 
const rtl::Reference< XMLPropertySetMapper > & GetCellStylesPropertySetMapper () const
 
const rtl::Reference< XMLPropertySetMapper > & GetTableStylesPropertySetMapper () const
 
void SetSourceStream (const css::uno::Reference< css::io::XInputStream > &xNewStream)
 
void GetChangeTrackViewSettings (css::uno::Sequence< css::beans::PropertyValue > &rProps)
 
virtual void GetViewSettings (css::uno::Sequence< css::beans::PropertyValue > &rProps) override
 
virtual void GetConfigurationSettings (css::uno::Sequence< css::beans::PropertyValue > &rProps) override
 
virtual void exportAnnotationMeta (const css::uno::Reference< css::drawing::XShape > &xShape) override
 
void SetSharedData (std::unique_ptr< ScMySharedData > pTemp)
 
ScMySharedDataGetSharedData ()
 
std::unique_ptr< ScMySharedDataReleaseSharedData ()
 
XMLNumberFormatAttributesExportHelperGetNumberFormatAttributesExportHelper ()
 
virtual ErrCode exportDoc (enum ::xmloff::token::XMLTokenEnum eClass=::xmloff::token::XML_TOKEN_INVALID) override
 
virtual void SAL_CALL setSourceDocument (const css::uno::Reference< css::lang::XComponent > &xDoc) override
 
virtual sal_Bool SAL_CALL filter (const css::uno::Sequence< css::beans::PropertyValue > &aDescriptor) override
 
virtual void SAL_CALL cancel () override
 
virtual void SAL_CALL initialize (const css::uno::Sequence< css::uno::Any > &aArguments) override
 
virtual sal_Int64 SAL_CALL getSomething (const css::uno::Sequence< sal_Int8 > &aIdentifier) override
 
virtual void DisposingModel () override
 
- Public Member Functions inherited from SvXMLExport
 SvXMLExport (const css::uno::Reference< css::uno::XComponentContext > &xContext, OUString const &implementationName, sal_Int16 const eDefaultMeasureUnit, const enum ::xmloff::token::XMLTokenEnum eClass, SvXMLExportFlags nExportFlag)
 
 SvXMLExport (const css::uno::Reference< css::uno::XComponentContext > &xContext, OUString const &implementationName, const OUString &rFileName, sal_Int16 const eDefaultMeasureUnit, const css::uno::Reference< css::xml::sax::XDocumentHandler > &rHandler)
 
 SvXMLExport (const css::uno::Reference< css::uno::XComponentContext > &xContext, OUString const &implementationName, const OUString &rFileName, const css::uno::Reference< css::xml::sax::XDocumentHandler > &rHandler, const css::uno::Reference< css::frame::XModel > &, FieldUnit const eDefaultFieldUnit, SvXMLExportFlags nExportFlag)
 
virtual ~SvXMLExport () override
 
virtual void collectAutoStyles ()
 
virtual void SAL_CALL setSourceDocument (const css::uno::Reference< css::lang::XComponent > &xDoc) override
 
virtual sal_Bool SAL_CALL filter (const css::uno::Sequence< css::beans::PropertyValue > &aDescriptor) override
 
virtual void SAL_CALL cancel () override
 
virtual void SAL_CALL initialize (const css::uno::Sequence< css::uno::Any > &aArguments) override
 
virtual OUString SAL_CALL getName () override
 
virtual void SAL_CALL setName (const OUString &aName) override
 
virtual OUString SAL_CALL getImplementationName () final override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) final override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () final override
 
OUString EnsureNamespace (OUString const &i_rNamespace)
 
void CheckAttrList ()
 
void ClearAttrList ()
 
void AddAttribute (sal_uInt16 nPrefix, const OUString &rName, const OUString &rValue)
 
void AddAttribute (sal_uInt16 nPrefix, enum ::xmloff::token::XMLTokenEnum eName, const OUString &rValue)
 
void AddAttribute (sal_uInt16 nPrefix, enum ::xmloff::token::XMLTokenEnum eName, enum ::xmloff::token::XMLTokenEnum eValue)
 
void AddAttribute (const OUString &rQName, const OUString &rValue)
 
void AddAttribute (const OUString &rQName, enum ::xmloff::token::XMLTokenEnum eValue)
 
void AddLanguageTagAttributes (sal_uInt16 nPrefix, sal_uInt16 nPrefixRfc, const css::lang::Locale &rLocale, bool bWriteEmpty)
 
void AddLanguageTagAttributes (sal_uInt16 nPrefix, sal_uInt16 nPrefixRfc, const LanguageTag &rLanguageTag, bool bWriteEmpty)
 
void AddAttributeList (const css::uno::Reference< css::xml::sax::XAttributeList > &xAttrList)
 
SvXMLAttributeListGetAttrList ()
 
css::uno::Reference< css::xml::sax::XAttributeList > GetXAttrList () const
 
const css::uno::Reference< css::xml::sax::XDocumentHandler > & GetDocHandler () const
 
const OUString & GetOrigFileName () const
 
const SvXMLNamespaceMapGetNamespaceMap () const
 
size_t GetInfoID (const OUString sPersonalInfo) const
 
const SvXMLUnitConverterGetMM100UnitConverter () const
 
SvXMLUnitConverterGetMM100UnitConverter ()
 
void addChaffWhenEncryptedStorage ()
 
virtual ErrCode exportDoc (enum ::xmloff::token::XMLTokenEnum eClass=::xmloff::token::XML_TOKEN_INVALID)
 
void collectDataStyles (bool bFromUsedStyles)
 
virtual void addDataStyle (const sal_Int32 nNumberFormat, bool bTimeFormat=false)
 
virtual void exportDataStyles ()
 
virtual void exportAutoDataStyles ()
 
virtual OUString getDataStyleName (const sal_Int32 nNumberFormat, bool bTimeFormat=false) const
 
sal_Int32 dataStyleForceSystemLanguage (sal_Int32 nFormat) const
 
virtual void exportAnnotationMeta (const css::uno::Reference< css::drawing::XShape > &xShape)
 
const css::uno::Reference< css::frame::XModel > & GetModel () const
 
css::uno::Reference< css::util::XNumberFormatsSupplier > & GetNumberFormatsSupplier ()
 
void SetNumberFormatsSupplier (const css::uno::Reference< css::util::XNumberFormatsSupplier > &_xNumberFormatSupplier)
 
rtl::Reference< XMLTextParagraphExport > const & GetTextParagraphExport ()
 
rtl::Reference< XMLShapeExport > const & GetShapeExport ()
 
rtl::Reference< SvXMLAutoStylePoolP > const & GetAutoStylePool ()
 
rtl::Reference< XMLPageExport > const & GetPageExport ()
 
rtl::Reference< SchXMLExportHelper > const & GetChartExport ()
 
rtl::Reference< XMLFontAutoStylePool > const & GetFontAutoStylePool ()
 
ProgressBarHelperGetProgressBarHelper ()
 
rtl::Reference< xmloff::OFormLayerXMLExport > const & GetFormExport ()
 
bool HasFormExport () const
 
const css::uno::Reference< css::beans::XPropertySet > & getExportInfo () const
 
const css::uno::Reference< css::task::XStatusIndicator > & GetStatusIndicator () const
 
XMLEventExportGetEventExport ()
 
XMLImageMapExportGetImageMapExport ()
 
OUString AddEmbeddedXGraphic (css::uno::Reference< css::graphic::XGraphic > const &rxGraphic, OUString &rOutMimeType, OUString const &rRequestedName=OUString())
 
bool AddEmbeddedXGraphicAsBase64 (css::uno::Reference< css::graphic::XGraphic > const &rxGraphic)
 
bool GetGraphicMimeTypeFromStream (css::uno::Reference< css::graphic::XGraphic > const &rxGraphic, OUString &rOutMimeType)
 
OUString AddEmbeddedObject (const OUString &rEmbeddedObjectURL)
 
bool AddEmbeddedObjectAsBase64 (const OUString &rEmbeddedObjectURL)
 
OUString EncodeStyleName (const OUString &rName, bool *pEncoded=nullptr) const
 
bool IsSaveLinkedSections () const
 
SvXMLExportFlags getExportFlags () const
 
void ExportEmbeddedOwnObject (css::uno::Reference< css::lang::XComponent > const &rComp)
 
OUString GetRelativeReference (const OUString &rValue)
 
void StartElement (sal_uInt16 nPrefix, enum ::xmloff::token::XMLTokenEnum eName, bool bIgnWSOutside)
 
void StartElement (const OUString &rName, bool bIgnWSOutside)
 
void Characters (const OUString &rChars)
 
void EndElement (sal_uInt16 nPrefix, enum ::xmloff::token::XMLTokenEnum eName, bool bIgnWSInside)
 
void EndElement (const OUString &rName, bool bIgnWSInside)
 
void IgnorableWhitespace ()
 
void SetError (sal_Int32 nId, const css::uno::Sequence< OUString > &rMsgParams, const OUString &rExceptionMessage, const css::uno::Reference< css::xml::sax::XLocator > &rLocator)
 
void SetError (sal_Int32 nId, const css::uno::Sequence< OUString > &rMsgParams)
 
virtual void DisposingModel ()
 
::comphelper::UnoInterfaceToUniqueIdentifierMappergetInterfaceToIdentifierMapper ()
 
const css::uno::Reference< css::uno::XComponentContext > & getComponentContext () const
 
SvtModuleOptions::EFactory GetModelType () const
 
bool writeOutlineStyleAsNormalListStyle () const
 
css::uno::Reference< css::embed::XStorage > const & GetTargetStorage () const
 
char const * GetODFVersionAttributeValue () const
 
SvtSaveOptions::ODFSaneDefaultVersion getSaneDefaultVersion () const
 
void SAL_DLLPRIVATE AddAttributeIdLegacy (sal_uInt16 const nLegacyPrefix, OUString const &rValue)
 
void AddAttributeXmlId (css::uno::Reference< css::uno::XInterface > const &i_xIfc)
 
void AddAttributesRDFa (css::uno::Reference< css::text::XTextContent > const &i_xTextContent)
 
bool exportTextNumberElement () const
 
bool SetNullDateOnUnitConverter ()
 
OUString const & GetImageFilterName () const
 

Static Public Member Functions

static sal_Int16 GetMeasureUnit ()
 

Protected Member Functions

virtual SvXMLAutoStylePoolPCreateAutoStylePool () override
 
virtual XMLPageExportCreatePageExport () override
 
virtual XMLShapeExportCreateShapeExport () override
 
virtual XMLFontAutoStylePoolCreateFontAutoStylePool () override
 
- Protected Member Functions inherited from SvXMLExport
void setExportFlags (SvXMLExportFlags nExportFlags)
 
SvXMLNamespaceMapGetNamespaceMap_ ()
 
void ResetNamespaceMap ()
 
virtual void ExportMeta_ ()
 
virtual void ExportScripts_ ()
 
virtual void ExportFontDecls_ ()
 
virtual void ExportStyles_ (bool bUsed)
 
virtual void ExportAutoStyles_ ()=0
 
virtual void ExportMasterStyles_ ()=0
 
virtual void ExportContent_ ()=0
 
OUString const & GetSourceShellID () const
 
OUString const & GetDestinationShellID () const
 
virtual XMLTextParagraphExportCreateTextParagraphExport ()
 
virtual XMLShapeExportCreateShapeExport ()
 
virtual SvXMLAutoStylePoolPCreateAutoStylePool ()
 
SchXMLExportHelperCreateChartExport ()
 
virtual XMLPageExportCreatePageExport ()
 
virtual XMLFontAutoStylePoolCreateFontAutoStylePool ()
 
xmloff::OFormLayerXMLExportCreateFormExport ()
 
virtual void GetViewSettings (css::uno::Sequence< css::beans::PropertyValue > &aProps)
 
virtual void GetConfigurationSettings (css::uno::Sequence< css::beans::PropertyValue > &aProps)
 
virtual sal_Int32 GetDocumentSpecificSettings (::std::vector< SettingsGroup > &_out_rSettings)
 
const css::uno::Reference< css::document::XEmbeddedObjectResolver > & GetEmbeddedResolver () const
 
void SetEmbeddedResolver (css::uno::Reference< css::document::XEmbeddedObjectResolver > const &_xEmbeddedResolver)
 
const css::uno::Reference< css::document::XGraphicStorageHandler > & GetGraphicStorageHandler () const
 
void SetGraphicStorageHandler (css::uno::Reference< css::document::XGraphicStorageHandler > const &rxGraphicStorageHandler)
 
void SetDocHandler (const css::uno::Reference< css::xml::sax::XDocumentHandler > &rHandler)
 

Private Types

typedef std::unordered_map< sal_Int32, sal_Int32 > NumberFormatIndexMap
 

Private Member Functions

sal_Int32 GetNumberFormatStyleIndex (sal_Int32 nNumFmt) const
 
void CollectSharedData (SCTAB &nTableCount, sal_Int32 &nShapesCount)
 
void CollectShapesAutoStyles (SCTAB nTableCount)
 
void RegisterDefinedStyleNames (const css::uno::Reference< css::sheet::XSpreadsheetDocument > &xSpreadDoc)
 
virtual void ExportFontDecls_ () override
 
virtual void ExportStyles_ (bool bUsed) override
 
virtual void ExportAutoStyles_ () override
 
virtual void ExportMasterStyles_ () override
 
virtual void SetBodyAttributes () override
 
virtual void ExportContent_ () override
 
virtual void ExportMeta_ () override
 
void CollectInternalShape (css::uno::Reference< css::drawing::XShape > const &xShape)
 
void GetAreaLinks (ScMyAreaLinksContainer &rAreaLinks)
 
void GetDetectiveOpList (ScMyDetectiveOpContainer &rDetOp)
 
void WriteSingleColumn (const sal_Int32 nRepeatColumns, const sal_Int32 nStyleIndex, const sal_Int32 nIndex, const bool bIsAutoStyle, const bool bIsVisible)
 
void WriteColumn (const sal_Int32 nColumn, const sal_Int32 nRepeatColumns, const sal_Int32 nStyleIndex, const bool bIsVisible)
 
void OpenHeaderColumn ()
 
void CloseHeaderColumn ()
 
void ExportColumns (const sal_Int32 nTable, const ScRange &aColumnHeaderRange, const bool bHasColumnHeader)
 
void ExportExternalRefCacheStyles ()
 
void ExportCellTextAutoStyles (sal_Int32 nTable)
 
void ExportFormatRanges (const sal_Int32 nStartCol, const sal_Int32 nStartRow, const sal_Int32 nEndCol, const sal_Int32 nEndRow, const sal_Int32 nSheet)
 
void WriteRowContent ()
 
void WriteRowStartTag (const sal_Int32 nIndex, const sal_Int32 nEmptyRows, bool bHidden, bool bFiltered)
 
void OpenHeaderRows ()
 
void CloseHeaderRows ()
 
void OpenNewRow (const sal_Int32 nIndex, const sal_Int32 nStartRow, const sal_Int32 nEmptyRows, bool bHidden, bool bFiltered)
 
void OpenAndCloseRow (const sal_Int32 nIndex, const sal_Int32 nStartRow, const sal_Int32 nEmptyRows, bool bHidden, bool bFiltered)
 
void OpenRow (const sal_Int32 nTable, const sal_Int32 nStartRow, const sal_Int32 nRepeatRow, ScXMLCachedRowAttrAccess &rRowAttr)
 
void CloseRow (const sal_Int32 nRow)
 
void GetColumnRowHeader (bool &bHasColumnHeader, ScRange &aColumnHeaderRange, bool &bHasRowHeader, ScRange &aRowHeaderRange, OUString &rPrintRanges) const
 
void FillColumnRowGroups ()
 
bool GetMerged (const css::table::CellRangeAddress *pCellRange, const css::uno::Reference< css::sheet::XSpreadsheet > &xTable)
 
void WriteTable (sal_Int32 nTable, const css::uno::Reference< css::sheet::XSpreadsheet > &xTable)
 
void WriteCell (ScMyCell &aCell, sal_Int32 nEqualCellCount)
 
void WriteEditCell (const EditTextObject *pText)
 
void WriteMultiLineFormulaResult (const ScFormulaCell *pCell)
 
void WriteAreaLink (const ScMyCell &rMyCell)
 
void WriteAnnotation (const ScMyCell &rMyCell)
 
void WriteDetective (const ScMyCell &rMyCell)
 
void ExportShape (const css::uno::Reference< css::drawing::XShape > &xShape, css::awt::Point *pPoint)
 
void WriteShapes (const ScMyCell &rMyCell)
 
void WriteTableShapes ()
 
void SetRepeatAttribute (sal_Int32 nEqualCellCount, bool bIncProgress)
 
bool IsCellEqual (const ScMyCell &aCell1, const ScMyCell &aCell2)
 
void WriteCalculationSettings (const css::uno::Reference< css::sheet::XSpreadsheetDocument > &xSpreadDoc)
 
void WriteTableSource ()
 
void WriteScenario ()
 
void WriteTheLabelRanges (const css::uno::Reference< css::sheet::XSpreadsheetDocument > &xSpreadDoc)
 
void WriteLabelRanges (const css::uno::Reference< css::container::XIndexAccess > &xRangesIAccess, bool bColumn)
 
void WriteNamedExpressions ()
 
void WriteExternalDataMapping ()
 
void WriteExternalDataTransformations (const std::vector< std::shared_ptr< sc::DataTransformation > > &aDataTransformations)
 
void WriteDataStream ()
 
void WriteNamedRange (ScRangeName *pRangeName)
 
void exportSparklineGroups (SCTAB nTab)
 
void ExportConditionalFormat (SCTAB nTab)
 
void WriteExternalRefCaches ()
 
void WriteConsolidation ()
 
void CollectUserDefinedNamespaces (const SfxItemPool *pPool, sal_uInt16 nAttrib)
 
void AddStyleFromCells (const css::uno::Reference< css::beans::XPropertySet > &xProperties, const css::uno::Reference< css::sheet::XSpreadsheet > &xTable, sal_Int32 nTable, const OUString *pOldName)
 
void AddStyleFromColumn (const css::uno::Reference< css::beans::XPropertySet > &xColumnProperties, const OUString *pOldName, sal_Int32 &rIndex, bool &rIsVisible)
 
void AddStyleFromRow (const css::uno::Reference< css::beans::XPropertySet > &xRowProperties, const OUString *pOldName, sal_Int32 &rIndex)
 
void IncrementProgressBar (bool bFlush, sal_Int32 nInc=1)
 
void CopySourceStream (sal_Int32 nStartOffset, sal_Int32 nEndOffset, sal_Int32 &rNewStart, sal_Int32 &rNewEnd)
 
const ScXMLEditAttributeMapGetEditAttributeMap () const
 

Static Private Member Functions

static css::table::CellRangeAddress GetEndAddress (const css::uno::Reference< css::sheet::XSpreadsheet > &xTable)
 
static void FillFieldGroup (ScOutlineArray *pFields, ScMyOpenCloseColumnRowGroup *pGroups)
 
static bool IsEditCell (const ScMyCell &rCell)
 

Private Attributes

ScDocumentpDoc
 
css::uno::Reference< css::sheet::XSpreadsheet > xCurrentTable
 
css::uno::Reference< css::io::XInputStream > xSourceStream
 
sal_Int32 nSourceStreamPos
 
std::unique_ptr< ScXMLEditAttributeMapmpEditAttrMap
 
std::unique_ptr< ScMyNotEmptyCellsIteratormpCellsItr
 
std::unique_ptr< sc::CompileFormulaContextmpCompileFormulaCxt
 
rtl::Reference< XMLPropertyHandlerFactoryxScPropHdlFactory
 
rtl::Reference< XMLPropertySetMapperxCellStylesPropertySetMapper
 
rtl::Reference< XMLPropertySetMapperxColumnStylesPropertySetMapper
 
rtl::Reference< XMLPropertySetMapperxRowStylesPropertySetMapper
 
rtl::Reference< XMLPropertySetMapperxTableStylesPropertySetMapper
 
rtl::Reference< SvXMLExportPropertyMapperxCellStylesExportPropertySetMapper
 
rtl::Reference< SvXMLExportPropertyMapperxColumnStylesExportPropertySetMapper
 
rtl::Reference< SvXMLExportPropertyMapperxRowStylesExportPropertySetMapper
 
rtl::Reference< SvXMLExportPropertyMapperxTableStylesExportPropertySetMapper
 
std::unique_ptr< XMLNumberFormatAttributesExportHelperpNumberFormatAttributesExportHelper
 
NumberFormatIndexMap aNumFmtIndexMap
 
std::unique_ptr< ScMySharedDatapSharedData
 
std::unique_ptr< ScColumnStylespColumnStyles
 
std::unique_ptr< ScRowStylespRowStyles
 
std::unique_ptr< ScFormatRangeStylespCellStyles
 
std::unique_ptr< ScRowFormatRangespRowFormatRanges
 
std::vector< OUString > aTableStyles
 
ScRange aRowHeaderRange
 
std::unique_ptr< ScMyOpenCloseColumnRowGrouppGroupColumns
 
std::unique_ptr< ScMyOpenCloseColumnRowGrouppGroupRows
 
std::unique_ptr< ScMyDefaultStylespDefaults
 
const ScMyCellpCurrentCell
 
std::unique_ptr< ScMyMergedRangesContainerpMergedRangesContainer
 
std::unique_ptr< ScMyValidationsContainerpValidationsContainer
 
std::unique_ptr< ScChangeTrackingExportHelperpChangeTrackingExportHelper
 
OUString sExternalRefTabStyleName
 
OUString sAttrName
 
OUString sAttrStyleName
 
OUString sAttrColumnsRepeated
 
OUString sAttrFormula
 
OUString sAttrValueType
 
OUString sAttrStringValue
 
OUString sElemCell
 
OUString sElemCoveredCell
 
OUString sElemCol
 
OUString sElemRow
 
OUString sElemTab
 
OUString sElemP
 
sal_Int32 nOpenRow
 
sal_Int32 nProgressCount
 
sal_uInt16 nCurrentTable
 
bool bHasRowHeader
 
bool bRowHeaderOpen
 

Additional Inherited Members

- Protected Attributes inherited from SvXMLExport
bool mbSaveLinkedSections
 
bool mbAutoStylesCollected
 

Detailed Description

Definition at line 73 of file xmlexprt.hxx.

Member Typedef Documentation

◆ NumberFormatIndexMap

typedef std::unordered_map<sal_Int32, sal_Int32> ScXMLExport::NumberFormatIndexMap
private

Definition at line 94 of file xmlexprt.hxx.

Constructor & Destructor Documentation

◆ ScXMLExport()

ScXMLExport::ScXMLExport ( const css::uno::Reference< css::uno::XComponentContext > &  rContext,
OUString const &  implementationName,
SvXMLExportFlags  nExportFlag 
)

Definition at line 344 of file xmlexprt.cxx.

References aXMLScCellStylesProperties, aXMLScColumnStylesProperties, aXMLScRowStylesProperties, aXMLScTableStylesProperties, XMLTextParagraphExport::CreateParaExtPropMapper(), SvXMLExport::GetAutoStylePool(), SvXMLExport::getExportFlags(), SvXMLExport::GetNamespaceMap(), SvXMLNamespaceMap::GetQNameByKey(), GetXMLToken(), implementationName, mpCellsItr, pCellStyles, pColumnStyles, pDefaults, pGroupColumns, pGroupRows, pMergedRangesContainer, pRowFormatRanges, pRowStyles, pValidationsContainer, sAttrColumnsRepeated, sAttrFormula, sAttrName, sAttrStringValue, sAttrStyleName, sAttrValueType, sElemCell, sElemCol, sElemCoveredCell, sElemP, sElemRow, sElemTab, sExternalRefTabStyleName, xCellStylesExportPropertySetMapper, xCellStylesPropertySetMapper, xColumnStylesExportPropertySetMapper, xColumnStylesPropertySetMapper, XML_COVERED_TABLE_CELL, XML_FORMULA, XML_NAME, XML_NAMESPACE_OFFICE, XML_NAMESPACE_TABLE, XML_NAMESPACE_TEXT, XML_NUMBER_COLUMNS_REPEATED, XML_P, XML_SPREADSHEET, XML_STRING_VALUE, XML_STYLE_FAMILY_TABLE_CELL_STYLES_NAME, XML_STYLE_FAMILY_TABLE_CELL_STYLES_PREFIX, XML_STYLE_FAMILY_TABLE_COLUMN_STYLES_NAME, XML_STYLE_FAMILY_TABLE_COLUMN_STYLES_PREFIX, XML_STYLE_FAMILY_TABLE_ROW_STYLES_NAME, XML_STYLE_FAMILY_TABLE_ROW_STYLES_PREFIX, XML_STYLE_FAMILY_TABLE_TABLE_STYLES_NAME, XML_STYLE_FAMILY_TABLE_TABLE_STYLES_PREFIX, XML_STYLE_NAME, XML_TABLE, XML_TABLE_CELL, XML_TABLE_COLUMN, XML_TABLE_COLUMN_GROUP, XML_TABLE_ROW, XML_TABLE_ROW_GROUP, XML_VALUE_TYPE, xRowStylesExportPropertySetMapper, xRowStylesPropertySetMapper, xScPropHdlFactory, xTableStylesExportPropertySetMapper, and xTableStylesPropertySetMapper.

◆ ~ScXMLExport()

ScXMLExport::~ScXMLExport ( )
overridevirtual

Member Function Documentation

◆ AddStyleFromCells()

void ScXMLExport::AddStyleFromCells ( const css::uno::Reference< css::beans::XPropertySet > &  xProperties,
const css::uno::Reference< css::sheet::XSpreadsheet > &  xTable,
sal_Int32  nTable,
const OUString *  pOldName 
)
private

◆ AddStyleFromColumn()

void ScXMLExport::AddStyleFromColumn ( const css::uno::Reference< css::beans::XPropertySet > &  xColumnProperties,
const OUString *  pOldName,
sal_Int32 &  rIndex,
bool &  rIsVisible 
)
private

◆ AddStyleFromRow()

void ScXMLExport::AddStyleFromRow ( const css::uno::Reference< css::beans::XPropertySet > &  xRowProperties,
const OUString *  pOldName,
sal_Int32 &  rIndex 
)
private

◆ cancel()

void SAL_CALL ScXMLExport::cancel ( )
overridevirtual

Reimplemented from SvXMLExport.

Definition at line 5414 of file xmlexprt.cxx.

References SvXMLExport::cancel(), ScDocument::EnableIdle(), and pDoc.

◆ CloseHeaderColumn()

void ScXMLExport::CloseHeaderColumn ( )
private

Definition at line 776 of file xmlexprt.cxx.

References SvXMLExport::EndElement(), XML_NAMESPACE_TABLE, and XML_TABLE_HEADER_COLUMNS.

Referenced by ExportColumns().

◆ CloseHeaderRows()

void ScXMLExport::CloseHeaderRows ( )
private

Definition at line 1382 of file xmlexprt.cxx.

References SvXMLExport::EndElement(), XML_NAMESPACE_TABLE, and XML_TABLE_HEADER_ROWS.

Referenced by CloseRow(), and OpenNewRow().

◆ CloseRow()

void ScXMLExport::CloseRow ( const sal_Int32  nRow)
private

◆ collectAutoStyles()

void ScXMLExport::collectAutoStyles ( )
overridevirtual

separate method AddStyleFromTable needed?

separate method AddStyleFromNote needed?

separate method AddStyleFromText needed? cache sheet object

Reimplemented from SvXMLExport.

Definition at line 2228 of file xmlexprt.cxx.

References AddStyleFromCells(), AddStyleFromColumn(), AddStyleFromRow(), aTableStyles, ProgressBarHelper::ChangeReference(), ScAddress::Col(), SvXMLExport::collectAutoStyles(), CollectShapesAutoStyles(), CollectSharedData(), XMLTextParagraphExport::CreateCharExtPropMapper(), XMLShapeExport::CreateShapePropMapper(), ExportCellTextAutoStyles(), ExportExternalRefCacheStyles(), Filter, SvXMLExport::GetAutoStylePool(), ScSheetSaveData::GetCellStyles(), ScSheetSaveData::GetColumnStyles(), GetEndAddress(), SvXMLExport::getExportFlags(), ScDocument::GetLastChangedColFlagsWidth(), ScDocument::GetLastChangedRowFlagsWidth(), SvXMLExport::GetModel(), ScDocument::GetNextDifferentChangedColFlagsWidth(), ScDocument::GetNextDifferentChangedRowFlagsWidth(), ScDocument::GetNote(), ScSheetSaveData::GetNoteParaStyles(), ScSheetSaveData::GetNoteStyles(), ScSheetSaveData::GetNoteTextStyles(), ScPostIt::GetOrCreateCaption(), SvXMLExport::GetPageExport(), SvXMLExport::GetProgressBarHelper(), ScSheetSaveData::GetRowStyles(), SvXMLExport::GetShapeExport(), ScDocument::GetTableCount(), ScSheetSaveData::GetTableStyles(), SvXMLExport::GetTextParagraphExport(), ScSheetSaveData::GetTextStyles(), SdrObject::getUnoShape(), i, IncrementProgressBar(), ScDocument::InterpretDirtyCells(), ScDocument::IsStreamValid(), lcl_GetEnumerated(), ScDocument::MaxCol(), ScDocument::MaxRow(), SvXMLExport::mbAutoStylesCollected, nIndex, pCellStyles, pChangeTrackingExportHelper, pColumnStyles, pDoc, pRowStyles, pSharedData, RegisterDefinedStyleNames(), ScAddress::Row(), SvxUnoTextRangeBase::SetSelection(), sName, ScDocument::SyncColRowFlags(), ScAddress::Tab(), and xTableStylesExportPropertySetMapper.

Referenced by ExportAutoStyles_().

◆ CollectInternalShape()

void ScXMLExport::CollectInternalShape ( css::uno::Reference< css::drawing::XShape > const &  xShape)
private

◆ CollectShapesAutoStyles()

void ScXMLExport::CollectShapesAutoStyles ( SCTAB  nTableCount)
private

◆ CollectSharedData()

void ScXMLExport::CollectSharedData ( SCTAB nTableCount,
sal_Int32 &  nShapesCount 
)
private

◆ CollectUserDefinedNamespaces()

void ScXMLExport::CollectUserDefinedNamespaces ( const SfxItemPool pPool,
sal_uInt16  nAttrib 
)
private

◆ CopySourceStream()

void ScXMLExport::CopySourceStream ( sal_Int32  nStartOffset,
sal_Int32  nEndOffset,
sal_Int32 &  rNewStart,
sal_Int32 &  rNewEnd 
)
private

◆ CreateAutoStylePool()

SvXMLAutoStylePoolP * ScXMLExport::CreateAutoStylePool ( )
overrideprotectedvirtual

Reimplemented from SvXMLExport.

Definition at line 5119 of file xmlexprt.cxx.

◆ CreateFontAutoStylePool()

XMLFontAutoStylePool * ScXMLExport::CreateFontAutoStylePool ( )
overrideprotectedvirtual

Reimplemented from SvXMLExport.

Definition at line 142 of file xmlfonte.cxx.

References GetDocument(), and SvXMLExport::getExportFlags().

◆ CreatePageExport()

XMLPageExport * ScXMLExport::CreatePageExport ( )
overrideprotectedvirtual

Reimplemented from SvXMLExport.

Definition at line 5124 of file xmlexprt.cxx.

◆ CreateShapeExport()

XMLShapeExport * ScXMLExport::CreateShapeExport ( )
overrideprotectedvirtual

Reimplemented from SvXMLExport.

Definition at line 5269 of file xmlexprt.cxx.

◆ DisposingModel()

void ScXMLExport::DisposingModel ( )
overridevirtual

Reimplemented from SvXMLExport.

Definition at line 5436 of file xmlexprt.cxx.

References SvXMLExport::DisposingModel(), pDoc, and xCurrentTable.

◆ exportAnnotationMeta()

void ScXMLExport::exportAnnotationMeta ( const css::uno::Reference< css::drawing::XShape > &  xShape)
overridevirtual

◆ ExportAutoStyles_()

void ScXMLExport::ExportAutoStyles_ ( )
overrideprivatevirtual

◆ ExportCellTextAutoStyles()

void ScXMLExport::ExportCellTextAutoStyles ( sal_Int32  nTable)
private

◆ ExportColumns()

void ScXMLExport::ExportColumns ( const sal_Int32  nTable,
const ScRange aColumnHeaderRange,
const bool  bHasColumnHeader 
)
private

◆ ExportConditionalFormat()

void ScXMLExport::ExportConditionalFormat ( SCTAB  nTab)
private

Definition at line 4597 of file xmlexprt.cxx.

References AboveAverage, AboveEqualAverage, aBuffer, SvXMLExport::AddAttribute(), databar::AUTOMATIC, BeginsWith, BelowAverage, BelowEqualAverage, Between, Bottom10, BottomPercent, COL_LIGHTRED(), ScFormatEntry::Colorscale, COLORSCALE_FORMULA, ScFormatEntry::Condition, ContainsText, formula::FormulaGrammar::CONV_ODF, formula::FormulaGrammar::CONV_OOO, sax::Converter::convertColor(), ScFormatEntry::Databar, ScFormatEntry::Date, Direct, ScStyleNameConversion::DisplayToProgrammaticName(), Duplicate, ScIconSetFormatData::eIconSetType, ScConditionalFormatList::empty(), EndsWith, EqGreater, EqLess, Equal, Error, ScDocument::GetCondFormList(), ScDataBarFormat::GetDataBarData(), ScCondDateFormatEntry::GetDateType(), ScConditionEntry::GetExpression(), ScIconSetFormat::GetIconSetData(), ScIconSetFormat::getIconSetName(), ScConditionEntry::GetOperation(), ScConditionEntry::GetSrcPos(), ScRangeStringConverter::GetStringFromAddress(), ScRangeStringConverter::GetStringFromRangeList(), ScCondFormatEntry::GetStyle(), ScCondDateFormatEntry::GetStyleName(), ScFormatEntry::GetType(), formula::FormulaGrammar::GRAM_ODFF, Greater, i, ScFormatEntry::Iconset, Less, ScDataBarFormatData::maAxisColor, ScIconSetFormatData::maCustomVector, ScDataBarFormatData::maPositiveColor, ScIconSetFormatData::mbCustom, ScDataBarFormatData::mbGradient, ScDataBarFormatData::mbNeg, ScDataBarFormatData::mbOnlyBar, ScIconSetFormatData::mbShowValue, ScDataBarFormatData::meAxisPosition, ScDataBarFormatData::mnMaxLength, ScDataBarFormatData::mnMinLength, ScDataBarFormatData::mpLowerLimit, ScDataBarFormatData::mpUpperLimit, ScDataBarFormatData::mxNegativeColor, NoError, databar::NONE, NONE, NotBetween, NotContainsText, NotDuplicate, NotEqual, pDoc, SAL_WARN, sFormula, Top10, TopPercent, XML_APPLY_STYLE_NAME, XML_AXIS_COLOR, XML_AXIS_POSITION, XML_BASE_CELL_ADDRESS, XML_COLOR, XML_COLOR_SCALE, XML_COLOR_SCALE_ENTRY, XML_CONDITION, XML_CONDITIONAL_FORMAT, XML_CONDITIONAL_FORMATS, XML_CUSTOM, XML_CUSTOM_ICONSET, XML_CUSTOM_ICONSET_INDEX, XML_CUSTOM_ICONSET_NAME, XML_DATA_BAR, XML_DATE, XML_DATE_IS, XML_FALSE, XML_FORMATTING_ENTRY, XML_GRADIENT, XML_ICON_SET, XML_ICON_SET_TYPE, XML_MAX_LENGTH, XML_MIN_LENGTH, XML_NAMESPACE_CALC_EXT, XML_NEGATIVE_COLOR, XML_POSITIVE_COLOR, XML_SHOW_VALUE, XML_STYLE, XML_TARGET_RANGE_ADDRESS, XML_TYPE, and XML_VALUE.

Referenced by WriteTable().

◆ ExportContent_()

void ScXMLExport::ExportContent_ ( )
overrideprivatevirtual

◆ exportDoc()

ErrCode ScXMLExport::exportDoc ( enum ::xmloff::token::XMLTokenEnum  eClass = ::xmloff::token::XML_TOKEN_INVALID)
overridevirtual

◆ ExportExternalRefCacheStyles()

void ScXMLExport::ExportExternalRefCacheStyles ( )
private

◆ ExportFontDecls_()

void ScXMLExport::ExportFontDecls_ ( )
overrideprivatevirtual

Reimplemented from SvXMLExport.

Definition at line 658 of file xmlexprt.cxx.

References SvXMLExport::ExportFontDecls_(), and SvXMLExport::GetFontAutoStylePool().

◆ ExportFormatRanges()

void ScXMLExport::ExportFormatRanges ( const sal_Int32  nStartCol,
const sal_Int32  nStartRow,
const sal_Int32  nEndCol,
const sal_Int32  nEndRow,
const sal_Int32  nSheet 
)
private

Definition at line 1537 of file xmlexprt.cxx.

References CloseRow(), nOpenRow, OpenRow(), pCellStyles, pDoc, pRowFormatRanges, pSharedData, and WriteRowContent().

Referenced by WriteTable().

◆ ExportMasterStyles_()

void ScXMLExport::ExportMasterStyles_ ( )
overrideprivatevirtual

Implements SvXMLExport.

Definition at line 2672 of file xmlexprt.cxx.

References SvXMLExport::GetPageExport().

◆ ExportMeta_()

void ScXMLExport::ExportMeta_ ( )
overrideprivatevirtual

◆ ExportShape()

void ScXMLExport::ExportShape ( const css::uno::Reference< css::drawing::XShape > &  xShape,
css::awt::Point *  pPoint 
)
private

◆ exportSparklineGroups()

void ScXMLExport::exportSparklineGroups ( SCTAB  nTab)
private

Definition at line 4526 of file xmlexprt.cxx.

References sc::SparklineGroupsExport::write().

Referenced by WriteTable().

◆ ExportStyles_()

void ScXMLExport::ExportStyles_ ( bool  bUsed)
overrideprivatevirtual

◆ FillColumnRowGroups()

void ScXMLExport::FillColumnRowGroups ( )
private

◆ FillFieldGroup()

void ScXMLExport::FillFieldGroup ( ScOutlineArray pFields,
ScMyOpenCloseColumnRowGroup pGroups 
)
staticprivate

◆ filter()

sal_Bool SAL_CALL ScXMLExport::filter ( const css::uno::Sequence< css::beans::PropertyValue > &  aDescriptor)
overridevirtual

Reimplemented from SvXMLExport.

Definition at line 5403 of file xmlexprt.cxx.

References ScDocument::EnableIdle(), SvXMLExport::filter(), and pDoc.

◆ GetAreaLinks()

void ScXMLExport::GetAreaLinks ( ScMyAreaLinksContainer rAreaLinks)
private

◆ GetCellStylesPropertySetMapper()

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

◆ GetChangeTrackViewSettings()

void ScXMLExport::GetChangeTrackViewSettings ( css::uno::Sequence< css::beans::PropertyValue > &  rProps)

◆ GetColumnRowHeader()

void ScXMLExport::GetColumnRowHeader ( bool &  bHasColumnHeader,
ScRange aColumnHeaderRange,
bool &  bHasRowHeader,
ScRange aRowHeaderRange,
OUString &  rPrintRanges 
) const
private

Definition at line 1619 of file xmlexprt.cxx.

References ScRangeStringConverter::GetStringFromRangeList(), pDoc, and xCurrentTable.

Referenced by WriteTable().

◆ GetConfigurationSettings()

void ScXMLExport::GetConfigurationSettings ( css::uno::Sequence< css::beans::PropertyValue > &  rProps)
overridevirtual

◆ GetDetectiveOpList()

void ScXMLExport::GetDetectiveOpList ( ScMyDetectiveOpContainer rDetOp)
private

◆ GetDocument() [1/2]

ScDocument * ScXMLExport::GetDocument ( )
inline

◆ GetDocument() [2/2]

const ScDocument * ScXMLExport::GetDocument ( ) const
inline

Definition at line 241 of file xmlexprt.hxx.

References pDoc.

◆ GetEditAttributeMap()

const ScXMLEditAttributeMap & ScXMLExport::GetEditAttributeMap ( ) const
private

Definition at line 1849 of file xmlexprt.cxx.

References mpEditAttrMap.

Referenced by ExportCellTextAutoStyles(), and WriteEditCell().

◆ GetEndAddress()

table::CellRangeAddress ScXMLExport::GetEndAddress ( const css::uno::Reference< css::sheet::XSpreadsheet > &  xTable)
staticprivate

Definition at line 664 of file xmlexprt.cxx.

Referenced by collectAutoStyles(), and WriteTable().

◆ GetMeasureUnit()

sal_Int16 ScXMLExport::GetMeasureUnit ( )
static

◆ GetMerged()

bool ScXMLExport::GetMerged ( const css::table::CellRangeAddress *  pCellRange,
const css::uno::Reference< css::sheet::XSpreadsheet > &  xTable 
)
private

◆ GetNumberFormatAttributesExportHelper()

XMLNumberFormatAttributesExportHelper * ScXMLExport::GetNumberFormatAttributesExportHelper ( )

◆ GetNumberFormatStyleIndex()

sal_Int32 ScXMLExport::GetNumberFormatStyleIndex ( sal_Int32  nNumFmt) const
private

Definition at line 471 of file xmlexprt.cxx.

References aNumFmtIndexMap.

Referenced by WriteExternalRefCaches().

◆ GetSharedData()

ScMySharedData * ScXMLExport::GetSharedData ( )
inline

◆ getSomething()

sal_Int64 SAL_CALL ScXMLExport::getSomething ( const css::uno::Sequence< sal_Int8 > &  aIdentifier)
overridevirtual

Definition at line 5430 of file xmlexprt.cxx.

◆ GetTableStylesPropertySetMapper()

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

Definition at line 246 of file xmlexprt.hxx.

References xTableStylesPropertySetMapper.

Referenced by ScXMLAutoStylePoolP::exportStyleAttributes().

◆ GetViewSettings()

void ScXMLExport::GetViewSettings ( css::uno::Sequence< css::beans::PropertyValue > &  rProps)
overridevirtual

◆ IncrementProgressBar()

void ScXMLExport::IncrementProgressBar ( bool  bFlush,
sal_Int32  nInc = 1 
)
private

◆ initialize()

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

Reimplemented from SvXMLExport.

Definition at line 5423 of file xmlexprt.cxx.

References aArguments, and SvXMLExport::initialize().

◆ IsCellEqual()

bool ScXMLExport::IsCellEqual ( const ScMyCell aCell1,
const ScMyCell aCell2 
)
private

◆ IsEditCell()

bool ScXMLExport::IsEditCell ( const ScMyCell rCell)
staticprivate

Definition at line 3795 of file xmlexprt.cxx.

References CELLTYPE_EDIT, ScRefCellValue::getType(), and ScMyCell::maBaseCell.

Referenced by IsCellEqual().

◆ IsMatrix()

bool ScXMLExport::IsMatrix ( const ScAddress aCell,
ScRange aCellAddress,
bool &  bIsFirst 
) const

◆ OpenAndCloseRow()

void ScXMLExport::OpenAndCloseRow ( const sal_Int32  nIndex,
const sal_Int32  nStartRow,
const sal_Int32  nEmptyRows,
bool  bHidden,
bool  bFiltered 
)
private

Definition at line 1422 of file xmlexprt.cxx.

References CloseRow(), nIndex, OpenNewRow(), pRowFormatRanges, and WriteRowContent().

Referenced by OpenRow().

◆ OpenHeaderColumn()

void ScXMLExport::OpenHeaderColumn ( )
private

Definition at line 771 of file xmlexprt.cxx.

References SvXMLExport::StartElement(), XML_NAMESPACE_TABLE, and XML_TABLE_HEADER_COLUMNS.

Referenced by ExportColumns().

◆ OpenHeaderRows()

void ScXMLExport::OpenHeaderRows ( )
private

◆ OpenNewRow()

void ScXMLExport::OpenNewRow ( const sal_Int32  nIndex,
const sal_Int32  nStartRow,
const sal_Int32  nEmptyRows,
bool  bHidden,
bool  bFiltered 
)
private

◆ OpenRow()

void ScXMLExport::OpenRow ( const sal_Int32  nTable,
const sal_Int32  nStartRow,
const sal_Int32  nRepeatRow,
ScXMLCachedRowAttrAccess rRowAttr 
)
private

◆ RegisterDefinedStyleNames()

void ScXMLExport::RegisterDefinedStyleNames ( const css::uno::Reference< css::sheet::XSpreadsheetDocument > &  xSpreadDoc)
private

◆ ReleaseSharedData()

std::unique_ptr< ScMySharedData > ScXMLExport::ReleaseSharedData ( )

Definition at line 5445 of file xmlexprt.cxx.

References pSharedData.

Referenced by ScXMLImportWrapper::ExportToComponent().

◆ SetBodyAttributes()

void ScXMLExport::SetBodyAttributes ( )
overrideprivatevirtual

◆ SetRepeatAttribute()

void ScXMLExport::SetRepeatAttribute ( sal_Int32  nEqualCellCount,
bool  bIncProgress 
)
private

Definition at line 3782 of file xmlexprt.cxx.

References SvXMLExport::AddAttribute(), IncrementProgressBar(), and sAttrColumnsRepeated.

Referenced by WriteCell().

◆ SetSharedData()

void ScXMLExport::SetSharedData ( std::unique_ptr< ScMySharedData pTemp)

Definition at line 5443 of file xmlexprt.cxx.

References pSharedData.

Referenced by ScXMLImportWrapper::ExportToComponent().

◆ setSourceDocument()

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

◆ SetSourceStream()

void ScXMLExport::SetSourceStream ( const css::uno::Reference< css::io::XInputStream > &  xNewStream)

◆ WriteAnnotation()

void ScXMLExport::WriteAnnotation ( const ScMyCell rMyCell)
private

◆ WriteAreaLink()

void ScXMLExport::WriteAreaLink ( const ScMyCell rMyCell)
private

◆ WriteCalculationSettings()

void ScXMLExport::WriteCalculationSettings ( const css::uno::Reference< css::sheet::XSpreadsheetDocument > &  xSpreadDoc)
private

◆ WriteCell()

void ScXMLExport::WriteCell ( ScMyCell aCell,
sal_Int32  nEqualCellCount 
)
private

Definition at line 3122 of file xmlexprt.cxx.

References SvXMLExport::AddAttribute(), ScRange::aEnd, ScMyCell::aMatrixRange, ScMyCell::aMergeRange, ScRange::aStart, ScMyCell::bIsAutoStyle, ScMyCell::bIsCovered, ScMyCell::bIsMatrixBase, ScMyCell::bIsMatrixCovered, ScMyCell::bIsMergedBase, CELLTYPE_EDIT, CELLTYPE_FORMULA, SvXMLExport::CheckAttrList(), ScAddress::Col(), XMLNumberFormatAttributesExportHelper::GetCellType(), ScRefCellValue::getDouble(), ScRefCellValue::getEditText(), ScFormulaCell::GetErrCode(), ScRefCellValue::getFormula(), ScFormulaCell::GetFormula(), SvXMLExport::GetNamespaceMap(), GetNumberFormatAttributesExportHelper(), ScCellFormat::GetOutputString(), SvXMLExport::getSaneDefaultVersion(), ScDocument::GetStorageGrammar(), ScRefCellValue::getString(), SvXMLExport::GetTextParagraphExport(), ScRefCellValue::getType(), ScDocument::GetValue(), formula::FormulaGrammar::GRAM_ODFF, IncrementProgressBar(), ScFormulaCell::IsMultilineResult(), ScFormulaCell::IsValue(), ScMyCell::maBaseCell, ScMyCell::maCellAddress, mpCompileFormulaCxt, ScMyCell::nNumberFormat, ScMyCell::nStyleIndex, ScMyCell::nType, ScMyCell::nValidationIndex, SvtSaveOptions::ODFSVER_EXTENDED, pCellStyles, pDoc, pValidationsContainer, ScAddress::Row(), sAttrFormula, sAttrStringValue, sAttrStyleName, sAttrValueType, sElemCell, sElemCoveredCell, sElemP, XMLNumberFormatAttributesExportHelper::SetNumberFormatAttributes(), SetRepeatAttribute(), WriteAnnotation(), WriteAreaLink(), WriteDetective(), WriteEditCell(), WriteMultiLineFormulaResult(), WriteShapes(), XML_CONTENT_VALIDATION_NAME, XML_NAMESPACE_CALC_EXT, XML_NAMESPACE_OF, XML_NAMESPACE_OOOC, XML_NAMESPACE_TABLE, XML_NUMBER_COLUMNS_SPANNED, XML_NUMBER_MATRIX_COLUMNS_SPANNED, XML_NUMBER_MATRIX_ROWS_SPANNED, XML_NUMBER_ROWS_SPANNED, XML_STRING, and XML_VALUE_TYPE.

Referenced by WriteTable().

◆ WriteColumn()

void ScXMLExport::WriteColumn ( const sal_Int32  nColumn,
const sal_Int32  nRepeatColumns,
const sal_Int32  nStyleIndex,
const bool  bIsVisible 
)
private

Definition at line 749 of file xmlexprt.cxx.

References i, pDefaults, and WriteSingleColumn().

Referenced by ExportColumns().

◆ WriteConsolidation()

void ScXMLExport::WriteConsolidation ( )
private

◆ WriteDataStream()

void ScXMLExport::WriteDataStream ( )
private

◆ WriteDetective()

void ScXMLExport::WriteDetective ( const ScMyCell rMyCell)
private

◆ WriteEditCell()

void ScXMLExport::WriteEditCell ( const EditTextObject pText)
private

◆ WriteExternalDataMapping()

void ScXMLExport::WriteExternalDataMapping ( )
private

◆ WriteExternalDataTransformations()

void ScXMLExport::WriteExternalDataTransformations ( const std::vector< std::shared_ptr< sc::DataTransformation > > &  aDataTransformations)
private

Definition at line 4127 of file xmlexprt.cxx.

References sc::ABSOLUTE, SvXMLExport::AddAttribute(), sc::AGGREGATE_FUNCTION, sc::AVERAGE, sc::CAPITALIZE, sc::CUBE, sc::DATE_STRING, sc::DATETIME_TRANSFORMATION, sc::DAY, sc::DAY_OF_WEEK, sc::DAY_OF_YEAR, sc::DELETE_TRANSFORMATION, sc::END_OF_MONTH, sc::END_OF_QUARTER, sc::END_OF_YEAR, sc::EXPONENT, sc::DocumentLinkManager::getDataStream(), ScDocument::GetDocLinkManager(), sc::DataStream::GetRange(), sc::HOUR, sc::IS_EVEN, sc::IS_ODD, sc::LOG_10, sc::LOG_E, sc::MAX, sc::MERGE_TRANSFORMATION, sc::MIN, sc::MINUTE, sc::MONTH, sc::MONTH_NAME, sc::NUMBER_TRANSFORMATION, pDoc, sc::QUARTER, sc::REMOVE_NULL_TRANSFORMATION, sc::ROUND, sc::ROUND_DOWN, sc::ROUND_UP, sc::SECOND, sc::SIGN, sc::SORT_TRANSFORMATION, sc::SPLIT_TRANSFORMATION, sc::SQUARE, sc::SQUARE_ROOT, sc::START_OF_MONTH, sc::START_OF_QUARTER, sc::START_OF_YEAR, sc::SUM, sc::TEXT_TRANSFORMATION, sc::TIME, sc::TO_LOWER, sc::TO_UPPER, sc::TRIM, writeSort(), XML_ABS, XML_AVERAGE, XML_CASEMAP_CAPITALIZE, XML_CASEMAP_LOWERCASE, XML_CASEMAP_UPPERCASE, XML_COLUMN, XML_COLUMN_AGGREGATE_TRANSFORMATION, XML_COLUMN_DATETIME_TRANSFORMATION, XML_COLUMN_MERGE_TRANSFORMATION, XML_COLUMN_NUMBER_TRANSFORMATION, XML_COLUMN_REMOVE_TRANSFORMATION, XML_COLUMN_REPLACENULL_TRANSFORMATION, XML_COLUMN_SORT_TRANSFORMATION, XML_COLUMN_SPLIT_TRANSFORMATION, XML_COLUMN_TEXT_TRANSFORMATION, XML_CUBE, XML_DATA_TRANSFORMATIONS, XML_DATE_STRING, XML_DAY, XML_DAY_OF_WEEK, XML_DAY_OF_YEAR, XML_END_OF_MONTH, XML_END_OF_QUARTER, XML_END_OF_YEAR, XML_EVEN, XML_EXPONENTIAL, XML_HOUR, XML_LOG, XML_LOG_10, XML_MAX, XML_MERGE_STRING, XML_MIN, XML_MINUTE, XML_MONTH, XML_MONTH_NAME, XML_NAMESPACE_CALC_EXT, XML_ODD, XML_PRECISION, XML_QUARTER, XML_REPLACE_STRING, XML_ROUND, XML_ROUND_DOWN, XML_ROUND_UP, XML_SECONDS, XML_SEPARATOR, XML_SIGN, XML_SQUARE, XML_SQUARE_ROOT, XML_START_OF_MONTH, XML_START_OF_QUARTER, XML_START_OF_YEAR, XML_SUM, XML_TIME, XML_TRIM, XML_TYPE, XML_YEAR, and sc::YEAR.

Referenced by WriteExternalDataMapping().

◆ WriteExternalRefCaches()

void ScXMLExport::WriteExternalRefCaches ( )
private

◆ WriteLabelRanges()

void ScXMLExport::WriteLabelRanges ( const css::uno::Reference< css::container::XIndexAccess > &  xRangesIAccess,
bool  bColumn 
)
private

◆ WriteMultiLineFormulaResult()

void ScXMLExport::WriteMultiLineFormulaResult ( const ScFormulaCell pCell)
private

◆ WriteNamedExpressions()

void ScXMLExport::WriteNamedExpressions ( )
private

Definition at line 4089 of file xmlexprt.cxx.

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

Referenced by ExportContent_().

◆ WriteNamedRange()

void ScXMLExport::WriteNamedRange ( ScRangeName pRangeName)
private

◆ WriteRowContent()

void ScXMLExport::WriteRowContent ( )
private

◆ WriteRowStartTag()

void ScXMLExport::WriteRowStartTag ( const sal_Int32  nIndex,
const sal_Int32  nEmptyRows,
bool  bHidden,
bool  bFiltered 
)
private

◆ WriteScenario()

void ScXMLExport::WriteScenario ( )
private

◆ WriteShapes()

void ScXMLExport::WriteShapes ( const ScMyCell rMyCell)
private

◆ WriteSingleColumn()

void ScXMLExport::WriteSingleColumn ( const sal_Int32  nRepeatColumns,
const sal_Int32  nStyleIndex,
const sal_Int32  nIndex,
const bool  bIsAutoStyle,
const bool  bIsVisible 
)
private

◆ WriteTable()

void ScXMLExport::WriteTable ( sal_Int32  nTable,
const css::uno::Reference< css::sheet::XSpreadsheet > &  xTable 
)
private

Definition at line 2788 of file xmlexprt.cxx.

References aBuffer, SvXMLExport::AddAttribute(), ScRange::aEnd, aRowHeaderRange, aTableStyles, bHasRowHeader, bRowHeaderOpen, SvXMLExport::CheckAttrList(), CloseRow(), ScAddress::Col(), ScTableProtection::DELETE_COLUMNS, ScTableProtection::DELETE_ROWS, ScRangeName::empty(), comphelper::Base64::encode(), ExportColumns(), ExportConditionalFormat(), XMLEventExport::ExportExt(), ExportFormatRanges(), exportSparklineGroups(), FillColumnRowGroups(), GetColumnRowHeader(), GetEndAddress(), SvXMLExport::GetEventExport(), SvXMLExport::GetFormExport(), ScPassHashHelper::getHashURI(), SvXMLExport::GetNamespaceMap(), ScTableProtection::getPasswordHash(), SvXMLNamespaceMap::GetQNameByKey(), ScDocument::GetRangeName(), SvXMLExport::getSaneDefaultVersion(), SvXMLExport::GetShapeExport(), ScDocument::GetSheetEvents(), ScDocument::GetTabProtection(), GetXMLToken(), ScTableProtection::hasPasswordHash(), ScTableProtection::INSERT_COLUMNS, ScTableProtection::INSERT_ROWS, IsCellEqual(), ScTableProtection::isOptionEnabled(), ScDocument::IsPrintEntireSheet(), ScTableProtection::isProtected(), ScMyCell::maCellAddress, mpCellsItr, nCurrentTable, SvtSaveOptions::ODFSVER_012, SvtSaveOptions::ODFSVER_EXTENDED, PASSHASH_SHA1, PASSHASH_SHA256, PASSHASH_UNSPECIFIED, PASSHASH_XL, pCellStyles, pDefaults, pDoc, pGroupColumns, pGroupRows, pRowFormatRanges, pSharedData, ScAddress::Row(), sAttrName, sAttrStyleName, ScTableProtection::SELECT_LOCKED_CELLS, ScTableProtection::SELECT_UNLOCKED_CELLS, sElemTab, WriteCell(), WriteNamedRange(), WriteScenario(), WriteTableShapes(), WriteTableSource(), xCurrentTable, XML_DELETE_COLUMNS, XML_DELETE_ROWS, XML_FALSE, XML_INSERT_COLUMNS, XML_INSERT_ROWS, XML_NAMESPACE_LO_EXT, XML_NAMESPACE_TABLE, XML_PRINT, XML_PRINT_RANGES, XML_PROTECTED, XML_PROTECTION_KEY, XML_PROTECTION_KEY_DIGEST_ALGORITHM, XML_PROTECTION_KEY_DIGEST_ALGORITHM_2, XML_SELECT_PROTECTED_CELLS, XML_SELECT_UNPROTECTED_CELLS, XML_TABLE_PROTECTION, and XML_TRUE.

Referenced by ExportContent_().

◆ WriteTableShapes()

void ScXMLExport::WriteTableShapes ( )
private

◆ WriteTableSource()

void ScXMLExport::WriteTableSource ( )
private

◆ WriteTheLabelRanges()

void ScXMLExport::WriteTheLabelRanges ( const css::uno::Reference< css::sheet::XSpreadsheetDocument > &  xSpreadDoc)
private

Member Data Documentation

◆ aNumFmtIndexMap

NumberFormatIndexMap ScXMLExport::aNumFmtIndexMap
private

Definition at line 95 of file xmlexprt.hxx.

Referenced by ExportExternalRefCacheStyles(), and GetNumberFormatStyleIndex().

◆ aRowHeaderRange

ScRange ScXMLExport::aRowHeaderRange
private

Definition at line 102 of file xmlexprt.hxx.

Referenced by CloseRow(), OpenNewRow(), OpenRow(), and WriteTable().

◆ aTableStyles

std::vector<OUString> ScXMLExport::aTableStyles
private

Definition at line 101 of file xmlexprt.hxx.

Referenced by collectAutoStyles(), and WriteTable().

◆ bHasRowHeader

bool ScXMLExport::bHasRowHeader
private

Definition at line 127 of file xmlexprt.hxx.

Referenced by CloseRow(), OpenNewRow(), OpenRow(), and WriteTable().

◆ bRowHeaderOpen

bool ScXMLExport::bRowHeaderOpen
private

Definition at line 128 of file xmlexprt.hxx.

Referenced by CloseRow(), OpenHeaderRows(), OpenNewRow(), and WriteTable().

◆ mpCellsItr

std::unique_ptr<ScMyNotEmptyCellsIterator> ScXMLExport::mpCellsItr
private

Definition at line 82 of file xmlexprt.hxx.

Referenced by ExportContent_(), ScXMLExport(), and WriteTable().

◆ mpCompileFormulaCxt

std::unique_ptr<sc::CompileFormulaContext> ScXMLExport::mpCompileFormulaCxt
private

Definition at line 83 of file xmlexprt.hxx.

Referenced by WriteCell().

◆ mpEditAttrMap

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

Definition at line 81 of file xmlexprt.hxx.

Referenced by GetEditAttributeMap().

◆ nCurrentTable

sal_uInt16 ScXMLExport::nCurrentTable
private

◆ nOpenRow

sal_Int32 ScXMLExport::nOpenRow
private

Definition at line 124 of file xmlexprt.hxx.

Referenced by CloseRow(), ExportFormatRanges(), OpenNewRow(), and OpenRow().

◆ nProgressCount

sal_Int32 ScXMLExport::nProgressCount
private

Definition at line 125 of file xmlexprt.hxx.

Referenced by IncrementProgressBar().

◆ nSourceStreamPos

sal_Int32 ScXMLExport::nSourceStreamPos
private

Definition at line 79 of file xmlexprt.hxx.

Referenced by CopySourceStream(), and SetSourceStream().

◆ pCellStyles

std::unique_ptr<ScFormatRangeStyles> ScXMLExport::pCellStyles
private

◆ pChangeTrackingExportHelper

std::unique_ptr<ScChangeTrackingExportHelper> ScXMLExport::pChangeTrackingExportHelper
private

Definition at line 110 of file xmlexprt.hxx.

Referenced by collectAutoStyles(), ExportContent_(), setSourceDocument(), and ~ScXMLExport().

◆ pColumnStyles

std::unique_ptr<ScColumnStyles> ScXMLExport::pColumnStyles
private

◆ pCurrentCell

const ScMyCell* ScXMLExport::pCurrentCell
private

Definition at line 106 of file xmlexprt.hxx.

Referenced by exportAnnotationMeta(), and WriteAnnotation().

◆ pDefaults

std::unique_ptr<ScMyDefaultStyles> ScXMLExport::pDefaults
private

Definition at line 105 of file xmlexprt.hxx.

Referenced by ScXMLExport(), WriteColumn(), WriteTable(), and ~ScXMLExport().

◆ pDoc

ScDocument* ScXMLExport::pDoc
private

◆ pGroupColumns

std::unique_ptr<ScMyOpenCloseColumnRowGroup> ScXMLExport::pGroupColumns
private

◆ pGroupRows

std::unique_ptr<ScMyOpenCloseColumnRowGroup> ScXMLExport::pGroupRows
private

◆ pMergedRangesContainer

std::unique_ptr<ScMyMergedRangesContainer> ScXMLExport::pMergedRangesContainer
private

Definition at line 108 of file xmlexprt.hxx.

Referenced by ExportContent_(), GetMerged(), ScXMLExport(), and ~ScXMLExport().

◆ pNumberFormatAttributesExportHelper

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

Definition at line 93 of file xmlexprt.hxx.

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

◆ pRowFormatRanges

std::unique_ptr<ScRowFormatRanges> ScXMLExport::pRowFormatRanges
private

◆ pRowStyles

std::unique_ptr<ScRowStyles> ScXMLExport::pRowStyles
private

◆ pSharedData

std::unique_ptr<ScMySharedData> ScXMLExport::pSharedData
private

◆ pValidationsContainer

std::unique_ptr<ScMyValidationsContainer> ScXMLExport::pValidationsContainer
private

◆ sAttrColumnsRepeated

OUString ScXMLExport::sAttrColumnsRepeated
private

Definition at line 114 of file xmlexprt.hxx.

Referenced by ScXMLExport(), SetRepeatAttribute(), WriteRowContent(), and WriteSingleColumn().

◆ sAttrFormula

OUString ScXMLExport::sAttrFormula
private

Definition at line 115 of file xmlexprt.hxx.

Referenced by ScXMLExport(), and WriteCell().

◆ sAttrName

OUString ScXMLExport::sAttrName
private

Definition at line 112 of file xmlexprt.hxx.

Referenced by ScXMLExport(), WriteNamedRange(), and WriteTable().

◆ sAttrStringValue

OUString ScXMLExport::sAttrStringValue
private

Definition at line 117 of file xmlexprt.hxx.

Referenced by ScXMLExport(), and WriteCell().

◆ sAttrStyleName

OUString ScXMLExport::sAttrStyleName
private

◆ sAttrValueType

OUString ScXMLExport::sAttrValueType
private

Definition at line 116 of file xmlexprt.hxx.

Referenced by ScXMLExport(), and WriteCell().

◆ sElemCell

OUString ScXMLExport::sElemCell
private

Definition at line 118 of file xmlexprt.hxx.

Referenced by ScXMLExport(), WriteCell(), and WriteRowContent().

◆ sElemCol

OUString ScXMLExport::sElemCol
private

Definition at line 120 of file xmlexprt.hxx.

Referenced by ScXMLExport(), and WriteSingleColumn().

◆ sElemCoveredCell

OUString ScXMLExport::sElemCoveredCell
private

Definition at line 119 of file xmlexprt.hxx.

Referenced by ScXMLExport(), and WriteCell().

◆ sElemP

OUString ScXMLExport::sElemP
private

Definition at line 123 of file xmlexprt.hxx.

Referenced by ScXMLExport(), and WriteCell().

◆ sElemRow

OUString ScXMLExport::sElemRow
private

Definition at line 121 of file xmlexprt.hxx.

Referenced by CloseRow(), ScXMLExport(), and WriteRowStartTag().

◆ sElemTab

OUString ScXMLExport::sElemTab
private

Definition at line 122 of file xmlexprt.hxx.

Referenced by ScXMLExport(), and WriteTable().

◆ sExternalRefTabStyleName

OUString ScXMLExport::sExternalRefTabStyleName
private

Definition at line 111 of file xmlexprt.hxx.

Referenced by ExportAutoStyles_(), ScXMLExport(), and WriteExternalRefCaches().

◆ xCellStylesExportPropertySetMapper

rtl::Reference< SvXMLExportPropertyMapper > ScXMLExport::xCellStylesExportPropertySetMapper
private

Definition at line 89 of file xmlexprt.hxx.

Referenced by AddStyleFromCells(), ExportStyles_(), and ScXMLExport().

◆ xCellStylesPropertySetMapper

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

Definition at line 85 of file xmlexprt.hxx.

Referenced by AddStyleFromCells(), GetCellStylesPropertySetMapper(), and ScXMLExport().

◆ xColumnStylesExportPropertySetMapper

rtl::Reference< SvXMLExportPropertyMapper > ScXMLExport::xColumnStylesExportPropertySetMapper
private

Definition at line 90 of file xmlexprt.hxx.

Referenced by AddStyleFromColumn(), and ScXMLExport().

◆ xColumnStylesPropertySetMapper

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

Definition at line 86 of file xmlexprt.hxx.

Referenced by ScXMLExport().

◆ xCurrentTable

css::uno::Reference<css::sheet::XSpreadsheet> ScXMLExport::xCurrentTable
private

Definition at line 76 of file xmlexprt.hxx.

Referenced by DisposingModel(), GetColumnRowHeader(), WriteTable(), and WriteTableSource().

◆ xRowStylesExportPropertySetMapper

rtl::Reference< SvXMLExportPropertyMapper > ScXMLExport::xRowStylesExportPropertySetMapper
private

Definition at line 91 of file xmlexprt.hxx.

Referenced by AddStyleFromRow(), exportDoc(), and ScXMLExport().

◆ xRowStylesPropertySetMapper

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

Definition at line 87 of file xmlexprt.hxx.

Referenced by exportDoc(), and ScXMLExport().

◆ xScPropHdlFactory

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

Definition at line 84 of file xmlexprt.hxx.

Referenced by exportDoc(), and ScXMLExport().

◆ xSourceStream

css::uno::Reference<css::io::XInputStream> ScXMLExport::xSourceStream
private

Definition at line 78 of file xmlexprt.hxx.

Referenced by CopySourceStream(), ExportContent_(), and SetSourceStream().

◆ xTableStylesExportPropertySetMapper

rtl::Reference< SvXMLExportPropertyMapper > ScXMLExport::xTableStylesExportPropertySetMapper
private

Definition at line 92 of file xmlexprt.hxx.

Referenced by collectAutoStyles(), and ScXMLExport().

◆ xTableStylesPropertySetMapper

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

Definition at line 88 of file xmlexprt.hxx.

Referenced by GetTableStylesPropertySetMapper(), and ScXMLExport().


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