Expand description
Blank documents falcon writes itself, for File ▸ New….
Each Template builds the bytes of a minimal, valid empty file in
code: a text file, the Office Open XML formats (Word, Excel, PowerPoint),
an XMind mind map, a Photoshop document (from Adobe’s public PSD file
format specification), a PDF-compatible Illustrator document (a plain
PDF with one blank page) and a Sketch document. Nothing is copied from
another application’s template files. The caller writes the bytes to a
temporary file named Template::file_name and imports it like any
other file.
The Sketch document follows Sketch’s public file format reference
(developer.sketch.com/file-format) and targets document version 146, the
latest in the MIT-licensed JSON schemas of
@sketch-hq/sketch-file-format 6.5.0. It has one empty page and no
artboards. Those schemas have no fonts key in meta.json, so it is left
out. meta.json names the Sketch that saved a file; no Sketch saved this
one and the public docs give no app version for document version 146, so
SKETCH_COMMIT, SKETCH_APP_VERSION and SKETCH_BUILD say so
rather than claim one, and the save history is empty. The schema allows
only Sketch’s own bundle ids for app, so the public release’s is used.
Enums§
- Template
- A blank document falcon can make.