summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorCédric Bosdonnat <cedric.bosdonnat.ooo@free.fr>2011-09-23 21:02:12 +0200
committerCédric Bosdonnat <cedric.bosdonnat.ooo@free.fr>2011-09-23 22:24:36 +0200
commit5277f81090673387250761128821d5244523ce2e (patch)
tree10bedc2b4b207a230c06fdfb5680f4f777680c45 /sw/inc
parentc7ac093eb5d8e60e565d00c7f1b62f52f6b0402e (diff)
Page Break: Changed the page break into a control
Page break changes (no impact on column breaks): + Create a MenuButton control for the page break + Moved the line to a SwDashedLine
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/cmdid.h4
-rw-r--r--sw/inc/swcommands.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/sw/inc/cmdid.h b/sw/inc/cmdid.h
index 087a3c2165da..97f6e10e173c 100644
--- a/sw/inc/cmdid.h
+++ b/sw/inc/cmdid.h
@@ -68,6 +68,7 @@ included in c-context files, so c++ style stuff will cause problems.
#define FN_PARAM2 (SID_SW_START + 2400)
#define FN_NOTES (SID_SW_START + 2500)
#define FN_HEADERFOOTER (SID_SW_START + 2600)
+#define FN_PAGEBREAK (SID_SW_START + 2610)
/* More accurately, this range should be from FN_EXTRA2 to FN_PARAM2-1, but
* FN_NUMBER_NEWSTART comes from FN_FORMAT2, and FN_PARAM_LINK_DISPLAY_NAME
@@ -1019,6 +1020,9 @@ included in c-context files, so c++ style stuff will cause problems.
#define FN_HEADERFOOTER_DELETE (FN_HEADERFOOTER+2)
#define FN_HEADERFOOTER_BORDERBACK (FN_HEADERFOOTER+3)
+#define FN_PAGEBREAK_EDIT (FN_PAGEBREAK+1)
+#define FN_PAGEBREAK_DELETE (FN_PAGEBREAK+2)
+
/*--------------------------------------------------------------------
Region: Parameter
--------------------------------------------------------------------*/
diff --git a/sw/inc/swcommands.h b/sw/inc/swcommands.h
index 9e8343e62865..20f19fc8cab9 100644
--- a/sw/inc/swcommands.h
+++ b/sw/inc/swcommands.h
@@ -436,5 +436,7 @@
#define CMD_FN_HEADERFOOTER_EDIT ".uno:HeaderFooterEdit"
#define CMD_FN_HEADERFOOTER_DELETE ".uno:HeaderFooterDelete"
#define CMD_FN_HEADERFOOTER_BORDERBACK ".uno:HeaderFooterBorderBackground"
+#define CMD_FN_PAGEBREAK_EDIT ".uno:PageBreakEdit"
+#define CMD_FN_PAGEBREAK_DELETE ".uno:PageBreakDelete"
#endif