Update ooo320-m1
[ooovba.git] / writerfilter / source / dmapper / SettingsTable.hxx
blob6a5e8b9c41dcf43e88c556b2345969eecdbda429
1 #ifndef INCLUDED_SETTINGSTABLE_HXX
2 #define INCLUDED_SETTINGSTABLE_HXX
4 #include <WriterFilterDllApi.hxx>
5 #include <resourcemodel/WW8ResourceModel.hxx>
7 #include <com/sun/star/text/XTextDocument.hpp>
9 namespace writerfilter {
10 namespace dmapper
12 using namespace std;
14 struct SettingsTable_Impl
16 public:
17 bool m_bRecordChanges;
19 SettingsTable_Impl( );
20 ~SettingsTable_Impl( );
23 class WRITERFILTER_DLLPRIVATE SettingsTable: public Properties, public Table
25 public:
26 SettingsTable_Impl* m_pImpl;
28 SettingsTable( );
29 ~SettingsTable( );
31 // Properties
32 virtual void attribute(Id Name, Value & val);
33 virtual void sprm(Sprm & sprm);
35 // Table
36 virtual void entry(int pos, writerfilter::Reference<Properties>::Pointer_t ref);
38 void resolveSprmProps( Sprm& rSprm );
40 void ApplyProperties( com::sun::star::uno::Reference< com::sun::star::text::XTextDocument > xDoc );
42 typedef boost::shared_ptr< SettingsTable > SettingsTablePtr;
45 } }
47 #endif