From 29a45a09ba8a21022e105f3d500a027f93a4fca0 Mon Sep 17 00:00:00 2001 From: Cédric Bosdonnat Date: Wed, 29 Jun 2011 11:07:25 +0200 Subject: n#676858: added new menu entry for headers/footers edit mode --- sw/sdi/_textsh.sdi | 6 ++++++ sw/sdi/swriter.sdi | 27 +++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) (limited to 'sw/sdi') diff --git a/sw/sdi/_textsh.sdi b/sw/sdi/_textsh.sdi index c0f1126ec5cf..a175daea03d7 100644 --- a/sw/sdi/_textsh.sdi +++ b/sw/sdi/_textsh.sdi @@ -373,6 +373,12 @@ interface BaseText StateMethod = GetState; DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; ] + FN_EDIT_HEADER_FOOTER + [ + ExecMethod = Execute ; + StateMethod = GetState; + DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + ] FN_TABLE_UNSET_READ_ONLY // status(final|play) [ ExecMethod = Execute ; diff --git a/sw/sdi/swriter.sdi b/sw/sdi/swriter.sdi index 36c45e495cc4..152b3fd36a43 100644 --- a/sw/sdi/swriter.sdi +++ b/sw/sdi/swriter.sdi @@ -10417,3 +10417,30 @@ SfxVoidItem NavigateForward FN_NAVIGATION_FORWARD ToolBoxConfig = TRUE, GroupId = GID_NAVIGATION; ] + +//-------------------------------------------------------------------------- +SfxVoidItem EditHeaderFooter FN_EDIT_HEADER_FOOTER +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = FALSE, + Toggle = TRUE, + Container = FALSE, + RecordAbsolute = FALSE, + RecordPerSet; + Asynchron; + + Readonly = FALSE, + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_EDIT; +] + -- cgit