-
Notifications
You must be signed in to change notification settings - Fork 73
Open
Labels
good first issueGood for newcomersGood for newcomersproduct: superdocsource: githubstage: assessedInvestigation complete. Outcome determinedInvestigation complete. Outcome determined
Description
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 itsword/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
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomersproduct: superdocsource: githubstage: assessedInvestigation complete. Outcome determinedInvestigation complete. Outcome determined