Update ooo320-m1
[ooovba.git] / writerfilter / source / dmapper / GraphicHelpers.hxx
blob5142c8b606e71e7b88ca6051e52bf9eae10a4562
1 #ifndef INCLUDED_GRAPHICHELPERS_HXX
2 #define INCLUDED_GRAPHICHELPERS_HXX
4 #include "PropertyMap.hxx"
6 #include <WriterFilterDllApi.hxx>
7 #include <resourcemodel/WW8ResourceModel.hxx>
9 #include <boost/shared_ptr.hpp>
11 namespace writerfilter {
12 namespace dmapper
15 class WRITERFILTER_DLLPRIVATE PositionHandler: public Properties
17 public:
18 PositionHandler( );
19 ~PositionHandler( );
21 sal_Int16 m_nOrient;
22 sal_Int16 m_nRelation;
23 sal_Int32 m_nPosition;
25 virtual void attribute( Id aName, Value& rVal );
26 virtual void sprm( Sprm& rSprm );
27 };
28 typedef boost::shared_ptr<PositionHandler> PositionHandlerPtr;
30 class WRITERFILTER_DLLPRIVATE WrapHandler: public Properties
32 public:
33 WrapHandler( );
34 ~WrapHandler( );
36 sal_Int32 m_nType;
37 sal_Int32 m_nSide;
39 sal_Int32 getWrapMode( );
41 virtual void attribute( Id aName, Value& rVal );
42 virtual void sprm( Sprm& rSprm );
44 typedef boost::shared_ptr<WrapHandler> WrapHandlerPtr;
46 } }
48 #endif