23#include <oox/token/namespaces.hxx>
24#include <oox/token/tokens.hxx>
36 FragmentHandler2( rFilter, rFragmentPath, false ),
41Reference< XInputStream > DrawingFragment::openFragmentStream()
const
49 switch( mrDrawing.getType() )
53 if ( getNamespace( nElement ) == NMSP_vml
54 || nElement == W_TOKEN(control) )
55 return ShapeContextBase::createShapeContext( *
this, mrDrawing.getShapes(), nElement, rAttribs );
61 switch( getCurrentElement() )
64 if( nElement == XML_xml )
return this;
67 return ShapeContextBase::createShapeContext( *
this, mrDrawing.getShapes(), nElement, rAttribs );
74void DrawingFragment::finalizeImport()
77 mrDrawing.finalizeFragmentImport();
Provides access to attribute values of an element.
DrawingFragment(::oox::core::XmlFilterBase &rFilter, const OUString &rFragmentPath, Drawing &rDrawing)
Reference< XComponentContext > getComponentContext(Reference< XMultiServiceFactory > const &factory)
const sal_Int32 XML_ROOT_CONTEXT
::rtl::Reference< ContextHandler > ContextHandlerRef
@ VMLDRAWING_EXCEL
Excel: OLE objects are part of VML.
@ VMLDRAWING_WORD
Word: One shape per drawing.
@ VMLDRAWING_POWERPOINT
PowerPoint: OLE objects are part of DrawingML.