[Libreoffice] [PATCH] Use a custom string to make numbering more flexible

Mohammad Elahi elahimohammad at gmail.com
Mon Aug 29 15:11:05 PDT 2011


This patch is a try to make outline numbering more flexible. I just want to
know the feedback of
community.

To make outline numbering more flexible, a LabelText property is added to
SvxNumberFormat and
some elements to ui. So if the LabelText is not empty, governs the format of
numbering. The place
holder for level numbers are %0 upto %9. So the %0 will be replaced by level
1 number. The level
separator is not a hardcoded "."

But this patch lacks some parts, such as save and load from files.

Thanks
Elahi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110830/d731e064/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-LabelText-property-to-SvxNumberFormat.patch
Type: text/x-patch
Size: 2503 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110830/d731e064/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Add-elements-to-ui-to-add-support-for-LabelText.patch
Type: text/x-patch
Size: 11717 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110830/d731e064/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Add-number-formating-based-on-LabelText.patch
Type: text/x-patch
Size: 5479 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110830/d731e064/attachment-0005.bin>


More information about the LibreOffice mailing list