open-agreements
Version:
Open-source legal template filling CLI and library
16 lines • 843 B
TypeScript
/**
* word/fontTable.xml emitter.
*
* Emitted on every package. Word-authored documents declare a font table; we
* enumerate the fonts the spec actually references (the Calibri default plus any
* font named on a style, run, or numbering level) rather than a fixed stub, so the
* metadata is faithful — a run set in Georgia produces a Georgia entry. panose1 is
* omitted because we cannot derive it for an arbitrary font name, and Word tolerates
* its absence. The walk is pure over the spec, so output stays deterministic.
*
* The root is the WordprocessingML `w:fonts` font-table element.
*/
import type { CompileContext } from '../context.js';
import type { DocumentSpec } from '../types.js';
export declare function emitFontTablePart(spec: DocumentSpec, ctx: CompileContext): void;
//# sourceMappingURL=font-table-part.d.ts.map