diff --git a/src/services/ppen.js b/src/services/ppen.js index f4f8e6b..4303d1b 100644 --- a/src/services/ppen.js +++ b/src/services/ppen.js @@ -262,6 +262,7 @@ const courses = (courses) => { export function writePpen(event) { const doc = document.implementation.createDocument("", "", null); + const allControls = event.courses.find((c) => c.id === ALL_CONTROLS_ID); const root = createXml(doc, { type: "course-scribe-event", children: [ @@ -280,6 +281,24 @@ export function writePpen(event) { text: event.mapFilename, }, }, + { type: "standards", attrs: { map: "2017", description: "2018" } }, + { + type: "all-controls", + attrs: { + "print-scale": allControls.printScale, + "description-kind": "symbols", + }, + }, + { + type: "course-appearance", + attrs: { + "scale-sizes": event.courseAppearance.scaleSizes, + "scale-sizes-circle-gaps": + event.courseAppearance.scaleSizesCircleGaps, + "auto-leg-gap-size": event.courseAppearance.autoLegGapSize, + "blend-purple": event.courseAppearance.blendPurple, + }, + }, ], }, ]