diff options
author | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2018-03-01 12:17:46 +0100 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2018-03-07 08:26:55 +0100 |
commit | 073b4eadd2a9a00b915c664df90b15d5b2d709c0 (patch) | |
tree | bd36b36f3ec1b8faeacfbadabae00ae74b6e3757 /sc/sdi | |
parent | 1163bcd5da3063e7e988ebf49d9b60dfd6f6c703 (diff) |
tdf#116108 Add option to fit images into their cell
Change-Id: I2e9a4f567049f11985e4bf914c2fa5bd1f181823
Reviewed-on: https://gerrit.libreoffice.org/50569
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'sc/sdi')
-rw-r--r-- | sc/sdi/drawsh.sdi | 1 | ||||
-rw-r--r-- | sc/sdi/scalc.sdi | 18 |
2 files changed, 19 insertions, 0 deletions
diff --git a/sc/sdi/drawsh.sdi b/sc/sdi/drawsh.sdi index feaa7ba0280c..038489e3e065 100644 --- a/sc/sdi/drawsh.sdi +++ b/sc/sdi/drawsh.sdi @@ -179,6 +179,7 @@ interface TableDraw SID_ATTR_SIZE [ StateMethod = GetDrawAttrState; Export = FALSE; ] SID_TABLE_CELL [ StateMethod = GetDrawAttrState; Export = FALSE; ] SID_ORIGINALSIZE [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; Export = FALSE; ] + SID_FITCELLSIZE [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; Export = FALSE; ] SID_HYPERLINK_SETLINK [ ExecMethod = ExecuteHLink; Export = FALSE; ] SID_HYPERLINK_GETLINK [ StateMethod = GetHLinkState; Export = FALSE; ] SID_ENABLE_HYPHENATION [ ExecMethod = ExecDrawFunc; StateMethod = GetDrawFuncState; Export = FALSE; ] diff --git a/sc/sdi/scalc.sdi b/sc/sdi/scalc.sdi index 8ef6851af217..57c13e0d237c 100644 --- a/sc/sdi/scalc.sdi +++ b/sc/sdi/scalc.sdi @@ -3924,6 +3924,24 @@ SfxVoidItem OriginalSize SID_ORIGINALSIZE ] +SfxVoidItem FitCellSize SID_FITCELLSIZE +() +[ + AutoUpdate = FALSE, + FastCall = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + RecordAbsolute = FALSE, + RecordPerSet; + + AccelConfig = TRUE, + MenuConfig = TRUE, + ToolBoxConfig = TRUE, + GroupId = SfxGroupId::Format; +] + + SfxBoolItem NormalViewMode FID_NORMALVIEWMODE [ |