summaryrefslogtreecommitdiff
path: root/sd/source/ui/inc/fuformatpaintbrush.hxx
diff options
context:
space:
mode:
authorMathias Bauer <mba@openoffice.org>2009-12-05 19:29:07 +0100
committerMathias Bauer <mba@openoffice.org>2009-12-05 19:29:07 +0100
commit315c7c2f877e41080f8442cfba35396511903bc1 (patch)
tree37f504855c23e07915c42219e95d2c00258a8e54 /sd/source/ui/inc/fuformatpaintbrush.hxx
parent1919fd6149aa492c5637df5d54f47e36ba0109ff (diff)
parentf06dd4493d6bdc97371138ae1e28ac5d37bc188e (diff)
merge to m67
Diffstat (limited to 'sd/source/ui/inc/fuformatpaintbrush.hxx')
-rw-r--r--sd/source/ui/inc/fuformatpaintbrush.hxx28
1 files changed, 19 insertions, 9 deletions
diff --git a/sd/source/ui/inc/fuformatpaintbrush.hxx b/sd/source/ui/inc/fuformatpaintbrush.hxx
index 223b766296c5..d14664a5b66b 100644
--- a/sd/source/ui/inc/fuformatpaintbrush.hxx
+++ b/sd/source/ui/inc/fuformatpaintbrush.hxx
@@ -31,15 +31,17 @@
#ifndef SD_FU_FORMATPAINTBRUSH_HXX
#define SD_FU_FORMATPAINTBRUSH_HXX
-#include "fupoor.hxx"
+#include "futext.hxx"
// header for class SfxItemSet
#include <svl/itemset.hxx>
+#include <boost/scoped_ptr.hpp>
namespace sd {
-class FuFormatPaintBrush
- : public FuPoor
+class DrawViewShell;
+
+class FuFormatPaintBrush : public FuText
{
public:
TYPEINFO();
@@ -54,14 +56,22 @@ public:
virtual void Activate();
virtual void Deactivate();
+ static void GetMenuState( DrawViewShell& rDrawViewShell, SfxItemSet &rSet );
+ static bool CanCopyThisType( UINT32 nObjectInventor, UINT16 nObjectIdentifier );
+
private:
- FuFormatPaintBrush (
- ViewShell* pViewSh,
- ::sd::Window* pWin,
- ::sd::View* pView,
- SdDrawDocument* pDoc,
- SfxRequest& rReq);
+ FuFormatPaintBrush ( ViewShell* pViewSh, ::sd::Window* pWin, ::sd::View* pView, SdDrawDocument* pDoc, SfxRequest& rReq);
+
+ void DoExecute( SfxRequest& rReq );
+
+ bool HasContentForThisType( UINT32 nObjectInventor, UINT16 nObjectIdentifier ) const;
+ void Paste( bool, bool );
+
+ void implcancel();
+ ::boost::shared_ptr<SfxItemSet> mpItemSet;
+ bool mbPermanent;
+ bool mbOldIsQuickTextEditMode;
};
} // end of namespace sd