summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJennifer Liebel <jliebel94@gmail.com>2014-09-23 09:14:21 +0000
committerSamuel Mehrbrodt <s.mehrbrodt@gmail.com>2014-09-24 19:30:05 +0000
commite16c8534f446a7cc311d6d5026aae5457e4f8e6c (patch)
tree1f88836de838d56db0898d60bc732a751a19011e /include
parent16ea2665cdfa0b3d7b0d7abcdaae8d60f7654d24 (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.hxx13
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: