diff options
author | Cédric Bosdonnat <cedric.bosdonnat@free.fr> | 2012-11-25 15:24:42 +0100 |
---|---|---|
committer | Cédric Bosdonnat <cedric.bosdonnat@free.fr> | 2012-11-30 18:07:12 +0100 |
commit | 2fd9c2bf9af0c50dae3af3dbe5e22965ccdb4ae7 (patch) | |
tree | 2a0438c371fbb51a3d2e919793802d6827e07fbd /sd/sdi | |
parent | Remove rtl:: from a test in test/ (diff) | |
download | core-2fd9c2bf9af0c50dae3af3dbe5e22965ccdb4ae7.tar.gz core-2fd9c2bf9af0c50dae3af3dbe5e22965ccdb4ae7.zip |
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
Diffstat (limited to 'sd/sdi')
-rw-r--r-- | sd/sdi/_drvwsh.sdi | 7 | ||||
-rw-r--r-- | sd/sdi/outlnvsh.sdi | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/sd/sdi/_drvwsh.sdi b/sd/sdi/_drvwsh.sdi index fc2f01eb9da7..0fabae44e060 100644 --- a/sd/sdi/_drvwsh.sdi +++ b/sd/sdi/_drvwsh.sdi @@ -1366,6 +1366,13 @@ interface DrawView GroupId = GID_DOCUMENT ; Cachable ; ] + SID_STYLE_HIDE + [ + ExecMethod = FuTemporary ; + StateMethod = GetAttrState ; + GroupId = GID_DOCUMENT ; + Cachable ; + ] SID_STYLE_APPLY // ole : no, status : ? [ ExecMethod = FuTemporary ; diff --git a/sd/sdi/outlnvsh.sdi b/sd/sdi/outlnvsh.sdi index ec06d37e6994..6632f09f6feb 100644 --- a/sd/sdi/outlnvsh.sdi +++ b/sd/sdi/outlnvsh.sdi @@ -326,6 +326,13 @@ interface OutlineView GroupId = GID_DOCUMENT ; Cachable ; ] + SID_STYLE_HIDE + [ + ExecMethod = FuTemporary ; + StateMethod = GetAttrState ; + GroupId = GID_DOCUMENT ; + Cachable ; + ] SID_AUTOSPELL_CHECK // ole : no, status : play rec [ ExecMethod = FuSupport ; |