From 723467bd88a50323ccd2e4046d0a36332c664a66 Mon Sep 17 00:00:00 2001 From: Szymon Kłos Date: Tue, 31 May 2016 16:57:13 +0200 Subject: [API CHANGE] notebookbar: paragraph spacing controls Change-Id: I9d2672cd156f2dcc2ee4c544902e9d42632cab70 Reviewed-on: https://gerrit.libreoffice.org/26039 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt --- sw/source/uibase/app/swmodule.cxx | 3 + sw/uiconfig/swriter/ui/notebookbar.ui | 355 ++++------------------------------ 2 files changed, 39 insertions(+), 319 deletions(-) (limited to 'sw') diff --git a/sw/source/uibase/app/swmodule.cxx b/sw/source/uibase/app/swmodule.cxx index 3ab2832e698a..c4bfa356ccb5 100644 --- a/sw/source/uibase/app/swmodule.cxx +++ b/sw/source/uibase/app/swmodule.cxx @@ -27,6 +27,7 @@ #include #include #include +#include #include #include #include @@ -288,6 +289,8 @@ void SwDLL::RegisterControls() svx::ParaLineSpacingPopup::RegisterControl(SID_ATTR_PARA_LINESPACE, pMod); svx::TextCharacterSpacingPopup::RegisterControl(SID_ATTR_CHAR_KERNING, pMod); svx::TextUnderlinePopup::RegisterControl(SID_ATTR_CHAR_UNDERLINE, pMod); + svx::ParaULSpacingControl::RegisterControl(SID_ATTR_PARA_ULSPACE, pMod); + svx::ParaLRSpacingControl::RegisterControl(SID_ATTR_PARA_LRSPACE, pMod); SvxColorToolBoxControl::RegisterControl( SID_EXTRUSION_3D_COLOR, pMod ); diff --git a/sw/uiconfig/swriter/ui/notebookbar.ui b/sw/uiconfig/swriter/ui/notebookbar.ui index cd60ae1541ff..0c22525cdf0e 100644 --- a/sw/uiconfig/swriter/ui/notebookbar.ui +++ b/sw/uiconfig/swriter/ui/notebookbar.ui @@ -1888,341 +1888,58 @@ - + + 200 + 75 True False - 6 + True + Indent - + + False + 200 + 75 True False - 6 - 6 - - - True - False - 6 - - - True - False - center - center - svx/res/symphony/spacing1.png - - - False - True - 0 - - - - - True - False - Above - - - False - True - 1 - - - - - 0 - 0 - - - - - True - False - 6 - - - True - False - center - center - svx/res/symphony/spacing2.png - - - False - True - 0 - - - - - True - False - Below - - - False - True - 1 - - - - - 0 - 1 - - - - - True - True - True - Above Paragraph Spacing - True - - 0 - - - 1 - 0 - - - - - True - True - True - Below Paragraph Spacing - True - - 0 - - - 1 - 1 - - + True + .uno:ULSpacing + True False - True - 1 + True + + + False + True + 2 + + + + + 450 + 75 + True + False + True + Indent - + + False + 450 + 75 True False - 6 - 6 - - - True - False - 6 - - - True - False - center - center - svx/res/symphony/Indent4.png - - - False - True - 0 - - - - - True - False - Before - - - False - True - 1 - - - - - 0 - 0 - - - - - True - False - 6 - - - True - False - center - center - svx/res/symphony/Indent3.png - - - False - True - 0 - - - - - True - False - After - - - False - True - 1 - - - - - 0 - 1 - - - - - True - True - Before Text Indent - True - - 0 - - - 1 - 0 - - - - - True - True - After Text Indent - True - - 0 - - - 1 - 1 - - - - - True - False - 6 - - - True - False - center - center - svx/res/symphony/Indent2.png - - - False - True - 0 - - - - - True - False - First line - - - False - True - 1 - - - - - True - True - First Line Indent - True - - 0 - - - False - True - 2 - - - - - 2 - 0 - - - - - True - False - - - True - False - True - - - True - False - True - Line Spacing - .uno:LineSpacing - True - - - False - True - - - - - False - True - 0 - - - - - True - False - Line spacing - 0 - - - False - True - 1 - - - - - 2 - 1 - - + True + .uno:LeftRightParaMargin + True False - True - 3 + True -- cgit