Docx writer: copy over more settings from referenc.odcx.

From settings.xml in the reference-doc, we now include:
`zoom`, `embedSystemFonts`, `doNotTrackMoves`, `defaultTabStop`,
`drawingGridHorizontalSpacing`, `drawingGridVerticalSpacing`,
`displayHorizontalDrawingGridEvery`, `displayVerticalDrawingGridEvery`,
`characterSpacingControl`, `savePreviewPicture`, `mathPr`, `themeFontLang`,
`decimalSymbol`, `listSeparator`, `autoHyphenation`, `compat`.

Closes #7240.
This commit is contained in:
John MacFarlane 2021-05-15 15:40:49 -07:00
parent 31b650b4ec
commit 0a4c6925b6
34 changed files with 16 additions and 1 deletions

View file

@ -469,12 +469,27 @@ writeDocx opts doc = do
-- adds references to footnotes or endnotes we don't have...
-- we do, however, copy some settings over from reference
let settingsPath = "word/settings.xml"
settingsList = [ "autoHyphenation"
settingsList = [ "zoom"
, "embedSystemFonts"
, "doNotTrackMoves"
, "defaultTabStop"
, "drawingGridHorizontalSpacing"
, "drawingGridVerticalSpacing"
, "displayHorizontalDrawingGridEvery"
, "displayVerticalDrawingGridEvery"
, "characterSpacingControl"
, "savePreviewPicture"
, "mathPr"
, "themeFontLang"
, "decimalSymbol"
, "listSeparator"
, "autoHyphenation"
, "consecutiveHyphenLimit"
, "hyphenationZone"
, "doNotHyphenateCap"
, "evenAndOddHeaders"
, "proofState"
, "compat"
]
settingsEntry <- copyChildren refArchive distArchive settingsPath epochtime settingsList

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.