From 7adb6d218f50bbafea7998f67ed375c27694339c Mon Sep 17 00:00:00 2001 From: Maxim Monastirsky Date: Tue, 30 Jun 2015 23:52:19 +0300 Subject: 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 Reviewed-by: Maxim Monastirsky --- sw/sdi/_annotsh.sdi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'sw/sdi/_annotsh.sdi') 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; -- cgit