summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLászló Németh <laszlo.nemeth@collabora.com>2016-09-15 22:14:49 +0200
committerLászló Németh <nemeth@numbertext.org>2016-09-16 09:16:22 +0000
commit0f433fb2f51953296e3050392e827dadfd19b22f (patch)
tree7c8e187a77471ca97484493f1386eb4fa5f8c73f
parentea9da1dd7790de9a8057a00a22c9b28a4a7bc09c (diff)
tdf#56907 extend dot leader character list in ToC for typography
Add ONE DOT LEADER, TWO DOT LEADER and HORIZONTAL ELLIPSIS characters to the "Fill character" list of tab stop entries in Table of Contents formatting. These characters give typographically better dot leaders, than the default dense FULL STOP dot leader. See also http://scripts.sil.org/CharStories_2024 Change-Id: I1d10c8bf59b2722c3ec78d59063a25534570129b Reviewed-on: https://gerrit.libreoffice.org/28937 Reviewed-by: László Németh <nemeth@numbertext.org> Tested-by: László Németh <nemeth@numbertext.org>
-rw-r--r--sw/source/ui/index/cnttab.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sw/source/ui/index/cnttab.cxx b/sw/source/ui/index/cnttab.cxx
index 965b66feb641..ecea420917b5 100644
--- a/sw/source/ui/index/cnttab.cxx
+++ b/sw/source/ui/index/cnttab.cxx
@@ -1925,6 +1925,9 @@ SwTOXEntryTabPage::SwTOXEntryTabPage(vcl::Window* pParent, const SfxItemSet& rAt
m_pFillCharCB->InsertEntry(OUString('.'));
m_pFillCharCB->InsertEntry(OUString('-'));
m_pFillCharCB->InsertEntry(OUString('_'));
+ m_pFillCharCB->InsertEntry(OUString(sal_Unicode(0x2024))); // ONE DOT LEADER
+ m_pFillCharCB->InsertEntry(OUString(sal_Unicode(0x2025))); // TWO DOT LEADER
+ m_pFillCharCB->InsertEntry(OUString(sal_Unicode(0x2026))); // HORIZONTAL ELLIPSIS
m_pEditStylePB->Enable(false);