summaryrefslogtreecommitdiff
path: root/sw/sdi/viewsh.sdi
diff options
context:
space:
mode:
authorMaxim Monastirsky <momonasmon@gmail.com>2016-02-01 18:39:51 +0200
committerMaxim Monastirsky <momonasmon@gmail.com>2016-02-02 09:32:36 +0000
commit11d605cc5a0c221d2423b6e63f502db660d085d2 (patch)
tree018a88d0fe4e56ec0c69a40596227cb70dfdf847 /sw/sdi/viewsh.sdi
parent8b65dec8e0fdfc8564597e90aff91b971e23f7ce (diff)
tdf#84843 Stop using PseudoSlots for drawing slots
Instead of fighting with this obsolete thing, let's just kill it. This fixes disabling in read-only doc, as well as pressed/unpressed states. Change-Id: I4d06ba3395024ffd09d77c6d22653a2c5e227115 Reviewed-on: https://gerrit.libreoffice.org/22010 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
Diffstat (limited to 'sw/sdi/viewsh.sdi')
-rw-r--r--sw/sdi/viewsh.sdi69
1 files changed, 69 insertions, 0 deletions
diff --git a/sw/sdi/viewsh.sdi b/sw/sdi/viewsh.sdi
index 1717fc828880..15f3f2a9a252 100644
--- a/sw/sdi/viewsh.sdi
+++ b/sw/sdi/viewsh.sdi
@@ -76,6 +76,75 @@ interface TextEditView : BaseTextEditView
]
SID_INSERT_DRAW // status()
[
+ StateMethod = GetDrawState ;
+ ]
+ SID_DRAW_LINE
+ [
+ ExecMethod = ExecDraw ;
+ StateMethod = GetDrawState ;
+ ]
+ SID_DRAW_RECT
+ [
+ ExecMethod = ExecDraw ;
+ StateMethod = GetDrawState ;
+ ]
+ SID_DRAW_ELLIPSE
+ [
+ ExecMethod = ExecDraw ;
+ StateMethod = GetDrawState ;
+ ]
+ SID_DRAW_POLYGON_NOFILL
+ [
+ ExecMethod = ExecDraw ;
+ StateMethod = GetDrawState ;
+ ]
+ SID_DRAW_BEZIER_NOFILL
+ [
+ ExecMethod = ExecDraw ;
+ StateMethod = GetDrawState ;
+ ]
+ SID_DRAW_FREELINE_NOFILL
+ [
+ ExecMethod = ExecDraw ;
+ StateMethod = GetDrawState ;
+ ]
+ SID_DRAW_ARC
+ [
+ ExecMethod = ExecDraw ;
+ StateMethod = GetDrawState ;
+ ]
+ SID_DRAW_PIE
+ [
+ ExecMethod = ExecDraw ;
+ StateMethod = GetDrawState ;
+ ]
+ SID_DRAW_CIRCLECUT
+ [
+ ExecMethod = ExecDraw ;
+ StateMethod = GetDrawState ;
+ ]
+ SID_DRAW_TEXT
+ [
+ ExecMethod = ExecDraw ;
+ StateMethod = GetDrawState ;
+ ]
+ SID_DRAW_TEXT_VERTICAL
+ [
+ ExecMethod = ExecDraw ;
+ StateMethod = GetDrawState ;
+ ]
+ SID_DRAW_TEXT_MARQUEE
+ [
+ ExecMethod = ExecDraw ;
+ StateMethod = GetDrawState ;
+ ]
+ SID_DRAW_CAPTION
+ [
+ ExecMethod = ExecDraw ;
+ StateMethod = GetDrawState ;
+ ]
+ SID_DRAW_CAPTION_VERTICAL
+ [
ExecMethod = ExecDraw ;
StateMethod = GetDrawState ;
]