@stll/docx-core 0.20.0 → 0.20.1
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.
|
@@ -1139,6 +1139,13 @@ type ShapeOutline = {
|
|
|
1139
1139
|
* Text body inside a shape
|
|
1140
1140
|
*/
|
|
1141
1141
|
type ShapeTextBody = {
|
|
1142
|
+
/** Authored DrawingML WordArt metadata. */
|
|
1143
|
+
wordArt?: {
|
|
1144
|
+
/** Authored `wps:bodyPr/@fromWordArt`; omitted when the source omitted it. */
|
|
1145
|
+
fromWordArt?: boolean;
|
|
1146
|
+
preset?: string;
|
|
1147
|
+
adjustments?: ShapeGeometryAdjustment[];
|
|
1148
|
+
};
|
|
1142
1149
|
/** Text direction */
|
|
1143
1150
|
vertical?: boolean;
|
|
1144
1151
|
/** Rotation */
|
|
@@ -1212,6 +1219,8 @@ type TextBox = {
|
|
|
1212
1219
|
transform?: ImageTransform;
|
|
1213
1220
|
/** Text and table content */
|
|
1214
1221
|
content: (Paragraph | Table)[];
|
|
1222
|
+
/** Authored DrawingML WordArt metadata. */
|
|
1223
|
+
wordArt?: ShapeTextBody["wordArt"];
|
|
1215
1224
|
/** Text fitting behavior */
|
|
1216
1225
|
autoFit?: ShapeTextBody["autoFit"];
|
|
1217
1226
|
/** Horizontal text wrapping inside the box */
|
package/dist/docx_kernel_bg.wasm
CHANGED
|
Binary file
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as Run, Et as PositionalTab, It as SectionProperties, N as DocumentBody, Xt as Table, Zt as TableCell, a as DocxPackage, b as BlockContent, bt as Paragraph, en as TableRow, i as DocxConformanceClass, in as TextContent, jt as RunContent, n as Document, p as Style, t as DOCX_CONFORMANCE_CLASSES, w as BreakContent, xt as ParagraphContent, yn as NumberingDefinitions } from "./document-
|
|
1
|
+
import { At as Run, Et as PositionalTab, It as SectionProperties, N as DocumentBody, Xt as Table, Zt as TableCell, a as DocxPackage, b as BlockContent, bt as Paragraph, en as TableRow, i as DocxConformanceClass, in as TextContent, jt as RunContent, n as Document, p as Style, t as DOCX_CONFORMANCE_CLASSES, w as BreakContent, xt as ParagraphContent, yn as NumberingDefinitions } from "./document-BURQ3eOo.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 TablePropertyChange, A as ComplexField, An as TabStop, At as Run, B as FieldCharContent, Bn as TextEffect, Bt as ShapeContent, C as BookmarkStart, Cn as EmphasisMark, Ct as ParagraphMarkChangeKind, D as CommentRangeEnd, Dn as ParagraphFormatting, Dt as PropertyChangeInfo, E as Comment, En as ParagraphAlignment, Et as PositionalTab, F as DrawingRawXmlMode, Fn as TableFormatting, Ft as Section, G as FootnoteProperties, Gn as KnownBorderStyle, Gt as ShapeType, H as FooterReference, Hn as UnderlineStyle, Ht as ShapeGeometryAdjustment, I as Endnote, In as TableLook, It as SectionProperties, J as HeaderReference, Jt as SymbolContent, K as HeaderFooter, Kn as ShadingProperties, Kt as SimpleField, L as EndnotePosition, Ln as TableMeasurement, Lt as SectionPropertyChange, M as Deletion, Mn as TableBorders, Mt as RunPropertyChange, N as DocumentBody, Nn as TableCellBorders, Nt as SdtProperties, O as CommentRangeStart, On as SpacingExplicit, Ot as REVIEW_CARRIERS, P as DrawingContent, Pn as TableCellFormatting, Pt as SdtType, Q as ImagePadding, Qt as TableCellPropertyChange, R as EndnoteProperties, Rn as TableRowFormatting, Rt as SectionStart, S as BookmarkEnd, Sn as ConditionalFormatStyle, St as ParagraphMarkChange, T as Column, Tn as LineSpacingRule, Tt as PictureWatermark, U as Footnote, Un as BorderSpec, Ut as ShapeOutline, V as FieldType, Vn as TextFormatting, Vt as ShapeFill, W as FootnotePosition, Wn as ColorValue, Wt as ShapeTextBody, X as Image, Xt as Table, Y as Hyperlink, Yt as TabContent, Z as ImageCrop, Zt as TableCell, _ as ThemeColorScheme, _n as ListRendering, _t as NoteReferenceContent, a as DocxPackage, an as TextWatermark, at as InstrTextContent, b as BlockContent, bn as NumberingInstance, bt as Paragraph, c as FontTable, cn as TrackedRunContent, ct as MathEquation, d as RelationshipMap, dn as isOoxmlSymbolCharacter, dt as MoveFromRangeStart, en as TableRow, et as ImageSize, f as RelationshipType, fn as normalizeRevisionId, ft as MoveTo, g as Theme, gn as ListMarkerFormatting, gt as NoteNumberRestart, h as StyleType, hn as ListLevel, ht as NoBreakHyphenContent, i as DocxConformanceClass, in as TextContent, it as Insertion, j as DRAWING_RAW_XML_MODES, jn as TabStopAlignment, jt as RunContent, k as CommentReference, kn as TabLeader, kt as ReviewCarrier, l as MediaFile, ln as VerticalAlign, lt as MoveFrom, m as StyleDefinitions, mn as LevelSuffix, mt as MoveToRangeStart, n as Document, nn as TableStructuralChangeInfo, nt as ImageWrap, o as DocDefaults, on as TrackedChangeInfo, ot as LineNumberRestart, p as Style, pn as AbstractNumbering, pt as MoveToRangeEnd, q as HeaderFooterType, qn as ThemeColorSlot, qt as SoftHyphenContent, r as DocumentSettings, rn as TextBox, rt as InlineSdt, s as FontInfo, sn as TrackedRunChange, st as MAX_REVISION_ID, t as DOCX_CONFORMANCE_CLASSES, tn as TableRowPropertyChange, tt as ImageTransform, u as Relationship, un as Watermark, ut as MoveFromRangeEnd, v as ThemeFont, vn as NumberFormat, vt as PARAGRAPH_MARK_CHANGE_KINDS, w as BreakContent, wn as FloatingTableProperties, wt as ParagraphPropertyChange, x as BlockSdt, xn as CellMargins, xt as ParagraphContent, y as ThemeFontScheme, yn as NumberingDefinitions, yt as PageOrientation, z as Field, zn as TableWidthType, zt as Shape } from "../document-
|
|
1
|
+
import { $ as ImagePosition, $t as TablePropertyChange, A as ComplexField, An as TabStop, At as Run, B as FieldCharContent, Bn as TextEffect, Bt as ShapeContent, C as BookmarkStart, Cn as EmphasisMark, Ct as ParagraphMarkChangeKind, D as CommentRangeEnd, Dn as ParagraphFormatting, Dt as PropertyChangeInfo, E as Comment, En as ParagraphAlignment, Et as PositionalTab, F as DrawingRawXmlMode, Fn as TableFormatting, Ft as Section, G as FootnoteProperties, Gn as KnownBorderStyle, Gt as ShapeType, H as FooterReference, Hn as UnderlineStyle, Ht as ShapeGeometryAdjustment, I as Endnote, In as TableLook, It as SectionProperties, J as HeaderReference, Jt as SymbolContent, K as HeaderFooter, Kn as ShadingProperties, Kt as SimpleField, L as EndnotePosition, Ln as TableMeasurement, Lt as SectionPropertyChange, M as Deletion, Mn as TableBorders, Mt as RunPropertyChange, N as DocumentBody, Nn as TableCellBorders, Nt as SdtProperties, O as CommentRangeStart, On as SpacingExplicit, Ot as REVIEW_CARRIERS, P as DrawingContent, Pn as TableCellFormatting, Pt as SdtType, Q as ImagePadding, Qt as TableCellPropertyChange, R as EndnoteProperties, Rn as TableRowFormatting, Rt as SectionStart, S as BookmarkEnd, Sn as ConditionalFormatStyle, St as ParagraphMarkChange, T as Column, Tn as LineSpacingRule, Tt as PictureWatermark, U as Footnote, Un as BorderSpec, Ut as ShapeOutline, V as FieldType, Vn as TextFormatting, Vt as ShapeFill, W as FootnotePosition, Wn as ColorValue, Wt as ShapeTextBody, X as Image, Xt as Table, Y as Hyperlink, Yt as TabContent, Z as ImageCrop, Zt as TableCell, _ as ThemeColorScheme, _n as ListRendering, _t as NoteReferenceContent, a as DocxPackage, an as TextWatermark, at as InstrTextContent, b as BlockContent, bn as NumberingInstance, bt as Paragraph, c as FontTable, cn as TrackedRunContent, ct as MathEquation, d as RelationshipMap, dn as isOoxmlSymbolCharacter, dt as MoveFromRangeStart, en as TableRow, et as ImageSize, f as RelationshipType, fn as normalizeRevisionId, ft as MoveTo, g as Theme, gn as ListMarkerFormatting, gt as NoteNumberRestart, h as StyleType, hn as ListLevel, ht as NoBreakHyphenContent, i as DocxConformanceClass, in as TextContent, it as Insertion, j as DRAWING_RAW_XML_MODES, jn as TabStopAlignment, jt as RunContent, k as CommentReference, kn as TabLeader, kt as ReviewCarrier, l as MediaFile, ln as VerticalAlign, lt as MoveFrom, m as StyleDefinitions, mn as LevelSuffix, mt as MoveToRangeStart, n as Document, nn as TableStructuralChangeInfo, nt as ImageWrap, o as DocDefaults, on as TrackedChangeInfo, ot as LineNumberRestart, p as Style, pn as AbstractNumbering, pt as MoveToRangeEnd, q as HeaderFooterType, qn as ThemeColorSlot, qt as SoftHyphenContent, r as DocumentSettings, rn as TextBox, rt as InlineSdt, s as FontInfo, sn as TrackedRunChange, st as MAX_REVISION_ID, t as DOCX_CONFORMANCE_CLASSES, tn as TableRowPropertyChange, tt as ImageTransform, u as Relationship, un as Watermark, ut as MoveFromRangeEnd, v as ThemeFont, vn as NumberFormat, vt as PARAGRAPH_MARK_CHANGE_KINDS, w as BreakContent, wn as FloatingTableProperties, wt as ParagraphPropertyChange, x as BlockSdt, xn as CellMargins, xt as ParagraphContent, y as ThemeFontScheme, yn as NumberingDefinitions, yt as PageOrientation, z as Field, zn as TableWidthType, zt as Shape } from "../document-BURQ3eOo.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, REVIEW_CARRIERS, type Relationship, type RelationshipMap, type RelationshipType, type ReviewCarrier, 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