diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2022-03-24 08:44:52 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2022-03-24 12:52:42 +0100 |
commit | 8a7d0e8a811da83265c383630cc48af57f96dc49 (patch) | |
tree | 8043977b399dfd69d0983081f84063d4ff4ae64f /sw/inc/swabstdlg.hxx | |
parent | 312cf9580c4b7846d217ce241c36f327a81f6cea (diff) |
sw clearing breaks: add insert UI
Expose SwLineBreakClear in SwBreakDlg and extend
SwWrtShell::InsertLineBreak() to be able to insert clearing breaks as
well.
Change-Id: I17a4c34cb74f1c72d8e208bace25597de0367e17
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132024
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'sw/inc/swabstdlg.hxx')
-rw-r--r-- | sw/inc/swabstdlg.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/inc/swabstdlg.hxx b/sw/inc/swabstdlg.hxx index dafbef78c5e6..08c71a2f33d1 100644 --- a/sw/inc/swabstdlg.hxx +++ b/sw/inc/swabstdlg.hxx @@ -60,6 +60,7 @@ class SwInsTableDlg; enum class SwBorderModes; enum class SwCharDlgMode; enum class SfxStyleFamily; +enum class SwLineBreakClear; namespace com::sun::star{ namespace frame{ @@ -235,6 +236,7 @@ public: virtual OUString GetTemplateName() = 0; virtual sal_uInt16 GetKind() = 0; virtual ::std::optional<sal_uInt16> GetPageNumber() = 0; + virtual std::optional<SwLineBreakClear> GetClear() = 0; virtual std::shared_ptr<weld::DialogController> getDialogController() = 0; }; |