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)
 
 ~ScXMLExportDataPilot ()
 
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 *pGroupDim)
 
void WriteGroupDimElements (const ScDPSaveDimension *pDim, const ScDPDimensionSaveData *pDimData)
 
void WriteNumGroupDim (const ScDPSaveNumGroupDimension *pNumGroupDim)
 
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 43 of file XMLExportDataPilot.hxx.

Constructor & Destructor Documentation

ScXMLExportDataPilot::ScXMLExportDataPilot ( ScXMLExport rExport)
explicit

Definition at line 59 of file XMLExportDataPilot.cxx.

References rExport.

ScXMLExportDataPilot::~ScXMLExportDataPilot ( )

Definition at line 65 of file XMLExportDataPilot.cxx.

Member Function Documentation

OUString ScXMLExportDataPilot::getDPOperatorXML ( const ScQueryOp  aFilterOperator,
const utl::SearchParam::SearchType  eSearchType 
)
staticprivate
void ScXMLExportDataPilot::WriteAutoShowInfo ( const ScDPSaveDimension pDim)
private
void ScXMLExportDataPilot::WriteDataPilots ( )

Definition at line 737 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::GetFilterButton(), ScDPSaveData::GetGrandTotalName(), ScDPSaveData::GetIgnoreEmptyRows(), ScPatternAttr::GetItem(), 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_TABLE, XML_NONE, XML_OBJECT_NAME, XML_PARSE_SQL_STATEMENT, XML_QUERY_NAME, XML_ROW, 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_().

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

Member Data Documentation

ScDocument* ScXMLExportDataPilot::pDoc
private

Definition at line 46 of file XMLExportDataPilot.hxx.

Referenced by WriteDataPilots(), and WriteDPFilter().

ScXMLExport& ScXMLExportDataPilot::rExport
private

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