documents.js 1.44.0 → 1.45.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.
- package/README.md +29 -6
- package/dist/index.cjs +753 -153
- package/dist/index.d.cts +121 -6
- package/dist/index.d.ts +121 -6
- package/dist/index.js +747 -155
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Attribute, AttributeSchema, BinaryPart, BinaryPartSchema, Comment, CommentSchema, CompactAttrPairs, CompactPackage, CompactPackageSchema, CompactPart, CompactPartSchema, CompactXmlNode, CompactXmlNodeSchema, DefinedName, DefinedNameSchema, Package, Package as Package$1, PackageSchema, Part, PartSchema, Relationship, XmlCdata, XmlCdataSchema, XmlComment, XmlCommentSchema, XmlDeclaration, XmlDeclarationSchema, XmlElement, XmlElement as XmlElement$1, XmlElementSchema, XmlNode, XmlNode as XmlNode$1, XmlNodeSchema, XmlPart, XmlPartSchema, XmlPi, XmlPiSchema, XmlText, XmlTextSchema, attr, base64ToBytes, buildXml, bytesToBase64, childrenWithTag, compactCodec, compactPackageCodec, decodeCompactPackage, decodeEntities, decodePackage, elementsWithTag, encodeCompactPackage, encodePackage, fromCompact, isCompactXmlNode, isXmlNode, packageCodec, parsePackage, parseXml, resolveRelationships, rootElement, serializePackage, textContent, toCompact, unzipPackage, walk, xmlCodec, zipPackage } from "ooxml.js";
|
|
2
|
-
import { Alignment, Box, Box as Box$1, COLOR_BLACK, Color as LayoutColor, ContentBlock, ContentBlockSchema, ContentCellValue, ContentCellValue as ContentCellValue$1, ContentCellValueSchema, ContentDrawPage, ContentDrawPageSchema, ContentImageBlock, ContentImageBlockSchema, ContentListMembership, ContentListMembership as ContentListMembership$1, ContentPageBreak, ContentPageBreakSchema, ContentParagraph, ContentParagraphSchema, ContentPathPoint, ContentPathPointSchema, ContentPathSegment, ContentPathSegmentSchema, ContentRun, ContentRun as ContentRun$1, ContentRunSchema, ContentSection, ContentSectionSchema, ContentShape, ContentShapeSchema, ContentSheet, ContentSheetCell, ContentSheetCellSchema, ContentSheetColumn, ContentSheetColumnSchema, ContentSheetImage, ContentSheetPrintRange, ContentSheetPrintRangeSchema, ContentSheetPrintSettings, ContentSheetPrintSettingsSchema, ContentSheetRepeatRange, ContentSheetRepeatRangeSchema, ContentSheetRow, ContentSheetRowSchema, ContentSheetSchema, ContentSlide, ContentSlideSchema, ContentStroke, ContentStrokeSchema, ContentSubpath, ContentSubpathSchema, ContentTable, ContentTableCell, ContentTableCellSchema, ContentTableRow, ContentTableRowSchema, ContentTableSchema, ContentVector, ContentVectorSchema, DEFAULT_LAYOUT_FONT, LAYOUT_FORMAT_VERSION, LayoutDocument, LayoutDocument as LayoutDocument$1, LayoutEllipse, LayoutFont, LayoutImage, LayoutImageAsset, LayoutItem, LayoutLine, LayoutLink, LayoutMetadata, LayoutPage, LayoutPath, LayoutPathSegment, LayoutRect, LayoutSubpath, LayoutText, Margins, PAGE_SIZE_A4, PAGE_SIZE_LETTER, PageSize, SLIDE_SIZE_STANDARD, SLIDE_SIZE_WIDESCREEN, isContentBlock, rgbHexToColor } from "document-content-model";
|
|
2
|
+
import { Alignment, Box, Box as Box$1, COLOR_BLACK, Color, Color as LayoutColor, ContentBlock, ContentBlockSchema, ContentCellValue, ContentCellValue as ContentCellValue$1, ContentCellValueSchema, ContentDrawPage, ContentDrawPageSchema, ContentImageBlock, ContentImageBlockSchema, ContentListMembership, ContentListMembership as ContentListMembership$1, ContentPageBreak, ContentPageBreakSchema, ContentParagraph, ContentParagraphSchema, ContentPathPoint, ContentPathPoint as ContentPathPoint$1, ContentPathPointSchema, ContentPathSegment, ContentPathSegmentSchema, ContentRun, ContentRun as ContentRun$1, ContentRunSchema, ContentSection, ContentSectionSchema, ContentShape, ContentShapeSchema, ContentSheet, ContentSheetCell, ContentSheetCellSchema, ContentSheetColumn, ContentSheetColumnSchema, ContentSheetImage, ContentSheetPrintRange, ContentSheetPrintRangeSchema, ContentSheetPrintSettings, ContentSheetPrintSettingsSchema, ContentSheetRepeatRange, ContentSheetRepeatRangeSchema, ContentSheetRow, ContentSheetRowSchema, ContentSheetSchema, ContentSlide, ContentSlideSchema, ContentStroke, ContentStroke as ContentStroke$1, ContentStrokeSchema, ContentSubpath, ContentSubpath as ContentSubpath$1, ContentSubpathSchema, ContentTable, ContentTableCell, ContentTableCellSchema, ContentTableRow, ContentTableRowSchema, ContentTableSchema, ContentVector, ContentVectorSchema, DEFAULT_LAYOUT_FONT, LAYOUT_FORMAT_VERSION, LayoutDocument, LayoutDocument as LayoutDocument$1, LayoutEllipse, LayoutFont, LayoutImage, LayoutImageAsset, LayoutItem, LayoutLine, LayoutLink, LayoutMetadata, LayoutPage, LayoutPath, LayoutPathSegment, LayoutRect, LayoutSubpath, LayoutText, Margins, PAGE_SIZE_A4, PAGE_SIZE_LETTER, PageSize, SLIDE_SIZE_STANDARD, SLIDE_SIZE_WIDESCREEN, isContentBlock, rgbHexToColor } from "document-content-model";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import { Package as Package$2, XmlElement as XmlElement$2, XmlNode as XmlNode$2 } from "odf.js";
|
|
5
5
|
//#region src/model/content.d.ts
|
|
@@ -544,7 +544,7 @@ interface DrawingParagraphInit {
|
|
|
544
544
|
}
|
|
545
545
|
//#endregion
|
|
546
546
|
//#region src/edit/pptx/slide.d.ts
|
|
547
|
-
interface TextBoxInit$
|
|
547
|
+
interface TextBoxInit$2 {
|
|
548
548
|
readonly frame: Box;
|
|
549
549
|
readonly text: string;
|
|
550
550
|
}
|
|
@@ -564,7 +564,7 @@ declare class PptxSlide {
|
|
|
564
564
|
constructor(container: XmlNode$1[], node: XmlElement$1, context: SlideContext$1);
|
|
565
565
|
private live;
|
|
566
566
|
shapes(): PptxShape[];
|
|
567
|
-
addTextBox(init: TextBoxInit$
|
|
567
|
+
addTextBox(init: TextBoxInit$2): PptxShape;
|
|
568
568
|
addImage(init: SlideImageInit$1): PptxShape;
|
|
569
569
|
get notes(): string;
|
|
570
570
|
set notes(value: string);
|
|
@@ -756,7 +756,7 @@ declare class OdpShape {
|
|
|
756
756
|
}
|
|
757
757
|
//#endregion
|
|
758
758
|
//#region src/edit/odp/slide.d.ts
|
|
759
|
-
interface TextBoxInit {
|
|
759
|
+
interface TextBoxInit$1 {
|
|
760
760
|
readonly frame: Box;
|
|
761
761
|
readonly text: string;
|
|
762
762
|
}
|
|
@@ -774,7 +774,7 @@ declare class OdpSlide {
|
|
|
774
774
|
constructor(container: XmlNode$2[], node: XmlElement$2, context: SlideContext);
|
|
775
775
|
private live;
|
|
776
776
|
shapes(): OdpShape[];
|
|
777
|
-
addTextBox(init: TextBoxInit): OdpShape;
|
|
777
|
+
addTextBox(init: TextBoxInit$1): OdpShape;
|
|
778
778
|
addImage(init: SlideImageInit): OdpShape;
|
|
779
779
|
get notes(): string;
|
|
780
780
|
set notes(value: string);
|
|
@@ -847,6 +847,121 @@ declare function createOds(): OdsEditor;
|
|
|
847
847
|
//#region src/edit/ods/content.d.ts
|
|
848
848
|
declare function buildOdsPackage(content: ContentDocument): Package$2;
|
|
849
849
|
//#endregion
|
|
850
|
+
//#region src/edit/odg/vector.d.ts
|
|
851
|
+
interface BoxVectorInit {
|
|
852
|
+
readonly frame: Box$1;
|
|
853
|
+
readonly fill?: Color;
|
|
854
|
+
readonly stroke?: ContentStroke$1;
|
|
855
|
+
}
|
|
856
|
+
type OdgBoxVectorKind = 'rect' | 'ellipse';
|
|
857
|
+
declare class OdgBoxVector {
|
|
858
|
+
private readonly container;
|
|
859
|
+
private readonly node;
|
|
860
|
+
private readonly pkg;
|
|
861
|
+
private removed;
|
|
862
|
+
constructor(container: XmlNode$2[], node: XmlElement$2, pkg: Package$2);
|
|
863
|
+
private live;
|
|
864
|
+
get kind(): OdgBoxVectorKind;
|
|
865
|
+
get name(): string | undefined;
|
|
866
|
+
get frame(): Box$1 | undefined;
|
|
867
|
+
set frame(value: Box$1);
|
|
868
|
+
get fill(): Color | undefined;
|
|
869
|
+
set fill(value: Color | undefined);
|
|
870
|
+
get stroke(): ContentStroke$1 | undefined;
|
|
871
|
+
set stroke(value: ContentStroke$1 | undefined);
|
|
872
|
+
remove(): void;
|
|
873
|
+
}
|
|
874
|
+
interface LineVectorInit {
|
|
875
|
+
readonly from: ContentPathPoint$1;
|
|
876
|
+
readonly to: ContentPathPoint$1;
|
|
877
|
+
readonly stroke: ContentStroke$1;
|
|
878
|
+
}
|
|
879
|
+
declare class OdgLineVector {
|
|
880
|
+
private readonly container;
|
|
881
|
+
private readonly node;
|
|
882
|
+
private readonly pkg;
|
|
883
|
+
private removed;
|
|
884
|
+
constructor(container: XmlNode$2[], node: XmlElement$2, pkg: Package$2);
|
|
885
|
+
private live;
|
|
886
|
+
get name(): string | undefined;
|
|
887
|
+
get from(): ContentPathPoint$1 | undefined;
|
|
888
|
+
set from(value: ContentPathPoint$1);
|
|
889
|
+
get to(): ContentPathPoint$1 | undefined;
|
|
890
|
+
set to(value: ContentPathPoint$1);
|
|
891
|
+
get stroke(): ContentStroke$1 | undefined;
|
|
892
|
+
set stroke(value: ContentStroke$1);
|
|
893
|
+
remove(): void;
|
|
894
|
+
}
|
|
895
|
+
interface PathVectorInit {
|
|
896
|
+
readonly frame: Box$1;
|
|
897
|
+
readonly subpaths: readonly ContentSubpath$1[];
|
|
898
|
+
readonly fill?: Color;
|
|
899
|
+
readonly stroke?: ContentStroke$1;
|
|
900
|
+
}
|
|
901
|
+
declare class OdgPathVector {
|
|
902
|
+
private readonly container;
|
|
903
|
+
private readonly node;
|
|
904
|
+
private readonly pkg;
|
|
905
|
+
private removed;
|
|
906
|
+
constructor(container: XmlNode$2[], node: XmlElement$2, pkg: Package$2);
|
|
907
|
+
private live;
|
|
908
|
+
get name(): string | undefined;
|
|
909
|
+
get frame(): Box$1 | undefined;
|
|
910
|
+
set frame(value: Box$1);
|
|
911
|
+
get fill(): Color | undefined;
|
|
912
|
+
set fill(value: Color | undefined);
|
|
913
|
+
get stroke(): ContentStroke$1 | undefined;
|
|
914
|
+
set stroke(value: ContentStroke$1 | undefined);
|
|
915
|
+
get subpaths(): ContentSubpath$1[];
|
|
916
|
+
remove(): void;
|
|
917
|
+
}
|
|
918
|
+
//#endregion
|
|
919
|
+
//#region src/edit/odg/page.d.ts
|
|
920
|
+
interface TextBoxInit {
|
|
921
|
+
readonly frame: Box$1;
|
|
922
|
+
readonly text: string;
|
|
923
|
+
}
|
|
924
|
+
interface PageImageInit extends ImageInit {
|
|
925
|
+
readonly frame: Box$1;
|
|
926
|
+
}
|
|
927
|
+
interface PageContext {
|
|
928
|
+
readonly pkg: Package$2;
|
|
929
|
+
}
|
|
930
|
+
declare class OdgPage {
|
|
931
|
+
private readonly container;
|
|
932
|
+
private readonly node;
|
|
933
|
+
private readonly context;
|
|
934
|
+
private removed;
|
|
935
|
+
constructor(container: XmlNode$2[], node: XmlElement$2, context: PageContext);
|
|
936
|
+
private live;
|
|
937
|
+
shapes(): OdpShape[];
|
|
938
|
+
addTextBox(init: TextBoxInit): OdpShape;
|
|
939
|
+
addImage(init: PageImageInit): OdpShape;
|
|
940
|
+
addRect(init: BoxVectorInit): OdgBoxVector;
|
|
941
|
+
addEllipse(init: BoxVectorInit): OdgBoxVector;
|
|
942
|
+
addLine(init: LineVectorInit): OdgLineVector;
|
|
943
|
+
addPath(init: PathVectorInit): OdgPathVector;
|
|
944
|
+
remove(): void;
|
|
945
|
+
}
|
|
946
|
+
//#endregion
|
|
947
|
+
//#region src/edit/odg/editor.d.ts
|
|
948
|
+
declare class OdgEditor {
|
|
949
|
+
private readonly pkg;
|
|
950
|
+
constructor(pkg: Package$2);
|
|
951
|
+
pages(): OdgPage[];
|
|
952
|
+
addPage(): OdgPage;
|
|
953
|
+
removePageAt(index: number): void;
|
|
954
|
+
get pageSize(): PageSize;
|
|
955
|
+
set pageSize(size: PageSize);
|
|
956
|
+
toPackage(): Package$2;
|
|
957
|
+
toBytes(): Uint8Array<ArrayBuffer>;
|
|
958
|
+
}
|
|
959
|
+
declare function openOdg(bytes: Uint8Array<ArrayBuffer>): OdgEditor;
|
|
960
|
+
declare function createOdg(): OdgEditor;
|
|
961
|
+
//#endregion
|
|
962
|
+
//#region src/edit/odg/content.d.ts
|
|
963
|
+
declare function buildOdgPackage(content: ContentDocument): Package$2;
|
|
964
|
+
//#endregion
|
|
850
965
|
//#region src/pdf/diagnostics.d.ts
|
|
851
966
|
type PdfDiagnosticSeverity = 'info' | 'warning';
|
|
852
967
|
interface PdfDiagnostic {
|
|
@@ -1200,4 +1315,4 @@ declare function fixedClock(date: Date): ClockPort;
|
|
|
1200
1315
|
//#region src/ports/abort.d.ts
|
|
1201
1316
|
declare function throwIfAborted(signal: AbortSignal | undefined): void;
|
|
1202
1317
|
//#endregion
|
|
1203
|
-
export { type Alignment, type Attribute, AttributeSchema, type BinaryPart, BinaryPartSchema, type Box, COLOR_BLACK, CONTENT_FORMAT_VERSION, type ClockPort, type Comment, CommentSchema, type CompactAttrPairs, type CompactPackage, CompactPackageSchema, type CompactPart, CompactPartSchema, type CompactXmlNode, CompactXmlNodeSchema, type ContentBlock, ContentBlockSchema, type ContentCellValue, ContentCellValueSchema, type ContentDocument, ContentDocumentSchema, type ContentDrawPage, ContentDrawPageSchema, type ContentImageBlock, ContentImageBlockSchema, type ContentListMembership, type ContentPageBreak, ContentPageBreakSchema, type ContentParagraph, ContentParagraphSchema, type ContentPathPoint, ContentPathPointSchema, type ContentPathSegment, ContentPathSegmentSchema, type ContentRun, ContentRunSchema, type ContentSection, ContentSectionSchema, type ContentShape, ContentShapeSchema, type ContentSheet, type ContentSheetCell, ContentSheetCellSchema, type ContentSheetColumn, ContentSheetColumnSchema, type ContentSheetImage, type ContentSheetPrintRange, ContentSheetPrintRangeSchema, type ContentSheetPrintSettings, ContentSheetPrintSettingsSchema, type ContentSheetRepeatRange, ContentSheetRepeatRangeSchema, type ContentSheetRow, ContentSheetRowSchema, ContentSheetSchema, type ContentSlide, ContentSlideSchema, type ContentStroke, ContentStrokeSchema, type ContentSubpath, ContentSubpathSchema, type ContentTable, type ContentTableCell, ContentTableCellSchema, type ContentTableRow, ContentTableRowSchema, ContentTableSchema, type ContentVector, ContentVectorSchema, type ConversionRequest, type ConversionResult, DEFAULT_LAYOUT_FONT, type DefinedName, DefinedNameSchema, type Diagnostic, type DocumentConverter, type DocumentFormat, type DocumentPayload, type DocumentToPdfOptions, type DocxBody, DocxBytesSchema, DocxEditor, DocxParagraph, DocxRun, DocxTable, DocxTableCell, DocxTableRow, type DrawingLayoutOptions, type DrawingParagraphInit, type DrawingRunInit, type EngineLayoutOptions, LAYOUT_FORMAT_VERSION, type LayoutColor, type LayoutDocument, type LayoutEllipse, type LayoutFont, type LayoutImage, type LayoutImageAsset, type LayoutItem, type LayoutLine, type LayoutLink, type LayoutMetadata, type LayoutPage, type LayoutPath, type LayoutPathSegment, type LayoutRect, type LayoutSubpath, type LayoutText, type Margins, NOOP_DIAGNOSTIC_SINK, OdgBytesSchema, OdpBytesSchema, OdpEditor, OdpShape, OdpSlide, type SlideImageInit as OdpSlideImageInit, type TextBoxInit as OdpTextBoxInit, OdsBytesSchema, OdsCell, OdsEditor, OdsSheet, type OdtBody, OdtBytesSchema, OdtEditor, OdtList, OdtListItem, OdtParagraph, type ParagraphInit as OdtParagraphInit, OdtRun, type RunInit as OdtRunInit, OdtTable, OdtTableCell, type TableInit as OdtTableInit, OdtTableRow, PAGE_SIZE_A4, PAGE_SIZE_LETTER, type Package, PackageSchema, type PageSize, type Part, PartSchema, PdfBytesSchema, type PdfDiagnostic, type PdfDiagnosticSeverity, type PdfDiagnosticSink, PdfEncryptedError, PdfParseError, type PdfToDocumentOptions, PptxBytesSchema, PptxEditor, PptxShape, PptxSlide, type ReadPdfOptions, type ReconstructOptions, type Relationship, SLIDE_SIZE_STANDARD, SLIDE_SIZE_WIDESCREEN, type SheetsLayoutOptions, type SlideImageInit$1 as SlideImageInit, type SlidesLayoutOptions, type TextBoxInit$
|
|
1318
|
+
export { type Alignment, type Attribute, AttributeSchema, type BinaryPart, BinaryPartSchema, type Box, COLOR_BLACK, CONTENT_FORMAT_VERSION, type ClockPort, type Comment, CommentSchema, type CompactAttrPairs, type CompactPackage, CompactPackageSchema, type CompactPart, CompactPartSchema, type CompactXmlNode, CompactXmlNodeSchema, type ContentBlock, ContentBlockSchema, type ContentCellValue, ContentCellValueSchema, type ContentDocument, ContentDocumentSchema, type ContentDrawPage, ContentDrawPageSchema, type ContentImageBlock, ContentImageBlockSchema, type ContentListMembership, type ContentPageBreak, ContentPageBreakSchema, type ContentParagraph, ContentParagraphSchema, type ContentPathPoint, ContentPathPointSchema, type ContentPathSegment, ContentPathSegmentSchema, type ContentRun, ContentRunSchema, type ContentSection, ContentSectionSchema, type ContentShape, ContentShapeSchema, type ContentSheet, type ContentSheetCell, ContentSheetCellSchema, type ContentSheetColumn, ContentSheetColumnSchema, type ContentSheetImage, type ContentSheetPrintRange, ContentSheetPrintRangeSchema, type ContentSheetPrintSettings, ContentSheetPrintSettingsSchema, type ContentSheetRepeatRange, ContentSheetRepeatRangeSchema, type ContentSheetRow, ContentSheetRowSchema, ContentSheetSchema, type ContentSlide, ContentSlideSchema, type ContentStroke, ContentStrokeSchema, type ContentSubpath, ContentSubpathSchema, type ContentTable, type ContentTableCell, ContentTableCellSchema, type ContentTableRow, ContentTableRowSchema, ContentTableSchema, type ContentVector, ContentVectorSchema, type ConversionRequest, type ConversionResult, DEFAULT_LAYOUT_FONT, type DefinedName, DefinedNameSchema, type Diagnostic, type DocumentConverter, type DocumentFormat, type DocumentPayload, type DocumentToPdfOptions, type DocxBody, DocxBytesSchema, DocxEditor, DocxParagraph, DocxRun, DocxTable, DocxTableCell, DocxTableRow, type DrawingLayoutOptions, type DrawingParagraphInit, type DrawingRunInit, type EngineLayoutOptions, LAYOUT_FORMAT_VERSION, type LayoutColor, type LayoutDocument, type LayoutEllipse, type LayoutFont, type LayoutImage, type LayoutImageAsset, type LayoutItem, type LayoutLine, type LayoutLink, type LayoutMetadata, type LayoutPage, type LayoutPath, type LayoutPathSegment, type LayoutRect, type LayoutSubpath, type LayoutText, type Margins, NOOP_DIAGNOSTIC_SINK, OdgBoxVector, type BoxVectorInit as OdgBoxVectorInit, OdgBytesSchema, OdgEditor, OdgLineVector, type LineVectorInit as OdgLineVectorInit, OdgPage, type PageImageInit as OdgPageImageInit, OdgPathVector, type PathVectorInit as OdgPathVectorInit, type TextBoxInit as OdgTextBoxInit, OdpBytesSchema, OdpEditor, OdpShape, OdpSlide, type SlideImageInit as OdpSlideImageInit, type TextBoxInit$1 as OdpTextBoxInit, OdsBytesSchema, OdsCell, OdsEditor, OdsSheet, type OdtBody, OdtBytesSchema, OdtEditor, OdtList, OdtListItem, OdtParagraph, type ParagraphInit as OdtParagraphInit, OdtRun, type RunInit as OdtRunInit, OdtTable, OdtTableCell, type TableInit as OdtTableInit, OdtTableRow, PAGE_SIZE_A4, PAGE_SIZE_LETTER, type Package, PackageSchema, type PageSize, type Part, PartSchema, PdfBytesSchema, type PdfDiagnostic, type PdfDiagnosticSeverity, type PdfDiagnosticSink, PdfEncryptedError, PdfParseError, type PdfToDocumentOptions, PptxBytesSchema, PptxEditor, PptxShape, PptxSlide, type ReadPdfOptions, type ReconstructOptions, type Relationship, SLIDE_SIZE_STANDARD, SLIDE_SIZE_WIDESCREEN, type SheetsLayoutOptions, type SlideImageInit$1 as SlideImageInit, type SlidesLayoutOptions, type TextBoxInit$2 as TextBoxInit, type WinAnsiSubstitution, type WritePdfOptions, type XmlCdata, XmlCdataSchema, type XmlComment, XmlCommentSchema, type XmlDeclaration, XmlDeclarationSchema, type XmlElement, XmlElementSchema, type XmlNode, XmlNodeSchema, type XmlPart, XmlPartSchema, type XmlPi, XmlPiSchema, type XmlText, XmlTextSchema, attr, base64ToBytes, buildDocxPackage, buildOdgPackage, buildOdpPackage, buildOdsPackage, buildOdtPackage, buildPptxPackage, buildXml, bytesToBase64, childrenWithTag, compactCodec, compactPackageCodec, convertDrawingToLayout, convertPresentationToLayout, convertSpreadsheetToLayout, convertWordprocessingToLayout, createDocx, createLocalDocumentConverter, createOdg, createOdp, createOds, createOdt, createPptx, decodeCompactPackage, decodeEntities, decodePackage, docxPdfCodec, docxToPdf, elementsWithTag, encodeCompactPackage, encodePackage, fixedClock, flipY, fromCompact, isCompactXmlNode, isContentBlock, isXmlNode, odgToPdf, odpPdfCodec, odpToPdf, odsToPdf, odtPdfCodec, odtToPdf, openDocx, openOdg, openOdp, openOds, openOdt, openPptx, packageCodec, parsePackage, parseXml, pdfCodec, pdfToDocx, pdfToOdp, pdfToOdt, pdfToPptx, pptxPdfCodec, pptxToPdf, readDocxContent, readOdgContent, readOdpContent, readOdsContent, readOdtContent, readPdf, readPptxContent, reconstructPresentation, reconstructWordprocessing, resolveRelationships, rgbHexToColor, rootElement, serializePackage, systemClock, textContent, throwIfAborted, toCompact, unzipPackage, walk, writePdf, xmlCodec, zipPackage };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Attribute, AttributeSchema, BinaryPart, BinaryPartSchema, Comment, CommentSchema, CompactAttrPairs, CompactPackage, CompactPackageSchema, CompactPart, CompactPartSchema, CompactXmlNode, CompactXmlNodeSchema, DefinedName, DefinedNameSchema, Package, Package as Package$1, PackageSchema, Part, PartSchema, Relationship, XmlCdata, XmlCdataSchema, XmlComment, XmlCommentSchema, XmlDeclaration, XmlDeclarationSchema, XmlElement, XmlElement as XmlElement$1, XmlElementSchema, XmlNode, XmlNode as XmlNode$1, XmlNodeSchema, XmlPart, XmlPartSchema, XmlPi, XmlPiSchema, XmlText, XmlTextSchema, attr, base64ToBytes, buildXml, bytesToBase64, childrenWithTag, compactCodec, compactPackageCodec, decodeCompactPackage, decodeEntities, decodePackage, elementsWithTag, encodeCompactPackage, encodePackage, fromCompact, isCompactXmlNode, isXmlNode, packageCodec, parsePackage, parseXml, resolveRelationships, rootElement, serializePackage, textContent, toCompact, unzipPackage, walk, xmlCodec, zipPackage } from "ooxml.js";
|
|
2
|
-
import { Alignment, Box, Box as Box$1, COLOR_BLACK, Color as LayoutColor, ContentBlock, ContentBlockSchema, ContentCellValue, ContentCellValue as ContentCellValue$1, ContentCellValueSchema, ContentDrawPage, ContentDrawPageSchema, ContentImageBlock, ContentImageBlockSchema, ContentListMembership, ContentListMembership as ContentListMembership$1, ContentPageBreak, ContentPageBreakSchema, ContentParagraph, ContentParagraphSchema, ContentPathPoint, ContentPathPointSchema, ContentPathSegment, ContentPathSegmentSchema, ContentRun, ContentRun as ContentRun$1, ContentRunSchema, ContentSection, ContentSectionSchema, ContentShape, ContentShapeSchema, ContentSheet, ContentSheetCell, ContentSheetCellSchema, ContentSheetColumn, ContentSheetColumnSchema, ContentSheetImage, ContentSheetPrintRange, ContentSheetPrintRangeSchema, ContentSheetPrintSettings, ContentSheetPrintSettingsSchema, ContentSheetRepeatRange, ContentSheetRepeatRangeSchema, ContentSheetRow, ContentSheetRowSchema, ContentSheetSchema, ContentSlide, ContentSlideSchema, ContentStroke, ContentStrokeSchema, ContentSubpath, ContentSubpathSchema, ContentTable, ContentTableCell, ContentTableCellSchema, ContentTableRow, ContentTableRowSchema, ContentTableSchema, ContentVector, ContentVectorSchema, DEFAULT_LAYOUT_FONT, LAYOUT_FORMAT_VERSION, LayoutDocument, LayoutDocument as LayoutDocument$1, LayoutEllipse, LayoutFont, LayoutImage, LayoutImageAsset, LayoutItem, LayoutLine, LayoutLink, LayoutMetadata, LayoutPage, LayoutPath, LayoutPathSegment, LayoutRect, LayoutSubpath, LayoutText, Margins, PAGE_SIZE_A4, PAGE_SIZE_LETTER, PageSize, SLIDE_SIZE_STANDARD, SLIDE_SIZE_WIDESCREEN, isContentBlock, rgbHexToColor } from "document-content-model";
|
|
2
|
+
import { Alignment, Box, Box as Box$1, COLOR_BLACK, Color, Color as LayoutColor, ContentBlock, ContentBlockSchema, ContentCellValue, ContentCellValue as ContentCellValue$1, ContentCellValueSchema, ContentDrawPage, ContentDrawPageSchema, ContentImageBlock, ContentImageBlockSchema, ContentListMembership, ContentListMembership as ContentListMembership$1, ContentPageBreak, ContentPageBreakSchema, ContentParagraph, ContentParagraphSchema, ContentPathPoint, ContentPathPoint as ContentPathPoint$1, ContentPathPointSchema, ContentPathSegment, ContentPathSegmentSchema, ContentRun, ContentRun as ContentRun$1, ContentRunSchema, ContentSection, ContentSectionSchema, ContentShape, ContentShapeSchema, ContentSheet, ContentSheetCell, ContentSheetCellSchema, ContentSheetColumn, ContentSheetColumnSchema, ContentSheetImage, ContentSheetPrintRange, ContentSheetPrintRangeSchema, ContentSheetPrintSettings, ContentSheetPrintSettingsSchema, ContentSheetRepeatRange, ContentSheetRepeatRangeSchema, ContentSheetRow, ContentSheetRowSchema, ContentSheetSchema, ContentSlide, ContentSlideSchema, ContentStroke, ContentStroke as ContentStroke$1, ContentStrokeSchema, ContentSubpath, ContentSubpath as ContentSubpath$1, ContentSubpathSchema, ContentTable, ContentTableCell, ContentTableCellSchema, ContentTableRow, ContentTableRowSchema, ContentTableSchema, ContentVector, ContentVectorSchema, DEFAULT_LAYOUT_FONT, LAYOUT_FORMAT_VERSION, LayoutDocument, LayoutDocument as LayoutDocument$1, LayoutEllipse, LayoutFont, LayoutImage, LayoutImageAsset, LayoutItem, LayoutLine, LayoutLink, LayoutMetadata, LayoutPage, LayoutPath, LayoutPathSegment, LayoutRect, LayoutSubpath, LayoutText, Margins, PAGE_SIZE_A4, PAGE_SIZE_LETTER, PageSize, SLIDE_SIZE_STANDARD, SLIDE_SIZE_WIDESCREEN, isContentBlock, rgbHexToColor } from "document-content-model";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import { Package as Package$2, XmlElement as XmlElement$2, XmlNode as XmlNode$2 } from "odf.js";
|
|
5
5
|
//#region src/model/content.d.ts
|
|
@@ -544,7 +544,7 @@ interface DrawingParagraphInit {
|
|
|
544
544
|
}
|
|
545
545
|
//#endregion
|
|
546
546
|
//#region src/edit/pptx/slide.d.ts
|
|
547
|
-
interface TextBoxInit$
|
|
547
|
+
interface TextBoxInit$2 {
|
|
548
548
|
readonly frame: Box;
|
|
549
549
|
readonly text: string;
|
|
550
550
|
}
|
|
@@ -564,7 +564,7 @@ declare class PptxSlide {
|
|
|
564
564
|
constructor(container: XmlNode$1[], node: XmlElement$1, context: SlideContext$1);
|
|
565
565
|
private live;
|
|
566
566
|
shapes(): PptxShape[];
|
|
567
|
-
addTextBox(init: TextBoxInit$
|
|
567
|
+
addTextBox(init: TextBoxInit$2): PptxShape;
|
|
568
568
|
addImage(init: SlideImageInit$1): PptxShape;
|
|
569
569
|
get notes(): string;
|
|
570
570
|
set notes(value: string);
|
|
@@ -756,7 +756,7 @@ declare class OdpShape {
|
|
|
756
756
|
}
|
|
757
757
|
//#endregion
|
|
758
758
|
//#region src/edit/odp/slide.d.ts
|
|
759
|
-
interface TextBoxInit {
|
|
759
|
+
interface TextBoxInit$1 {
|
|
760
760
|
readonly frame: Box;
|
|
761
761
|
readonly text: string;
|
|
762
762
|
}
|
|
@@ -774,7 +774,7 @@ declare class OdpSlide {
|
|
|
774
774
|
constructor(container: XmlNode$2[], node: XmlElement$2, context: SlideContext);
|
|
775
775
|
private live;
|
|
776
776
|
shapes(): OdpShape[];
|
|
777
|
-
addTextBox(init: TextBoxInit): OdpShape;
|
|
777
|
+
addTextBox(init: TextBoxInit$1): OdpShape;
|
|
778
778
|
addImage(init: SlideImageInit): OdpShape;
|
|
779
779
|
get notes(): string;
|
|
780
780
|
set notes(value: string);
|
|
@@ -847,6 +847,121 @@ declare function createOds(): OdsEditor;
|
|
|
847
847
|
//#region src/edit/ods/content.d.ts
|
|
848
848
|
declare function buildOdsPackage(content: ContentDocument): Package$2;
|
|
849
849
|
//#endregion
|
|
850
|
+
//#region src/edit/odg/vector.d.ts
|
|
851
|
+
interface BoxVectorInit {
|
|
852
|
+
readonly frame: Box$1;
|
|
853
|
+
readonly fill?: Color;
|
|
854
|
+
readonly stroke?: ContentStroke$1;
|
|
855
|
+
}
|
|
856
|
+
type OdgBoxVectorKind = 'rect' | 'ellipse';
|
|
857
|
+
declare class OdgBoxVector {
|
|
858
|
+
private readonly container;
|
|
859
|
+
private readonly node;
|
|
860
|
+
private readonly pkg;
|
|
861
|
+
private removed;
|
|
862
|
+
constructor(container: XmlNode$2[], node: XmlElement$2, pkg: Package$2);
|
|
863
|
+
private live;
|
|
864
|
+
get kind(): OdgBoxVectorKind;
|
|
865
|
+
get name(): string | undefined;
|
|
866
|
+
get frame(): Box$1 | undefined;
|
|
867
|
+
set frame(value: Box$1);
|
|
868
|
+
get fill(): Color | undefined;
|
|
869
|
+
set fill(value: Color | undefined);
|
|
870
|
+
get stroke(): ContentStroke$1 | undefined;
|
|
871
|
+
set stroke(value: ContentStroke$1 | undefined);
|
|
872
|
+
remove(): void;
|
|
873
|
+
}
|
|
874
|
+
interface LineVectorInit {
|
|
875
|
+
readonly from: ContentPathPoint$1;
|
|
876
|
+
readonly to: ContentPathPoint$1;
|
|
877
|
+
readonly stroke: ContentStroke$1;
|
|
878
|
+
}
|
|
879
|
+
declare class OdgLineVector {
|
|
880
|
+
private readonly container;
|
|
881
|
+
private readonly node;
|
|
882
|
+
private readonly pkg;
|
|
883
|
+
private removed;
|
|
884
|
+
constructor(container: XmlNode$2[], node: XmlElement$2, pkg: Package$2);
|
|
885
|
+
private live;
|
|
886
|
+
get name(): string | undefined;
|
|
887
|
+
get from(): ContentPathPoint$1 | undefined;
|
|
888
|
+
set from(value: ContentPathPoint$1);
|
|
889
|
+
get to(): ContentPathPoint$1 | undefined;
|
|
890
|
+
set to(value: ContentPathPoint$1);
|
|
891
|
+
get stroke(): ContentStroke$1 | undefined;
|
|
892
|
+
set stroke(value: ContentStroke$1);
|
|
893
|
+
remove(): void;
|
|
894
|
+
}
|
|
895
|
+
interface PathVectorInit {
|
|
896
|
+
readonly frame: Box$1;
|
|
897
|
+
readonly subpaths: readonly ContentSubpath$1[];
|
|
898
|
+
readonly fill?: Color;
|
|
899
|
+
readonly stroke?: ContentStroke$1;
|
|
900
|
+
}
|
|
901
|
+
declare class OdgPathVector {
|
|
902
|
+
private readonly container;
|
|
903
|
+
private readonly node;
|
|
904
|
+
private readonly pkg;
|
|
905
|
+
private removed;
|
|
906
|
+
constructor(container: XmlNode$2[], node: XmlElement$2, pkg: Package$2);
|
|
907
|
+
private live;
|
|
908
|
+
get name(): string | undefined;
|
|
909
|
+
get frame(): Box$1 | undefined;
|
|
910
|
+
set frame(value: Box$1);
|
|
911
|
+
get fill(): Color | undefined;
|
|
912
|
+
set fill(value: Color | undefined);
|
|
913
|
+
get stroke(): ContentStroke$1 | undefined;
|
|
914
|
+
set stroke(value: ContentStroke$1 | undefined);
|
|
915
|
+
get subpaths(): ContentSubpath$1[];
|
|
916
|
+
remove(): void;
|
|
917
|
+
}
|
|
918
|
+
//#endregion
|
|
919
|
+
//#region src/edit/odg/page.d.ts
|
|
920
|
+
interface TextBoxInit {
|
|
921
|
+
readonly frame: Box$1;
|
|
922
|
+
readonly text: string;
|
|
923
|
+
}
|
|
924
|
+
interface PageImageInit extends ImageInit {
|
|
925
|
+
readonly frame: Box$1;
|
|
926
|
+
}
|
|
927
|
+
interface PageContext {
|
|
928
|
+
readonly pkg: Package$2;
|
|
929
|
+
}
|
|
930
|
+
declare class OdgPage {
|
|
931
|
+
private readonly container;
|
|
932
|
+
private readonly node;
|
|
933
|
+
private readonly context;
|
|
934
|
+
private removed;
|
|
935
|
+
constructor(container: XmlNode$2[], node: XmlElement$2, context: PageContext);
|
|
936
|
+
private live;
|
|
937
|
+
shapes(): OdpShape[];
|
|
938
|
+
addTextBox(init: TextBoxInit): OdpShape;
|
|
939
|
+
addImage(init: PageImageInit): OdpShape;
|
|
940
|
+
addRect(init: BoxVectorInit): OdgBoxVector;
|
|
941
|
+
addEllipse(init: BoxVectorInit): OdgBoxVector;
|
|
942
|
+
addLine(init: LineVectorInit): OdgLineVector;
|
|
943
|
+
addPath(init: PathVectorInit): OdgPathVector;
|
|
944
|
+
remove(): void;
|
|
945
|
+
}
|
|
946
|
+
//#endregion
|
|
947
|
+
//#region src/edit/odg/editor.d.ts
|
|
948
|
+
declare class OdgEditor {
|
|
949
|
+
private readonly pkg;
|
|
950
|
+
constructor(pkg: Package$2);
|
|
951
|
+
pages(): OdgPage[];
|
|
952
|
+
addPage(): OdgPage;
|
|
953
|
+
removePageAt(index: number): void;
|
|
954
|
+
get pageSize(): PageSize;
|
|
955
|
+
set pageSize(size: PageSize);
|
|
956
|
+
toPackage(): Package$2;
|
|
957
|
+
toBytes(): Uint8Array<ArrayBuffer>;
|
|
958
|
+
}
|
|
959
|
+
declare function openOdg(bytes: Uint8Array<ArrayBuffer>): OdgEditor;
|
|
960
|
+
declare function createOdg(): OdgEditor;
|
|
961
|
+
//#endregion
|
|
962
|
+
//#region src/edit/odg/content.d.ts
|
|
963
|
+
declare function buildOdgPackage(content: ContentDocument): Package$2;
|
|
964
|
+
//#endregion
|
|
850
965
|
//#region src/pdf/diagnostics.d.ts
|
|
851
966
|
type PdfDiagnosticSeverity = 'info' | 'warning';
|
|
852
967
|
interface PdfDiagnostic {
|
|
@@ -1200,4 +1315,4 @@ declare function fixedClock(date: Date): ClockPort;
|
|
|
1200
1315
|
//#region src/ports/abort.d.ts
|
|
1201
1316
|
declare function throwIfAborted(signal: AbortSignal | undefined): void;
|
|
1202
1317
|
//#endregion
|
|
1203
|
-
export { type Alignment, type Attribute, AttributeSchema, type BinaryPart, BinaryPartSchema, type Box, COLOR_BLACK, CONTENT_FORMAT_VERSION, type ClockPort, type Comment, CommentSchema, type CompactAttrPairs, type CompactPackage, CompactPackageSchema, type CompactPart, CompactPartSchema, type CompactXmlNode, CompactXmlNodeSchema, type ContentBlock, ContentBlockSchema, type ContentCellValue, ContentCellValueSchema, type ContentDocument, ContentDocumentSchema, type ContentDrawPage, ContentDrawPageSchema, type ContentImageBlock, ContentImageBlockSchema, type ContentListMembership, type ContentPageBreak, ContentPageBreakSchema, type ContentParagraph, ContentParagraphSchema, type ContentPathPoint, ContentPathPointSchema, type ContentPathSegment, ContentPathSegmentSchema, type ContentRun, ContentRunSchema, type ContentSection, ContentSectionSchema, type ContentShape, ContentShapeSchema, type ContentSheet, type ContentSheetCell, ContentSheetCellSchema, type ContentSheetColumn, ContentSheetColumnSchema, type ContentSheetImage, type ContentSheetPrintRange, ContentSheetPrintRangeSchema, type ContentSheetPrintSettings, ContentSheetPrintSettingsSchema, type ContentSheetRepeatRange, ContentSheetRepeatRangeSchema, type ContentSheetRow, ContentSheetRowSchema, ContentSheetSchema, type ContentSlide, ContentSlideSchema, type ContentStroke, ContentStrokeSchema, type ContentSubpath, ContentSubpathSchema, type ContentTable, type ContentTableCell, ContentTableCellSchema, type ContentTableRow, ContentTableRowSchema, ContentTableSchema, type ContentVector, ContentVectorSchema, type ConversionRequest, type ConversionResult, DEFAULT_LAYOUT_FONT, type DefinedName, DefinedNameSchema, type Diagnostic, type DocumentConverter, type DocumentFormat, type DocumentPayload, type DocumentToPdfOptions, type DocxBody, DocxBytesSchema, DocxEditor, DocxParagraph, DocxRun, DocxTable, DocxTableCell, DocxTableRow, type DrawingLayoutOptions, type DrawingParagraphInit, type DrawingRunInit, type EngineLayoutOptions, LAYOUT_FORMAT_VERSION, type LayoutColor, type LayoutDocument, type LayoutEllipse, type LayoutFont, type LayoutImage, type LayoutImageAsset, type LayoutItem, type LayoutLine, type LayoutLink, type LayoutMetadata, type LayoutPage, type LayoutPath, type LayoutPathSegment, type LayoutRect, type LayoutSubpath, type LayoutText, type Margins, NOOP_DIAGNOSTIC_SINK, OdgBytesSchema, OdpBytesSchema, OdpEditor, OdpShape, OdpSlide, type SlideImageInit as OdpSlideImageInit, type TextBoxInit as OdpTextBoxInit, OdsBytesSchema, OdsCell, OdsEditor, OdsSheet, type OdtBody, OdtBytesSchema, OdtEditor, OdtList, OdtListItem, OdtParagraph, type ParagraphInit as OdtParagraphInit, OdtRun, type RunInit as OdtRunInit, OdtTable, OdtTableCell, type TableInit as OdtTableInit, OdtTableRow, PAGE_SIZE_A4, PAGE_SIZE_LETTER, type Package, PackageSchema, type PageSize, type Part, PartSchema, PdfBytesSchema, type PdfDiagnostic, type PdfDiagnosticSeverity, type PdfDiagnosticSink, PdfEncryptedError, PdfParseError, type PdfToDocumentOptions, PptxBytesSchema, PptxEditor, PptxShape, PptxSlide, type ReadPdfOptions, type ReconstructOptions, type Relationship, SLIDE_SIZE_STANDARD, SLIDE_SIZE_WIDESCREEN, type SheetsLayoutOptions, type SlideImageInit$1 as SlideImageInit, type SlidesLayoutOptions, type TextBoxInit$
|
|
1318
|
+
export { type Alignment, type Attribute, AttributeSchema, type BinaryPart, BinaryPartSchema, type Box, COLOR_BLACK, CONTENT_FORMAT_VERSION, type ClockPort, type Comment, CommentSchema, type CompactAttrPairs, type CompactPackage, CompactPackageSchema, type CompactPart, CompactPartSchema, type CompactXmlNode, CompactXmlNodeSchema, type ContentBlock, ContentBlockSchema, type ContentCellValue, ContentCellValueSchema, type ContentDocument, ContentDocumentSchema, type ContentDrawPage, ContentDrawPageSchema, type ContentImageBlock, ContentImageBlockSchema, type ContentListMembership, type ContentPageBreak, ContentPageBreakSchema, type ContentParagraph, ContentParagraphSchema, type ContentPathPoint, ContentPathPointSchema, type ContentPathSegment, ContentPathSegmentSchema, type ContentRun, ContentRunSchema, type ContentSection, ContentSectionSchema, type ContentShape, ContentShapeSchema, type ContentSheet, type ContentSheetCell, ContentSheetCellSchema, type ContentSheetColumn, ContentSheetColumnSchema, type ContentSheetImage, type ContentSheetPrintRange, ContentSheetPrintRangeSchema, type ContentSheetPrintSettings, ContentSheetPrintSettingsSchema, type ContentSheetRepeatRange, ContentSheetRepeatRangeSchema, type ContentSheetRow, ContentSheetRowSchema, ContentSheetSchema, type ContentSlide, ContentSlideSchema, type ContentStroke, ContentStrokeSchema, type ContentSubpath, ContentSubpathSchema, type ContentTable, type ContentTableCell, ContentTableCellSchema, type ContentTableRow, ContentTableRowSchema, ContentTableSchema, type ContentVector, ContentVectorSchema, type ConversionRequest, type ConversionResult, DEFAULT_LAYOUT_FONT, type DefinedName, DefinedNameSchema, type Diagnostic, type DocumentConverter, type DocumentFormat, type DocumentPayload, type DocumentToPdfOptions, type DocxBody, DocxBytesSchema, DocxEditor, DocxParagraph, DocxRun, DocxTable, DocxTableCell, DocxTableRow, type DrawingLayoutOptions, type DrawingParagraphInit, type DrawingRunInit, type EngineLayoutOptions, LAYOUT_FORMAT_VERSION, type LayoutColor, type LayoutDocument, type LayoutEllipse, type LayoutFont, type LayoutImage, type LayoutImageAsset, type LayoutItem, type LayoutLine, type LayoutLink, type LayoutMetadata, type LayoutPage, type LayoutPath, type LayoutPathSegment, type LayoutRect, type LayoutSubpath, type LayoutText, type Margins, NOOP_DIAGNOSTIC_SINK, OdgBoxVector, type BoxVectorInit as OdgBoxVectorInit, OdgBytesSchema, OdgEditor, OdgLineVector, type LineVectorInit as OdgLineVectorInit, OdgPage, type PageImageInit as OdgPageImageInit, OdgPathVector, type PathVectorInit as OdgPathVectorInit, type TextBoxInit as OdgTextBoxInit, OdpBytesSchema, OdpEditor, OdpShape, OdpSlide, type SlideImageInit as OdpSlideImageInit, type TextBoxInit$1 as OdpTextBoxInit, OdsBytesSchema, OdsCell, OdsEditor, OdsSheet, type OdtBody, OdtBytesSchema, OdtEditor, OdtList, OdtListItem, OdtParagraph, type ParagraphInit as OdtParagraphInit, OdtRun, type RunInit as OdtRunInit, OdtTable, OdtTableCell, type TableInit as OdtTableInit, OdtTableRow, PAGE_SIZE_A4, PAGE_SIZE_LETTER, type Package, PackageSchema, type PageSize, type Part, PartSchema, PdfBytesSchema, type PdfDiagnostic, type PdfDiagnosticSeverity, type PdfDiagnosticSink, PdfEncryptedError, PdfParseError, type PdfToDocumentOptions, PptxBytesSchema, PptxEditor, PptxShape, PptxSlide, type ReadPdfOptions, type ReconstructOptions, type Relationship, SLIDE_SIZE_STANDARD, SLIDE_SIZE_WIDESCREEN, type SheetsLayoutOptions, type SlideImageInit$1 as SlideImageInit, type SlidesLayoutOptions, type TextBoxInit$2 as TextBoxInit, type WinAnsiSubstitution, type WritePdfOptions, type XmlCdata, XmlCdataSchema, type XmlComment, XmlCommentSchema, type XmlDeclaration, XmlDeclarationSchema, type XmlElement, XmlElementSchema, type XmlNode, XmlNodeSchema, type XmlPart, XmlPartSchema, type XmlPi, XmlPiSchema, type XmlText, XmlTextSchema, attr, base64ToBytes, buildDocxPackage, buildOdgPackage, buildOdpPackage, buildOdsPackage, buildOdtPackage, buildPptxPackage, buildXml, bytesToBase64, childrenWithTag, compactCodec, compactPackageCodec, convertDrawingToLayout, convertPresentationToLayout, convertSpreadsheetToLayout, convertWordprocessingToLayout, createDocx, createLocalDocumentConverter, createOdg, createOdp, createOds, createOdt, createPptx, decodeCompactPackage, decodeEntities, decodePackage, docxPdfCodec, docxToPdf, elementsWithTag, encodeCompactPackage, encodePackage, fixedClock, flipY, fromCompact, isCompactXmlNode, isContentBlock, isXmlNode, odgToPdf, odpPdfCodec, odpToPdf, odsToPdf, odtPdfCodec, odtToPdf, openDocx, openOdg, openOdp, openOds, openOdt, openPptx, packageCodec, parsePackage, parseXml, pdfCodec, pdfToDocx, pdfToOdp, pdfToOdt, pdfToPptx, pptxPdfCodec, pptxToPdf, readDocxContent, readOdgContent, readOdpContent, readOdsContent, readOdtContent, readPdf, readPptxContent, reconstructPresentation, reconstructWordprocessing, resolveRelationships, rgbHexToColor, rootElement, serializePackage, systemClock, textContent, throwIfAborted, toCompact, unzipPackage, walk, writePdf, xmlCodec, zipPackage };
|