From 2fd9c2bf9af0c50dae3af3dbe5e22965ccdb4ae7 Mon Sep 17 00:00:00 2001 From: Cédric Bosdonnat Date: Sun, 25 Nov 2012 15:24:42 +0100 Subject: Allow to hide styles in the "Styles & Formating" dialog In its current state, the feature only hides the styles. Things to sort out are: + Add some automatic filter to show hidden styles + Make the visibility persist in the file format Change-Id: I5904f41bb567add7b6bf501c6c5297f9f149a915 --- sfx2/sdi/sfx.sdi | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'sfx2/sdi') diff --git a/sfx2/sdi/sfx.sdi b/sfx2/sdi/sfx.sdi index a7468cef6a2c..c269dea1e34f 100644 --- a/sfx2/sdi/sfx.sdi +++ b/sfx2/sdi/sfx.sdi @@ -1660,6 +1660,31 @@ SfxUInt16Item EditStyle SID_STYLE_EDIT GroupId = GID_TEMPLATE; ] +//-------------------------------------------------------------------------- +SfxUInt16Item HideStyle SID_STYLE_HIDE +(SfxStringItem Param SID_STYLE_HIDE,SfxUInt16Item Family SID_STYLE_FAMILY) +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = FALSE, + Toggle = FALSE, + Container = FALSE, + RecordAbsolute = FALSE, + RecordPerSet; + Synchron; + + /* config: */ + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = GID_TEMPLATE; +] + //-------------------------------------------------------------------------- SfxVoidItem ExecuteSearch FID_SEARCH_NOW (SvxSearchItem SearchItem SID_SEARCH_ITEM, SfxBoolItem Quiet SID_SEARCH_QUIET ) -- cgit