Bug 147473 - Rearrange items the Numbering type list on Customize tab in B&N dialog
Summary: Rearrange items the Numbering type list on Customize tab in B&N dialog
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: difficultyBeginner, easyHack, skillDesign, topicUI
Depends on:
Blocks: Bullets-Numbering-Dialog
  Show dependency treegraph
 
Reported: 2022-02-16 19:02 UTC by Roman Kuznetsov
Modified: 2022-02-17 12:28 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Kuznetsov 2022-02-16 19:02:57 UTC
Description:
Rearrange items the Numbering type list on Customize tab in B&N dialog

Now we have there:

None
Bullet
Graphics
Linked graphics
1, 2, 3, ...
A, B, C, ...
a, b, c, ...
I, II, III, ...
i, ii, iii, ...
1st, 2nd, 3rd, ...
One, Rwo, Three, ...
First, Second, Third, ...
A,..,AA,..,AAA,...
a,..,aa,..,aaa,...
*, †, ‡, §, **, ††, ...
Some Bulgarian letters
Some Russian letters
Some Serbian letters
А, В, Г (Greek)
α, β, γ, (Greek)
01, 02, 03, ...
001, 002, 003, ...
0001, 0002, 0003, ...
00001, 00002, 00003, ...

And I suggest rearrange the items and add separators between it :

None
-----------------------
Bullet
Graphics
Linked graphics
-----------------------
1, 2, 3, ...
01, 02, 03, ...
001, 002, 003, ...
0001, 0002, 0003, ...
00001, 00002, 00003, ...
I, II, III, ...
i, ii, iii, ...
1st, 2nd, 3rd, ...
One, Rwo, Three, ...
First, Second, Third, ...
-----------------------
A, B, C, ...
a, b, c, ...
A,..,AA,..,AAA,...
a,..,aa,..,aaa,...
*, †, ‡, §, **, ††, ... 
Some Bulgarian letters
Some Russian letters
Some Serbian letters
А, В, Г (Greek)
α, β, γ, (Greek)

The benefit here is all numbers near numbers (even if numbers are Rome's, 1st or First), all letter types near letter types.

The reason for rearranging is user's questions about 001, 002 type for numbering. They just can't think scroll our long list to down to see other numbering types with numbers there >_<

Steps to Reproduce:
see the description

Actual Results:
we have a bad arranged list with numbering type items

Expected Results:
we have a good and more logical list with numbering type items


Reproducible: Always


User Profile Reset: No



Additional Info:
-
Comment 1 Heiko Tietze 2022-02-17 11:56:12 UTC
Good idea. And easy hackable (except the separator lines).

Code pointer: svx/inc/numberingtype.hrc
Comment 2 Roman Kuznetsov 2022-02-17 12:02:17 UTC
(In reply to Heiko Tietze from comment #1)
> Good idea. And easy hackable (except the separator lines).
> 
> Code pointer: svx/inc/numberingtype.hrc

Heiko, are you sure it's so easy? I don't see there 01, 001, 0001 items
Comment 3 Heiko Tietze 2022-02-17 12:28:07 UTC
The number types are defined in i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx at Supported_NumberingType[] with an id in offapi/com/sun/start/style/NumberingType.idl. For example "const short ARABIC_ZERO = 64";

Add these to the RID_SVXSTRARY_NUMBERINGTYPE[] for "localization" and proper sorting. Take care of the id! Could be:

{ /* SVX_NUM_ARABICZERO  */ NC_("RID_SVXSTRARY_NUMBERINGTYPE", "Arabic 01,02,03..."),                              64 },