RemoveParagraph and RemoveParagraphAt throw ArgumentOutOfRangeException
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 48/100
Research direction
Start at Container.RemoveParagraphAt(Int32 index), where the stack trace shows the failing removal, and reproduce the issue with a Table cell containing three paragraphs and index 0. Compare the behavior with removal on a DocX instance; done means RemoveParagraph and RemoveParagraphAt remove the selected cell paragraph without throwing ArgumentOutOfRangeException.
Written by the indexing model from the issue text.
Description
When applied to Table cell's paragraphs, functions RemoveParagraph and RemoveParagraphAt throw ArgumentOutOfRangeException.
Stack:
System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
System.Collections.Generic.List`1.RemoveAt(Int32 index)
Xceed.Document.NET.Container.RemoveParagraphAt(Int32 index)
I attempted to remove at index = 0 with 3 paragraphs in the cell of a common Word table.
When applied to DocX instance, its OK.
- Dominant language
- C#
- Stars
- 1.9k
- Forks
- 482
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from xceedsoftware/DocX
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
xceedsoftware/DocX#489 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
xceedsoftware/DocX#488 · 1 comment · 1 reaction ·
-
keep formatOpen
Difficulty 3/5 1-2 days Newbie friendliness 25/100
xceedsoftware/DocX#487 · 3 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
xceedsoftware/DocX#485 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
xceedsoftware/DocX#482 · 4 comments ·
All issues in xceedsoftware/DocX
Similar issues
-
sev:L
Difficulty 1/5 Under an hour Newbie friendliness 72/100
Systemorph/MeshWeaver#6233 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
CommunityToolkit/Aspire#2231 ·
Maintainers usually reply within 1 day
-
S: Untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Trauma-Station/Trauma-Station#4930 ·
Maintainers usually reply within 1 day
-
agentic-workflows Needs: Triage :mag:
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
S: Untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
new-frontiers-14/frontier-station-14#4900 ·
Maintainers usually reply within 2 days