@stll/docx-core 0.2.0 → 0.4.0
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.
|
@@ -93,6 +93,11 @@ type TextFormatting = {
|
|
|
93
93
|
hAnsiTheme?: string;
|
|
94
94
|
eastAsiaTheme?: string;
|
|
95
95
|
csTheme?: string;
|
|
96
|
+
}; /** Run language metadata (`w:lang`) used by spelling and line breaking. */
|
|
97
|
+
language?: {
|
|
98
|
+
val?: string;
|
|
99
|
+
eastAsia?: string;
|
|
100
|
+
bidi?: string;
|
|
96
101
|
}; /** Character spacing in twips (w:spacing) */
|
|
97
102
|
spacing?: number; /** Raised/lowered text position in half-points (w:position) */
|
|
98
103
|
position?: number; /** Horizontal text scale percentage (w:w) */
|
|
@@ -141,11 +146,14 @@ type SpacingExplicit = {
|
|
|
141
146
|
};
|
|
142
147
|
type ParagraphFormatting = {
|
|
143
148
|
/** Paragraph alignment (w:jc) */alignment?: ParagraphAlignment; /** Text direction (w:bidi) */
|
|
144
|
-
bidi?: boolean; /**
|
|
149
|
+
bidi?: boolean; /** Apply East Asian first/last-character line-breaking rules (w:kinsoku). */
|
|
150
|
+
kinsoku?: boolean; /** Allow punctuation to hang beyond the text margin (w:overflowPunct). */
|
|
151
|
+
overflowPunctuation?: boolean; /** Spacing before in twips (w:spacing/@w:before) */
|
|
145
152
|
spaceBefore?: number; /** Spacing after in twips (w:spacing/@w:after) */
|
|
146
153
|
spaceAfter?: number; /** Line spacing value (w:spacing/@w:line) */
|
|
147
154
|
lineSpacing?: number; /** Line spacing rule (w:spacing/@w:lineRule) */
|
|
148
|
-
lineSpacingRule?: LineSpacingRule; /**
|
|
155
|
+
lineSpacingRule?: LineSpacingRule; /** Whether the paragraph participates in the section document grid (w:snapToGrid). */
|
|
156
|
+
snapToGrid?: boolean; /** Auto space before (w:spacing/@w:beforeAutospacing) */
|
|
149
157
|
beforeAutospacing?: boolean; /** Auto space after (w:spacing/@w:afterAutospacing) */
|
|
150
158
|
afterAutospacing?: boolean; /** Which spacing sides came from this paragraph's own pPr. */
|
|
151
159
|
spacingExplicit?: SpacingExplicit; /** Left indent in twips (w:ind/@w:left) */
|
|
@@ -233,6 +241,14 @@ type TableBorders = {
|
|
|
233
241
|
insideH?: BorderSpec;
|
|
234
242
|
insideV?: BorderSpec;
|
|
235
243
|
};
|
|
244
|
+
/**
|
|
245
|
+
* Table cell borders, including w:tl2br (top-left to bottom-right) and
|
|
246
|
+
* w:tr2bl (top-right to bottom-left).
|
|
247
|
+
*/
|
|
248
|
+
type TableCellBorders = TableBorders & {
|
|
249
|
+
topLeftToBottomRight?: BorderSpec;
|
|
250
|
+
topRightToBottomLeft?: BorderSpec;
|
|
251
|
+
};
|
|
236
252
|
/**
|
|
237
253
|
* Cell margins
|
|
238
254
|
*/
|
|
@@ -324,7 +340,7 @@ type ConditionalFormatStyle = {
|
|
|
324
340
|
*/
|
|
325
341
|
type TableCellFormatting = {
|
|
326
342
|
/** Cell width */width?: TableMeasurement; /** Cell borders */
|
|
327
|
-
borders?:
|
|
343
|
+
borders?: TableCellBorders; /** Cell margins (override table default) */
|
|
328
344
|
margins?: CellMargins; /** Cell shading/background */
|
|
329
345
|
shading?: ShadingProperties; /** Vertical alignment */
|
|
330
346
|
verticalAlign?: "top" | "center" | "bottom"; /** Text direction */
|
|
@@ -401,7 +417,8 @@ type ListRendering = {
|
|
|
401
417
|
numFmt?: NumberFormat; /** Whether the list marker is hidden (w:vanish on level rPr) */
|
|
402
418
|
markerHidden?: boolean; /** Marker font family from numbering level rPr (ascii name) */
|
|
403
419
|
markerFontFamily?: string; /** Marker font size from numbering level rPr, in points */
|
|
404
|
-
markerFontSize?: number; /**
|
|
420
|
+
markerFontSize?: number; /** Marker bold state from numbering level rPr */
|
|
421
|
+
markerBold?: boolean; /** Horizontal alignment of the marker around the paragraph's list anchor. */
|
|
405
422
|
markerAlignment?: "left" | "center" | "right";
|
|
406
423
|
/**
|
|
407
424
|
* `w:caps` on the numbering level rPr — the marker text renders in upper
|
|
@@ -516,6 +533,10 @@ type SoftHyphenContent = {
|
|
|
516
533
|
type NoBreakHyphenContent = {
|
|
517
534
|
type: "noBreakHyphen";
|
|
518
535
|
};
|
|
536
|
+
/** Cached pagination boundary emitted by a previous layout pass. */
|
|
537
|
+
type RenderedPageBreakContent = {
|
|
538
|
+
type: "renderedPageBreak";
|
|
539
|
+
};
|
|
519
540
|
/**
|
|
520
541
|
* Drawing/image reference
|
|
521
542
|
*/
|
|
@@ -534,7 +555,7 @@ type ShapeContent = {
|
|
|
534
555
|
/**
|
|
535
556
|
* All possible run content types
|
|
536
557
|
*/
|
|
537
|
-
type RunContent = TextContent | TabContent | BreakContent | SymbolContent | NoteReferenceContent | FieldCharContent | InstrTextContent | SoftHyphenContent | NoBreakHyphenContent | DrawingContent | ShapeContent;
|
|
558
|
+
type RunContent = TextContent | TabContent | BreakContent | SymbolContent | NoteReferenceContent | FieldCharContent | InstrTextContent | SoftHyphenContent | NoBreakHyphenContent | RenderedPageBreakContent | DrawingContent | ShapeContent;
|
|
538
559
|
/**
|
|
539
560
|
* A run is a contiguous region of text with the same formatting
|
|
540
561
|
*/
|
|
@@ -773,8 +794,8 @@ type ShapeTextBody = {
|
|
|
773
794
|
bottom?: number;
|
|
774
795
|
left?: number;
|
|
775
796
|
right?: number;
|
|
776
|
-
}; /**
|
|
777
|
-
content: Paragraph[];
|
|
797
|
+
}; /** Block content inside the shape */
|
|
798
|
+
content: (Paragraph | Table)[];
|
|
778
799
|
};
|
|
779
800
|
/**
|
|
780
801
|
* Shape/drawing object (wps:wsp)
|
|
@@ -803,8 +824,8 @@ type TextBox = {
|
|
|
803
824
|
position?: ImagePosition; /** Wrap settings */
|
|
804
825
|
wrap?: ImageWrap; /** Fill */
|
|
805
826
|
fill?: ShapeFill; /** Outline */
|
|
806
|
-
outline?: ShapeOutline; /** Text content */
|
|
807
|
-
content: Paragraph[]; /** Text fitting behavior */
|
|
827
|
+
outline?: ShapeOutline; /** Text and table content */
|
|
828
|
+
content: (Paragraph | Table)[]; /** Text fitting behavior */
|
|
808
829
|
autoFit?: ShapeTextBody["autoFit"]; /** Internal margins */
|
|
809
830
|
margins?: {
|
|
810
831
|
top?: number;
|
|
@@ -1026,8 +1047,13 @@ type SectionPropertyChange = {
|
|
|
1026
1047
|
* Table structural tracked change metadata (row/cell insert/delete/merge)
|
|
1027
1048
|
*/
|
|
1028
1049
|
type TableStructuralChangeInfo = {
|
|
1029
|
-
type: "tableRowInsertion" | "tableRowDeletion" | "tableCellInsertion" | "tableCellDeletion"
|
|
1050
|
+
type: "tableRowInsertion" | "tableRowDeletion" | "tableCellInsertion" | "tableCellDeletion"; /** Tracked change metadata */
|
|
1030
1051
|
info: TrackedChangeInfo;
|
|
1052
|
+
} | {
|
|
1053
|
+
type: "tableCellMerge"; /** Tracked change metadata */
|
|
1054
|
+
info: TrackedChangeInfo; /** Vertical merge state applied by the revision. */
|
|
1055
|
+
verticalMerge?: "continue" | "rest"; /** Vertical merge state that existed before the revision. */
|
|
1056
|
+
verticalMergeOriginal?: "continue" | "rest";
|
|
1031
1057
|
};
|
|
1032
1058
|
/**
|
|
1033
1059
|
* SDT type (content control type)
|
|
@@ -1100,14 +1126,14 @@ type SdtProperties = {
|
|
|
1100
1126
|
* Inline SDT (content control within a paragraph).
|
|
1101
1127
|
*
|
|
1102
1128
|
* OOXML allows runs, hyperlinks, simple/complex fields, nested SDTs,
|
|
1103
|
-
* and math at this level. All of them must survive
|
|
1104
|
-
* so docProps-bound fields and
|
|
1105
|
-
* their wrapper on round-trip.
|
|
1129
|
+
* tracked insertions/deletions/moves, and math at this level. All of them must survive
|
|
1130
|
+
* parse → edit → save so docProps-bound fields and reviewed template
|
|
1131
|
+
* content do not lose their wrapper on round-trip.
|
|
1106
1132
|
*/
|
|
1107
1133
|
type InlineSdt = {
|
|
1108
1134
|
type: "inlineSdt"; /** SDT properties */
|
|
1109
1135
|
properties: SdtProperties; /** Inline content held inside the control */
|
|
1110
|
-
content: (Run | Hyperlink | SimpleField | ComplexField | InlineSdt | MathEquation)[];
|
|
1136
|
+
content: (Run | Hyperlink | SimpleField | ComplexField | InlineSdt | Insertion | Deletion | MoveFrom | MoveTo | MathEquation)[];
|
|
1111
1137
|
};
|
|
1112
1138
|
/**
|
|
1113
1139
|
* Block-level SDT (content control wrapping paragraphs/tables).
|
|
@@ -1605,6 +1631,11 @@ type MediaFile = {
|
|
|
1605
1631
|
* Extend as more settings.xml fields enter the layout pipeline.
|
|
1606
1632
|
*/
|
|
1607
1633
|
type DocumentSettings = {
|
|
1634
|
+
/**
|
|
1635
|
+
* Application compatibility generation from
|
|
1636
|
+
* `w:compat/w:compatSetting[@w:name="compatibilityMode"]`.
|
|
1637
|
+
*/
|
|
1638
|
+
compatibilityMode?: number;
|
|
1608
1639
|
/**
|
|
1609
1640
|
* `w:defaultTabStop` (§17.6.13) — interval in twips between default
|
|
1610
1641
|
* tab stops applied when a paragraph has no custom `w:tabs`. Word
|
|
@@ -1625,7 +1656,23 @@ type DocumentSettings = {
|
|
|
1625
1656
|
themeFontLang?: {
|
|
1626
1657
|
eastAsia?: string;
|
|
1627
1658
|
bidi?: string;
|
|
1628
|
-
};
|
|
1659
|
+
}; /** Automatically hyphenate eligible paragraphs (`w:autoHyphenation`). */
|
|
1660
|
+
autoHyphenation?: boolean; /** Keep all-capital words unhyphenated (`w:doNotHyphenateCaps`). */
|
|
1661
|
+
doNotHyphenateCaps?: boolean; /** Maximum consecutive automatically hyphenated lines; zero means unlimited. */
|
|
1662
|
+
consecutiveHyphenLimit?: number; /** Legacy hyphenation zone (`w:hyphenationZone`) in twips; retained for compatibility tooling. */
|
|
1663
|
+
hyphenationZoneTwips?: number; /** Word/OOXML document-wide line-breaking overrides. */
|
|
1664
|
+
lineBreakRules?: {
|
|
1665
|
+
noLineBreaksBefore?: {
|
|
1666
|
+
language?: string;
|
|
1667
|
+
characters: string;
|
|
1668
|
+
};
|
|
1669
|
+
noLineBreaksAfter?: {
|
|
1670
|
+
language?: string;
|
|
1671
|
+
characters: string;
|
|
1672
|
+
};
|
|
1673
|
+
useLegacyEthiopicAmharicRules?: boolean;
|
|
1674
|
+
}; /** Move a break-only paragraph mark onto the page after its hard page break. */
|
|
1675
|
+
splitPageBreakAndParagraphMark?: boolean;
|
|
1629
1676
|
};
|
|
1630
1677
|
/** DOCX package conformance classes. */
|
|
1631
1678
|
declare const DOCX_CONFORMANCE_CLASSES: Readonly<{
|
|
@@ -1673,4 +1720,4 @@ type Document = {
|
|
|
1673
1720
|
warnings?: string[];
|
|
1674
1721
|
};
|
|
1675
1722
|
//#endregion
|
|
1676
|
-
export { ImageTransform as $, VerticalAlign as $t, ComplexField as A,
|
|
1723
|
+
export { ImageTransform as $, VerticalAlign as $t, ComplexField as A, BorderSpec as An, SectionStart as At, FooterReference as B, TabContent as Bt, BookmarkStart as C, TableLook as Cn, RunContent as Ct, CommentRangeEnd as D, TextEffect as Dn, Section as Dt, Comment as E, TableWidthType as En, SdtType as Et, EndnotePosition as F, ShapeTextBody as Ft, HeaderFooterType as G, TableRow as Gt, FootnotePosition as H, TableCell as Ht, EndnoteProperties as I, ShapeType as It, Image as J, TextBox as Jt, HeaderReference as K, TableRowPropertyChange as Kt, Field as L, SimpleField as Lt, DocumentBody as M, KnownBorderStyle as Mn, ShapeContent as Mt, DrawingContent as N, ShadingProperties as Nn, ShapeFill as Nt, CommentRangeStart as O, TextFormatting as On, SectionProperties as Ot, Endnote as P, ThemeColorSlot as Pn, ShapeOutline as Pt, ImageSize as Q, TrackedRunChange as Qt, FieldCharContent as R, SoftHyphenContent as Rt, BookmarkEnd as S, TableFormatting as Sn, Run as St, Column as T, TableRowFormatting as Tn, SdtProperties as Tt, FootnoteProperties as U, TableCellPropertyChange as Ut, Footnote as V, Table as Vt, HeaderFooter as W, TablePropertyChange as Wt, ImagePadding as X, TextWatermark as Xt, ImageCrop as Y, TextContent as Yt, ImagePosition as Z, TrackedChangeInfo as Zt, ThemeColorScheme as _, TabStop as _n, ParagraphContent as _t, DocxPackage as a, NumberFormat as an, MathEquation as at, BlockContent as b, TableCellBorders as bn, PictureWatermark as bt, FontTable as c, CellMargins as cn, MoveFromRangeStart as ct, RelationshipMap as d, FloatingTableProperties as dn, MoveToRangeStart as dt, Watermark as en, ImageWrap as et, RelationshipType as f, LineSpacingRule as fn, NoBreakHyphenContent as ft, Theme as g, TabLeader as gn, Paragraph as gt, StyleType as h, SpacingExplicit as hn, PageOrientation as ht, DocxConformanceClass as i, ListRendering as in, LineNumberRestart as it, Deletion as j, ColorValue as jn, Shape as jt, CommentReference as k, UnderlineStyle as kn, SectionPropertyChange as kt, MediaFile as l, ConditionalFormatStyle as ln, MoveTo as lt, StyleDefinitions as m, ParagraphFormatting as mn, NoteReferenceContent as mt, Document as n, LevelSuffix as nn, Insertion as nt, DocDefaults as o, NumberingDefinitions as on, MoveFrom as ot, Style as p, ParagraphAlignment as pn, NoteNumberRestart as pt, Hyperlink as q, TableStructuralChangeInfo as qt, DocumentSettings as r, ListLevel as rn, InstrTextContent as rt, FontInfo as s, NumberingInstance as sn, MoveFromRangeEnd as st, DOCX_CONFORMANCE_CLASSES as t, AbstractNumbering as tn, InlineSdt as tt, Relationship as u, EmphasisMark as un, MoveToRangeEnd as ut, ThemeFont as v, TabStopAlignment as vn, ParagraphMarkChange as vt, BreakContent as w, TableMeasurement as wn, RunPropertyChange as wt, BlockSdt as x, TableCellFormatting as xn, PropertyChangeInfo as xt, ThemeFontScheme as y, TableBorders as yn, ParagraphPropertyChange as yt, FieldType as z, SymbolContent as zt };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Ct as RunContent, Gt as TableRow, Ht as TableCell, M as DocumentBody, Ot as SectionProperties, St as Run, Vt as Table, Yt as TextContent, _t as ParagraphContent, a as DocxPackage, b as BlockContent, gt as Paragraph, i as DocxConformanceClass, n as Document, p as Style, t as DOCX_CONFORMANCE_CLASSES, w as BreakContent } from "./document-
|
|
1
|
+
import { Ct as RunContent, Gt as TableRow, Ht as TableCell, M as DocumentBody, Ot as SectionProperties, St as Run, Vt as Table, Yt as TextContent, _t as ParagraphContent, a as DocxPackage, b as BlockContent, gt as Paragraph, i as DocxConformanceClass, n as Document, p as Style, t as DOCX_CONFORMANCE_CLASSES, w as BreakContent } from "./document-CzARzXpt.js";
|
|
2
2
|
|
|
3
3
|
//#region src/legal-source/types.d.ts
|
|
4
4
|
type LegalDocumentKind = "agreement" | "letter" | "memo" | "checklist" | "pleading" | "other";
|
package/dist/index.js
CHANGED
|
@@ -184,6 +184,7 @@ const serializeRunContent = (content) => {
|
|
|
184
184
|
case "text": return `<w:t${content.preserveSpace ? " xml:space=\"preserve\"" : ""}>${escapeXml(content.text)}</w:t>`;
|
|
185
185
|
case "tab": return "<w:tab/>";
|
|
186
186
|
case "break": return `<w:br${attr("w:type", content.breakType)}/>`;
|
|
187
|
+
case "renderedPageBreak": return "<w:lastRenderedPageBreak/>";
|
|
187
188
|
case "symbol": return `<w:sym w:font="${escapeXml(content.font)}" w:char="${escapeXml(content.char)}"/>`;
|
|
188
189
|
case "footnoteRef": return `<w:footnoteReference w:id="${content.id}"/>`;
|
|
189
190
|
case "endnoteRef": return `<w:endnoteReference w:id="${content.id}"/>`;
|
|
@@ -590,7 +591,7 @@ const validateImage = (image, path, ctx, options = {}) => {
|
|
|
590
591
|
const validateShape = (shape, path, ctx) => {
|
|
591
592
|
validateNonNegativeSize(shape.size.width, `${path}.size.width`, ctx);
|
|
592
593
|
validateNonNegativeSize(shape.size.height, `${path}.size.height`, ctx);
|
|
593
|
-
if (shape.textBody)
|
|
594
|
+
if (shape.textBody) validateBlocks(shape.textBody.content, `${path}.textBody.content`, ctx);
|
|
594
595
|
};
|
|
595
596
|
const validateNonNegativeSize = (value, path, ctx) => {
|
|
596
597
|
if (value < 0) {
|
|
@@ -649,7 +650,7 @@ const validateComments = (comments, ctx) => {
|
|
|
649
650
|
const path = `package.document.comments[${index}]`;
|
|
650
651
|
if (seen.has(comment.id)) addError(ctx, `${path}.id`, `Duplicate comment id ${comment.id}.`);
|
|
651
652
|
seen.add(comment.id);
|
|
652
|
-
if (comment.author.trim() === "") addError(ctx, `${path}.author`, "Comment author
|
|
653
|
+
if (comment.author !== "" && comment.author.trim() === "") addError(ctx, `${path}.author`, "Comment author cannot be whitespace-only.");
|
|
653
654
|
if (comment.parentId !== void 0 && !ctx.commentIds.has(comment.parentId)) addError(ctx, `${path}.parentId`, `Parent comment ${comment.parentId} is missing.`);
|
|
654
655
|
validateParagraphs(comment.content, `${path}.content`, ctx);
|
|
655
656
|
}
|
package/dist/model/document.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as ImageTransform, $t as VerticalAlign, A as ComplexField, An as
|
|
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, type Deletion, type DocDefaults, Document, type DocumentBody, DocumentSettings, DocxConformanceClass, DocxPackage, type DrawingContent, 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 ListRendering, 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, type PageOrientation, type Paragraph, type ParagraphAlignment, type ParagraphContent, type ParagraphFormatting, type ParagraphMarkChange, type ParagraphPropertyChange, type PictureWatermark, 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 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 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 UnderlineStyle, type VerticalAlign, type Watermark };
|
|
1
|
+
import { $ as ImageTransform, $t as VerticalAlign, A as ComplexField, An as BorderSpec, At as SectionStart, B as FooterReference, Bt as TabContent, C as BookmarkStart, Cn as TableLook, Ct as RunContent, D as CommentRangeEnd, Dn as TextEffect, Dt as Section, E as Comment, En as TableWidthType, Et as SdtType, F as EndnotePosition, Ft as ShapeTextBody, G as HeaderFooterType, Gt as TableRow, H as FootnotePosition, Ht as TableCell, I as EndnoteProperties, It as ShapeType, J as Image, Jt as TextBox, K as HeaderReference, Kt as TableRowPropertyChange, L as Field, Lt as SimpleField, M as DocumentBody, Mn as KnownBorderStyle, Mt as ShapeContent, N as DrawingContent, Nn as ShadingProperties, Nt as ShapeFill, O as CommentRangeStart, On as TextFormatting, Ot as SectionProperties, P as Endnote, Pn as ThemeColorSlot, Pt as ShapeOutline, Q as ImageSize, Qt as TrackedRunChange, R as FieldCharContent, Rt as SoftHyphenContent, S as BookmarkEnd, Sn as TableFormatting, St as Run, T as Column, Tn as TableRowFormatting, Tt as SdtProperties, U as FootnoteProperties, Ut as TableCellPropertyChange, V as Footnote, Vt as Table, W as HeaderFooter, Wt as TablePropertyChange, X as ImagePadding, Xt as TextWatermark, Y as ImageCrop, Yt as TextContent, Z as ImagePosition, Zt as TrackedChangeInfo, _ as ThemeColorScheme, _n as TabStop, _t as ParagraphContent, a as DocxPackage, an as NumberFormat, at as MathEquation, b as BlockContent, bn as TableCellBorders, bt as PictureWatermark, c as FontTable, cn as CellMargins, ct as MoveFromRangeStart, d as RelationshipMap, dn as FloatingTableProperties, dt as MoveToRangeStart, en as Watermark, et as ImageWrap, f as RelationshipType, fn as LineSpacingRule, ft as NoBreakHyphenContent, g as Theme, gn as TabLeader, gt as Paragraph, h as StyleType, hn as SpacingExplicit, ht as PageOrientation, i as DocxConformanceClass, in as ListRendering, it as LineNumberRestart, j as Deletion, jn as ColorValue, jt as Shape, k as CommentReference, kn as UnderlineStyle, kt as SectionPropertyChange, l as MediaFile, ln as ConditionalFormatStyle, lt as MoveTo, m as StyleDefinitions, mn as ParagraphFormatting, mt as NoteReferenceContent, n as Document, nn as LevelSuffix, nt as Insertion, o as DocDefaults, on as NumberingDefinitions, ot as MoveFrom, p as Style, pn as ParagraphAlignment, pt as NoteNumberRestart, q as Hyperlink, qt as TableStructuralChangeInfo, r as DocumentSettings, rn as ListLevel, rt as InstrTextContent, s as FontInfo, sn as NumberingInstance, st as MoveFromRangeEnd, t as DOCX_CONFORMANCE_CLASSES, tn as AbstractNumbering, tt as InlineSdt, u as Relationship, un as EmphasisMark, ut as MoveToRangeEnd, v as ThemeFont, vn as TabStopAlignment, vt as ParagraphMarkChange, w as BreakContent, wn as TableMeasurement, wt as RunPropertyChange, x as BlockSdt, xn as TableCellFormatting, xt as PropertyChangeInfo, y as ThemeFontScheme, yn as TableBorders, yt as ParagraphPropertyChange, z as FieldType, zt as SymbolContent } from "../document-CzARzXpt.js";
|
|
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, type Deletion, type DocDefaults, Document, type DocumentBody, DocumentSettings, DocxConformanceClass, DocxPackage, type DrawingContent, 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 ListRendering, 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, type PageOrientation, type Paragraph, type ParagraphAlignment, type ParagraphContent, type ParagraphFormatting, type ParagraphMarkChange, type ParagraphPropertyChange, type PictureWatermark, 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 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 UnderlineStyle, type VerticalAlign, type Watermark };
|
package/package.json
CHANGED