diff options
author | Szymon Kłos <eszkadev@gmail.com> | 2017-03-28 10:40:16 +0200 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2017-04-04 15:40:30 +0000 |
commit | 387cdc35d79cd3dd235e4bb61e01e17d8781630a (patch) | |
tree | cd6c834dd8961c746a1c360fd4552d84bf213f80 /sw/sdi | |
parent | d9064ecf03b28a0b5015ccac20c2d0fa5bb66767 (diff) |
Notebookbar: Separated paragraph spacing controls
One big paragraph spacing control was splitted
to separated widgets. It will be possible to
reuse that in the sidebar. Also layout is better
because explicit size setting is no longer needed.
Change-Id: Ieb200af4a9a6120ae03b22b27da56256aa816193
Reviewed-on: https://gerrit.libreoffice.org/35801
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'sw/sdi')
-rw-r--r-- | sw/sdi/_annotsh.sdi | 25 | ||||
-rw-r--r-- | sw/sdi/_textsh.sdi | 12 | ||||
-rw-r--r-- | sw/sdi/_viewsh.sdi | 25 | ||||
-rw-r--r-- | sw/sdi/drwtxtsh.sdi | 25 |
4 files changed, 87 insertions, 0 deletions
diff --git a/sw/sdi/_annotsh.sdi b/sw/sdi/_annotsh.sdi index e3f9164ea03c..58c5c9581c10 100644 --- a/sw/sdi/_annotsh.sdi +++ b/sw/sdi/_annotsh.sdi @@ -190,6 +190,21 @@ interface _Annotation StateMethod = GetState ; ] + SID_ATTR_PARA_LEFTSPACE + [ + StateMethod = GetState ; + ] + + SID_ATTR_PARA_RIGHTSPACE + [ + StateMethod = GetState ; + ] + + SID_ATTR_PARA_FIRSTLINESPACE + [ + StateMethod = GetState ; + ] + SID_ATTR_PARA_LINESPACE [ ExecMethod = Exec; @@ -202,6 +217,16 @@ interface _Annotation StateMethod = GetState ; ] + SID_ATTR_PARA_ABOVESPACE + [ + StateMethod = GetState ; + ] + + SID_ATTR_PARA_BELOWSPACE + [ + StateMethod = GetState ; + ] + SID_PARASPACE_INCREASE [ ExecMethod = Exec; diff --git a/sw/sdi/_textsh.sdi b/sw/sdi/_textsh.sdi index d691e8e216e1..b15de6f2cfeb 100644 --- a/sw/sdi/_textsh.sdi +++ b/sw/sdi/_textsh.sdi @@ -1233,6 +1233,18 @@ interface BaseText ExecMethod = Execute ; StateMethod = GetAttrState; ] + SID_ATTR_PARA_LEFTSPACE + [ + StateMethod = GetAttrState ; + ] + SID_ATTR_PARA_RIGHTSPACE + [ + StateMethod = GetAttrState ; + ] + SID_ATTR_PARA_FIRSTLINESPACE + [ + StateMethod = GetAttrState ; + ] FN_SELECT_PARA // status(final|play) [ ExecMethod = Execute ; diff --git a/sw/sdi/_viewsh.sdi b/sw/sdi/_viewsh.sdi index 8c85e38b7b19..bc40a4dd8940 100644 --- a/sw/sdi/_viewsh.sdi +++ b/sw/sdi/_viewsh.sdi @@ -213,6 +213,21 @@ interface BaseTextEditView StateMethod = StateTabWin ; DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] + SID_ATTR_PARA_LEFTSPACE + [ + StateMethod = StateTabWin ; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; + ] + SID_ATTR_PARA_RIGHTSPACE + [ + StateMethod = StateTabWin ; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; + ] + SID_ATTR_PARA_FIRSTLINESPACE + [ + StateMethod = StateTabWin ; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; + ] SID_ATTR_PARA_LRSPACE_VERTICAL // status() [ ExecMethod = ExecTabWin ; @@ -428,6 +443,16 @@ interface BaseTextEditView StateMethod = StateTabWin ; ] + SID_ATTR_PARA_ABOVESPACE + [ + StateMethod = StateTabWin ; + ] + + SID_ATTR_PARA_BELOWSPACE + [ + StateMethod = StateTabWin ; + ] + SID_PARASPACE_INCREASE [ ExecMethod = ExecTabWin; diff --git a/sw/sdi/drwtxtsh.sdi b/sw/sdi/drwtxtsh.sdi index 80085545b181..c2898fb066e0 100644 --- a/sw/sdi/drwtxtsh.sdi +++ b/sw/sdi/drwtxtsh.sdi @@ -213,6 +213,21 @@ interface TextDrawText StateMethod = GetState ; ] + SID_ATTR_PARA_LEFTSPACE + [ + StateMethod = GetState ; + ] + + SID_ATTR_PARA_RIGHTSPACE + [ + StateMethod = GetState ; + ] + + SID_ATTR_PARA_FIRSTLINESPACE + [ + StateMethod = GetState ; + ] + SID_PARASPACE_INCREASE [ ExecMethod = Execute; @@ -239,6 +254,16 @@ interface TextDrawText StateMethod = GetState ; ] + SID_ATTR_PARA_BELOWSPACE + [ + StateMethod = GetState ; + ] + + SID_ATTR_PARA_ABOVESPACE + [ + StateMethod = GetState ; + ] + SID_ATTR_PARA_ADJUST_LEFT // api: [ ExecMethod = Execute ; |