docxodus 12.6.4 → 13.0.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 +8 -5
- package/dist/canonical.d.ts.map +1 -1
- package/dist/canonical.js +7 -3
- package/dist/canonical.js.map +1 -1
- package/dist/conversion-options.d.ts +16 -0
- package/dist/conversion-options.d.ts.map +1 -0
- package/dist/conversion-options.js +31 -0
- package/dist/conversion-options.js.map +1 -0
- package/dist/core.d.ts +17 -9
- package/dist/core.d.ts.map +1 -1
- package/dist/core.js +23 -24
- package/dist/core.js.map +1 -1
- package/dist/docxodus.worker.js +2 -1073
- package/dist/docxodus.worker.js.map +7 -1
- package/dist/editor.bundle.js +35 -14296
- package/dist/editor.bundle.js.map +7 -0
- package/dist/editor.d.ts +33 -2
- package/dist/editor.d.ts.map +1 -1
- package/dist/editor.js +6739 -4773
- package/dist/editor.js.map +7 -1
- package/dist/embed.bundle.js +159 -18703
- package/dist/embed.bundle.js.map +7 -0
- package/dist/embed.d.ts +1 -1
- package/dist/embed.iife.js +37 -18595
- package/dist/embed.iife.js.map +7 -0
- package/dist/embed.js +1 -1
- package/dist/export-assets.json +27 -27
- package/dist/export-browser.bundle.js +1388 -477
- package/dist/export-browser.d.ts +20 -0
- package/dist/export-browser.d.ts.map +1 -1
- package/dist/export-browser.js +132 -37
- package/dist/export-browser.js.map +1 -1
- package/dist/font-runtime.d.ts.map +1 -1
- package/dist/font-runtime.js +54 -0
- package/dist/font-runtime.js.map +1 -1
- package/dist/line-metrics.d.ts +60 -0
- package/dist/line-metrics.d.ts.map +1 -0
- package/dist/line-metrics.js +343 -0
- package/dist/line-metrics.js.map +1 -0
- package/dist/pagination.bundle.js +3 -3214
- package/dist/pagination.bundle.js.map +7 -0
- package/dist/pagination.d.ts +86 -9
- package/dist/pagination.d.ts.map +1 -1
- package/dist/pagination.js +358 -55
- package/dist/pagination.js.map +1 -1
- package/dist/react.d.ts.map +1 -1
- package/dist/react.js +63 -12
- package/dist/react.js.map +1 -1
- package/dist/render-report-v2.schema.json +29 -0
- package/dist/session.bundle.js +2 -2013
- package/dist/session.bundle.js.map +7 -0
- package/dist/session.d.ts +14 -5
- package/dist/session.d.ts.map +1 -1
- package/dist/session.js +62 -29
- package/dist/session.js.map +1 -1
- package/dist/types.d.ts +137 -21
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +14 -0
- package/dist/types.js.map +1 -1
- package/dist/wasm/_framework/Docxodus.wasm +0 -0
- package/dist/wasm/_framework/Docxodus.wasm.br +0 -0
- package/dist/wasm/_framework/DocxodusWasm.wasm +0 -0
- package/dist/wasm/_framework/DocxodusWasm.wasm.br +0 -0
- package/dist/wasm/_framework/System.Collections.wasm +0 -0
- package/dist/wasm/_framework/System.Collections.wasm.br +0 -0
- package/dist/wasm/_framework/System.IO.Compression.wasm +0 -0
- package/dist/wasm/_framework/System.IO.Compression.wasm.br +0 -0
- package/dist/wasm/_framework/System.Linq.wasm +0 -0
- package/dist/wasm/_framework/System.Linq.wasm.br +0 -0
- package/dist/wasm/_framework/System.Memory.wasm +0 -0
- package/dist/wasm/_framework/System.Memory.wasm.br +0 -0
- package/dist/wasm/_framework/System.Private.CoreLib.wasm +0 -0
- package/dist/wasm/_framework/System.Private.CoreLib.wasm.br +0 -0
- package/dist/wasm/_framework/System.Private.Xml.Linq.wasm +0 -0
- package/dist/wasm/_framework/System.Private.Xml.Linq.wasm.br +0 -0
- package/dist/wasm/_framework/System.Text.RegularExpressions.wasm +0 -0
- package/dist/wasm/_framework/System.Text.RegularExpressions.wasm.br +0 -0
- package/dist/wasm/_framework/dotnet.boot.js +11 -11
- package/dist/wasm/_framework/dotnet.boot.js.br +0 -0
- package/dist/wasm/_framework/dotnet.native.wasm +0 -0
- package/dist/wasm/_framework/dotnet.native.wasm.br +0 -0
- package/dist/word-text.d.ts +14 -0
- package/dist/word-text.d.ts.map +1 -0
- package/dist/word-text.js +377 -0
- package/dist/word-text.js.map +1 -0
- package/dist/worker-proxy.bundle.js +2 -536
- package/dist/worker-proxy.bundle.js.map +7 -0
- package/dist/worker-proxy.d.ts +14 -1
- package/dist/worker-proxy.d.ts.map +1 -1
- package/dist/worker-proxy.js +357 -339
- package/dist/worker-proxy.js.map +1 -1
- package/package.json +13 -12
package/README.md
CHANGED
|
@@ -99,7 +99,7 @@ runtime location auto-detected — no build step, no configuration:
|
|
|
99
99
|
```html
|
|
100
100
|
<div id="doc" style="height: 100dvh"></div>
|
|
101
101
|
<script type="module">
|
|
102
|
-
import { createRibbonEditor } from 'https://cdn.jsdelivr.net/npm/docxodus@12.6.
|
|
102
|
+
import { createRibbonEditor } from 'https://cdn.jsdelivr.net/npm/docxodus@12.6.5/dist/embed.bundle.js';
|
|
103
103
|
const ribbon = await createRibbonEditor('#doc', './contract.docx'); // or bytes / Blob / File
|
|
104
104
|
// ...later: const editedBytes = ribbon.save();
|
|
105
105
|
</script>
|
|
@@ -434,6 +434,7 @@ interface ConversionOptions {
|
|
|
434
434
|
renderFootnotesAndEndnotes?: boolean; // Include footnotes/endnotes sections
|
|
435
435
|
renderHeadersAndFooters?: boolean; // Include headers and footers
|
|
436
436
|
renderTrackedChanges?: boolean; // Show insertions/deletions visually
|
|
437
|
+
semanticLists?: boolean; // Emit lists as <ol>/<ul>/<li> (ignored when paginated)
|
|
437
438
|
}
|
|
438
439
|
```
|
|
439
440
|
|
|
@@ -473,7 +474,9 @@ const htmlMargin = await convertDocxToHtml(docxFile, {
|
|
|
473
474
|
| `Margin` | 2 | Side column using CSS flexbox |
|
|
474
475
|
|
|
475
476
|
#### `compareDocuments(original, modified, options?): Promise<Uint8Array>`
|
|
476
|
-
Compare two DOCX documents and return a redlined DOCX with tracked changes.
|
|
477
|
+
Compare two DOCX documents and return a redlined DOCX with tracked changes. This is the .NET
|
|
478
|
+
`DocxCompare.Compare` front door: it compares the accepted view of each input, as Word's Compare
|
|
479
|
+
does, so inputs that already carry tracked changes still produce a clean redline.
|
|
477
480
|
|
|
478
481
|
```typescript
|
|
479
482
|
interface CompareOptions {
|
|
@@ -682,7 +685,7 @@ so a page can embed a full viewer or editor without hosting anything itself.
|
|
|
682
685
|
<div id="app" style="height: 100dvh"></div>
|
|
683
686
|
<script type="module">
|
|
684
687
|
import { createViewer, createEditor, createRibbonEditor }
|
|
685
|
-
from 'https://cdn.jsdelivr.net/npm/docxodus@12.6.
|
|
688
|
+
from 'https://cdn.jsdelivr.net/npm/docxodus@12.6.5/dist/embed.bundle.js';
|
|
686
689
|
|
|
687
690
|
// Choose a factory, or render several into separate containers as shown.
|
|
688
691
|
// Source may be a URL, Uint8Array, ArrayBuffer, Blob, or File.
|
|
@@ -712,7 +715,7 @@ For pages that can't use modules, `dist/embed.iife.js` exposes the same surface
|
|
|
712
715
|
|
|
713
716
|
```html
|
|
714
717
|
<div id="doc"></div>
|
|
715
|
-
<script src="https://cdn.jsdelivr.net/npm/docxodus@12.6.
|
|
718
|
+
<script src="https://cdn.jsdelivr.net/npm/docxodus@12.6.5/dist/embed.iife.js"></script>
|
|
716
719
|
<script>
|
|
717
720
|
Docxodus.createRibbonEditor('#doc').then((ribbon) => { /* ... */ });
|
|
718
721
|
</script>
|
|
@@ -728,7 +731,7 @@ first `<bundle dir>/wasm/`, then `<bundle dir>/` as a fallback. On a CDN that re
|
|
|
728
731
|
|
|
729
732
|
### CDN caveats
|
|
730
733
|
|
|
731
|
-
- **Pin an exact version in production** (`docxodus@12.6.
|
|
734
|
+
- **Pin an exact version in production** (`docxodus@12.6.5`, not `@latest`) — CDN responses are
|
|
732
735
|
cached as immutable, and the wire shapes between the JS wrappers and the WASM assemblies must
|
|
733
736
|
come from the same release.
|
|
734
737
|
- The build patches the .NET loader to fetch with `credentials: "omit"` — required because the
|
package/dist/canonical.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"canonical.d.ts","sourceRoot":"","sources":["../src/canonical.ts"],"names":[],"mappings":"AAAA;uFACuF;AAEvF,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAW1D;AAED,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAI3D;
|
|
1
|
+
{"version":3,"file":"canonical.d.ts","sourceRoot":"","sources":["../src/canonical.ts"],"names":[],"mappings":"AAAA;uFACuF;AAEvF,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAW1D;AAED,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAI3D;AAiCD,qGAAqG;AACrG,wBAAgB,aAAa,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAEpD"}
|
package/dist/canonical.js
CHANGED
|
@@ -38,10 +38,14 @@ function canonicalValue(value) {
|
|
|
38
38
|
if (prototype !== Object.prototype && prototype !== null) {
|
|
39
39
|
throw new TypeError("Canonical JSON supports only plain objects");
|
|
40
40
|
}
|
|
41
|
-
const
|
|
42
|
-
|
|
41
|
+
const record = value;
|
|
42
|
+
// A normal object would treat `__proto__` as a prototype mutation rather than an own data
|
|
43
|
+
// property, silently dropping it from the canonical payload. The exporter's copy
|
|
44
|
+
// (`npm-export/src/canonical.ts`) does the same, so both sides digest the same bytes.
|
|
45
|
+
const result = Object.create(null);
|
|
46
|
+
for (const key of Object.keys(record).sort()) {
|
|
43
47
|
assertWellFormedUnicode(key);
|
|
44
|
-
const member =
|
|
48
|
+
const member = record[key];
|
|
45
49
|
if (member !== undefined)
|
|
46
50
|
result[key] = canonicalValue(member);
|
|
47
51
|
}
|
package/dist/canonical.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"canonical.js","sourceRoot":"","sources":["../src/canonical.ts"],"names":[],"mappings":"AAAA;uFACuF;AAEvF,MAAM,UAAU,mBAAmB,CAAC,KAAa;IAC/C,KAAK,IAAI,KAAK,GAAG,CAAC,EAAE,KAAK,GAAG,KAAK,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE,CAAC;QAClD,MA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CAAC,MAAM,CAAC,CAAC;QACjE,CAAC;QACD,OAAO,MAAM,CAAC;IAChB,CAAC;IACD,MAAM,IAAI,SAAS,CAAC,mCAAmC,OAAO,KAAK,EAAE,CAAC,CAAC;AACzE,CAAC;AAED,qGAAqG;AACrG,MAAM,UAAU,aAAa,CAAC,KAAc;IAC1C,OAAO,IAAI,CAAC,SAAS,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC,CAAC;AAC/C,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { ConversionOptions } from "./types.js";
|
|
2
|
+
/**
|
|
3
|
+
* The conversion options only the complete WASM entry point
|
|
4
|
+
* (`DocumentConverter.ConvertDocxToHtmlComplete`) accepts. Setting any of them, even to its
|
|
5
|
+
* default, routes a conversion there; the plain and pagination entry points would drop it.
|
|
6
|
+
*
|
|
7
|
+
* The main-thread `convertDocxToHtml` and the worker's both read this list, so a new
|
|
8
|
+
* complete-only option is added here once rather than to two copies that can drift.
|
|
9
|
+
*/
|
|
10
|
+
export declare const COMPLETE_ONLY_CONVERSION_OPTIONS: readonly ["renderFootnotesAndEndnotes", "renderHeadersAndFooters", "renderTrackedChanges", "showDeletedContent", "renderMoveOperations", "renderUnsupportedContentPlaceholders", "documentLanguage", "stampAnchors", "revisionPresentation", "semanticLists"];
|
|
11
|
+
/**
|
|
12
|
+
* Whether a conversion must use the complete entry point: any complete-only option is set,
|
|
13
|
+
* or annotations are rendered.
|
|
14
|
+
*/
|
|
15
|
+
export declare function needsCompleteConversion(options: ConversionOptions | undefined): boolean;
|
|
16
|
+
//# sourceMappingURL=conversion-options.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conversion-options.d.ts","sourceRoot":"","sources":["../src/conversion-options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAEpD;;;;;;;GAOG;AACH,eAAO,MAAM,gCAAgC,+PAWY,CAAC;AAE1D;;;GAGG;AACH,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,iBAAiB,GAAG,SAAS,GAAG,OAAO,CAIvF"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The conversion options only the complete WASM entry point
|
|
3
|
+
* (`DocumentConverter.ConvertDocxToHtmlComplete`) accepts. Setting any of them, even to its
|
|
4
|
+
* default, routes a conversion there; the plain and pagination entry points would drop it.
|
|
5
|
+
*
|
|
6
|
+
* The main-thread `convertDocxToHtml` and the worker's both read this list, so a new
|
|
7
|
+
* complete-only option is added here once rather than to two copies that can drift.
|
|
8
|
+
*/
|
|
9
|
+
export const COMPLETE_ONLY_CONVERSION_OPTIONS = [
|
|
10
|
+
"renderFootnotesAndEndnotes",
|
|
11
|
+
"renderHeadersAndFooters",
|
|
12
|
+
"renderTrackedChanges",
|
|
13
|
+
"showDeletedContent",
|
|
14
|
+
"renderMoveOperations",
|
|
15
|
+
"renderUnsupportedContentPlaceholders",
|
|
16
|
+
"documentLanguage",
|
|
17
|
+
"stampAnchors",
|
|
18
|
+
"revisionPresentation",
|
|
19
|
+
"semanticLists",
|
|
20
|
+
];
|
|
21
|
+
/**
|
|
22
|
+
* Whether a conversion must use the complete entry point: any complete-only option is set,
|
|
23
|
+
* or annotations are rendered.
|
|
24
|
+
*/
|
|
25
|
+
export function needsCompleteConversion(options) {
|
|
26
|
+
if (!options)
|
|
27
|
+
return false;
|
|
28
|
+
return options.renderAnnotations === true ||
|
|
29
|
+
COMPLETE_ONLY_CONVERSION_OPTIONS.some(key => options[key] !== undefined);
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=conversion-options.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conversion-options.js","sourceRoot":"","sources":["../src/conversion-options.ts"],"names":[],"mappings":"AAEA;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAG;IAC9C,4BAA4B;IAC5B,yBAAyB;IACzB,sBAAsB;IACtB,oBAAoB;IACpB,sBAAsB;IACtB,sCAAsC;IACtC,kBAAkB;IAClB,cAAc;IACd,sBAAsB;IACtB,eAAe;CACwC,CAAC;AAE1D;;;GAGG;AACH,MAAM,UAAU,uBAAuB,CAAC,OAAsC;IAC5E,IAAI,CAAC,OAAO;QAAE,OAAO,KAAK,CAAC;IAC3B,OAAO,OAAO,CAAC,iBAAiB,KAAK,IAAI;QACvC,gCAAgC,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,KAAK,SAAS,CAAC,CAAC;AAC7E,CAAC"}
|
package/dist/core.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** Engine API: safe to import in plain Node ESM without loading the browser editor. */
|
|
2
|
-
import type { ConversionOptions, CompareOptions, RevisionListEntry, CommentListEntry, RevisionRepairKind, RevisionRepairProposal, RevisionRepairRequest, RevisionCarrierIdentity, RevisionRepairOutcome, RevisionRepairResult, VersionInfo, ErrorResponse, CompareResult, PackageManifest, DeliverableVerificationResult, DeliverableVerificationRequest, DeliveryReceiptVerificationResult, RedlineReversibilityProof, DocxodusWasmExports, FormatChangeDetails, DocxDiffSettings, DocxDiffRevision, DocxDiffBatchCandidate, DocxDiffBatchResult, DocxDiffProduct, DocxDiffProducts, SemanticChange, SemanticChangeFamily, SemanticChangeOperation, SemanticChangeSet, SemanticValue, DocxDiffReviewer, DocxDiffConsolidateSettings, DocxDiffConflict, DocxDiffConflictCompetitor, DocxDiffConsolidatedRevision, Annotation, AddAnnotationRequest, AddAnnotationResponse, RemoveAnnotationResponse, AnnotationOptions, DocumentStructure, DocumentElement, TableColumnInfo, AnnotationTarget, AddAnnotationWithTargetRequest, DocumentMetadata, SectionMetadata, OpenContractDocExport, PawlsPage, PawlsPageBoundary, PawlsToken, OpenContractsAnnotation, OpenContractsSinglePageAnnotation, BoundingBox, TokenId, TextSpan, OpenContractsRelationship, AnnotationLabel, ExternalAnnotationSet, ExternalAnnotationValidationResult, ExternalAnnotationValidationIssue, ExternalAnnotationProjectionSettings, MarkdownProjectionSettings, MarkdownAnchorTarget, MarkdownProjection, DocxSessionSettings } from "./types.js";
|
|
2
|
+
import type { ConversionOptions, CompareOptions, RevisionListEntry, RevisionListFilter, CommentListEntry, RevisionRepairKind, RevisionRepairProposal, RevisionRepairRequest, RevisionCarrierIdentity, RevisionRepairOutcome, RevisionRepairResult, VersionInfo, ErrorResponse, CompareResult, PackageManifest, DeliverableVerificationResult, DeliverableVerificationRequest, DeliveryReceiptVerificationResult, RedlineReversibilityProof, DocxodusWasmExports, FormatChangeDetails, DocxDiffSettings, DocxDiffRevision, DocxDiffBatchCandidate, DocxDiffBatchResult, DocxDiffProduct, DocxDiffProducts, SemanticChange, SemanticChangeFamily, SemanticChangeOperation, SemanticChangeSet, SemanticValue, DocxDiffReviewer, DocxDiffConsolidateSettings, DocxDiffConflict, DocxDiffConflictCompetitor, DocxDiffConsolidatedRevision, Annotation, AddAnnotationRequest, AddAnnotationResponse, RemoveAnnotationResponse, AnnotationOptions, DocumentStructure, DocumentElement, TableColumnInfo, AnnotationTarget, AddAnnotationWithTargetRequest, DocumentMetadata, SectionMetadata, OpenContractDocExport, PawlsPage, PawlsPageBoundary, PawlsToken, OpenContractsAnnotation, OpenContractsSinglePageAnnotation, BoundingBox, TokenId, TextSpan, OpenContractsRelationship, AnnotationLabel, ExternalAnnotationSet, ExternalAnnotationValidationResult, ExternalAnnotationValidationIssue, ExternalAnnotationProjectionSettings, MarkdownProjectionSettings, MarkdownAnchorTarget, MarkdownProjection, DocxSessionSettings } from "./types.js";
|
|
3
3
|
import { DocxSession } from "./session.js";
|
|
4
4
|
import { DocxHistoryArchive, DocxHistoryClient } from './history.js';
|
|
5
5
|
import type { HistoryStorage } from './history.js';
|
|
@@ -12,7 +12,7 @@ export declare function openDocxHistory(storage: HistoryStorage): DocxHistoryCli
|
|
|
12
12
|
/** Open a self-contained readonly .docxhistory file after initialize(); no storage adapter needed. */
|
|
13
13
|
export declare function openDocxHistoryArchive(bytes: Uint8Array): Promise<DocxHistoryArchive>;
|
|
14
14
|
export { DocxSession } from "./session.js";
|
|
15
|
-
export type { AnchorInfo, AnchorRef, AnchorTargetRef, BlockMetadata, BookmarkInfo, BookmarkRangeSegment, CharSpan, CommentListEntry, ContentControlBindingInfo, ContentControlBindingPolicy, ContentControlFillOptions, ContentControlInfo, ContentControlPlacement, ContentControlType, DocumentAnnotation, DocumentRange, DocxSessionProjection, DocxSessionSettings, EditError, EditErrorCode, EditResult, FindOptions, EditorRenderOptions, FormatOp, HyperlinkInfo, HyperlinkKind, ImageBinaryFormat, ImageCapabilities, ImageDimensions, ImageFormatCapability, ImageHorizontalAlignment, ImageHorizontalReference, ImageInsertOptions, ImageMarkupCapability, ImageMarkupKind, ImageOccurrence, ImageOperationSupport, ImagePlacement, ImageVerticalAlignment, ImageVerticalReference, ImageWrapMode, ImageWrapPoint, ImageWrapPolygon, ImageWrapSide, FloatingImageLayout, LineSpacingRule, ListMembership, FormattingInspection, InlineSpan, ParagraphFormatting, RunFormattingInfo, StyleInfo, TableStyleFormatting, MarkdownPatch, NumberFormat, PageCitation, PageCitationFragment, PageCitationPage, PageCitationRequest, PageCitationUnavailableReason, PageMapRegistrationResult, PageMapStatus, PageNumberField, PageNumberingOp, PageSetupOp, ParagraphBorderEdge, ParagraphFormatOp, RevisionDiagnostic, RevisionFamily, RevisionResolutionStatus, SectionInfo, SessionRevisionType, TableOfAuthoritiesOptions, TableOfContentsOptions, TableOfFiguresOptions, TableBorderScope, TableBorderSpec, TableInsertOptions, TableMergeContent, TableShadingScope, PackageManifest, PackageManifestInspectionLimits, PackageManifestEntry, PackageManifestFacts, PackageRelationship, PackageContentTypeDeclaration, PackageRevisionCounts, PackageAnnotationCounts, DeliverableVerificationResult, DeliverableVerificationRequest, DeliverableVerificationPolicyOptions, DeliverablePackageChangeExpectation, DeliverableCompanionArtifactInput, DeliverableRenderDiagnostic, DeliverableRenderDiagnosticKind, DeliveryArtifactVerification, DeliveryArtifactVerificationStatus, DeliveryReceiptVerificationResult, DeliverableVerificationMode, DeliverableVerificationDecision, DeliverableFindingDisposition, DeliverableFindingCategory, DeliverableCheckStatus, DeliverablePackageChangeKind, DeliverableArtifactRole, DeliverableArtifactAvailability, DeliverableSemanticChangeFamily, DeliverablePackageIdentity, DeliverableCheckResult, DeliverableFinding, DeliverablePackageChange, DeliverableSemanticChange, DeliverableSemanticDelta, DeliverableArtifactMetadata, VerificationDigest, VerificationFinding, VerificationFindingSeverity, ChangeLocation, RedlineReversibilityProof, RedlineProofPathResult, RedlineProofPackageIdentity, RedlineProofFinding, RedlineProofDirection, RedlineRevisionClassification, RedlineRevisionDisposition, RedlineRevisionIdentity, RedlineRevisionFamily, RedlineRevisionResolutionStatus, RedlineRevisionDiagnostic, RedlineModeledSemanticComparison, RedlinePackageDivergence, RedlinePackageDivergenceKind, } from "./types.js";
|
|
15
|
+
export type { AnchorInfo, AnchorRef, AnchorTargetRef, BlockMetadata, BookmarkInfo, BookmarkRangeSegment, CharSpan, CommentListEntry, NoteListEntry, ContentControlBindingInfo, ContentControlBindingPolicy, ContentControlFillOptions, ContentControlInfo, ContentControlPlacement, ContentControlType, DocumentAnnotation, DocumentRange, DocxSessionProjection, DocxSessionSettings, EditError, EditErrorCode, EditResult, FindOptions, EditorRenderOptions, FormatOp, HyperlinkInfo, HyperlinkKind, ImageBinaryFormat, ImageCapabilities, ImageDimensions, ImageFormatCapability, ImageHorizontalAlignment, ImageHorizontalReference, ImageInsertOptions, ImageMarkupCapability, ImageMarkupKind, ImageOccurrence, ImageOperationSupport, ImagePlacement, ImageVerticalAlignment, ImageVerticalReference, ImageWrapMode, ImageWrapPoint, ImageWrapPolygon, ImageWrapSide, FloatingImageLayout, LineSpacingRule, ListMembership, FormattingInspection, InlineSpan, ParagraphFormatting, RunFormattingInfo, StyleInfo, TableStyleFormatting, MarkdownPatch, MarkdownPatchBlock, NumberFormat, PageCitation, PageCitationFragment, PageCitationPage, PageCitationRequest, PageCitationUnavailableReason, PageMapRegistrationResult, PageMapStatus, PageNumberField, PageNumberingOp, PageSetupOp, ParagraphBorderEdge, ParagraphFormatOp, RevisionDiagnostic, RevisionFamily, RevisionResolutionStatus, SectionInfo, SessionRevisionType, TableOfAuthoritiesOptions, TableOfContentsOptions, TableOfFiguresOptions, TableBorderScope, TableBorderSpec, TableInsertOptions, TableMergeContent, TableShadingScope, PackageManifest, PackageManifestInspectionLimits, PackageManifestEntry, PackageManifestFacts, PackageRelationship, PackageContentTypeDeclaration, PackageRevisionCounts, PackageAnnotationCounts, DeliverableVerificationResult, DeliverableVerificationRequest, DeliverableVerificationPolicyOptions, DeliverablePackageChangeExpectation, DeliverableCompanionArtifactInput, DeliverableRenderDiagnostic, DeliverableRenderDiagnosticKind, DeliveryArtifactVerification, DeliveryArtifactVerificationStatus, DeliveryReceiptVerificationResult, DeliverableVerificationMode, DeliverableVerificationDecision, DeliverableFindingDisposition, DeliverableFindingCategory, DeliverableCheckStatus, DeliverablePackageChangeKind, DeliverableArtifactRole, DeliverableArtifactAvailability, DeliverableSemanticChangeFamily, DeliverablePackageIdentity, DeliverableCheckResult, DeliverableFinding, DeliverablePackageChange, DeliverableSemanticChange, DeliverableSemanticDelta, DeliverableArtifactMetadata, VerificationDigest, VerificationFinding, VerificationFindingSeverity, ChangeLocation, RedlineReversibilityProof, RedlineProofPathResult, RedlineProofPackageIdentity, RedlineProofFinding, RedlineProofDirection, RedlineRevisionClassification, RedlineRevisionDisposition, RedlineRevisionIdentity, RedlineRevisionFamily, RedlineRevisionResolutionStatus, RedlineRevisionDiagnostic, RedlineModeledSemanticComparison, RedlinePackageDivergence, RedlinePackageDivergenceKind, } from "./types.js";
|
|
16
16
|
export type { FillOptions, BulkEditResult } from "./types.js";
|
|
17
17
|
export { PlaceholderKinds, ContextBoundary } from "./types.js";
|
|
18
18
|
export { DiffFormat } from "./types.js";
|
|
@@ -30,15 +30,15 @@ export declare function openDocxSession(bytes: Uint8Array, settings?: DocxSessio
|
|
|
30
30
|
* a "New document" seed for editors that draft from scratch. Requires {@link initialize}.
|
|
31
31
|
*/
|
|
32
32
|
export declare function createBlankDocx(): Uint8Array;
|
|
33
|
-
import { CommentRenderMode, PaginationMode, AnnotationLabelMode, RevisionType, DocxDiffRevisionGranularity, DocxDiffFormatComparison, ConflictResolution, ProjectionScopes, AnchorRenderMode, TableRenderMode, TrackedChangeMode, EmptyParagraphMode, AnchorIdRendering, ProjectionDepth, DocumentElementType, ComparisonLogLevel, ComparisonLogCodes, isInsertion, isDeletion, isMove, isFormatChange, findElementById, findElementsByType, getParagraphs, getTables, getTableColumns, targetElement, targetParagraph, targetParagraphRange, targetRun, targetTable, targetTableRow, targetTableCell, targetTableColumn, targetSearch, targetSearchInElement } from "./types.js";
|
|
33
|
+
import { CommentRenderMode, PaginationMode, AnnotationLabelMode, RevisionPresentation, RevisionType, DocxDiffRevisionGranularity, DocxDiffFormatComparison, ConflictResolution, ProjectionScopes, AnchorRenderMode, TableRenderMode, TrackedChangeMode, EmptyParagraphMode, AnchorIdRendering, ProjectionDepth, DocumentElementType, ComparisonLogLevel, ComparisonLogCodes, isInsertion, isDeletion, isMove, isFormatChange, findElementById, findElementsByType, getParagraphs, getTables, getTableColumns, targetElement, targetParagraph, targetParagraphRange, targetRun, targetTable, targetTableRow, targetTableCell, targetTableColumn, targetSearch, targetSearchInElement } from "./types.js";
|
|
34
34
|
export type { PageDimensions, MeasuredBlock, PageInfo, PaginationResult, PaginationOptions, PageMap, PageMapPage, PageMapFragment, PageMapRect, PageMapMode, PageMapAvailability, PageMapStory, PageCitationNavigation, } from "./pagination.js";
|
|
35
35
|
export { PaginationEngine, clearPageCitationHighlight, createUnavailablePageMap, navigateToPageCitation, paginateHtml, } from "./pagination.js";
|
|
36
36
|
export type { CommentProfile, CompleteRenderReport, DocxodusExportErrorCode, ExportPhase, ExportResourceLimits, FailedRenderReport, FontConfigurationIdentity, FontResolution, FontResolver, PaginatedHtmlOptions, PaginatedHtmlResult, PaginatedRenderMetadata, ReadinessOutcome, RenderReport, RenderReportBase, RenderWarning, ResourceOutcome, ReviewProfile, UnsupportedContentOutcome, UnsupportedContentPolicy, } from "./export-browser.js";
|
|
37
37
|
export { DEFAULT_MARGIN, DEFAULT_PAGE_HEIGHT, DEFAULT_PAGE_WIDTH, fitScale, parseSectionDimensions, ptToPx, pxToPt, } from "./page-geometry.js";
|
|
38
38
|
export { DocumentViewport } from "./viewport.js";
|
|
39
39
|
export type { ColumnWidth, DocumentViewportOptions } from "./viewport.js";
|
|
40
|
-
export type { ConversionOptions, CompareOptions, RevisionListEntry, RevisionRepairKind, RevisionRepairProposal, RevisionRepairRequest, RevisionCarrierIdentity, RevisionRepairOutcome, RevisionRepairResult, VersionInfo, ErrorResponse, CompareResult, FormatChangeDetails, Annotation, AddAnnotationRequest, AddAnnotationResponse, RemoveAnnotationResponse, AnnotationOptions, DocumentStructure, DocumentElement, TableColumnInfo, AnnotationTarget, AddAnnotationWithTargetRequest, DocumentMetadata, SectionMetadata, OpenContractDocExport, PawlsPage, PawlsPageBoundary, PawlsToken, OpenContractsAnnotation, OpenContractsSinglePageAnnotation, BoundingBox, TokenId, TextSpan, OpenContractsRelationship, AnnotationLabel, ExternalAnnotationSet, ExternalAnnotationValidationResult, ExternalAnnotationValidationIssue, ExternalAnnotationProjectionSettings, MarkdownProjectionSettings, MarkdownAnchorTarget, MarkdownProjection, DocxDiffSettings, DocxDiffRevision, DocxDiffBatchCandidate, DocxDiffBatchResult, DocxDiffProduct, DocxDiffProducts, SemanticChange, SemanticChangeFamily, SemanticChangeOperation, SemanticChangeSet, SemanticValue, DocxDiffReviewer, DocxDiffConsolidateSettings, DocxDiffConflict, DocxDiffConflictCompetitor, DocxDiffConsolidatedRevision, };
|
|
41
|
-
export { CommentRenderMode, PaginationMode, AnnotationLabelMode, RevisionType, DocxDiffRevisionGranularity, DocxDiffFormatComparison, ConflictResolution, ProjectionScopes, AnchorRenderMode, TableRenderMode, TrackedChangeMode, EmptyParagraphMode, AnchorIdRendering, ProjectionDepth, DocumentElementType, ComparisonLogLevel, ComparisonLogCodes, isInsertion, isDeletion, isMove, isFormatChange, findElementById, findElementsByType, getParagraphs, getTables, getTableColumns, targetElement, targetParagraph, targetParagraphRange, targetRun, targetTable, targetTableRow, targetTableCell, targetTableColumn, targetSearch, targetSearchInElement, };
|
|
40
|
+
export type { ConversionOptions, CompareOptions, RevisionListEntry, RevisionListFilter, RevisionRepairKind, RevisionRepairProposal, RevisionRepairRequest, RevisionCarrierIdentity, RevisionRepairOutcome, RevisionRepairResult, VersionInfo, ErrorResponse, CompareResult, FormatChangeDetails, Annotation, AddAnnotationRequest, AddAnnotationResponse, RemoveAnnotationResponse, AnnotationOptions, DocumentStructure, DocumentElement, TableColumnInfo, AnnotationTarget, AddAnnotationWithTargetRequest, DocumentMetadata, SectionMetadata, OpenContractDocExport, PawlsPage, PawlsPageBoundary, PawlsToken, OpenContractsAnnotation, OpenContractsSinglePageAnnotation, BoundingBox, TokenId, TextSpan, OpenContractsRelationship, AnnotationLabel, ExternalAnnotationSet, ExternalAnnotationValidationResult, ExternalAnnotationValidationIssue, ExternalAnnotationProjectionSettings, MarkdownProjectionSettings, MarkdownAnchorTarget, MarkdownProjection, DocxDiffSettings, DocxDiffRevision, DocxDiffBatchCandidate, DocxDiffBatchResult, DocxDiffProduct, DocxDiffProducts, SemanticChange, SemanticChangeFamily, SemanticChangeOperation, SemanticChangeSet, SemanticValue, DocxDiffReviewer, DocxDiffConsolidateSettings, DocxDiffConflict, DocxDiffConflictCompetitor, DocxDiffConsolidatedRevision, };
|
|
41
|
+
export { CommentRenderMode, PaginationMode, AnnotationLabelMode, RevisionPresentation, RevisionType, DocxDiffRevisionGranularity, DocxDiffFormatComparison, ConflictResolution, ProjectionScopes, AnchorRenderMode, TableRenderMode, TrackedChangeMode, EmptyParagraphMode, AnchorIdRendering, ProjectionDepth, DocumentElementType, ComparisonLogLevel, ComparisonLogCodes, isInsertion, isDeletion, isMove, isFormatChange, findElementById, findElementsByType, getParagraphs, getTables, getTableColumns, targetElement, targetParagraph, targetParagraphRange, targetRun, targetTable, targetTableRow, targetTableCell, targetTableColumn, targetSearch, targetSearchInElement, };
|
|
42
42
|
/**
|
|
43
43
|
* Current base path for WASM files.
|
|
44
44
|
* Empty string means auto-detect from module URL.
|
|
@@ -294,9 +294,14 @@ export declare function docxDiffRejectRevisions(redline: File | Uint8Array): Pro
|
|
|
294
294
|
* Consolidate several reviewers' edits against a shared base DOCX and return the
|
|
295
295
|
* merged redlined result as a DOCX (native multi-author tracked-changes markup).
|
|
296
296
|
*
|
|
297
|
+
* Compares the accepted view of the base and of every reviewer, as Word's Compare
|
|
298
|
+
* does: tracked changes the inputs already carry (body, headers, footers, notes)
|
|
299
|
+
* are accepted first, so they never reach the redline under their original
|
|
300
|
+
* authors. `preserveInputRevisions` still turns that pre-accept off.
|
|
301
|
+
*
|
|
297
302
|
* @param base - The shared base document all reviewers edited from.
|
|
298
303
|
* @param reviewers - The reviewers' edited copies + author names.
|
|
299
|
-
* @param settings - Optional {@link DocxDiffConsolidateSettings}; omit for
|
|
304
|
+
* @param settings - Optional {@link DocxDiffConsolidateSettings}; omit for defaults.
|
|
300
305
|
* @returns Consolidated redlined DOCX as Uint8Array.
|
|
301
306
|
* @throws Error if consolidation fails.
|
|
302
307
|
*/
|
|
@@ -308,7 +313,8 @@ export declare function docxDiffConsolidate(base: File | Uint8Array, reviewers:
|
|
|
308
313
|
*
|
|
309
314
|
* @param base - The shared base document all reviewers edited from.
|
|
310
315
|
* @param reviewers - The reviewers' edited copies + author names.
|
|
311
|
-
* @param settings - Optional {@link DocxDiffConsolidateSettings}; omit for
|
|
316
|
+
* @param settings - Optional {@link DocxDiffConsolidateSettings}; omit for defaults. The base and every
|
|
317
|
+
* reviewer are always compared on their accepted view (see {@link docxDiffConsolidate}).
|
|
312
318
|
* @returns Array of {@link DocxDiffConflict}.
|
|
313
319
|
* @throws Error if the operation fails.
|
|
314
320
|
*/
|
|
@@ -321,7 +327,8 @@ export declare function docxDiffGetConflicts(base: File | Uint8Array, reviewers:
|
|
|
321
327
|
*
|
|
322
328
|
* @param base - The shared base document all reviewers edited from.
|
|
323
329
|
* @param reviewers - The reviewers' edited copies + author names.
|
|
324
|
-
* @param settings - Optional {@link DocxDiffConsolidateSettings}; omit for
|
|
330
|
+
* @param settings - Optional {@link DocxDiffConsolidateSettings}; omit for defaults. The base and every
|
|
331
|
+
* reviewer are always compared on their accepted view (see {@link docxDiffConsolidate}).
|
|
325
332
|
* @returns Array of {@link DocxDiffConsolidatedRevision}.
|
|
326
333
|
* @throws Error if the operation fails.
|
|
327
334
|
*/
|
|
@@ -333,7 +340,8 @@ export declare function docxDiffGetConsolidatedRevisions(base: File | Uint8Array
|
|
|
333
340
|
*
|
|
334
341
|
* @param base - The shared base document all reviewers edited from.
|
|
335
342
|
* @param reviewers - The reviewers' edited copies + author names.
|
|
336
|
-
* @param settings - Optional {@link DocxDiffConsolidateSettings}; omit for
|
|
343
|
+
* @param settings - Optional {@link DocxDiffConsolidateSettings}; omit for defaults. The base and every
|
|
344
|
+
* reviewer are always compared on their accepted view (see {@link docxDiffConsolidate}).
|
|
337
345
|
* @returns The consolidated edit script serialized as indented JSON.
|
|
338
346
|
* @throws Error if the operation fails.
|
|
339
347
|
*/
|
package/dist/core.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"core.d.ts","sourceRoot":"","sources":["../src/core.ts"],"names":[],"mappings":"AAAA,uFAAuF;AACvF,OAAO,KAAK,EACV,iBAAiB,EACjB,cAAc,EACd,iBAAiB,EACjB,gBAAgB,EAChB,kBAAkB,EAClB,sBAAsB,EACtB,qBAAqB,EACrB,uBAAuB,EACvB,qBAAqB,EACrB,oBAAoB,EACpB,WAAW,EACX,aAAa,EACb,aAAa,EACb,eAAe,EACf,6BAA6B,EAC7B,8BAA8B,EAM9B,iCAAiC,EACjC,yBAAyB,EACzB,mBAAmB,EACnB,mBAAmB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C,KAAK,CAAC,EAAE,eAAe,EACvB,iBAAiB,CAAC,EAAE,oCAAoC,GACvD,OAAO,CAAC,MAAM,CAAC,CAqBjB;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAsB,wBAAwB,CAC5C,IAAI,EAAE,MAAM,EACZ,YAAY,EAAE,MAAM,EACpB,cAAc,CAAC,EAAE,MAAM,GACtB,OAAO,CAAC,MAAM,CAAC,CAiBjB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,wBAAsB,+BAA+B,CACnD,cAAc,EAAE,MAAM,EAAE,EACxB,cAAc,CAAC,EAAE,MAAM,GACtB,OAAO,CAAC,MAAM,CAAC,CAiBjB;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAsB,qBAAqB,CACzC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,EACvC,iBAAiB,CAAC,EAAE,oCAAoC,GACvD,OAAO,CAAC,MAAM,CAAC,CAkBjB"}
|
package/dist/core.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { openDocxSession as openDocxSessionImpl } from "./session.js";
|
|
2
2
|
import { serializeVerificationRequest } from "./verification-request.js";
|
|
3
|
+
import { needsCompleteConversion } from "./conversion-options.js";
|
|
3
4
|
import { readExternalAnnotationSet, readExternalAnnotationValidation, readOpenContractExport, readProjectedHtml, } from "./external-annotation-wire.js";
|
|
4
5
|
import { DocxHistoryArchive, DocxHistoryClient, installHistoryStorageImports } from './history.js';
|
|
5
6
|
export * from './history.js';
|
|
@@ -41,13 +42,13 @@ export function openDocxSession(bytes, settings) {
|
|
|
41
42
|
export function createBlankDocx() {
|
|
42
43
|
return ensureInitialized().DocxSessionBridge.CreateBlankDocx();
|
|
43
44
|
}
|
|
44
|
-
import { CommentRenderMode, PaginationMode, AnnotationLabelMode, RevisionType, DocxDiffRevisionGranularity, DocxDiffFormatComparison, ConflictResolution, ProjectionScopes, AnchorRenderMode, TableRenderMode, TrackedChangeMode, EmptyParagraphMode, AnchorIdRendering, ProjectionDepth, DocumentElementType, ComparisonLogLevel, ComparisonLogCodes, isInsertion, isDeletion, isMove, isFormatChange, findElementById, findElementsByType, getParagraphs, getTables, getTableColumns, targetElement, targetParagraph, targetParagraphRange, targetRun, targetTable, targetTableRow, targetTableCell, targetTableColumn, targetSearch, targetSearchInElement, } from "./types.js";
|
|
45
|
+
import { CommentRenderMode, PaginationMode, AnnotationLabelMode, RevisionPresentation, RevisionType, DocxDiffRevisionGranularity, DocxDiffFormatComparison, ConflictResolution, ProjectionScopes, AnchorRenderMode, TableRenderMode, TrackedChangeMode, EmptyParagraphMode, AnchorIdRendering, ProjectionDepth, DocumentElementType, ComparisonLogLevel, ComparisonLogCodes, isInsertion, isDeletion, isMove, isFormatChange, findElementById, findElementsByType, getParagraphs, getTables, getTableColumns, targetElement, targetParagraph, targetParagraphRange, targetRun, targetTable, targetTableRow, targetTableCell, targetTableColumn, targetSearch, targetSearchInElement, } from "./types.js";
|
|
45
46
|
export { PaginationEngine, clearPageCitationHighlight, createUnavailablePageMap, navigateToPageCitation, paginateHtml, } from "./pagination.js";
|
|
46
47
|
// Page geometry is the document's own page setup (w:sectPr), read off the section wrappers
|
|
47
48
|
// the converter stamps in every render mode, plus the fit-to-width zoom a view applies to it.
|
|
48
49
|
export { DEFAULT_MARGIN, DEFAULT_PAGE_HEIGHT, DEFAULT_PAGE_WIDTH, fitScale, parseSectionDimensions, ptToPx, pxToPt, } from "./page-geometry.js";
|
|
49
50
|
export { DocumentViewport } from "./viewport.js";
|
|
50
|
-
export { CommentRenderMode, PaginationMode, AnnotationLabelMode, RevisionType, DocxDiffRevisionGranularity, DocxDiffFormatComparison, ConflictResolution, ProjectionScopes, AnchorRenderMode, TableRenderMode, TrackedChangeMode, EmptyParagraphMode, AnchorIdRendering, ProjectionDepth, DocumentElementType, ComparisonLogLevel, ComparisonLogCodes, isInsertion, isDeletion, isMove, isFormatChange,
|
|
51
|
+
export { CommentRenderMode, PaginationMode, AnnotationLabelMode, RevisionPresentation, RevisionType, DocxDiffRevisionGranularity, DocxDiffFormatComparison, ConflictResolution, ProjectionScopes, AnchorRenderMode, TableRenderMode, TrackedChangeMode, EmptyParagraphMode, AnchorIdRendering, ProjectionDepth, DocumentElementType, ComparisonLogLevel, ComparisonLogCodes, isInsertion, isDeletion, isMove, isFormatChange,
|
|
51
52
|
// Document structure helpers
|
|
52
53
|
findElementById, findElementsByType, getParagraphs, getTables, getTableColumns,
|
|
53
54
|
// Annotation target factory functions
|
|
@@ -87,7 +88,7 @@ async function yieldToMain() {
|
|
|
87
88
|
function getDefaultWasmBasePath() {
|
|
88
89
|
try {
|
|
89
90
|
// import.meta.url gives us the URL of this module
|
|
90
|
-
// e.g., "https://cdn.jsdelivr.net/npm/docxodus@12.6.
|
|
91
|
+
// e.g., "https://cdn.jsdelivr.net/npm/docxodus@12.6.5/dist/core.js"
|
|
91
92
|
// or "file:///path/to/node_modules/docxodus/dist/core.js"
|
|
92
93
|
const moduleUrl = import.meta.url;
|
|
93
94
|
// Remove the filename to get the directory
|
|
@@ -211,7 +212,6 @@ function parseError(result) {
|
|
|
211
212
|
return {
|
|
212
213
|
error: parsed.Error || parsed.error,
|
|
213
214
|
type: parsed.Type || parsed.type,
|
|
214
|
-
stackTrace: parsed.StackTrace || parsed.stackTrace,
|
|
215
215
|
};
|
|
216
216
|
}
|
|
217
217
|
/**
|
|
@@ -368,18 +368,9 @@ export async function convertDocxToHtml(document, options) {
|
|
|
368
368
|
// Yield to browser before heavy WASM work - allows loading states to render
|
|
369
369
|
await yieldToMain();
|
|
370
370
|
let result;
|
|
371
|
-
//
|
|
372
|
-
|
|
373
|
-
options?.renderHeadersAndFooters
|
|
374
|
-
options?.renderTrackedChanges !== undefined ||
|
|
375
|
-
options?.showDeletedContent !== undefined ||
|
|
376
|
-
options?.renderMoveOperations !== undefined ||
|
|
377
|
-
options?.renderUnsupportedContentPlaceholders !== undefined ||
|
|
378
|
-
options?.documentLanguage !== undefined ||
|
|
379
|
-
options?.stampAnchors !== undefined;
|
|
380
|
-
// Use complete method when any new options are specified (most comprehensive)
|
|
381
|
-
if (needsCompleteMethod || options?.renderAnnotations) {
|
|
382
|
-
result = exports.DocumentConverter.ConvertDocxToHtmlComplete(bytes, options?.pageTitle ?? "Document", options?.cssPrefix ?? "docx-", options?.fabricateClasses ?? true, options?.additionalCss ?? "", options?.commentRenderMode ?? CommentRenderMode.Disabled, options?.commentCssClassPrefix ?? "comment-", options?.paginationMode ?? PaginationMode.None, options?.paginationScale ?? 1.0, options?.paginationCssClassPrefix ?? "page-", options?.renderAnnotations ?? false, options?.annotationLabelMode ?? AnnotationLabelMode.Above, options?.annotationCssClassPrefix ?? "annot-", options?.renderFootnotesAndEndnotes ?? false, options?.renderHeadersAndFooters ?? false, options?.renderTrackedChanges ?? false, options?.showDeletedContent ?? true, options?.renderMoveOperations ?? true, options?.renderUnsupportedContentPlaceholders ?? false, options?.documentLanguage ?? null, options?.stampAnchors ?? false);
|
|
371
|
+
// Use complete method when any complete-only option is specified (most comprehensive)
|
|
372
|
+
if (needsCompleteConversion(options)) {
|
|
373
|
+
result = exports.DocumentConverter.ConvertDocxToHtmlComplete(bytes, options?.pageTitle ?? "Document", options?.cssPrefix ?? "docx-", options?.fabricateClasses ?? true, options?.additionalCss ?? "", options?.commentRenderMode ?? CommentRenderMode.Disabled, options?.commentCssClassPrefix ?? "comment-", options?.paginationMode ?? PaginationMode.None, options?.paginationScale ?? 1.0, options?.paginationCssClassPrefix ?? "page-", options?.renderAnnotations ?? false, options?.annotationLabelMode ?? AnnotationLabelMode.Above, options?.annotationCssClassPrefix ?? "annot-", options?.renderFootnotesAndEndnotes ?? false, options?.renderHeadersAndFooters ?? false, options?.renderTrackedChanges ?? false, options?.showDeletedContent ?? true, options?.renderMoveOperations ?? true, options?.renderUnsupportedContentPlaceholders ?? false, options?.documentLanguage ?? null, options?.stampAnchors ?? false, options?.revisionPresentation ?? RevisionPresentation.Docxodus, options?.semanticLists ?? false);
|
|
383
374
|
}
|
|
384
375
|
// Use pagination-aware method when pagination is requested
|
|
385
376
|
else if (options?.paginationMode !== undefined && options.paginationMode !== PaginationMode.None) {
|
|
@@ -414,10 +405,10 @@ export async function compareDocuments(original, modified, options) {
|
|
|
414
405
|
await yieldToMain();
|
|
415
406
|
let result;
|
|
416
407
|
if (options?.caseInsensitive) {
|
|
417
|
-
result = exports.DocumentComparer.CompareDocumentsWithOptions(originalBytes, modifiedBytes, options?.authorName ??
|
|
408
|
+
result = exports.DocumentComparer.CompareDocumentsWithOptions(originalBytes, modifiedBytes, options?.authorName ?? null, options.caseInsensitive);
|
|
418
409
|
}
|
|
419
410
|
else {
|
|
420
|
-
result = exports.DocumentComparer.CompareDocuments(originalBytes, modifiedBytes, options?.authorName ??
|
|
411
|
+
result = exports.DocumentComparer.CompareDocuments(originalBytes, modifiedBytes, options?.authorName ?? null);
|
|
421
412
|
}
|
|
422
413
|
if (result.length === 0) {
|
|
423
414
|
throw new Error("Comparison failed - empty result");
|
|
@@ -442,10 +433,10 @@ export async function compareDocumentsToHtml(original, modified, options) {
|
|
|
442
433
|
const renderTrackedChanges = options?.renderTrackedChanges ?? true;
|
|
443
434
|
let result;
|
|
444
435
|
if (options?.caseInsensitive !== undefined) {
|
|
445
|
-
result = exports.DocumentComparer.CompareDocumentsToHtmlFull(originalBytes, modifiedBytes, options?.authorName ??
|
|
436
|
+
result = exports.DocumentComparer.CompareDocumentsToHtmlFull(originalBytes, modifiedBytes, options?.authorName ?? null, options.caseInsensitive, renderTrackedChanges);
|
|
446
437
|
}
|
|
447
438
|
else {
|
|
448
|
-
result = exports.DocumentComparer.CompareDocumentsToHtmlWithOptions(originalBytes, modifiedBytes, options?.authorName ??
|
|
439
|
+
result = exports.DocumentComparer.CompareDocumentsToHtmlWithOptions(originalBytes, modifiedBytes, options?.authorName ?? null, renderTrackedChanges);
|
|
449
440
|
}
|
|
450
441
|
if (isErrorResponse(result)) {
|
|
451
442
|
const error = parseError(result);
|
|
@@ -782,9 +773,14 @@ function mapDocxDiffRevision(r) {
|
|
|
782
773
|
* Consolidate several reviewers' edits against a shared base DOCX and return the
|
|
783
774
|
* merged redlined result as a DOCX (native multi-author tracked-changes markup).
|
|
784
775
|
*
|
|
776
|
+
* Compares the accepted view of the base and of every reviewer, as Word's Compare
|
|
777
|
+
* does: tracked changes the inputs already carry (body, headers, footers, notes)
|
|
778
|
+
* are accepted first, so they never reach the redline under their original
|
|
779
|
+
* authors. `preserveInputRevisions` still turns that pre-accept off.
|
|
780
|
+
*
|
|
785
781
|
* @param base - The shared base document all reviewers edited from.
|
|
786
782
|
* @param reviewers - The reviewers' edited copies + author names.
|
|
787
|
-
* @param settings - Optional {@link DocxDiffConsolidateSettings}; omit for
|
|
783
|
+
* @param settings - Optional {@link DocxDiffConsolidateSettings}; omit for defaults.
|
|
788
784
|
* @returns Consolidated redlined DOCX as Uint8Array.
|
|
789
785
|
* @throws Error if consolidation fails.
|
|
790
786
|
*/
|
|
@@ -806,7 +802,8 @@ export async function docxDiffConsolidate(base, reviewers, settings) {
|
|
|
806
802
|
*
|
|
807
803
|
* @param base - The shared base document all reviewers edited from.
|
|
808
804
|
* @param reviewers - The reviewers' edited copies + author names.
|
|
809
|
-
* @param settings - Optional {@link DocxDiffConsolidateSettings}; omit for
|
|
805
|
+
* @param settings - Optional {@link DocxDiffConsolidateSettings}; omit for defaults. The base and every
|
|
806
|
+
* reviewer are always compared on their accepted view (see {@link docxDiffConsolidate}).
|
|
810
807
|
* @returns Array of {@link DocxDiffConflict}.
|
|
811
808
|
* @throws Error if the operation fails.
|
|
812
809
|
*/
|
|
@@ -841,7 +838,8 @@ export async function docxDiffGetConflicts(base, reviewers, settings) {
|
|
|
841
838
|
*
|
|
842
839
|
* @param base - The shared base document all reviewers edited from.
|
|
843
840
|
* @param reviewers - The reviewers' edited copies + author names.
|
|
844
|
-
* @param settings - Optional {@link DocxDiffConsolidateSettings}; omit for
|
|
841
|
+
* @param settings - Optional {@link DocxDiffConsolidateSettings}; omit for defaults. The base and every
|
|
842
|
+
* reviewer are always compared on their accepted view (see {@link docxDiffConsolidate}).
|
|
845
843
|
* @returns Array of {@link DocxDiffConsolidatedRevision}.
|
|
846
844
|
* @throws Error if the operation fails.
|
|
847
845
|
*/
|
|
@@ -868,7 +866,8 @@ export async function docxDiffGetConsolidatedRevisions(base, reviewers, settings
|
|
|
868
866
|
*
|
|
869
867
|
* @param base - The shared base document all reviewers edited from.
|
|
870
868
|
* @param reviewers - The reviewers' edited copies + author names.
|
|
871
|
-
* @param settings - Optional {@link DocxDiffConsolidateSettings}; omit for
|
|
869
|
+
* @param settings - Optional {@link DocxDiffConsolidateSettings}; omit for defaults. The base and every
|
|
870
|
+
* reviewer are always compared on their accepted view (see {@link docxDiffConsolidate}).
|
|
872
871
|
* @returns The consolidated edit script serialized as indented JSON.
|
|
873
872
|
* @throws Error if the operation fails.
|
|
874
873
|
*/
|