diff options
author | Jennifer Liebel <jliebel94@gmail.com> | 2014-09-23 09:14:21 +0000 |
---|---|---|
committer | Samuel Mehrbrodt <s.mehrbrodt@gmail.com> | 2014-09-24 19:30:05 +0000 |
commit | e16c8534f446a7cc311d6d5026aae5457e4f8e6c (patch) | |
tree | 1f88836de838d56db0898d60bc732a751a19011e /include | |
parent | 16ea2665cdfa0b3d7b0d7abcdaae8d60f7654d24 (diff) |
fdo#47302: Added insert->fields->page title button
Change-Id: Iebc8298a7e6a7d423d2667eec8a46a936cc4d2cd
Reviewed-on: https://gerrit.libreoffice.org/11599
Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/editeng/flditem.hxx | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/editeng/flditem.hxx b/include/editeng/flditem.hxx index 961b5e08b987..96720fe2c065 100644 --- a/include/editeng/flditem.hxx +++ b/include/editeng/flditem.hxx @@ -25,6 +25,7 @@ #include <svl/poolitem.hxx> #include <tools/pstm.hxx> #include <editeng/editengdllapi.h> +#include <../sd/inc/sdpage.hxx> // for Page Title field #include <com/sun/star/text/textfield/Type.hpp> @@ -191,6 +192,18 @@ public: virtual MetaAction* createBeginComment() const SAL_OVERRIDE; }; +class EDITENG_DLLPUBLIC SvxPageTitleField : public SvxFieldData +{ +public: + SV_DECL_PERSIST1( SvxPageTitleField, SvxFieldData, com::sun::star::text::textfield::Type::PAGE_TITLE ) + SvxPageTitleField(); + + virtual SvxFieldData* Clone() const SAL_OVERRIDE; + virtual bool operator==( const SvxFieldData& ) const SAL_OVERRIDE; + + virtual MetaAction* createBeginComment() const SAL_OVERRIDE; +}; + class EDITENG_DLLPUBLIC SvxPagesField : public SvxFieldData { public: |