diff options
author | Jan Holesovsky <kendy@suse.cz> | 2011-05-31 10:45:59 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2011-05-31 10:45:59 +0200 |
commit | 31d2ec14ca3790748cf0c724f14f494cce7dff4f (patch) | |
tree | 074e3fcfbb3609f15c6f3dbb82f98d2bf35839df /sw/inc/section.hxx | |
parent | 6803462fb620eb350923148a2c10c3223266e97f (diff) | |
parent | c8deddfb2e3aa3d00c2b3321e41de79b526b7c2f (diff) |
Merge commit 'libreoffice-3.4.0.2'
Conflicts:
sw/inc/viewsh.hxx
sw/source/core/layout/paintfrm.cxx
sw/source/ui/index/cnttab.cxx
sw/source/ui/ribbar/inputwin.cxx
Diffstat (limited to 'sw/inc/section.hxx')
-rw-r--r-- | sw/inc/section.hxx | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/sw/inc/section.hxx b/sw/inc/section.hxx index 80cabb722e01..9a6452a424fd 100644 --- a/sw/inc/section.hxx +++ b/sw/inc/section.hxx @@ -36,6 +36,7 @@ #include <tools/rtti.hxx> #include <tools/ref.hxx> #include <svl/svarray.hxx> +#include <svl/smplhint.hxx> #include <sfx2/lnkbase.hxx> #include <sfx2/Metadatable.hxx> @@ -267,6 +268,28 @@ public: }; +/** Hint used to notify the deletion of SwSectionFrm objects with or without + keeping the content of the frame #i117863#. + */ +class SwSectionFrmMoveAndDeleteHint : public SfxSimpleHint +{ + public: + SwSectionFrmMoveAndDeleteHint( const sal_Bool bSaveCntnt ) + : SfxSimpleHint( SFX_HINT_DYING ) + , mbSaveCntnt( bSaveCntnt ) + {} + + ~SwSectionFrmMoveAndDeleteHint() + {} + + sal_Bool IsSaveCntnt() const + { + return mbSaveCntnt; + } + + private: + const sal_Bool mbSaveCntnt; +}; enum SectionSort { SORTSECT_NOT, SORTSECT_NAME, SORTSECT_POS }; |