Fast and easy to use cross-platform .NET library that creates or modifies Microsoft Word (DocX) and later also Excel (XLSX) files without installing any software. Library is based on Open XML SDK
MIT License
286
stars
50
forks
source link
Remove continue numbering & restart numbering for lists #204
When I look at how Word behaves when you do Continue Numbering it basically reattaches current list to existing list and leaves the other one not used at all (at least I think that's what I see).
That means the whole continue numbering thing is not going to make any sense as it's the same list.
Same goes for restart numbering - it makes no sense. The only thing that makes sense is to have RestartNumberingAfterBreak which changes how things are.
So the solution is:
Remove ContinueNumbering from AddList
Remove RestartNumbering from List
If you want to continue numbering just refer existing list and do AddItem on it
If you want to restart numbering just add a new list
The only thing that would be maybe useful is to merge two lists so you can "fix" something
So I'm thinking that we need to remove continue numbering completely as it doesn't make sense to keep it.
If you want to continue numbering then you basically create a list and attach items to it at any place and it refers original AbstractNum.
When I look at how Word behaves when you do Continue Numbering it basically reattaches current list to existing list and leaves the other one not used at all (at least I think that's what I see).
That means the whole continue numbering thing is not going to make any sense as it's the same list.
Same goes for restart numbering - it makes no sense. The only thing that makes sense is to have RestartNumberingAfterBreak which changes how things are.
So the solution is: