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 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 AddAttributeASCII (sal_uInt16 nPrefix, const char *pName, const char *pValue)
 
void AddAttribute (sal_uInt16 nPrefix, const char *pName, const OUString &rValue)
 
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 css::uno::Reference< css::xml::sax::XDocumentHandler > & GetDocHandler () const
 
const OUString & GetOrigFileName () const
 
const SvXMLNamespaceMapGetNamespaceMap () const
 
const SvXMLUnitConverterGetMM100UnitConverter () const
 
SvXMLUnitConverterGetMM100UnitConverter ()
 
void addChaffWhenEncryptedStorage ()
 
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
 
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)
 
::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 ExportScripts_ ()
 
OUString const & GetSourceShellID () const
 
OUString const & GetDestinationShellID () const
 
virtual XMLTextParagraphExportCreateTextParagraphExport ()
 
SchXMLExportHelperCreateChartExport ()
 
xmloff::OFormLayerXMLExportCreateFormExport ()
 
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 (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 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 74 of file xmlexprt.hxx.

Member Typedef Documentation

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

Definition at line 95 of file xmlexprt.hxx.

Constructor & Destructor Documentation

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

Definition at line 341 of file xmlexprt.cxx.

References aXMLScCellStylesProperties, aXMLScColumnStylesProperties, aXMLScRowStylesProperties, aXMLScTableStylesProperties, XMLTextParagraphExport::CreateParaExtPropMapper(), SvXMLExport::GetAutoStylePool(), SvXMLExport::getExportFlags(), SvXMLExport::GetNamespaceMap(), SvXMLNamespaceMap::GetQNameByKey(), GetXMLToken(), 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 ( )
overridevirtual

Member Function Documentation

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
void ScXMLExport::AddStyleFromColumn ( const css::uno::Reference< css::beans::XPropertySet > &  xColumnProperties,
const OUString *  pOldName,
sal_Int32 &  rIndex,
bool &  rIsVisible 
)
private
void ScXMLExport::AddStyleFromRow ( const css::uno::Reference< css::beans::XPropertySet > &  xRowProperties,
const OUString *  pOldName,
sal_Int32 &  rIndex 
)
private
void SAL_CALL ScXMLExport::cancel ( )
overridevirtual

Reimplemented from SvXMLExport.

Definition at line 5308 of file xmlexprt.cxx.

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

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

void ScXMLExport::CloseHeaderRows ( )
private

Definition at line 1371 of file xmlexprt.cxx.

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

Referenced by CloseRow(), and OpenNewRow().

void ScXMLExport::CloseRow ( const sal_Int32  nRow)
private
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 2217 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::GetLastChangedCol(), ScDocument::GetLastChangedRow(), SvXMLExport::GetModel(), ScDocument::GetNextDifferentChangedCol(), ScDocument::GetNextDifferentChangedRow(), 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, pCellStyles, pChangeTrackingExportHelper, pColumnStyles, pDoc, pRowStyles, pSharedData, RegisterDefinedStyleNames(), ScAddress::Row(), SvxUnoTextRangeBase::SetSelection(), sName, ScDocument::SyncColRowFlags(), ScAddress::Tab(), and xTableStylesExportPropertySetMapper.

Referenced by ExportAutoStyles_().

void ScXMLExport::CollectInternalShape ( css::uno::Reference< css::drawing::XShape > const &  xShape)
private
void ScXMLExport::CollectShapesAutoStyles ( SCTAB  nTableCount)
private
void ScXMLExport::CollectSharedData ( SCTAB nTableCount,
sal_Int32 &  nShapesCount 
)
private
void ScXMLExport::CollectUserDefinedNamespaces ( const SfxItemPool pPool,
sal_uInt16  nAttrib 
)
private
void ScXMLExport::CopySourceStream ( sal_Int32  nStartOffset,
sal_Int32  nEndOffset,
sal_Int32 &  rNewStart,
sal_Int32 &  rNewEnd 
)
private
SvXMLAutoStylePoolP * ScXMLExport::CreateAutoStylePool ( )
overrideprotectedvirtual

Reimplemented from SvXMLExport.

Definition at line 5016 of file xmlexprt.cxx.

XMLFontAutoStylePool * ScXMLExport::CreateFontAutoStylePool ( )
overrideprotectedvirtual

Reimplemented from SvXMLExport.

Definition at line 152 of file xmlfonte.cxx.

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

XMLPageExport * ScXMLExport::CreatePageExport ( )
overrideprotectedvirtual

Reimplemented from SvXMLExport.

Definition at line 5021 of file xmlexprt.cxx.

XMLShapeExport * ScXMLExport::CreateShapeExport ( )
overrideprotectedvirtual

Reimplemented from SvXMLExport.

Definition at line 5163 of file xmlexprt.cxx.

void ScXMLExport::DisposingModel ( )
overridevirtual

Reimplemented from SvXMLExport.

Definition at line 5330 of file xmlexprt.cxx.

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

void ScXMLExport::exportAnnotationMeta ( const css::uno::Reference< css::drawing::XShape > &  xShape)
overridevirtual
void ScXMLExport::ExportAutoStyles_ ( )
overrideprivatevirtual
void ScXMLExport::ExportCellTextAutoStyles ( sal_Int32  nTable)
private
void ScXMLExport::ExportColumns ( const sal_Int32  nTable,
const ScRange aColumnHeaderRange,
const bool  bHasColumnHeader 
)
private
void ScXMLExport::ExportConditionalFormat ( SCTAB  nTab)
private

Definition at line 4492 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::mpNegativeColor, ScDataBarFormatData::mpUpperLimit, NoError, databar::NONE, NONE, NotBetween, NotContainsText, NotDuplicate, NotEqual, pDoc, SAL_WARN, 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().

void ScXMLExport::ExportContent_ ( )
overrideprivatevirtual
ErrCode ScXMLExport::exportDoc ( enum::xmloff::token::XMLTokenEnum  eClass = ::xmloff::token::XML_TOKEN_INVALID)
overridevirtual
void ScXMLExport::ExportExternalRefCacheStyles ( )
private
void ScXMLExport::ExportFontDecls_ ( )
overrideprivatevirtual

Reimplemented from SvXMLExport.

Definition at line 660 of file xmlexprt.cxx.

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

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 1526 of file xmlexprt.cxx.

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

Referenced by WriteTable().

void ScXMLExport::ExportMasterStyles_ ( )
overrideprivatevirtual

Implements SvXMLExport.

Definition at line 2660 of file xmlexprt.cxx.

References SvXMLExport::GetPageExport().

void ScXMLExport::ExportMeta_ ( )
overrideprivatevirtual
void ScXMLExport::ExportShape ( const css::uno::Reference< css::drawing::XShape > &  xShape,
css::awt::Point *  pPoint 
)
private
void ScXMLExport::ExportStyles_ ( bool  bUsed)
overrideprivatevirtual
void ScXMLExport::FillColumnRowGroups ( )
private
void ScXMLExport::FillFieldGroup ( ScOutlineArray pFields,
ScMyOpenCloseColumnRowGroup pGroups 
)
staticprivate
sal_Bool SAL_CALL ScXMLExport::filter ( const css::uno::Sequence< css::beans::PropertyValue > &  aDescriptor)
overridevirtual

Reimplemented from SvXMLExport.

Definition at line 5297 of file xmlexprt.cxx.

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

void ScXMLExport::GetAreaLinks ( ScMyAreaLinksContainer rAreaLinks)
private
const rtl::Reference< XMLPropertySetMapper >& ScXMLExport::GetCellStylesPropertySetMapper ( ) const
inline
void ScXMLExport::GetChangeTrackViewSettings ( css::uno::Sequence< css::beans::PropertyValue > &  rProps)
void ScXMLExport::GetColumnRowHeader ( bool &  bHasColumnHeader,
ScRange aColumnHeaderRange,
bool &  bHasRowHeader,
ScRange aRowHeaderRange,
OUString &  rPrintRanges 
) const
private

Definition at line 1608 of file xmlexprt.cxx.

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

Referenced by WriteTable().

void ScXMLExport::GetConfigurationSettings ( css::uno::Sequence< css::beans::PropertyValue > &  rProps)
overridevirtual
void ScXMLExport::GetDetectiveOpList ( ScMyDetectiveOpContainer rDetOp)
private
ScDocument* ScXMLExport::GetDocument ( )
inline
const ScDocument* ScXMLExport::GetDocument ( ) const
inline

Definition at line 241 of file xmlexprt.hxx.

References pDoc.

const ScXMLEditAttributeMap & ScXMLExport::GetEditAttributeMap ( ) const
private

Definition at line 1838 of file xmlexprt.cxx.

References mpEditAttrMap.

Referenced by ExportCellTextAutoStyles(), and WriteEditCell().

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

Definition at line 666 of file xmlexprt.cxx.

Referenced by collectAutoStyles(), and WriteTable().

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

Definition at line 2703 of file xmlexprt.cxx.

References pMergedRangesContainer, and pSharedData.

Referenced by AddStyleFromCells().

XMLNumberFormatAttributesExportHelper * ScXMLExport::GetNumberFormatAttributesExportHelper ( )
sal_Int32 ScXMLExport::GetNumberFormatStyleIndex ( sal_Int32  nNumFmt) const
private

Definition at line 469 of file xmlexprt.cxx.

References aNumFmtIndexMap.

Referenced by WriteExternalRefCaches().

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

Definition at line 5324 of file xmlexprt.cxx.

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

Definition at line 246 of file xmlexprt.hxx.

References xTableStylesPropertySetMapper.

Referenced by ScXMLAutoStylePoolP::exportStyleAttributes().

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

Reimplemented from SvXMLExport.

Definition at line 5071 of file xmlexprt.cxx.

References GetChangeTrackViewSettings(), SvXMLExport::GetModel(), SfxObjectShell::GetVisArea(), and i.

void ScXMLExport::IncrementProgressBar ( bool  bFlush,
sal_Int32  nInc = 1 
)
private
void SAL_CALL ScXMLExport::initialize ( const css::uno::Sequence< css::uno::Any > &  aArguments)
overridevirtual

Reimplemented from SvXMLExport.

Definition at line 5317 of file xmlexprt.cxx.

References SvXMLExport::initialize().

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

Definition at line 3694 of file xmlexprt.cxx.

References CELLTYPE_EDIT, ScMyCell::maBaseCell, and ScRefCellValue::meType.

Referenced by IsCellEqual().

bool ScXMLExport::IsMatrix ( const ScAddress aCell,
ScRange aCellAddress,
bool &  bIsFirst 
) const
void ScXMLExport::OpenAndCloseRow ( const sal_Int32  nIndex,
const sal_Int32  nStartRow,
const sal_Int32  nEmptyRows,
bool  bHidden,
bool  bFiltered 
)
private

Definition at line 1411 of file xmlexprt.cxx.

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

Referenced by OpenRow().

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

void ScXMLExport::OpenHeaderRows ( )
private
void ScXMLExport::OpenNewRow ( const sal_Int32  nIndex,
const sal_Int32  nStartRow,
const sal_Int32  nEmptyRows,
bool  bHidden,
bool  bFiltered 
)
private
void ScXMLExport::OpenRow ( const sal_Int32  nTable,
const sal_Int32  nStartRow,
const sal_Int32  nRepeatRow,
ScXMLCachedRowAttrAccess rRowAttr 
)
private
void ScXMLExport::RegisterDefinedStyleNames ( const css::uno::Reference< css::sheet::XSpreadsheetDocument > &  xSpreadDoc)
private
std::unique_ptr< ScMySharedData > ScXMLExport::ReleaseSharedData ( )

Definition at line 5339 of file xmlexprt.cxx.

References pSharedData.

Referenced by ScXMLImportWrapper::ExportToComponent().

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

Definition at line 3681 of file xmlexprt.cxx.

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

Referenced by WriteCell().

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

Definition at line 5337 of file xmlexprt.cxx.

References pSharedData.

Referenced by ScXMLImportWrapper::ExportToComponent().

void SAL_CALL ScXMLExport::setSourceDocument ( const css::uno::Reference< css::lang::XComponent > &  xDoc)
overridevirtual
void ScXMLExport::SetSourceStream ( const css::uno::Reference< css::io::XInputStream > &  xNewStream)
void ScXMLExport::WriteAnnotation ( ScMyCell rMyCell)
private
void ScXMLExport::WriteAreaLink ( const ScMyCell rMyCell)
private
void ScXMLExport::WriteCalculationSettings ( const css::uno::Reference< css::sheet::XSpreadsheetDocument > &  xSpreadDoc)
private
void ScXMLExport::WriteCell ( ScMyCell aCell,
sal_Int32  nEqualCellCount 
)
private

Definition at line 3113 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(), ScFormulaCell::GetErrCode(), ScFormulaCell::GetFormula(), SvXMLExport::GetNamespaceMap(), GetNumberFormatAttributesExportHelper(), ScCellFormat::GetOutputString(), SvXMLExport::getSaneDefaultVersion(), ScDocument::GetStorageGrammar(), ScRefCellValue::getString(), SvXMLExport::GetTextParagraphExport(), ScDocument::GetValue(), formula::FormulaGrammar::GRAM_ODFF, IncrementProgressBar(), ScFormulaCell::IsMultilineResult(), ScFormulaCell::IsValue(), ScMyCell::maBaseCell, ScMyCell::maCellAddress, ScRefCellValue::meType, ScRefCellValue::mfValue, mpCompileFormulaCxt, ScRefCellValue::mpEditText, ScRefCellValue::mpFormula, 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().

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

void ScXMLExport::WriteConsolidation ( )
private
void ScXMLExport::WriteDataStream ( )
private
void ScXMLExport::WriteDetective ( const ScMyCell rMyCell)
private
void ScXMLExport::WriteEditCell ( const EditTextObject pText)
private
void ScXMLExport::WriteExternalDataMapping ( )
private
void ScXMLExport::WriteExternalDataTransformations ( const std::vector< std::shared_ptr< sc::DataTransformation >> &  aDataTransformations)
private

Definition at line 4026 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::ReplaceNullTransformation::getColumn(), sc::ColumnRemoveTransformation::getColumns(), sc::MergeColumnTransformation::getColumns(), sc::AggregateFunction::getColumns(), sc::DocumentLinkManager::getDataStream(), sc::DateTimeTransformation::getDateTimeTransformationType(), ScDocument::GetDocLinkManager(), sc::NumberTransformation::getNumberTransformationType(), sc::DataStream::GetRange(), sc::TextTransformation::getTextTransformationType(), 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().

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

Definition at line 3988 of file xmlexprt.cxx.

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

Referenced by ExportContent_().

void ScXMLExport::WriteNamedRange ( ScRangeName pRangeName)
private
void ScXMLExport::WriteRowContent ( )
private
void ScXMLExport::WriteRowStartTag ( const sal_Int32  nIndex,
const sal_Int32  nEmptyRows,
bool  bHidden,
bool  bFiltered 
)
private
void ScXMLExport::WriteScenario ( )
private
void ScXMLExport::WriteShapes ( const ScMyCell rMyCell)
private
void ScXMLExport::WriteSingleColumn ( const sal_Int32  nRepeatColumns,
const sal_Int32  nStyleIndex,
const sal_Int32  nIndex,
const bool  bIsAutoStyle,
const bool  bIsVisible 
)
private
void ScXMLExport::WriteTable ( sal_Int32  nTable,
const css::uno::Reference< css::sheet::XSpreadsheet > &  xTable 
)
private

Definition at line 2780 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(), 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_().

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

Member Data Documentation

NumberFormatIndexMap ScXMLExport::aNumFmtIndexMap
private

Definition at line 96 of file xmlexprt.hxx.

Referenced by ExportExternalRefCacheStyles(), and GetNumberFormatStyleIndex().

ScRange ScXMLExport::aRowHeaderRange
private

Definition at line 103 of file xmlexprt.hxx.

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

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

Definition at line 102 of file xmlexprt.hxx.

Referenced by collectAutoStyles(), and WriteTable().

bool ScXMLExport::bHasRowHeader
private

Definition at line 128 of file xmlexprt.hxx.

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

bool ScXMLExport::bRowHeaderOpen
private

Definition at line 129 of file xmlexprt.hxx.

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

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

Definition at line 83 of file xmlexprt.hxx.

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

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

Definition at line 84 of file xmlexprt.hxx.

Referenced by WriteCell().

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

Definition at line 82 of file xmlexprt.hxx.

Referenced by GetEditAttributeMap().

sal_uInt16 ScXMLExport::nCurrentTable
private
sal_Int32 ScXMLExport::nOpenRow
private

Definition at line 125 of file xmlexprt.hxx.

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

sal_Int32 ScXMLExport::nProgressCount
private

Definition at line 126 of file xmlexprt.hxx.

Referenced by IncrementProgressBar().

sal_Int32 ScXMLExport::nSourceStreamPos
private

Definition at line 80 of file xmlexprt.hxx.

Referenced by CopySourceStream(), and SetSourceStream().

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

Definition at line 111 of file xmlexprt.hxx.

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

std::unique_ptr<ScColumnStyles> ScXMLExport::pColumnStyles
private
const ScMyCell* ScXMLExport::pCurrentCell
private

Definition at line 107 of file xmlexprt.hxx.

Referenced by exportAnnotationMeta(), and WriteAnnotation().

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

Definition at line 106 of file xmlexprt.hxx.

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

ScDocument* ScXMLExport::pDoc
private
std::unique_ptr<ScMyOpenCloseColumnRowGroup> ScXMLExport::pGroupColumns
private
std::unique_ptr<ScMyOpenCloseColumnRowGroup> ScXMLExport::pGroupRows
private
std::unique_ptr<ScMyMergedRangesContainer> ScXMLExport::pMergedRangesContainer
private

Definition at line 109 of file xmlexprt.hxx.

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

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

Definition at line 94 of file xmlexprt.hxx.

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

std::unique_ptr<ScRowFormatRanges> ScXMLExport::pRowFormatRanges
private
std::unique_ptr<ScRowStyles> ScXMLExport::pRowStyles
private
std::unique_ptr<ScMySharedData> ScXMLExport::pSharedData
private
std::unique_ptr<ScMyValidationsContainer> ScXMLExport::pValidationsContainer
private
OUString ScXMLExport::sAttrColumnsRepeated
private

Definition at line 115 of file xmlexprt.hxx.

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

OUString ScXMLExport::sAttrFormula
private

Definition at line 116 of file xmlexprt.hxx.

Referenced by ScXMLExport(), and WriteCell().

OUString ScXMLExport::sAttrName
private

Definition at line 113 of file xmlexprt.hxx.

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

OUString ScXMLExport::sAttrStringValue
private

Definition at line 118 of file xmlexprt.hxx.

Referenced by ScXMLExport(), and WriteCell().

OUString ScXMLExport::sAttrStyleName
private
OUString ScXMLExport::sAttrValueType
private

Definition at line 117 of file xmlexprt.hxx.

Referenced by ScXMLExport(), and WriteCell().

OUString ScXMLExport::sElemCell
private

Definition at line 119 of file xmlexprt.hxx.

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

OUString ScXMLExport::sElemCol
private

Definition at line 121 of file xmlexprt.hxx.

Referenced by ScXMLExport(), and WriteSingleColumn().

OUString ScXMLExport::sElemCoveredCell
private

Definition at line 120 of file xmlexprt.hxx.

Referenced by ScXMLExport(), and WriteCell().

OUString ScXMLExport::sElemP
private

Definition at line 124 of file xmlexprt.hxx.

Referenced by ScXMLExport(), and WriteCell().

OUString ScXMLExport::sElemRow
private

Definition at line 122 of file xmlexprt.hxx.

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

OUString ScXMLExport::sElemTab
private

Definition at line 123 of file xmlexprt.hxx.

Referenced by ScXMLExport(), and WriteTable().

OUString ScXMLExport::sExternalRefTabStyleName
private

Definition at line 112 of file xmlexprt.hxx.

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

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

Definition at line 90 of file xmlexprt.hxx.

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

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

Definition at line 86 of file xmlexprt.hxx.

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

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

Definition at line 91 of file xmlexprt.hxx.

Referenced by AddStyleFromColumn(), and ScXMLExport().

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

Definition at line 87 of file xmlexprt.hxx.

Referenced by AddStyleFromColumn(), and ScXMLExport().

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

Definition at line 77 of file xmlexprt.hxx.

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

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

Definition at line 92 of file xmlexprt.hxx.

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

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

Definition at line 88 of file xmlexprt.hxx.

Referenced by exportDoc(), and ScXMLExport().

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

Definition at line 85 of file xmlexprt.hxx.

Referenced by exportDoc(), and ScXMLExport().

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

Definition at line 79 of file xmlexprt.hxx.

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

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

Definition at line 93 of file xmlexprt.hxx.

Referenced by collectAutoStyles(), and ScXMLExport().

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

Definition at line 89 of file xmlexprt.hxx.

Referenced by GetTableStylesPropertySetMapper(), and ScXMLExport().


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