LibreOffice Module sc (master) 1
|
#include <XMLExportDataPilot.hxx>
Public Member Functions | |
ScXMLExportDataPilot (ScXMLExport &rExport) | |
void | WriteDataPilots () |
Static Private Member Functions | |
static OUString | getDPOperatorXML (const ScQueryOp aFilterOperator, const utl::SearchParam::SearchType eSearchType) |
Private Attributes | |
ScXMLExport & | rExport |
ScDocument * | pDoc |
Definition at line 42 of file XMLExportDataPilot.hxx.
|
explicit |
Definition at line 59 of file XMLExportDataPilot.cxx.
|
staticprivate |
Definition at line 65 of file XMLExportDataPilot.cxx.
References GetXMLToken(), utl::SearchParam::Regexp, SC_BOTPERC, SC_BOTVAL, SC_EQUAL, SC_GREATER, SC_GREATER_EQUAL, SC_LESS, SC_LESS_EQUAL, SC_NOT_EQUAL, SC_TOPPERC, SC_TOPVAL, XML_BOTTOM_PERCENT, XML_BOTTOM_VALUES, XML_MATCH, XML_NOMATCH, XML_TOP_PERCENT, and XML_TOP_VALUES.
Referenced by WriteDPCondition().
|
private |
Definition at line 367 of file XMLExportDataPilot.cxx.
References SvXMLExport::AddAttribute(), ScDPSaveDimension::GetAutoShowInfo(), GetXMLToken(), rExport, XML_DATA_FIELD, XML_DATA_PILOT_DISPLAY_INFO, XML_DISPLAY_MEMBER_MODE, XML_ENABLED, XML_FALSE, XML_FROM_BOTTOM, XML_FROM_TOP, XML_MEMBER_COUNT, XML_NAMESPACE_TABLE, and XML_TRUE.
Referenced by WriteLevels().
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_().
|
private |
Definition at line 514 of file XMLExportDataPilot.cxx.
References SvXMLExport::AddAttribute(), rExport, XML_DAYS, XML_GROUPED_BY, XML_HOURS, XML_MINUTES, XML_MONTHS, XML_NAMESPACE_TABLE, XML_QUARTERS, XML_SECONDS, and XML_YEARS.
Referenced by WriteGroupDimAttributes(), and WriteNumGroupDim().
|
private |
Definition at line 672 of file XMLExportDataPilot.cxx.
References SvXMLExport::AddAttribute(), ScDPSaveDimension::GetCurrentPage(), ScDPSaveDimension::GetFunction(), ScDPSaveDimension::GetLayoutName(), ScDPSaveDimension::GetName(), ScDPSaveDimension::GetOrientation(), SvXMLExport::getSaneDefaultVersion(), ScDPUtil::getSourceDimensionName(), ScXMLConverter::GetStringFromFunction(), ScXMLConverter::GetStringFromOrientation(), ScDPSaveDimension::GetUsedHierarchy(), ScDPSaveDimension::IsDataLayout(), SvtSaveOptions::ODFSVER_EXTENDED, rExport, WriteFieldReference(), WriteGroupDimElements(), WriteLevels(), XML_DATA_PILOT_FIELD, XML_DISPLAY_NAME, XML_FUNCTION, XML_IGNORE_SELECTED_PAGE, XML_IS_DATA_LAYOUT_FIELD, XML_NAMESPACE_LO_EXT, XML_NAMESPACE_TABLE, XML_NAMESPACE_TABLE_EXT, XML_ORIENTATION, XML_SELECTED_PAGE, XML_SOURCE_FIELD_NAME, XML_TRUE, and XML_USED_HIERARCHY.
Referenced by WriteDimensions().
|
private |
Definition at line 713 of file XMLExportDataPilot.cxx.
References ScDPSaveData::GetDimensions(), ScDPSaveData::GetExistingDimensionData(), and WriteDimension().
Referenced by WriteDataPilots().
|
private |
Definition at line 106 of file XMLExportDataPilot.cxx.
References SvXMLExport::AddAttribute(), ScQueryEntry::ByString, ScQueryEntry::eOp, getDPOperatorXML(), ScQueryEntry::GetQueryItem(), svl::SharedString::getString(), GetXMLToken(), ScQueryEntry::IsQueryByEmpty(), ScQueryEntry::IsQueryByNonEmpty(), ScQueryEntry::Item::maString, ScQueryEntry::Item::meType, ScQueryEntry::nField, rExport, XML_CASE_SENSITIVE, XML_DATA_TYPE, XML_EMPTY, XML_FIELD_NUMBER, XML_FILTER_CONDITION, XML_NAMESPACE_TABLE, XML_NOEMPTY, XML_NUMBER, XML_OPERATOR, XML_TRUE, and XML_VALUE.
Referenced by WriteDPFilter().
|
private |
Definition at line 140 of file XMLExportDataPilot.cxx.
References SvXMLExport::AddAttribute(), aName, ScQueryParamBase::bCaseSens, ScQueryEntry::bDoQuery, ScQueryParamBase::bDuplicate, SvXMLExport::CheckAttrList(), formula::FormulaGrammar::CONV_OOO, ScQueryEntry::eConnect, SvXMLExport::EndElement(), ScQueryParamBase::eSearchType, ScQueryParamBase::GetEntry(), ScQueryParamBase::GetEntryCount(), SvXMLExport::GetNamespaceMap(), SvXMLNamespaceMap::GetQNameByKey(), ScRangeStringConverter::GetStringFromRange(), GetXMLToken(), ScQueryParamTable::nCol1, ScQueryParamTable::nCol2, ScQueryParamTable::nRow1, ScQueryParamTable::nRow2, ScQueryParamTable::nTab, pDoc, rExport, SC_AND, SCTAB_MAX, SvXMLExport::StartElement(), WriteDPCondition(), XML_CONDITION_SOURCE_RANGE_ADDRESS, XML_DISPLAY_DUPLICATES, XML_FALSE, XML_FILTER, XML_FILTER_AND, XML_FILTER_OR, and XML_NAMESPACE_TABLE.
Referenced by WriteDataPilots().
|
private |
Definition at line 266 of file XMLExportDataPilot.cxx.
References SvXMLExport::AddAttribute(), SvXMLExport::CheckAttrList(), ScDPSaveDimension::GetReferenceValue(), GetXMLToken(), condformat::dialog::NONE, rExport, XML_COLUMN_PERCENTAGE, XML_DATA_PILOT_FIELD_REFERENCE, XML_FIELD_NAME, XML_INDEX, XML_MEMBER_DIFFERENCE, XML_MEMBER_NAME, XML_MEMBER_PERCENTAGE, XML_MEMBER_PERCENTAGE_DIFFERENCE, XML_MEMBER_TYPE, XML_NAMED, XML_NAMESPACE_TABLE, XML_NEXT, XML_NONE, XML_PREVIOUS, XML_ROW_PERCENTAGE, XML_RUNNING_TOTAL, XML_TOTAL_PERCENTAGE, and XML_TYPE.
Referenced by WriteDimension().
|
private |
Definition at line 723 of file XMLExportDataPilot.cxx.
References SvXMLExport::AddAttribute(), bVisible, rExport, XML_DATA_PILOT_GRAND_TOTAL, XML_DISPLAY, XML_DISPLAY_NAME, XML_FALSE, XML_NAMESPACE_TABLE, XML_NAMESPACE_TABLE_EXT, XML_ORIENTATION, and XML_TRUE.
Referenced by WriteDataPilots().
|
private |
Definition at line 605 of file XMLExportDataPilot.cxx.
References SvXMLExport::AddAttribute(), ScDPSaveGroupDimension::GetDateInfo(), ScDPSaveGroupDimension::GetDatePart(), ScDPUtil::getSourceDimensionName(), ScDPSaveGroupDimension::GetSourceDimName(), rExport, WriteDatePart(), WriteNumGroupInfo(), XML_NAMESPACE_TABLE, and XML_SOURCE_FIELD_NAME.
Referenced by WriteGroupDimElements().
|
private |
Definition at line 629 of file XMLExportDataPilot.cxx.
References SvXMLExport::AddAttribute(), ScDPSaveGroupDimension::GetDatePart(), ScDPSaveGroupItem::GetElementByIndex(), ScDPSaveGroupItem::GetElementCount(), ScDPSaveGroupDimension::GetGroupByIndex(), ScDPSaveGroupDimension::GetGroupCount(), ScDPSaveGroupItem::GetGroupName(), ScDPSaveDimension::GetName(), ScDPDimensionSaveData::GetNamedGroupDim(), ScDPDimensionSaveData::GetNumGroupDim(), i, nCount, rExport, WriteGroupDimAttributes(), WriteNumGroupDim(), XML_DATA_PILOT_GROUP, XML_DATA_PILOT_GROUP_MEMBER, XML_DATA_PILOT_GROUPS, XML_NAME, and XML_NAMESPACE_TABLE.
Referenced by WriteDimension().
|
private |
Definition at line 398 of file XMLExportDataPilot.cxx.
References SvXMLExport::AddAttribute(), ScDPSaveDimension::GetLayoutInfo(), GetXMLToken(), rExport, XML_ADD_EMPTY_LINES, XML_COMPACT_LAYOUT, XML_DATA_PILOT_LAYOUT_INFO, XML_FALSE, XML_LAYOUT_MODE, XML_NAMESPACE_LO_EXT, XML_NAMESPACE_TABLE, XML_OUTLINE_SUBTOTALS_BOTTOM, XML_OUTLINE_SUBTOTALS_TOP, XML_TABULAR_LAYOUT, and XML_TRUE.
Referenced by WriteLevels().
|
private |
Definition at line 489 of file XMLExportDataPilot.cxx.
References SvXMLExport::AddAttribute(), SvXMLExport::CheckAttrList(), sax::Converter::convertBool(), ScDPSaveDimension::GetRepeatItemLabels(), SvXMLExport::getSaneDefaultVersion(), ScDPSaveDimension::GetShowEmpty(), ScDPSaveDimension::HasShowEmpty(), SvtSaveOptions::ODFSVER_EXTENDED, rExport, WriteAutoShowInfo(), WriteLayoutInfo(), WriteMembers(), WriteSortInfo(), WriteSubTotals(), XML_DATA_PILOT_LEVEL, XML_NAMESPACE_CALC_EXT, XML_NAMESPACE_TABLE, XML_REPEAT_ITEM_LABELS, and XML_SHOW_EMPTY.
Referenced by WriteDimension().
|
private |
Definition at line 459 of file XMLExportDataPilot.cxx.
References SvXMLExport::AddAttribute(), SvXMLExport::CheckAttrList(), sax::Converter::convertBool(), ScDPSaveDimension::GetMembers(), SvXMLExport::getSaneDefaultVersion(), SvtSaveOptions::ODFSVER_EXTENDED, rExport, XML_DATA_PILOT_MEMBER, XML_DATA_PILOT_MEMBERS, XML_DISPLAY, XML_DISPLAY_NAME, XML_NAME, XML_NAMESPACE_TABLE, XML_NAMESPACE_TABLE_EXT, and XML_SHOW_DETAILS.
Referenced by WriteLevels().
|
private |
Definition at line 616 of file XMLExportDataPilot.cxx.
References ScDPSaveNumGroupDimension::GetDateInfo(), ScDPSaveNumGroupDimension::GetDatePart(), ScDPSaveNumGroupDimension::GetInfo(), WriteDatePart(), and WriteNumGroupInfo().
Referenced by WriteGroupDimElements().
|
private |
Definition at line 556 of file XMLExportDataPilot.cxx.
References SvXMLExport::AddAttribute(), SvXMLUnitConverter::convertDateTime(), SvXMLExport::GetMM100UnitConverter(), ScDPNumGroupInfo::mbAutoEnd, ScDPNumGroupInfo::mbAutoStart, ScDPNumGroupInfo::mbDateValues, ScDPNumGroupInfo::mbEnable, ScDPNumGroupInfo::mfEnd, ScDPNumGroupInfo::mfStart, ScDPNumGroupInfo::mfStep, rExport, XML_AUTO, XML_DATE_END, XML_DATE_START, XML_END, XML_NAMESPACE_TABLE, XML_START, and XML_STEP.
Referenced by WriteGroupDimAttributes(), and WriteNumGroupDim().
|
private |
Definition at line 333 of file XMLExportDataPilot.cxx.
References SvXMLExport::AddAttribute(), ScDPSaveDimension::GetSortInfo(), GetXMLToken(), condformat::dialog::NONE, rExport, XML_ASCENDING, XML_DATA, XML_DATA_FIELD, XML_DATA_PILOT_SORT_INFO, XML_DESCENDING, XML_MANUAL, XML_NAME, XML_NAMESPACE_TABLE, XML_NONE, XML_ORDER, and XML_SORT_MODE.
Referenced by WriteLevels().
|
private |
Definition at line 435 of file XMLExportDataPilot.cxx.
References SvXMLExport::AddAttribute(), SvXMLExport::CheckAttrList(), SvXMLExport::getSaneDefaultVersion(), ScXMLConverter::GetStringFromFunction(), ScDPSaveDimension::GetSubTotalFunc(), ScDPSaveDimension::GetSubtotalName(), ScDPSaveDimension::GetSubTotalsCount(), SvtSaveOptions::ODFSVER_EXTENDED, rExport, XML_DATA_PILOT_SUBTOTAL, XML_DATA_PILOT_SUBTOTALS, XML_DISPLAY_NAME, XML_FUNCTION, XML_NAMESPACE_TABLE, and XML_NAMESPACE_TABLE_EXT.
Referenced by WriteLevels().
|
private |
Definition at line 45 of file XMLExportDataPilot.hxx.
Referenced by WriteDataPilots(), and WriteDPFilter().
|
private |
Definition at line 44 of file XMLExportDataPilot.hxx.
Referenced by WriteAutoShowInfo(), WriteDataPilots(), WriteDatePart(), WriteDimension(), WriteDPCondition(), WriteDPFilter(), WriteFieldReference(), WriteGrandTotal(), WriteGroupDimAttributes(), WriteGroupDimElements(), WriteLayoutInfo(), WriteLevels(), WriteMembers(), WriteNumGroupInfo(), WriteSortInfo(), and WriteSubTotals().