23#include <oox/token/namespaces.hxx>
24#include <oox/token/tokens.hxx>
40 const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttribs,
41 std::vector< CustomShow >& rCustomShowList );
48CustomShowContext::CustomShowContext( FragmentHandler2
const & rParent,
49 const Reference< XFastAttributeList >& rxAttribs,
50 std::vector< CustomShow >& rCustomShowList )
51: FragmentHandler2( rParent )
54 CustomShow aCustomShow;
55 aCustomShow.maCustomShowName = rxAttribs->getOptionalValue( XML_name );
56 aCustomShow.mnId = rxAttribs->getOptionalValue( XML_id );
62 switch( aElementToken )
64 case PPT_TOKEN( sld ) :
67 .getRelationFromRelId(rAttribs.getStringDefaulted(R_TOKEN(id)))
77CustomShowListContext::CustomShowListContext( FragmentHandler2
const & rParent,
78 std::vector< CustomShow >& rCustomShowList )
79: FragmentHandler2( rParent )
90 switch( aElementToken )
92 case PPT_TOKEN( custShow ) :
Provides access to attribute values of an element.
const css::uno::Reference< css::xml::sax::XFastAttributeList > & getFastAttributeList() const
Returns the wrapped com.sun.star.xml.sax.XFastAttributeList object.
virtual ~CustomShowListContext() override
virtual ::oox::core::ContextHandlerRef onCreateContext(sal_Int32 aElementToken, const AttributeList &rAttribs) override
std::vector< CustomShow > & mrCustomShowList
std::vector< CustomShow > & mrCustomShowList
::rtl::Reference< ContextHandler > ContextHandlerRef