diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.com> | 2015-12-03 22:54:50 +0100 |
---|---|---|
committer | Tomaž Vajngerl <tomaz.vajngerl@collabora.com> | 2015-12-04 18:23:50 +0100 |
commit | 6f9bb9bd767e4bc46424df86a1c3d3f7851e5bfc (patch) | |
tree | 726b64642605c24a6ebcaaa75985e69c0f09e48d /sd/sdi | |
parent | d6eedfe27a04df597a83df5576a31245f3fff0f4 (diff) |
Remove image color conversion menu from Impress
In impress there is (or was) a submenu "Mode" for images that
containted color transforms for images to various bitdepths and
palettes. The action is destructable - which means the original
is replaced by a new image. This also has little use today as I
don't think many people want to shrink image (byte) size this way.
The only useful transform is to 8-bit indexed for certain types
of images to save space without a bigger color degradation, but it
makes more sense to add this option to "compress image dialog".
Change-Id: I7450b2ec3507fb5d180cbd1ec879cb5560a2dd22
Diffstat (limited to 'sd/sdi')
-rw-r--r-- | sd/sdi/_drvwsh.sdi | 35 | ||||
-rw-r--r-- | sd/sdi/sdraw.sdi | 169 |
2 files changed, 0 insertions, 204 deletions
diff --git a/sd/sdi/_drvwsh.sdi b/sd/sdi/_drvwsh.sdi index c25285d9de80..9482da05ac94 100644 --- a/sd/sdi/_drvwsh.sdi +++ b/sd/sdi/_drvwsh.sdi @@ -2220,41 +2220,6 @@ interface DrawView ExecMethod = ExecOptionsBar ; StateMethod = GetOptionsBarState ; ] - SID_CONVERT_TO_1BIT_THRESHOLD // ole : no, status : ? - [ - ExecMethod = FuSupport ; - StateMethod = GetMenuState ; - ] - SID_CONVERT_TO_1BIT_MATRIX // ole : no, status : ? - [ - ExecMethod = FuSupport ; - StateMethod = GetMenuState ; - ] - SID_CONVERT_TO_4BIT_GRAYS // ole : no, status : ? - [ - ExecMethod = FuSupport ; - StateMethod = GetMenuState ; - ] - SID_CONVERT_TO_4BIT_COLORS // ole : no, status : ? - [ - ExecMethod = FuSupport ; - StateMethod = GetMenuState ; - ] - SID_CONVERT_TO_8BIT_GRAYS // ole : no, status : ? - [ - ExecMethod = FuSupport ; - StateMethod = GetMenuState ; - ] - SID_CONVERT_TO_8BIT_COLORS // ole : no, status : ? - [ - ExecMethod = FuSupport ; - StateMethod = GetMenuState ; - ] - SID_CONVERT_TO_24BIT // ole : no, status : ? - [ - ExecMethod = FuSupport ; - StateMethod = GetMenuState ; - ] SID_HYPHENATION // ole : no, status : play rec [ ExecMethod = FuTemporary ; diff --git a/sd/sdi/sdraw.sdi b/sd/sdi/sdraw.sdi index 2ad46fd10e61..0624cee9aac2 100644 --- a/sd/sdi/sdraw.sdi +++ b/sd/sdi/sdraw.sdi @@ -1462,174 +1462,6 @@ SfxVoidItem ConvertIntoMetaFile SID_CONVERT_TO_METAFILE GroupId = GID_MODIFY; ] -SfxBoolItem ConvertTo1BitMatrix SID_CONVERT_TO_1BIT_MATRIX -() -[ - /* flags: */ - AutoUpdate = TRUE, - Cachable = Cachable, - FastCall = FALSE, - HasCoreId = FALSE, - HasDialog = FALSE, - ReadOnlyDoc = FALSE, - Toggle = FALSE, - Container = FALSE, - RecordAbsolute = FALSE, - RecordPerSet; - Asynchron; - - /* config: */ - AccelConfig = TRUE, - MenuConfig = TRUE, - StatusBarConfig = FALSE, - ToolBoxConfig = TRUE, - GroupId = GID_MODIFY; -] - -SfxBoolItem ConvertTo1BitThreshold SID_CONVERT_TO_1BIT_THRESHOLD -() -[ - /* flags: */ - AutoUpdate = TRUE, - Cachable = Cachable, - FastCall = FALSE, - HasCoreId = FALSE, - HasDialog = FALSE, - ReadOnlyDoc = FALSE, - Toggle = FALSE, - Container = FALSE, - RecordAbsolute = FALSE, - RecordPerSet; - Asynchron; - - /* config: */ - AccelConfig = TRUE, - MenuConfig = TRUE, - StatusBarConfig = FALSE, - ToolBoxConfig = TRUE, - GroupId = GID_MODIFY; -] - -SfxBoolItem ConvertTo4BitColors SID_CONVERT_TO_4BIT_COLORS -() -[ - /* flags: */ - AutoUpdate = TRUE, - Cachable = Cachable, - FastCall = FALSE, - HasCoreId = FALSE, - HasDialog = FALSE, - ReadOnlyDoc = FALSE, - Toggle = FALSE, - Container = FALSE, - RecordAbsolute = FALSE, - RecordPerSet; - Asynchron; - - /* config: */ - AccelConfig = TRUE, - MenuConfig = TRUE, - StatusBarConfig = FALSE, - ToolBoxConfig = TRUE, - GroupId = GID_MODIFY; -] - -SfxBoolItem ConvertTo4BitGrays SID_CONVERT_TO_4BIT_GRAYS -() -[ - /* flags: */ - AutoUpdate = TRUE, - Cachable = Cachable, - FastCall = FALSE, - HasCoreId = FALSE, - HasDialog = FALSE, - ReadOnlyDoc = FALSE, - Toggle = FALSE, - Container = FALSE, - RecordAbsolute = FALSE, - RecordPerSet; - Asynchron; - - /* config: */ - AccelConfig = TRUE, - MenuConfig = TRUE, - StatusBarConfig = FALSE, - ToolBoxConfig = TRUE, - GroupId = GID_MODIFY; -] - -SfxBoolItem ConvertTo8BitColors SID_CONVERT_TO_8BIT_COLORS -() -[ - /* flags: */ - AutoUpdate = TRUE, - Cachable = Cachable, - FastCall = FALSE, - HasCoreId = FALSE, - HasDialog = FALSE, - ReadOnlyDoc = FALSE, - Toggle = FALSE, - Container = FALSE, - RecordAbsolute = FALSE, - RecordPerSet; - Asynchron; - - /* config: */ - AccelConfig = TRUE, - MenuConfig = TRUE, - StatusBarConfig = FALSE, - ToolBoxConfig = TRUE, - GroupId = GID_MODIFY; -] - -SfxBoolItem ConvertTo8BitGrays SID_CONVERT_TO_8BIT_GRAYS -() -[ - /* flags: */ - AutoUpdate = TRUE, - Cachable = Cachable, - FastCall = FALSE, - HasCoreId = FALSE, - HasDialog = FALSE, - ReadOnlyDoc = FALSE, - Toggle = FALSE, - Container = FALSE, - RecordAbsolute = FALSE, - RecordPerSet; - Asynchron; - - /* config: */ - AccelConfig = TRUE, - MenuConfig = TRUE, - StatusBarConfig = FALSE, - ToolBoxConfig = TRUE, - GroupId = GID_MODIFY; -] - -SfxBoolItem ConvertToTrueColor SID_CONVERT_TO_24BIT -() -[ - /* flags: */ - AutoUpdate = TRUE, - Cachable = Cachable, - FastCall = FALSE, - HasCoreId = FALSE, - HasDialog = FALSE, - ReadOnlyDoc = FALSE, - Toggle = FALSE, - Container = FALSE, - RecordAbsolute = FALSE, - RecordPerSet; - Asynchron; - - /* config: */ - AccelConfig = TRUE, - MenuConfig = TRUE, - StatusBarConfig = FALSE, - ToolBoxConfig = TRUE, - GroupId = GID_MODIFY; -] - SfxVoidItem CopyObjects SID_COPYOBJECTS () [ @@ -7271,4 +7103,3 @@ SfxVoidItem UnicodeNotationToggle SID_UNICODE_NOTATION_TOGGLE ToolBoxConfig = FALSE, GroupId = GID_OPTIONS; ] - |