-
Notifications
You must be signed in to change notification settings - Fork 73
Description
Summary
Render paragraph borders (w:pBdr) across all OOXML containers, respecting the full style cascade.
Problem
Paragraph borders do not render in SuperDoc. Documents with bordered paragraphs (e.g., callout boxes, highlighted sections) lose their visual formatting.
Repro
- Open attached docx files in SuperDoc.
- Paragraphs with borders render without any visible borders.
Expected
Paragraph borders render with correct styles, colors, and widths across all containers (body, tables, headers/footers, textboxes, SDTs), matching
Word's behavior.
Notes
The OOXML element is w:pPr/w:pBdr with child elements for each side (w:top, w:bottom, w:left, w:right, w:between). Each border has w:val (style), w:sz (width), and w:color attributes. The implementation touches the converter (parsing), style-engine (cascade resolution), and DomPainter (rendering). See OOXML spec §17.3.1.24.
Four sample documents are attached covering different border styles and widths.
Attachments
paragraph_borders_all_styles_0.5pt_TOP_ONLY.docx
paragraph_borders_2pt_single_colors.docx