write — create files

Create new Office files from structured JSON.

Basics

zagens-office write pptx --path out.pptx --input-file deck.json
zagens-office write docx --path out.docx --input-file doc.json
zagens-office write xlsx --path out.xlsx --input-file sheet.json --workspace .
zagens-office write pdf  --path out.pdf  --input-file doc.json

Before you write

  1. schema write <format>
  2. Lock a theme palette in theme
  3. Run edit --op validate immediately after

PPT tips (short)

Full contract: schema write pptx.

Related