diff options
author | Vasily Melenchuk <vasily.melenchuk@cib.de> | 2021-07-23 20:15:08 +0300 |
---|---|---|
committer | Thorsten Behrens <thorsten.behrens@allotropia.de> | 2021-07-26 15:21:39 +0200 |
commit | b67b3e2be0c80c3667ad2cb633e7e932d51d63a8 (patch) | |
tree | 6713f6f1963bcf20ebfe46e03f121b3e461fa326 /include/editeng | |
parent | 1da91cd552d29923ab7ea8027119ff5f62103d57 (diff) |
sw: use followby parameter of outline in Chapter field
When Chapter field with format "Chapter number and name" is used
it does not insert any delimiter between number and name. Best is
to use outline/list property LabelFollowBy.
But since it is done inside field we are limited with supported
characters, so practically only space and nothing are correctly
supported. Tab and newline are replaced by space.
Change-Id: I4583b7051ae5ad963132980443fa70b5a19354e7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119428
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
Diffstat (limited to 'include/editeng')
-rw-r--r-- | include/editeng/numitem.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/editeng/numitem.hxx b/include/editeng/numitem.hxx index 1846e6a8739c..63e819edf27e 100644 --- a/include/editeng/numitem.hxx +++ b/include/editeng/numitem.hxx @@ -213,6 +213,7 @@ public: void SetLabelFollowedBy( const LabelFollowedBy eLabelFollowedBy ); LabelFollowedBy GetLabelFollowedBy() const { return meLabelFollowedBy;} + OUString GetLabelFollowedByAsString() const; void SetListtabPos( const tools::Long nListtabPos ); tools::Long GetListtabPos() const { return mnListtabPos;} void SetFirstLineIndent( const tools::Long nFirstLineIndent ); |