-
Notifications
You must be signed in to change notification settings - Fork 73
Description
Summary
Support the w:contextualSpacing paragraph property, which suppresses space before/after when consecutive paragraphs share the same style.
Problem
When a list uses w:contextualSpacing, the paragraph spacing between same-style items should collapse. SuperDoc currently ignores this setting and always renders the full spacing.
Repro
- Open attached docx in SuperDoc.
- List items that should have collapsed spacing still show gaps.
Expected
Consecutive list items with the same style and w:contextualSpacing enabled have their inter-paragraph spacing suppressed, matching Word's behavior.
Notes
The property is w:pPr/w:contextualSpacing. When set to true (or present without a value), space-before and space-after are suppressed between consecutive paragraphs of the same style. See OOXML spec §17.3.1.9.
Attachments
Want to work on this? Check the Contributing Guide to get started. Comment on this issue to let us know you're picking it up.
Ref: SD-1733