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

#include <XMLExportDataPilot.hxx>

Collaboration diagram for ScXMLExportDataPilot:
[legend]

Public Member Functions

 ScXMLExportDataPilot (ScXMLExport &rExport)
 
void WriteDataPilots ()
 

Private Member Functions

void WriteDPCondition (const ScQueryEntry &aQueryEntry, bool bIsCaseSensitive, utl::SearchParam::SearchType eSearchType)
 
void WriteDPFilter (const ScQueryParam &aQueryParam)
 
void WriteFieldReference (const ScDPSaveDimension *pDim)
 
void WriteSortInfo (const ScDPSaveDimension *pDim)
 
void WriteAutoShowInfo (const ScDPSaveDimension *pDim)
 
void WriteLayoutInfo (const ScDPSaveDimension *pDim)
 
void WriteSubTotals (const ScDPSaveDimension *pDim)
 
void WriteMembers (const ScDPSaveDimension *pDim)
 
void WriteLevels (const ScDPSaveDimension *pDim)
 
void WriteDatePart (sal_Int32 nPart)
 
void WriteNumGroupInfo (const ScDPNumGroupInfo &pGroupInfo)
 
void WriteGroupDimAttributes (const ScDPSaveGroupDimension &rGroupDim)
 
void WriteGroupDimElements (const ScDPSaveDimension *pDim, const ScDPDimensionSaveData *pDimData)
 
void WriteNumGroupDim (const ScDPSaveNumGroupDimension &rNumGroupDim)
 
void WriteDimension (const ScDPSaveDimension *pDim, const ScDPDimensionSaveData *pDimData)
 
void WriteDimensions (const ScDPSaveData *pDPSave)
 
void WriteGrandTotal (::xmloff::token::XMLTokenEnum eOrient, bool bVisible, const std::optional< OUString > &pGrandTotal)
 

Static Private Member Functions

static OUString getDPOperatorXML (const ScQueryOp aFilterOperator, const utl::SearchParam::SearchType eSearchType)
 

Private Attributes

ScXMLExportrExport
 
ScDocumentpDoc
 

Detailed Description

Definition at line 42 of file XMLExportDataPilot.hxx.

Constructor & Destructor Documentation

◆ ScXMLExportDataPilot()

ScXMLExportDataPilot::ScXMLExportDataPilot ( ScXMLExport rExport)
explicit

Definition at line 59 of file XMLExportDataPilot.cxx.

Member Function Documentation

◆ getDPOperatorXML()

OUString ScXMLExportDataPilot::getDPOperatorXML ( const ScQueryOp  aFilterOperator,
const utl::SearchParam::SearchType  eSearchType 
)
staticprivate

◆ WriteAutoShowInfo()

void ScXMLExportDataPilot::WriteAutoShowInfo ( const ScDPSaveDimension pDim)
private

◆ WriteDataPilots()

void ScXMLExportDataPilot::WriteDataPilots ( )

Definition at line 733 of file XMLExportDataPilot.cxx.

