open-agreements
Version:
Open-source legal template filling CLI and library
16 lines • 861 B
TypeScript
/**
* word/styles.xml emitter.
*
* Always emitted: document defaults, the Normal paragraph style, and every
* declared StyleSpec. Style pPr/rPr go through the same shared property
* builders as direct formatting (emit/properties.ts), so a style definition
* and an inline run can never disagree on how a property serializes.
*
* @conformance ECMA-376 edition 5, Part 1 § 17.7.4.18
*/
import type { CompileContext } from '../context.js';
import type { DocumentSpec } from '../types.js';
export declare const STYLES_CONTENT_TYPE = "application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml";
export declare const STYLES_REL_TYPE = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles";
export declare function emitStylesPart(spec: DocumentSpec, ctx: CompileContext): void;
//# sourceMappingURL=styles-part.d.ts.map