@stll/docx-core 0.19.1 → 0.19.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2280,6 +2280,11 @@ type DocumentSettings = {
|
|
|
2280
2280
|
* it is a document-wide flag; absent means odd/even share one header.
|
|
2281
2281
|
*/
|
|
2282
2282
|
evenAndOddHeaders?: boolean;
|
|
2283
|
+
/**
|
|
2284
|
+
* `w:adjustLineHeightInTable` (§17.15.3.1): apply the section line-grid
|
|
2285
|
+
* pitch to paragraphs inside table cells.
|
|
2286
|
+
*/
|
|
2287
|
+
adjustLineHeightInTable?: true;
|
|
2283
2288
|
/**
|
|
2284
2289
|
* `w:updateFields` (§17.15.1.93) — ask the consuming application to
|
|
2285
2290
|
* recompute every field when the document opens. Set by generators that
|
package/dist/docx_kernel_bg.wasm
CHANGED
|
Binary file
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Et as PositionalTab, Jt as Table, N as DocumentBody, Ot as Run, Pt as SectionProperties, Qt as TableRow, Yt as TableCell, _n as NumberingDefinitions, a as DocxPackage, b as BlockContent, bt as Paragraph, i as DocxConformanceClass, kt as RunContent, n as Document, nn as TextContent, p as Style, t as DOCX_CONFORMANCE_CLASSES, w as BreakContent, xt as ParagraphContent } from "./document-
|
|
1
|
+
import { Et as PositionalTab, Jt as Table, N as DocumentBody, Ot as Run, Pt as SectionProperties, Qt as TableRow, Yt as TableCell, _n as NumberingDefinitions, a as DocxPackage, b as BlockContent, bt as Paragraph, i as DocxConformanceClass, kt as RunContent, n as Document, nn as TextContent, p as Style, t as DOCX_CONFORMANCE_CLASSES, w as BreakContent, xt as ParagraphContent } from "./document-BPmz_Q5c.js";
|
|
2
2
|
import { Buffer } from "node:buffer";
|
|
3
3
|
//#region src/legal-source/types.d.ts
|
|
4
4
|
type LegalDocumentKind = "agreement" | "letter" | "memo" | "checklist" | "pleading" | "other";
|
package/dist/model/document.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as ImagePosition, $t as TableRowPropertyChange, A as ComplexField, An as TableBorders, At as RunPropertyChange, B as FieldCharContent, Bn as UnderlineStyle, Bt as ShapeGeometryAdjustment, C as BookmarkStart, Cn as LineSpacingRule, Ct as ParagraphMarkChangeKind, D as CommentRangeEnd, Dn as TabLeader, Dt as PropertyChangeInfo, E as Comment, En as SpacingExplicit, Et as PositionalTab, F as DrawingRawXmlMode, Fn as TableMeasurement, Ft as SectionPropertyChange, G as FootnoteProperties, Gn as ThemeColorSlot, Gt as SoftHyphenContent, H as FooterReference, Hn as ColorValue, Ht as ShapeTextBody, I as Endnote, In as TableRowFormatting, It as SectionStart, J as HeaderReference, Jt as Table, K as HeaderFooter, Kt as SymbolContent, L as EndnotePosition, Ln as TableWidthType, Lt as Shape, M as Deletion, Mn as TableCellFormatting, Mt as SdtType, N as DocumentBody, Nn as TableFormatting, Nt as Section, O as CommentRangeStart, On as TabStop, Ot as Run, P as DrawingContent, Pn as TableLook, Pt as SectionProperties, Q as ImagePadding, Qt as TableRow, R as EndnoteProperties, Rn as TextEffect, Rt as ShapeContent, S as BookmarkEnd, Sn as FloatingTableProperties, St as ParagraphMarkChange, T as Column, Tn as ParagraphFormatting, Tt as PictureWatermark, U as Footnote, Un as KnownBorderStyle, Ut as ShapeType, V as FieldType, Vn as BorderSpec, Vt as ShapeOutline, W as FootnotePosition, Wn as ShadingProperties, Wt as SimpleField, X as Image, Xt as TableCellPropertyChange, Y as Hyperlink, Yt as TableCell, Z as ImageCrop, Zt as TablePropertyChange, _ as ThemeColorScheme, _n as NumberingDefinitions, _t as NoteReferenceContent, a as DocxPackage, an as TrackedRunChange, at as InstrTextContent, b as BlockContent, bn as ConditionalFormatStyle, bt as Paragraph, c as FontTable, cn as Watermark, ct as MathEquation, d as RelationshipMap, dn as AbstractNumbering, dt as MoveFromRangeStart, en as TableStructuralChangeInfo, et as ImageSize, f as RelationshipType, fn as LevelSuffix, ft as MoveTo, g as Theme, gn as NumberFormat, gt as NoteNumberRestart, h as StyleType, hn as ListRendering, ht as NoBreakHyphenContent, i as DocxConformanceClass, in as TrackedChangeInfo, it as Insertion, j as DRAWING_RAW_XML_MODES, jn as TableCellBorders, jt as SdtProperties, k as CommentReference, kn as TabStopAlignment, kt as RunContent, l as MediaFile, ln as isOoxmlSymbolCharacter, lt as MoveFrom, m as StyleDefinitions, mn as ListMarkerFormatting, mt as MoveToRangeStart, n as Document, nn as TextContent, nt as ImageWrap, o as DocDefaults, on as TrackedRunContent, ot as LineNumberRestart, p as Style, pn as ListLevel, pt as MoveToRangeEnd, q as HeaderFooterType, qt as TabContent, r as DocumentSettings, rn as TextWatermark, rt as InlineSdt, s as FontInfo, sn as VerticalAlign, st as MAX_REVISION_ID, t as DOCX_CONFORMANCE_CLASSES, tn as TextBox, tt as ImageTransform, u as Relationship, un as normalizeRevisionId, ut as MoveFromRangeEnd, v as ThemeFont, vn as NumberingInstance, vt as PARAGRAPH_MARK_CHANGE_KINDS, w as BreakContent, wn as ParagraphAlignment, wt as ParagraphPropertyChange, x as BlockSdt, xn as EmphasisMark, xt as ParagraphContent, y as ThemeFontScheme, yn as CellMargins, yt as PageOrientation, z as Field, zn as TextFormatting, zt as ShapeFill } from "../document-
|
|
1
|
+
import { $ as ImagePosition, $t as TableRowPropertyChange, A as ComplexField, An as TableBorders, At as RunPropertyChange, B as FieldCharContent, Bn as UnderlineStyle, Bt as ShapeGeometryAdjustment, C as BookmarkStart, Cn as LineSpacingRule, Ct as ParagraphMarkChangeKind, D as CommentRangeEnd, Dn as TabLeader, Dt as PropertyChangeInfo, E as Comment, En as SpacingExplicit, Et as PositionalTab, F as DrawingRawXmlMode, Fn as TableMeasurement, Ft as SectionPropertyChange, G as FootnoteProperties, Gn as ThemeColorSlot, Gt as SoftHyphenContent, H as FooterReference, Hn as ColorValue, Ht as ShapeTextBody, I as Endnote, In as TableRowFormatting, It as SectionStart, J as HeaderReference, Jt as Table, K as HeaderFooter, Kt as SymbolContent, L as EndnotePosition, Ln as TableWidthType, Lt as Shape, M as Deletion, Mn as TableCellFormatting, Mt as SdtType, N as DocumentBody, Nn as TableFormatting, Nt as Section, O as CommentRangeStart, On as TabStop, Ot as Run, P as DrawingContent, Pn as TableLook, Pt as SectionProperties, Q as ImagePadding, Qt as TableRow, R as EndnoteProperties, Rn as TextEffect, Rt as ShapeContent, S as BookmarkEnd, Sn as FloatingTableProperties, St as ParagraphMarkChange, T as Column, Tn as ParagraphFormatting, Tt as PictureWatermark, U as Footnote, Un as KnownBorderStyle, Ut as ShapeType, V as FieldType, Vn as BorderSpec, Vt as ShapeOutline, W as FootnotePosition, Wn as ShadingProperties, Wt as SimpleField, X as Image, Xt as TableCellPropertyChange, Y as Hyperlink, Yt as TableCell, Z as ImageCrop, Zt as TablePropertyChange, _ as ThemeColorScheme, _n as NumberingDefinitions, _t as NoteReferenceContent, a as DocxPackage, an as TrackedRunChange, at as InstrTextContent, b as BlockContent, bn as ConditionalFormatStyle, bt as Paragraph, c as FontTable, cn as Watermark, ct as MathEquation, d as RelationshipMap, dn as AbstractNumbering, dt as MoveFromRangeStart, en as TableStructuralChangeInfo, et as ImageSize, f as RelationshipType, fn as LevelSuffix, ft as MoveTo, g as Theme, gn as NumberFormat, gt as NoteNumberRestart, h as StyleType, hn as ListRendering, ht as NoBreakHyphenContent, i as DocxConformanceClass, in as TrackedChangeInfo, it as Insertion, j as DRAWING_RAW_XML_MODES, jn as TableCellBorders, jt as SdtProperties, k as CommentReference, kn as TabStopAlignment, kt as RunContent, l as MediaFile, ln as isOoxmlSymbolCharacter, lt as MoveFrom, m as StyleDefinitions, mn as ListMarkerFormatting, mt as MoveToRangeStart, n as Document, nn as TextContent, nt as ImageWrap, o as DocDefaults, on as TrackedRunContent, ot as LineNumberRestart, p as Style, pn as ListLevel, pt as MoveToRangeEnd, q as HeaderFooterType, qt as TabContent, r as DocumentSettings, rn as TextWatermark, rt as InlineSdt, s as FontInfo, sn as VerticalAlign, st as MAX_REVISION_ID, t as DOCX_CONFORMANCE_CLASSES, tn as TextBox, tt as ImageTransform, u as Relationship, un as normalizeRevisionId, ut as MoveFromRangeEnd, v as ThemeFont, vn as NumberingInstance, vt as PARAGRAPH_MARK_CHANGE_KINDS, w as BreakContent, wn as ParagraphAlignment, wt as ParagraphPropertyChange, x as BlockSdt, xn as EmphasisMark, xt as ParagraphContent, y as ThemeFontScheme, yn as CellMargins, yt as PageOrientation, z as Field, zn as TextFormatting, zt as ShapeFill } from "../document-BPmz_Q5c.js";
|
|
2
2
|
export { type AbstractNumbering, type BlockContent, type BlockSdt, type BookmarkEnd, type BookmarkStart, type BorderSpec, type BreakContent, type CellMargins, type ColorValue, type Column, type Comment, type CommentRangeEnd, type CommentRangeStart, type CommentReference, type ComplexField, type ConditionalFormatStyle, DOCX_CONFORMANCE_CLASSES, DRAWING_RAW_XML_MODES, type Deletion, type DocDefaults, Document, type DocumentBody, DocumentSettings, DocxConformanceClass, DocxPackage, type DrawingContent, type DrawingRawXmlMode, type EmphasisMark, type Endnote, type EndnotePosition, type EndnoteProperties, type Field, type FieldCharContent, type FieldType, type FloatingTableProperties, type FontInfo, type FontTable, type FooterReference, type Footnote, type FootnotePosition, type FootnoteProperties, type HeaderFooter, type HeaderFooterType, type HeaderReference, type Hyperlink, type Image, type ImageCrop, type ImagePadding, type ImagePosition, type ImageSize, type ImageTransform, type ImageWrap, type InlineSdt, type Insertion, type InstrTextContent, type KnownBorderStyle, type LevelSuffix, type LineNumberRestart, type LineSpacingRule, type ListLevel, type ListMarkerFormatting, type ListRendering, MAX_REVISION_ID, type MathEquation, type MediaFile, type MoveFrom, type MoveFromRangeEnd, type MoveFromRangeStart, type MoveTo, type MoveToRangeEnd, type MoveToRangeStart, type NoBreakHyphenContent, type NoteNumberRestart, type NoteReferenceContent, type NumberFormat, type NumberingDefinitions, type NumberingInstance, PARAGRAPH_MARK_CHANGE_KINDS, type PageOrientation, type Paragraph, type ParagraphAlignment, type ParagraphContent, type ParagraphFormatting, type ParagraphMarkChange, type ParagraphMarkChangeKind, type ParagraphPropertyChange, type PictureWatermark, type PositionalTab, type PropertyChangeInfo, type Relationship, type RelationshipMap, type RelationshipType, type Run, type RunContent, type RunPropertyChange, type SdtProperties, type SdtType, type Section, type SectionProperties, type SectionPropertyChange, type SectionStart, type ShadingProperties, type Shape, type ShapeContent, type ShapeFill, type ShapeGeometryAdjustment, type ShapeOutline, type ShapeTextBody, type ShapeType, type SimpleField, type SoftHyphenContent, type SpacingExplicit, type Style, type StyleDefinitions, type StyleType, type SymbolContent, type TabContent, type TabLeader, type TabStop, type TabStopAlignment, type Table, type TableBorders, type TableCell, type TableCellBorders, type TableCellFormatting, type TableCellPropertyChange, type TableFormatting, type TableLook, type TableMeasurement, type TablePropertyChange, type TableRow, type TableRowFormatting, type TableRowPropertyChange, type TableStructuralChangeInfo, type TableWidthType, type TextBox, type TextContent, type TextEffect, type TextFormatting, type TextWatermark, type Theme, type ThemeColorScheme, type ThemeColorSlot, type ThemeFont, type ThemeFontScheme, type TrackedChangeInfo, type TrackedRunChange, type TrackedRunContent, type UnderlineStyle, type VerticalAlign, type Watermark, isOoxmlSymbolCharacter, normalizeRevisionId };
|
package/package.json
CHANGED