LibreOffice Module sc (master) 1
|
#include <xmldpimp.hxx>
Public Member Functions | |
ScXMLDataPilotFieldContext (ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotTableContext *pDataPilotTable) | |
virtual | ~ScXMLDataPilotFieldContext () override |
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL | createFastChildContext (sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override |
virtual void SAL_CALL | endFastElement (sal_Int32 nElement) override |
void | SetShowEmpty (const bool bValue) |
void | SetRepeatItemLabels (const bool bSet) |
void | SetSubTotals (std::vector< ScGeneralFunction > &&rFunctions) |
void | AddMember (std::unique_ptr< ScDPSaveMember > pMember) |
void | SetSubTotalName (const OUString &rName) |
void | SetFieldReference (const css::sheet::DataPilotFieldReference &aRef) |
void | SetAutoShowInfo (const css::sheet::DataPilotFieldAutoShowInfo &aInfo) |
void | SetSortInfo (const css::sheet::DataPilotFieldSortInfo &aInfo) |
void | SetLayoutInfo (const css::sheet::DataPilotFieldLayoutInfo &aInfo) |
void | SetGrouping (const OUString &rGroupSource, const double &rStart, const double &rEnd, const double &rStep, sal_Int32 nPart, bool bDate, bool bAutoSt, bool bAutoE) |
void | AddGroup (::std::vector< OUString > &&rMembers, const OUString &rName) |
Public Member Functions inherited from ScXMLImportContext | |
ScXMLImportContext (SvXMLImport &rImport) | |
Public Member Functions inherited from SvXMLImportContext | |
SvXMLImportContext (SvXMLImport &rImport) | |
virtual | ~SvXMLImportContext () |
virtual void SAL_CALL | startFastElement (sal_Int32 Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override |
virtual void SAL_CALL | startUnknownElement (const OUString &Namespace, const OUString &Name, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override |
virtual void SAL_CALL | endFastElement (sal_Int32 Element) override |
virtual void SAL_CALL | endUnknownElement (const OUString &Namespace, const OUString &Name) override |
virtual css::uno::Reference< XFastContextHandler > SAL_CALL | createFastChildContext (sal_Int32 Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override |
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL | createUnknownChildContext (const OUString &Namespace, const OUString &Name, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override |
virtual void SAL_CALL | characters (const OUString &aChars) override |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &aType) final override |
virtual void SAL_CALL | acquire () noexcept final override |
virtual void SAL_CALL | release () noexcept final override |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () final override |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getImplementationId () final override |
Private Attributes | |
ScXMLDataPilotTableContext * | pDataPilotTable |
std::unique_ptr< ScDPSaveDimension > | xDim |
::std::vector< ScXMLDataPilotGroup > | aGroups |
OUString | sGroupSource |
OUString | sSelectedPage |
OUString | sName |
double | fStart |
double | fEnd |
double | fStep |
sal_Int32 | nUsedHierarchy |
sal_Int32 | nGroupPart |
ScGeneralFunction | nFunction |
css::sheet::DataPilotFieldOrientation | nOrientation |
bool | bSelectedPage:1 |
bool | bIsGroupField:1 |
bool | bDateValue:1 |
bool | bAutoStart:1 |
bool | bAutoEnd:1 |
bool | mbHasHiddenMember:1 |
Additional Inherited Members | |
Protected Member Functions inherited from ScXMLImportContext | |
ScXMLImport & | GetScImport () |
const ScXMLImport & | GetScImport () const |
Protected Member Functions inherited from SvXMLImportContext | |
SvXMLImport & | GetImport () |
const SvXMLImport & | GetImport () const |
Definition at line 228 of file xmldpimp.hxx.
ScXMLDataPilotFieldContext::ScXMLDataPilotFieldContext | ( | ScXMLImport & | rImport, |
const rtl::Reference< sax_fastparser::FastAttributeList > & | rAttrList, | ||
ScXMLDataPilotTableContext * | pDataPilotTable | ||
) |
Definition at line 790 of file xmldpimp.cxx.
References bSelectedPage, ScXMLConverter::GetFunctionFromString2(), ScXMLConverter::GetOrientationFromString(), IsXMLToken(), nFunction, nOrientation, nUsedHierarchy, sName, sSelectedPage, TABLE, xDim, XML_DISPLAY_NAME, XML_ELEMENT, XML_FUNCTION, XML_IGNORE_SELECTED_PAGE, XML_IS_DATA_LAYOUT_FIELD, XML_ORIENTATION, XML_SELECTED_PAGE, XML_SOURCE_FIELD_NAME, XML_TRUE, and XML_USED_HIERARCHY.
|
overridevirtual |
Definition at line 862 of file xmldpimp.cxx.
void ScXMLDataPilotFieldContext::AddGroup | ( | ::std::vector< OUString > && | rMembers, |
const OUString & | rName | ||
) |
Definition at line 916 of file xmldpimp.cxx.
References aGroups, ScXMLDataPilotGroup::aMembers, and ScXMLDataPilotGroup::aName.
Referenced by ScXMLDataPilotGroupContext::endFastElement().
void ScXMLDataPilotFieldContext::AddMember | ( | std::unique_ptr< ScDPSaveMember > | pMember | ) |
Definition at line 889 of file xmldpimp.cxx.
References mbHasHiddenMember, and xDim.
Referenced by ScXMLDataPilotMemberContext::endFastElement().
|
overridevirtual |
Reimplemented from SvXMLImportContext.
Definition at line 866 of file xmldpimp.cxx.
References sax_fastparser::castToFastAttributeList(), ScXMLImportContext::GetScImport(), TABLE, XML_DATA_PILOT_FIELD_REFERENCE, XML_DATA_PILOT_GROUPS, XML_DATA_PILOT_LEVEL, and XML_ELEMENT.
|
overridevirtual |
Reimplemented from SvXMLImportContext.
Definition at line 924 of file xmldpimp.cxx.
References ScXMLDataPilotTableContext::AddDimension(), ScDPSaveGroupItem::AddElement(), ScXMLDataPilotTableContext::AddGroupDim(), ScDPSaveGroupDimension::AddGroupItem(), aGroups, bAutoEnd, bAutoStart, bDateValue, bIsGroupField, bSelectedPage, fEnd, fStart, fStep, ScDPNumGroupInfo::mbAutoEnd, ScDPNumGroupInfo::mbAutoStart, ScDPNumGroupInfo::mbDateValues, ScDPNumGroupInfo::mbEnable, ScDPNumGroupInfo::mfEnd, ScDPNumGroupInfo::mfStart, ScDPNumGroupInfo::mfStep, nFunction, nGroupPart, nOrientation, nUsedHierarchy, pDataPilotTable, ScDPSaveGroupDimension::SetDateInfo(), ScDPSaveNumGroupDimension::SetDateInfo(), ScXMLDataPilotTableContext::SetSelectedPage(), sGroupSource, sName, sSelectedPage, and xDim.
|
inline |
Definition at line 271 of file xmldpimp.hxx.
References xDim.
Referenced by ScXMLDataPilotDisplayInfoContext::ScXMLDataPilotDisplayInfoContext().
|
inline |
Definition at line 270 of file xmldpimp.hxx.
References xDim.
Referenced by ScXMLDataPilotFieldReferenceContext::ScXMLDataPilotFieldReferenceContext().
|
inline |
Definition at line 274 of file xmldpimp.hxx.
References bAutoEnd, bAutoStart, bDateValue, bIsGroupField, fEnd, fStart, fStep, nGroupPart, and sGroupSource.
Referenced by ScXMLDataPilotGroupsContext::ScXMLDataPilotGroupsContext().
void ScXMLDataPilotFieldContext::SetLayoutInfo | ( | const css::sheet::DataPilotFieldLayoutInfo & | aInfo | ) |
Definition at line 907 of file xmldpimp.cxx.
References pDataPilotTable, ScXMLDataPilotTableContext::SetHasCompactField(), and xDim.
Referenced by ScXMLDataPilotLayoutInfoContext::ScXMLDataPilotLayoutInfoContext().
|
inline |
Definition at line 266 of file xmldpimp.hxx.
References xDim.
Referenced by ScXMLDataPilotLevelContext::ScXMLDataPilotLevelContext().
|
inline |
Definition at line 265 of file xmldpimp.hxx.
References xDim.
Referenced by ScXMLDataPilotLevelContext::ScXMLDataPilotLevelContext().
|
inline |
Definition at line 272 of file xmldpimp.hxx.
References xDim.
Referenced by ScXMLDataPilotSortInfoContext::ScXMLDataPilotSortInfoContext().
void ScXMLDataPilotFieldContext::SetSubTotalName | ( | const OUString & | rName | ) |
Definition at line 901 of file xmldpimp.cxx.
References xDim.
Referenced by ScXMLDataPilotSubTotalsContext::endFastElement().
|
inline |
Definition at line 267 of file xmldpimp.hxx.
References xDim.
Referenced by ScXMLDataPilotSubTotalsContext::endFastElement().
|
private |
Definition at line 233 of file xmldpimp.hxx.
Referenced by AddGroup(), and endFastElement().
|
private |
Definition at line 249 of file xmldpimp.hxx.
Referenced by endFastElement(), and SetGrouping().
|
private |
Definition at line 248 of file xmldpimp.hxx.
Referenced by endFastElement(), and SetGrouping().
|
private |
Definition at line 247 of file xmldpimp.hxx.
Referenced by endFastElement(), and SetGrouping().
|
private |
Definition at line 246 of file xmldpimp.hxx.
Referenced by endFastElement(), and SetGrouping().
|
private |
Definition at line 245 of file xmldpimp.hxx.
Referenced by endFastElement(), and ScXMLDataPilotFieldContext().
|
private |
Definition at line 238 of file xmldpimp.hxx.
Referenced by endFastElement(), and SetGrouping().
|
private |
Definition at line 237 of file xmldpimp.hxx.
Referenced by endFastElement(), and SetGrouping().
|
private |
Definition at line 239 of file xmldpimp.hxx.
Referenced by endFastElement(), and SetGrouping().
|
private |
Definition at line 250 of file xmldpimp.hxx.
Referenced by AddMember().
|
private |
Definition at line 242 of file xmldpimp.hxx.
Referenced by endFastElement(), and ScXMLDataPilotFieldContext().
|
private |
Definition at line 241 of file xmldpimp.hxx.
Referenced by endFastElement(), and SetGrouping().
|
private |
Definition at line 244 of file xmldpimp.hxx.
Referenced by endFastElement(), and ScXMLDataPilotFieldContext().
|
private |
Definition at line 240 of file xmldpimp.hxx.
Referenced by endFastElement(), and ScXMLDataPilotFieldContext().
|
private |
Definition at line 230 of file xmldpimp.hxx.
Referenced by endFastElement(), and SetLayoutInfo().
|
private |
Definition at line 234 of file xmldpimp.hxx.
Referenced by endFastElement(), and SetGrouping().
|
private |
Definition at line 236 of file xmldpimp.hxx.
Referenced by endFastElement(), and ScXMLDataPilotFieldContext().
|
private |
Definition at line 235 of file xmldpimp.hxx.
Referenced by endFastElement(), and ScXMLDataPilotFieldContext().
|
private |
Definition at line 231 of file xmldpimp.hxx.
Referenced by AddMember(), endFastElement(), ScXMLDataPilotFieldContext(), SetAutoShowInfo(), SetFieldReference(), SetLayoutInfo(), SetRepeatItemLabels(), SetShowEmpty(), SetSortInfo(), SetSubTotalName(), and SetSubTotals().