summaryrefslogtreecommitdiff
path: root/sw/sdi/_annotsh.sdi
diff options
context:
space:
mode:
authorMaxim Monastirsky <momonasmon@gmail.com>2015-06-30 23:52:19 +0300
committerMaxim Monastirsky <momonasmon@gmail.com>2015-07-01 17:51:10 +0000
commit7adb6d218f50bbafea7998f67ed375c27694339c (patch)
treeb84158e19737a1d941498dcdfc06f2d7c0359bc7 /sw/sdi/_annotsh.sdi
parentf4f844952f1213283133fc848b0781bb0ce3bb53 (diff)
tdf#86179 inc/dec font is missing in some shells
Mostly in Calc, but also for the SwAnnotationShell. Also replace the current code in SwDrawTextShell with a call to EditView::ChangeFontSize. The latter is able to handle text with different sizes out of the box. Change-Id: I4b55da579ea51683140bce0544e481606d7e5f3e Reviewed-on: https://gerrit.libreoffice.org/16658 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
Diffstat (limited to 'sw/sdi/_annotsh.sdi')
-rw-r--r--sw/sdi/_annotsh.sdi14
1 files changed, 14 insertions, 0 deletions
diff --git a/sw/sdi/_annotsh.sdi b/sw/sdi/_annotsh.sdi
index 232388c69187..43bef1e6b77c 100644
--- a/sw/sdi/_annotsh.sdi
+++ b/sw/sdi/_annotsh.sdi
@@ -230,6 +230,20 @@ interface _Annotation
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
+ FN_GROW_FONT_SIZE
+ [
+ ExecMethod = Exec;
+ StateMethod = GetState ;
+ DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
+ ]
+
+ FN_SHRINK_FONT_SIZE
+ [
+ ExecMethod = Exec;
+ StateMethod = GetState ;
+ DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
+ ]
+
SID_ATTR_CHAR_COLOR // api:
[
ExecMethod = Exec;