References ScImportSourceDesc::aDBName, SvXMLExport::AddAttribute(), ScRange::aEnd, ScImportSourceDesc::aObject, ScDPServiceDesc::aParName, ScDPServiceDesc::aParSource, ScDPServiceDesc::aParUser, ScDPServiceDesc::aServiceName, ScRange::aStart, ATTR_MERGE_FLAG(), ScImportSourceDesc::bNative, SvXMLExport::CheckAttrList(), ScAddress::Col(), formula::FormulaGrammar::CONV_OOO, ScDPSaveData::GetColumnGrand(), ScDPCollection::GetCount(), ScXMLExport::GetDocument(), ScDocument::GetDPCollection(), ScDPSaveData::GetDrillDown(), ScDPSaveData::GetExpandCollapse(), ScDPSaveData::GetFilterButton(), ScDPSaveData::GetGrandTotalName(), ScDPSaveData::GetIgnoreEmptyRows(), ScPatternAttr::GetItem(), GetName(), ScDocAttrIterator::GetNext(), ScSheetSourceDesc::GetQueryParam(), ScSheetSourceDesc::GetRangeName(), ScDPSaveData::GetRepeatIfEmpty(), ScDPSaveData::GetRowGrand(), SvXMLExport::getSaneDefaultVersion(), ScSheetSourceDesc::GetSourceRange(), ScRangeStringConverter::GetStringFromAddress(), ScRangeStringConverter::GetStringFromRange(), ScMergeFlagAttr::HasPivotButton(), ScSheetSourceDesc::HasRangeName(), i, ScImportSourceDesc::nType, SvtSaveOptions::ODFSVER_EXTENDED, pDoc, rExport, ScAddress::Row(), sName, ScAddress::Tab(), WriteDimensions(), WriteDPFilter(), WriteGrandTotal(), XML_APPLICATION_DATA, XML_BOTH, XML_BUTTONS, XML_CELL_RANGE_ADDRESS, XML_COLUMN, XML_DATA_PILOT_TABLE, XML_DATA_PILOT_TABLES, XML_DATABASE_NAME, XML_DATABASE_SOURCE_QUERY, XML_DATABASE_SOURCE_SQL, XML_DATABASE_SOURCE_TABLE, XML_DATABASE_TABLE_NAME, XML_DRILL_DOWN_ON_DOUBLE_CLICK, XML_FALSE, XML_GRAND_TOTAL, XML_HEADER_GRID_LAYOUT, XML_IDENTIFY_CATEGORIES, XML_IGNORE_EMPTY_ROWS, XML_NAME, XML_NAMESPACE_LO_EXT, XML_NAMESPACE_TABLE, XML_NONE, XML_OBJECT_NAME, XML_PARSE_SQL_STATEMENT, XML_QUERY_NAME, XML_ROW, XML_SHOW_DRILL_DOWN_BUTTONS, XML_SHOW_FILTER_BUTTON, XML_SOURCE_CELL_RANGE, XML_SOURCE_NAME, XML_SOURCE_SERVICE, XML_SQL_STATEMENT, XML_TARGET_RANGE_ADDRESS, XML_TRUE, and XML_USER_NAME.

Referenced by ScXMLExport::ExportContent_().

◆ WriteDatePart()

void ScXMLExportDataPilot::WriteDatePart ( sal_Int32  nPart)
private

◆ WriteDimension()

void ScXMLExportDataPilot::WriteDimension ( const ScDPSaveDimension pDim,
const ScDPDimensionSaveData pDimData 
)
private

◆ WriteDimensions()

void ScXMLExportDataPilot::WriteDimensions ( const ScDPSaveData pDPSave)
private

◆ WriteDPCondition()

void ScXMLExportDataPilot::WriteDPCondition ( const ScQueryEntry aQueryEntry,
bool  bIsCaseSensitive,
utl::SearchParam::SearchType  eSearchType 
)
private

◆ WriteDPFilter()

void ScXMLExportDataPilot::WriteDPFilter ( const ScQueryParam aQueryParam)
private

◆ WriteFieldReference()

void ScXMLExportDataPilot::WriteFieldReference ( const ScDPSaveDimension pDim)
private

◆ WriteGrandTotal()

void ScXMLExportDataPilot::WriteGrandTotal ( ::xmloff::token::XMLTokenEnum  eOrient,
bool  bVisible,
const std::optional< OUString > &  pGrandTotal 
)
private

◆ WriteGroupDimAttributes()

void ScXMLExportDataPilot::WriteGroupDimAttributes ( const ScDPSaveGroupDimension rGroupDim)
private

◆ WriteGroupDimElements()

void ScXMLExportDataPilot::WriteGroupDimElements ( const ScDPSaveDimension pDim,
const ScDPDimensionSaveData pDimData 
)
private

◆ WriteLayoutInfo()

void ScXMLExportDataPilot::WriteLayoutInfo ( const ScDPSaveDimension pDim)
private

◆ WriteLevels()

void ScXMLExportDataPilot::WriteLevels ( const ScDPSaveDimension pDim)
private

◆ WriteMembers()

void ScXMLExportDataPilot::WriteMembers ( const ScDPSaveDimension pDim)
private

◆ WriteNumGroupDim()

void ScXMLExportDataPilot::WriteNumGroupDim ( const ScDPSaveNumGroupDimension rNumGroupDim)
private

◆ WriteNumGroupInfo()

void ScXMLExportDataPilot::WriteNumGroupInfo ( const ScDPNumGroupInfo pGroupInfo)
private

◆ WriteSortInfo()

void ScXMLExportDataPilot::WriteSortInfo ( const ScDPSaveDimension pDim)
private

◆ WriteSubTotals()

void ScXMLExportDataPilot::WriteSubTotals ( const ScDPSaveDimension pDim)
private

Member Data Documentation

◆ pDoc

ScDocument* ScXMLExportDataPilot::pDoc
private

Definition at line 45 of file XMLExportDataPilot.hxx.

Referenced by WriteDataPilots(), and WriteDPFilter().

◆ rExport

ScXMLExport& ScXMLExportDataPilot::rExport
private

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