[Libreoffice-commits] core.git: sw/source

László Németh laszlo.nemeth at collabora.com
Fri Sep 16 09:17:30 UTC 2016


 sw/source/ui/index/cnttab.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 0f433fb2f51953296e3050392e827dadfd19b22f
Author: László Németh <laszlo.nemeth at collabora.com>
Date:   Thu Sep 15 22:14:49 2016 +0200

    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 at numbertext.org>
    Tested-by: László Németh <nemeth at numbertext.org>

diff --git a/sw/source/ui/index/cnttab.cxx b/sw/source/ui/index/cnttab.cxx
index 965b66f..ecea420 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);
 


More information about the Libreoffice-commits mailing list