open-agreements
Version:
Open-source legal template filling CLI and library
24 lines • 1.13 kB
TypeScript
/**
* Paragraph emitter.
*
* Shipped: paragraphs with style references and direct formatting
* (alignment, spacing, indentation, tabs, keepNext, keepLines, pageBreakBefore), all
* routed through the shared pPr builder and PPR_ORDER. The section-break
* injection hook (a pPr-only sectPr) arrives with the multi-section phase.
*/
import type { ParagraphSpec } from '../types.js';
import type { BlockEmitContext } from './emit-context.js';
/**
* List paragraphs reference their numbering definition through w:numPr
* (w:ilvl then w:numId, per CT_NumPr); the numeric id comes from the
* numbering part's deterministic handle map.
*
* @conformance ECMA-376 edition 5, Part 1 § 17.3.1.19
* @conformance ECMA-376 edition 5, Part 1 § 17.9.3
* @conformance ECMA-376 edition 5, Part 1 § 17.9.18
* @conformance ECMA-376 edition 5, Part 1 § 17.13.4.4
* @conformance ECMA-376 edition 5, Part 1 § 17.13.4.3
* @conformance ECMA-376 edition 5, Part 1 § 17.13.4.5
*/
export declare function buildParagraph(doc: Document, paragraph: ParagraphSpec, ctx?: BlockEmitContext): Element;
//# sourceMappingURL=paragraph.d.ts.map