Summary
Read and write the <w:view> element from word/settings.xml to support round-trip fidelity for document view settings.
Problem
The <w:view> element in word/settings.xml is not preserved during import/export. Documents that specify a view mode (e.g., print or web) lose this setting after a round-trip through SuperDoc.
Repro
- Open a docx with
<w:view w:val="web"/> in its word/settings.xml.
- Export the document.
- Inspect the exported
word/settings.xml — the <w:view> element is missing.
Expected
The <w:view> element is preserved in word/settings.xml after import/export.
Notes
OOXML spec §17.15.1.92 defines <w:view> with possible values: none, print, outline, masterPages, normal, web. This is a pure import/export change — read the value during import, store it, and write it back on export.
Attachments

web-layout.docx
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-1548
Summary
Read and write the
<w:view>element fromword/settings.xmlto support round-trip fidelity for document view settings.Problem
The
<w:view>element inword/settings.xmlis not preserved during import/export. Documents that specify a view mode (e.g.,printorweb) lose this setting after a round-trip through SuperDoc.Repro
<w:view w:val="web"/>in itsword/settings.xml.word/settings.xml— the<w:view>element is missing.Expected
The
<w:view>element is preserved inword/settings.xmlafter import/export.Notes
OOXML spec §17.15.1.92 defines
<w:view>with possible values:none,print,outline,masterPages,normal,web. This is a pure import/export change — read the value during import, store it, and write it back on export.Attachments
web-layout.docx
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-1548