20#include <rtl/ustrbuf.hxx>
24#include <oox/token/namespaces.hxx>
41 : FragmentHandler2(rParent)
42 , mbInAttrList( false )
43 , mbIsInAttrName( false )
54 switch( getCurrentElement() )
56 case PPT_TOKEN( cBhvr ):
60 OUStringBuffer sAttributes;
63 if( !sAttributes.isEmpty() )
65 sAttributes.append(
";" );
69 OUString sTmp( sAttributes.makeStringAndClear() );
74 case PPT_TOKEN( attrNameLst ):
81 while( attrConv->
mpMSName !=
nullptr )
88 RTL_TEXTENCODING_ASCII_US );
114 switch ( aElementToken )
116 case PPT_TOKEN( cTn ):
118 case PPT_TOKEN( tgtEl ):
120 case PPT_TOKEN( attrNameLst ):
132 SAL_INFO(
"oox.ppt",
"OOX: Attribute Name outside an Attribute List" );
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 void onEndElement() override
CommonBehaviorContext(::oox::core::FragmentHandler2 const &rParent, const TimeNodePtr &pNode)
virtual void onCharacters(const OUString &aChars) override
OUString msCurrentAttribute
virtual ~CommonBehaviorContext() noexcept override
std::vector< Attribute > maAttributes
virtual ::oox::core::ContextHandlerRef onCreateContext(sal_Int32 aElementToken, const AttributeList &rAttribs) override
const TimeNodePtr & mpNode
context CT_TLTimeTargetElement
#define SAL_INFO(area, stream)
std::shared_ptr< TimeNode > TimeNodePtr
const ImplAttributeNameConversion * getAttributeConversionList()
AnimationAttributeEnum type
AnimationAttributeEnum meAttribute