LibreOffice Module xmloff (master) 1
|
#include <animationimport.hxx>
Public Member Functions | |
AnimationNodeContext (const css::uno::Reference< css::animations::XAnimationNode > &xParentNode, SvXMLImport &rImport, sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList, const std::shared_ptr< AnimationsImportHelperImpl > &pImpl=nullptr) | |
virtual css::uno::Reference< XFastContextHandler > SAL_CALL | createFastChildContext (sal_Int32 Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override |
Public Member Functions inherited from SvXMLImportContext | |
SvXMLImportContext (SvXMLImport &rImport) | |
A contexts constructor does anything that is required if an element starts. More... | |
virtual | ~SvXMLImportContext () |
A contexts destructor does anything that is required if an element ends. More... | |
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 |
endFastElement is called before a context will be destructed, but after an elements context has been parsed. More... | |
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 |
This method is called for all characters that are contained in the current element. More... | |
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 |
Static Public Member Functions | |
static void | postProcessRootNode (const css::uno::Reference< css::animations::XAnimationNode > &xNode, css::uno::Reference< css::beans::XPropertySet > const &xPageProps) |
Private Member Functions | |
void | init_node (const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) |
Private Attributes | |
std::shared_ptr< AnimationsImportHelperImpl > | mpHelper |
css::uno::Reference< css::animations::XAnimationNode > | mxNode |
Additional Inherited Members | |
Protected Member Functions inherited from SvXMLImportContext | |
SvXMLImport & | GetImport () |
const SvXMLImport & | GetImport () const |
Definition at line 34 of file animationimport.hxx.
xmloff::AnimationNodeContext::AnimationNodeContext | ( | const css::uno::Reference< css::animations::XAnimationNode > & | xParentNode, |
SvXMLImport & | rImport, | ||
sal_Int32 | nElement, | ||
const css::uno::Reference< css::xml::sax::XFastAttributeList > & | xAttrList, | ||
const std::shared_ptr< AnimationsImportHelperImpl > & | pImpl = nullptr |
||
) |
Definition at line 431 of file animationimport.cxx.
References Any, sax_fastparser::castToFastAttributeList(), init_node(), mpHelper, mxNode, SAL_WARN, TOKEN_MASK, TOOLS_WARN_EXCEPTION, xmloff::token::XML_ANIMATE, xmloff::token::XML_ANIMATECOLOR, xmloff::token::XML_ANIMATEMOTION, xmloff::token::XML_ANIMATEPHYSICS, xmloff::token::XML_ANIMATETRANSFORM, xmloff::token::XML_AUDIO, xmloff::token::XML_COMMAND, xmloff::token::XML_ITERATE, xmloff::token::XML_PAR, xmloff::token::XML_PRESET_ID, xmloff::token::XML_SEQ, xmloff::token::XML_SET, and xmloff::token::XML_TRANSITIONFILTER.
Referenced by createFastChildContext().
|
overridevirtual |
Reimplemented from SvXMLImportContext.
Definition at line 1182 of file animationimport.cxx.
References AnimationNodeContext(), SvXMLImportContext::GetImport(), mpHelper, and mxNode.
|
private |
Definition at line 540 of file animationimport.cxx.
References xmloff::aAnimations_EnumMap_AdditiveMode, xmloff::aAnimations_EnumMap_CalcMode, xmloff::aAnimations_EnumMap_Command, xmloff::aAnimations_EnumMap_EffectNodeType, xmloff::aAnimations_EnumMap_EffectPresetClass, xmloff::aAnimations_EnumMap_Endsync, xmloff::aAnimations_EnumMap_Fill, xmloff::aAnimations_EnumMap_FillDefault, xmloff::aAnimations_EnumMap_IterateType, xmloff::aAnimations_EnumMap_Restart, xmloff::aAnimations_EnumMap_RestartDefault, xmloff::aAnimations_EnumMap_SubItem, xmloff::aAnimations_EnumMap_TransformType, xmloff::aAnimations_EnumMap_TransitionSubType, xmloff::aAnimations_EnumMap_TransitionType, aFrom, aName, Any, aTo, sax_fastparser::castToFastAttributeList(), sax::Converter::convertBool(), sax::Converter::convertColor(), sax::Converter::convertDuration(), SvXMLUnitConverter::convertEnum(), xmloff::AnimationsImportHelperImpl::convertKeyTimes(), xmloff::AnimationsImportHelperImpl::convertPath(), xmloff::AnimationsImportHelperImpl::convertTimeFilter(), xmloff::getAnimationAttributeNamesConversionList(), SvXMLImportContext::GetImport(), xmloff::token::GetXMLToken(), xmloff::isDouble(), IsTokenInNamespace(), xmloff::token::IsXMLToken(), lcl_GetMediaReference(), mpHelper, mxNode, nToken, p, pData, SVG, TOOLS_WARN_EXCEPTION, xmloff::token::XML_ACCELERATE, xmloff::token::XML_ACCUMULATE, xmloff::token::XML_ADDITIVE, xmloff::token::XML_AFTER_EFFECT, xmloff::token::XML_ATTRIBUTENAME, xmloff::token::XML_AUDIO_LEVEL, xmloff::token::XML_AUTOREVERSE, xmloff::token::XML_BEGIN, xmloff::token::XML_BY, xmloff::token::XML_CALCMODE, xmloff::token::XML_CLOCKWISE, xmloff::token::XML_COLOR_INTERPOLATION, xmloff::token::XML_COLOR_INTERPOLATION_DIRECTION, xmloff::token::XML_COMMAND, xmloff::token::XML_DECELERATE, xmloff::token::XML_DIRECTION, xmloff::token::XML_DUR, XML_ELEMENT, xmloff::token::XML_END, xmloff::token::XML_ENDSYNC, xmloff::token::XML_FADECOLOR, xmloff::token::XML_FILL, xmloff::token::XML_FILLDEFAULT, xmloff::token::XML_FORMULA, xmloff::token::XML_FORWARD, xmloff::token::XML_FROM, xmloff::token::XML_GROUP_ID, xmloff::token::XML_HREF, xmloff::token::XML_HSL, xmloff::token::XML_ID, xmloff::token::XML_IN, xmloff::token::XML_ITERATE_INTERVAL, xmloff::token::XML_ITERATE_TYPE, xmloff::token::XML_KEYSPLINES, xmloff::token::XML_KEYTIMES, xmloff::token::XML_MASTER_ELEMENT, xmloff::token::XML_MODE, XML_NAMESPACE_PRESENTATION, XML_NAMESPACE_PRESENTATION_OASIS, XML_NAMESPACE_PRESENTATION_OOO, XML_NAMESPACE_PRESENTATION_SO52, xmloff::token::XML_NODE_TYPE, xmloff::token::XML_PATH, xmloff::token::XML_PHYSICS_ANIMATION_BOUNCINESS, xmloff::token::XML_PHYSICS_ANIMATION_DENSITY, xmloff::token::XML_PHYSICS_ANIMATION_START_VELOCITY_X, xmloff::token::XML_PHYSICS_ANIMATION_START_VELOCITY_Y, xmloff::token::XML_PRESET_CLASS, xmloff::token::XML_PRESET_ID, xmloff::token::XML_PRESET_SUB_TYPE, xmloff::token::XML_REPEATCOUNT, xmloff::token::XML_REPEATDUR, xmloff::token::XML_RESTART, xmloff::token::XML_RESTARTDEFAULT, xmloff::token::XML_ROTATE, xmloff::token::XML_SCALE, xmloff::token::XML_SKEWX, xmloff::token::XML_SKEWY, xmloff::token::XML_SUB_ITEM, xmloff::token::XML_SUBTYPE, xmloff::token::XML_SUM, xmloff::token::XML_TARGETELEMENT, xmloff::token::XML_TO, xmloff::token::XML_TOKEN_INVALID, xmloff::token::XML_TRANSLATE, xmloff::token::XML_TYPE, xmloff::token::XML_VALUES, and XMLOFF_WARN_UNKNOWN.
Referenced by AnimationNodeContext().
|
static |
Definition at line 1266 of file animationimport.cxx.
References aEvent, Any, Exception, and TOOLS_WARN_EXCEPTION.
Referenced by SdXMLDrawPageContext::endFastElement().
|
private |
Definition at line 36 of file animationimport.hxx.
Referenced by AnimationNodeContext(), createFastChildContext(), and init_node().
|
private |
Definition at line 37 of file animationimport.hxx.
Referenced by AnimationNodeContext(), createFastChildContext(), and init_node().