@stll/folio-core 0.66.2 → 0.68.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/dist/ai-edits/apply.d.ts +9 -1
- package/dist/ai-edits/apply.js +138 -17
- package/dist/ai-edits/batch-claims.js +5 -3
- package/dist/ai-edits/clean-text.js +4 -1
- package/dist/ai-edits/headless.d.ts +36 -21
- package/dist/ai-edits/headless.js +104 -34
- package/dist/ai-edits/index.d.ts +2 -2
- package/dist/ai-edits/note-references.d.ts +6 -0
- package/dist/ai-edits/note-references.js +7 -1
- package/dist/ai-edits/read.d.ts +19 -0
- package/dist/ai-edits/read.js +6 -4
- package/dist/ai-edits/snapshot.d.ts +6 -0
- package/dist/ai-edits/snapshot.js +32 -17
- package/dist/ai-edits/table-cell-mutations.js +3 -2
- package/dist/ai-edits/table-row-column-mutations.js +20 -6
- package/dist/ai-edits/types.d.ts +9 -1
- package/dist/ai-suggestions/apply.js +13 -4
- package/dist/compare/compare.js +2 -1
- package/dist/compare/inserted-resource-snapshot.d.ts +4 -1
- package/dist/compare/inserted-resource-snapshot.js +7 -3
- package/dist/controller/canonicalClipboard.js +29 -12
- package/dist/controller/canonicalComposition.d.ts +1 -1
- package/dist/controller/canonicalComposition.js +77 -19
- package/dist/controller/canonicalInlineProjection.d.ts +35 -10
- package/dist/controller/canonicalInlineProjection.js +192 -28
- package/dist/controller/canonicalInput.d.ts +2 -2
- package/dist/controller/canonicalInput.js +47 -2
- package/dist/controller/canonicalListRendering.d.ts +2 -1
- package/dist/controller/canonicalListRendering.js +1 -1
- package/dist/controller/canonicalLockGuard.d.ts +8 -0
- package/dist/controller/canonicalLockGuard.js +88 -0
- package/dist/controller/canonicalPublicOperations.d.ts +12 -4
- package/dist/controller/canonicalPublicOperations.js +274 -20
- package/dist/controller/canonicalSession.d.ts +87 -7
- package/dist/controller/canonicalSession.js +328 -75
- package/dist/controller/canonicalStoryEditor.d.ts +3 -2
- package/dist/controller/canonicalStoryEditor.js +4 -3
- package/dist/controller/canonicalStructure.d.ts +2 -1
- package/dist/controller/canonicalStructure.js +129 -7
- package/dist/controller/contentControlWidgetController.d.ts +5 -0
- package/dist/controller/contentControlWidgetController.js +13 -1
- package/dist/controller/folioEditor.js +1 -0
- package/dist/controller/headerFooterEditorManager.d.ts +2 -2
- package/dist/controller/headerFooterEditorManager.js +5 -5
- package/dist/controller/hiddenEditorApi.d.ts +6 -0
- package/dist/controller/hiddenEditorApi.js +1 -0
- package/dist/controller/hiddenEditorManager.d.ts +10 -3
- package/dist/controller/hiddenEditorManager.js +94 -38
- package/dist/controller/layoutPipeline.d.ts +2 -0
- package/dist/controller/layoutPipeline.js +55 -18
- package/dist/controller/layoutSession.d.ts +1 -0
- package/dist/controller/noteEditorManager.d.ts +2 -2
- package/dist/controller/noteEditorManager.js +5 -5
- package/dist/display-list/build/pageFurniture.js +41 -19
- package/dist/display-list/build/tablePrimitives.d.ts +3 -1
- package/dist/display-list/build/tablePrimitives.js +49 -14
- package/dist/display-list/dom/renderDisplayListToDom.js +4 -4
- package/dist/document-operations.d.ts +8 -0
- package/dist/document-operations.js +4 -3
- package/dist/docx/blockContentParser.d.ts +7 -3
- package/dist/docx/blockContentParser.js +2 -3
- package/dist/docx/blockPlainText.js +2 -0
- package/dist/docx/bookmarkRangeJoin.d.ts +6 -0
- package/dist/docx/bookmarkRangeJoin.js +43 -0
- package/dist/docx/canonicalSave.js +5 -1
- package/dist/docx/canonicalSessionInput.d.ts +5 -1
- package/dist/docx/canonicalSessionInput.js +7 -2
- package/dist/docx/chartPreview.d.ts +4 -1
- package/dist/docx/chartPreview.js +26 -15
- package/dist/docx/commentAnchorIndex.d.ts +21 -5
- package/dist/docx/commentAnchorIndex.js +39 -11
- package/dist/docx/commentRangeIntegrity.js +30 -24
- package/dist/docx/commentRangeJoin.d.ts +4 -0
- package/dist/docx/commentRangeJoin.js +26 -12
- package/dist/docx/commentReferenceCompletion.js +5 -4
- package/dist/docx/commentReferenceNormalization.js +40 -18
- package/dist/docx/compatibility.js +9 -2
- package/dist/docx/containerChildren.js +22 -1
- package/dist/docx/encryption/compoundFile.js +9 -1
- package/dist/docx/encryption/encryptionInfo.js +16 -2
- package/dist/docx/ensureParaIds.js +46 -7
- package/dist/docx/ensureUniqueControlIds.d.ts +25 -0
- package/dist/docx/ensureUniqueControlIds.js +110 -0
- package/dist/docx/headerFooterVerbatim.d.ts +7 -0
- package/dist/docx/headerFooterVerbatim.js +13 -2
- package/dist/docx/hostCommentThreads.d.ts +17 -0
- package/dist/docx/hostCommentThreads.js +49 -0
- package/dist/docx/hyperlinkParser.js +9 -2
- package/dist/docx/inlineWrapperContent.d.ts +8 -1
- package/dist/docx/inlineWrapperContent.js +9 -2
- package/dist/docx/listMarkerComputation.d.ts +35 -1
- package/dist/docx/listMarkerComputation.js +39 -1
- package/dist/docx/listModelNormalization.d.ts +44 -1
- package/dist/docx/listModelNormalization.js +227 -96
- package/dist/docx/mainDocumentPart.d.ts +6 -0
- package/dist/docx/mainDocumentPart.js +65 -0
- package/dist/docx/markupRangeMarker.d.ts +14 -0
- package/dist/docx/markupRangeMarker.js +15 -1
- package/dist/docx/metadataPrivacy.js +43 -22
- package/dist/docx/normalizeBaseDirection.js +3 -1
- package/dist/docx/packageParts.d.ts +1 -1
- package/dist/docx/packageParts.js +10 -4
- package/dist/docx/paragraphParser.js +159 -48
- package/dist/docx/paragraphPropertySource.d.ts +7 -0
- package/dist/docx/paragraphPropertySource.js +22 -1
- package/dist/docx/paragraphTextBoxEnrichment.js +2 -1
- package/dist/docx/paragraphTraversal.js +2 -0
- package/dist/docx/parseWarningMessage.js +2 -1
- package/dist/docx/parser.js +6 -0
- package/dist/docx/previewBudget.d.ts +6 -0
- package/dist/docx/previewBudget.js +7 -1
- package/dist/docx/renderedPageBreakNormalization.js +1 -1
- package/dist/docx/reviewProvenanceDiagnostics.d.ts +7 -0
- package/dist/docx/reviewProvenanceDiagnostics.js +39 -0
- package/dist/docx/reviewResolutionProvenance.d.ts +29 -3
- package/dist/docx/reviewResolutionProvenance.js +110 -25
- package/dist/docx/rezip.d.ts +6 -0
- package/dist/docx/rezip.js +42 -25
- package/dist/docx/selectiveSave.js +6 -10
- package/dist/docx/selectiveXmlPatch.d.ts +5 -4
- package/dist/docx/selectiveXmlPatch.js +11 -7
- package/dist/docx/serializer/documentSerializer.js +3 -1
- package/dist/docx/serializer/headerFooterSerializer.js +3 -1
- package/dist/docx/serializer/markupRangeAttributes.d.ts +6 -1
- package/dist/docx/serializer/markupRangeAttributes.js +6 -1
- package/dist/docx/serializer/noteSerializer.d.ts +17 -4
- package/dist/docx/serializer/noteSerializer.js +23 -16
- package/dist/docx/serializer/paragraphSerializer.js +56 -12
- package/dist/docx/serializer/runSerializer.d.ts +1 -3
- package/dist/docx/serializer/runSerializer.js +2 -2
- package/dist/docx/serializer/tableSerializer.d.ts +4 -0
- package/dist/docx/serializer/tableSerializer.js +4 -2
- package/dist/docx/server/applyDocxXmlPatchProposal.js +8 -4
- package/dist/docx/server/createBilingualDocument.js +27 -5
- package/dist/docx/server/migrateYjsAttrSchema.js +4 -0
- package/dist/docx/sessionListPruning.d.ts +2 -0
- package/dist/docx/sessionListPruning.js +50 -0
- package/dist/docx/shapeAlternateContent.js +19 -0
- package/dist/docx/splitRevisionPieces.d.ts +10 -0
- package/dist/docx/splitRevisionPieces.js +14 -0
- package/dist/docx/storyBlockReplay.js +4 -0
- package/dist/docx/structuralXmlPatch.js +19 -7
- package/dist/docx/tableParser.d.ts +6 -2
- package/dist/docx/tableParser.js +2 -3
- package/dist/docx/textBoxContentParser.d.ts +11 -0
- package/dist/docx/textBoxContentParser.js +51 -0
- package/dist/docx/textBoxParser.d.ts +0 -5
- package/dist/docx/textBoxParser.js +1 -23
- package/dist/docx/unzip.js +2 -0
- package/dist/docx/verticalMergeProjection.js +1 -1
- package/dist/fonts/fontsourceFaces.d.ts +2 -8
- package/dist/fonts/fontsourceFaces.js +1 -7
- package/dist/i18n/messages/ar.gen.js +3 -0
- package/dist/i18n/messages/catalogs.gen.d.ts +51 -0
- package/dist/i18n/messages/catalogs.gen.js +51 -0
- package/dist/i18n/messages/cs.gen.js +3 -0
- package/dist/i18n/messages/de.gen.js +3 -0
- package/dist/i18n/messages/en.gen.js +3 -0
- package/dist/i18n/messages/es.gen.js +3 -0
- package/dist/i18n/messages/et.gen.js +3 -0
- package/dist/i18n/messages/fr.gen.js +3 -0
- package/dist/i18n/messages/he.gen.js +3 -0
- package/dist/i18n/messages/hi.gen.js +3 -0
- package/dist/i18n/messages/hu.gen.js +3 -0
- package/dist/i18n/messages/lt.gen.js +3 -0
- package/dist/i18n/messages/lv.gen.js +3 -0
- package/dist/i18n/messages/messages.gen.d.ts +3 -0
- package/dist/i18n/messages/pl.gen.js +3 -0
- package/dist/i18n/messages/pt-BR.gen.js +3 -0
- package/dist/i18n/messages/sk.gen.js +3 -0
- package/dist/i18n/messages/tr.gen.js +3 -0
- package/dist/i18n/messages/zh-CN.gen.js +3 -0
- package/dist/internal/acceptedBlockProjection.js +2 -0
- package/dist/internal/pageBreakRunSourceDescendantIndex.d.ts +5 -0
- package/dist/internal/pageBreakRunSourceDescendantIndex.js +5 -0
- package/dist/internal/revisionResolutionInline.js +1 -2
- package/dist/internal/wholeStoryRevisionResolution.js +57 -12
- package/dist/layout-bridge/convert/altChunkPlaceholder.d.ts +10 -0
- package/dist/layout-bridge/convert/altChunkPlaceholder.js +70 -0
- package/dist/layout-bridge/convert/fixedTableColumnWidths.js +2 -1
- package/dist/layout-bridge/convert/flowConversionShared.d.ts +10 -0
- package/dist/layout-bridge/convert/flowConversionShared.js +11 -1
- package/dist/layout-bridge/convert/footnoteLayout.d.ts +1 -0
- package/dist/layout-bridge/convert/footnoteLayout.js +4 -1
- package/dist/layout-bridge/convert/headerFooterLayout.d.ts +1 -0
- package/dist/layout-bridge/convert/headerFooterLayout.js +6 -1
- package/dist/layout-bridge/convert/tableConversion.js +25 -10
- package/dist/layout-bridge/convert/toFlowBlocks.js +4 -0
- package/dist/layout-bridge/engine/blockIndex.d.ts +7 -0
- package/dist/layout-bridge/engine/blockIndex.js +12 -0
- package/dist/layout-bridge/engine/clickToPosition.js +5 -1
- package/dist/layout-bridge/engine/hitTest.js +9 -10
- package/dist/layout-bridge/engine/selectionRects.js +6 -6
- package/dist/layout-engine/footnoteContinuation.d.ts +36 -0
- package/dist/layout-engine/footnoteContinuation.js +210 -0
- package/dist/layout-engine/index.d.ts +2 -2
- package/dist/layout-engine/index.js +7 -2
- package/dist/layout-engine/measure/cache.js +10 -5
- package/dist/layout-engine/measure/measureParagraph.js +1 -1
- package/dist/layout-engine/measure/tableCellFloating.d.ts +2 -0
- package/dist/layout-engine/measure/tableCellFloating.js +1 -0
- package/dist/layout-engine/measure/tableVisibleBand.d.ts +16 -0
- package/dist/layout-engine/measure/tableVisibleBand.js +28 -0
- package/dist/layout-engine/tableLayout.js +34 -7
- package/dist/layout-engine/tableRowBreak.d.ts +46 -0
- package/dist/layout-engine/tableRowBreak.js +193 -36
- package/dist/layout-engine/types.d.ts +43 -3
- package/dist/layout-painter/previewSvg.d.ts +8 -0
- package/dist/layout-painter/previewSvg.js +47 -0
- package/dist/layout-painter/renderImage.js +2 -1
- package/dist/layout-painter/renderPage.d.ts +5 -4
- package/dist/layout-painter/renderPage.js +52 -20
- package/dist/layout-painter/renderParagraph.js +3 -2
- package/dist/layout-painter/renderTable.d.ts +5 -2
- package/dist/layout-painter/renderTable.js +39 -22
- package/dist/managers/AutoSaveManager.d.ts +5 -1
- package/dist/managers/FindReplaceManager.js +3 -10
- package/dist/markdown/escape.d.ts +20 -1
- package/dist/markdown/escape.js +43 -1
- package/dist/markdown/renderBlock.js +4 -1
- package/dist/markdown/renderParagraph.js +13 -27
- package/dist/markdown/renderTable.js +6 -2
- package/dist/markdown/trailers.js +1 -0
- package/dist/pdf/images.d.ts +17 -1
- package/dist/pdf/images.js +22 -4
- package/dist/pdf/writePdf.js +4 -2
- package/dist/prosemirror/anchoredTextBoxes.d.ts +2 -1
- package/dist/prosemirror/attrs/index.js +1 -0
- package/dist/prosemirror/canonicalCommands.d.ts +39 -1
- package/dist/prosemirror/canonicalTableCommands.d.ts +28 -0
- package/dist/prosemirror/canonicalTableCommands.js +362 -0
- package/dist/prosemirror/commands/comments.d.ts +25 -0
- package/dist/prosemirror/commands/comments.js +122 -18
- package/dist/prosemirror/commands/deleteBesideInlineAnchor.d.ts +9 -0
- package/dist/prosemirror/commands/deleteBesideInlineAnchor.js +36 -0
- package/dist/prosemirror/commands/formatting.d.ts +1 -1
- package/dist/prosemirror/commands/index.d.ts +1 -1
- package/dist/prosemirror/commands/pastePlainText.d.ts +6 -0
- package/dist/prosemirror/commands/pastePlainText.js +13 -3
- package/dist/prosemirror/commands/resolveAllTableChanges.js +30 -2
- package/dist/prosemirror/commentIdAllocator.js +2 -2
- package/dist/prosemirror/commentRangeBoundaryAttrs.d.ts +6 -0
- package/dist/prosemirror/commentRangeBoundaryAttrs.js +9 -3
- package/dist/prosemirror/commentReferenceIntegrity.d.ts +8 -2
- package/dist/prosemirror/commentReferenceIntegrity.js +22 -8
- package/dist/prosemirror/conversion/fromProseDoc.d.ts +2 -0
- package/dist/prosemirror/conversion/fromProseDoc.js +115 -35
- package/dist/prosemirror/conversion/index.d.ts +1 -1
- package/dist/prosemirror/conversion/toProseDoc.d.ts +128 -1
- package/dist/prosemirror/conversion/toProseDoc.js +325 -55
- package/dist/prosemirror/extensions/StarterKit.js +2 -0
- package/dist/prosemirror/extensions/core/DocExtension.js +1 -1
- package/dist/prosemirror/extensions/core/ParagraphExtension.d.ts +3 -1
- package/dist/prosemirror/extensions/core/ParagraphExtension.js +8 -9
- package/dist/prosemirror/extensions/features/AutoBidiDetectionExtension.d.ts +1 -1
- package/dist/prosemirror/extensions/features/AutoBidiDetectionExtension.js +46 -11
- package/dist/prosemirror/extensions/features/BaseKeymapExtension.js +3 -2
- package/dist/prosemirror/extensions/features/BidiShortcutExtension.js +2 -3
- package/dist/prosemirror/extensions/features/JoinedRunStyleExtension.d.ts +1 -1
- package/dist/prosemirror/extensions/features/ListExtension.js +22 -1
- package/dist/prosemirror/extensions/features/ParaIdAllocatorExtension.d.ts +1 -1
- package/dist/prosemirror/extensions/features/ParagraphChangeTrackerExtension.d.ts +1 -1
- package/dist/prosemirror/extensions/features/pastedHtmlLists.js +5 -4
- package/dist/prosemirror/extensions/marks/CommentExtension.js +6 -3
- package/dist/prosemirror/extensions/marks/HyperlinkExtension.js +5 -0
- package/dist/prosemirror/extensions/marks/TextColorExtension.js +1 -1
- package/dist/prosemirror/extensions/marks/TrackedChangeExtensions.js +8 -4
- package/dist/prosemirror/extensions/nodes/BlockCommentRangeBoundaryExtension.d.ts +4 -0
- package/dist/prosemirror/extensions/nodes/BlockCommentRangeBoundaryExtension.js +49 -0
- package/dist/prosemirror/extensions/nodes/BookmarkBoundaryExtension.js +5 -1
- package/dist/prosemirror/extensions/nodes/CommentRangeBoundaryExtension.js +2 -1
- package/dist/prosemirror/extensions/nodes/CommentReferenceExtension.js +4 -3
- package/dist/prosemirror/extensions/nodes/ImageExtension.js +12 -3
- package/dist/prosemirror/extensions/nodes/MoveRangeBoundaryExtension.js +2 -1
- package/dist/prosemirror/extensions/nodes/NoteMarkerExtension.js +2 -1
- package/dist/prosemirror/extensions/nodes/RangeAnchorExtension.js +2 -1
- package/dist/prosemirror/extensions/nodes/RenderedPageBreakExtension.js +2 -1
- package/dist/prosemirror/extensions/nodes/TableExtension.js +119 -38
- package/dist/prosemirror/extensions/nodes/TextBoxExtension.js +1 -1
- package/dist/prosemirror/extensions/nodes/inlineAnchorDom.d.ts +11 -0
- package/dist/prosemirror/extensions/nodes/inlineAnchorDom.js +21 -0
- package/dist/prosemirror/index.d.ts +2 -2
- package/dist/prosemirror/listLabels.js +3 -2
- package/dist/prosemirror/listNumbering.d.ts +6 -0
- package/dist/prosemirror/listNumbering.js +12 -9
- package/dist/prosemirror/lockedControls.d.ts +13 -0
- package/dist/prosemirror/lockedControls.js +106 -0
- package/dist/prosemirror/markupViewProjection.js +1 -1
- package/dist/prosemirror/noteReferenceReview.js +2 -2
- package/dist/prosemirror/plugins/documentNumbering.js +4 -1
- package/dist/prosemirror/plugins/suggestionMode.d.ts +0 -8
- package/dist/prosemirror/plugins/suggestionMode.js +195 -30
- package/dist/prosemirror/plugins/templatePreviewValues.js +16 -1
- package/dist/prosemirror/rebaseParagraphRuns.js +1 -1
- package/dist/prosemirror/replacedAnnotations.js +1 -0
- package/dist/prosemirror/rowGridOmissions.d.ts +11 -0
- package/dist/prosemirror/rowGridOmissions.js +21 -0
- package/dist/prosemirror/runFormattingFromMarks.d.ts +0 -1
- package/dist/prosemirror/runFormattingFromMarks.js +2 -4
- package/dist/prosemirror/runFormattingReconciliation.js +2 -2
- package/dist/prosemirror/runPropertyChangeResolution.js +1 -2
- package/dist/prosemirror/runStyleFormatting.d.ts +14 -4
- package/dist/prosemirror/runStyleFormatting.js +16 -13
- package/dist/prosemirror/schema/marks.d.ts +6 -0
- package/dist/prosemirror/styles/paragraphStyleCascade.js +2 -2
- package/dist/prosemirror/tableGridMutation.d.ts +19 -2
- package/dist/prosemirror/tableGridMutation.js +118 -15
- package/dist/prosemirror/tablePositionedBookmarks.d.ts +2 -0
- package/dist/prosemirror/tablePositionedBookmarks.js +80 -0
- package/dist/prosemirror/validation.js +2 -1
- package/dist/redline.js +23 -9
- package/dist/server.d.ts +2 -2
- package/dist/style-sets/extract.js +2 -2
- package/dist/types/canonicalCapabilities.d.ts +29 -8
- package/dist/types/canonicalCapabilities.js +13 -9
- package/dist/utils/cssString.d.ts +7 -0
- package/dist/utils/cssString.js +9 -0
- package/dist/utils/fontResolver.js +4 -1
- package/dist/utils/replaceText.d.ts +11 -0
- package/dist/utils/replaceText.js +39 -7
- package/dist/version-comparison.d.ts +9 -1
- package/dist/version-comparison.js +11 -5
- package/package.json +2 -2
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { blockCustomXmlShell } from "./blockCustomXmlShell.js";
|
|
2
|
+
import { parseBookmarkEnd, parseBookmarkStart } from "./bookmarkParser.js";
|
|
3
|
+
import { captureSdtSiblingMarkers, parseSdtProperties } from "./sdtProperties.js";
|
|
4
|
+
import { captureVerbatimXml } from "./verbatimCapture.js";
|
|
5
|
+
import { WORDPROCESSINGML_NAMESPACE_URIS, findChildByLocalName, getChildElements } from "./xmlParser.js";
|
|
6
|
+
// src/docx/textBoxContentParser.ts
|
|
7
|
+
/**
|
|
8
|
+
* Parse text box content with provided parser functions
|
|
9
|
+
* This avoids circular dependencies by accepting parser functions as parameters
|
|
10
|
+
*/
|
|
11
|
+
function parseTextBoxContent(txbxContent, parseParagraph, parseTable, styles, theme, numbering, rels, media, previews) {
|
|
12
|
+
if (!txbxContent) return [];
|
|
13
|
+
const readBlocks = (container) => {
|
|
14
|
+
const blocks = [];
|
|
15
|
+
for (const child of getChildElements(container)) {
|
|
16
|
+
const name = child.name || "";
|
|
17
|
+
const colonIdx = name.indexOf(":");
|
|
18
|
+
const localName = colonIdx !== -1 ? name.slice(colonIdx + 1) : name;
|
|
19
|
+
const isWordElement = WORDPROCESSINGML_NAMESPACE_URIS.has(child.namespaceUri ?? "");
|
|
20
|
+
if (localName === "p") blocks.push(parseParagraph(child, styles, theme, numbering, rels, media, { previews }));
|
|
21
|
+
else if (localName === "tbl" && parseTable) {
|
|
22
|
+
const table = parseTable(child, styles, theme, numbering, rels, media, { previews });
|
|
23
|
+
if (table) blocks.push(table);
|
|
24
|
+
} else if (localName === "sdt" && isWordElement) {
|
|
25
|
+
const properties = parseSdtProperties(findChildByLocalName(child, "sdtPr"), findChildByLocalName(child, "sdtEndPr"));
|
|
26
|
+
const captured = captureSdtSiblingMarkers(child);
|
|
27
|
+
if (captured.before.length > 0) properties.rawSdtChildrenBeforeContent = captured.before;
|
|
28
|
+
if (captured.after.length > 0) properties.rawSdtChildrenAfterContent = captured.after;
|
|
29
|
+
const sdtContent = findChildByLocalName(child, "sdtContent");
|
|
30
|
+
blocks.push({
|
|
31
|
+
type: "blockSdt",
|
|
32
|
+
properties,
|
|
33
|
+
content: sdtContent ? readBlocks(sdtContent) : []
|
|
34
|
+
});
|
|
35
|
+
} else if (localName === "customXml" && isWordElement) blocks.push({
|
|
36
|
+
type: "blockCustomXml",
|
|
37
|
+
...blockCustomXmlShell(child),
|
|
38
|
+
content: readBlocks(child)
|
|
39
|
+
});
|
|
40
|
+
else if (localName === "bookmarkStart" && isWordElement) blocks.push(parseBookmarkStart(child));
|
|
41
|
+
else if (localName === "bookmarkEnd" && isWordElement) blocks.push(parseBookmarkEnd(child));
|
|
42
|
+
else blocks.push({
|
|
43
|
+
type: "preservedBlock",
|
|
44
|
+
xml: captureVerbatimXml(child)
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
return blocks;
|
|
48
|
+
};
|
|
49
|
+
return readBlocks(txbxContent);
|
|
50
|
+
}
|
|
51
|
+
export { parseTextBoxContent };
|
|
@@ -24,11 +24,6 @@ export type ParagraphParserFn = (node: XmlElement, styles: StyleMap | null, them
|
|
|
24
24
|
export type TableParserFn = (node: XmlElement, styles: StyleMap | null, theme: document_d_exports.Theme | null, numbering: NumberingMap | null, rels: document_d_exports.RelationshipMap | null, media: Map<string, document_d_exports.MediaFile> | null, options: {
|
|
25
25
|
previews: PreviewLedger;
|
|
26
26
|
}) => document_d_exports.Table | undefined;
|
|
27
|
-
/**
|
|
28
|
-
* Parse text box content with provided parser functions
|
|
29
|
-
* This avoids circular dependencies by accepting parser functions as parameters
|
|
30
|
-
*/
|
|
31
|
-
export declare function parseTextBoxContent(txbxContent: XmlElement | null, parseParagraph: ParagraphParserFn, parseTable: TableParserFn | null, styles: StyleMap | null, theme: document_d_exports.Theme | null, numbering: NumberingMap | null, rels: document_d_exports.RelationshipMap | null, media: Map<string, document_d_exports.MediaFile> | null, previews: PreviewLedger): (document_d_exports.Paragraph | document_d_exports.Table)[];
|
|
32
27
|
/**
|
|
33
28
|
* Check if a drawing element contains a text box
|
|
34
29
|
* Text boxes are shapes with wps:txbx content
|
|
@@ -77,28 +77,6 @@ function extractTextBoxContentElements(txbxContent) {
|
|
|
77
77
|
};
|
|
78
78
|
}
|
|
79
79
|
/**
|
|
80
|
-
* Parse text box content with provided parser functions
|
|
81
|
-
* This avoids circular dependencies by accepting parser functions as parameters
|
|
82
|
-
*/
|
|
83
|
-
function parseTextBoxContent(txbxContent, parseParagraph, parseTable, styles, theme, numbering, rels, media, previews) {
|
|
84
|
-
if (!txbxContent) return [];
|
|
85
|
-
const blocks = [];
|
|
86
|
-
const children = getChildElements(txbxContent);
|
|
87
|
-
for (const child of children) {
|
|
88
|
-
const name = child.name || "";
|
|
89
|
-
const colonIdx = name.indexOf(":");
|
|
90
|
-
const localName = colonIdx !== -1 ? name.slice(colonIdx + 1) : name;
|
|
91
|
-
if (localName === "p") {
|
|
92
|
-
const paragraph = parseParagraph(child, styles, theme, numbering, rels, media, { previews });
|
|
93
|
-
blocks.push(paragraph);
|
|
94
|
-
} else if (localName === "tbl" && parseTable) {
|
|
95
|
-
const table = parseTable(child, styles, theme, numbering, rels, media, { previews });
|
|
96
|
-
if (table) blocks.push(table);
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
return blocks;
|
|
100
|
-
}
|
|
101
|
-
/**
|
|
102
80
|
* The `wp:inline` or `wp:anchor` a drawing hangs off, resolved by namespace:
|
|
103
81
|
* the `wp` prefix is the producer's choice and a package free to bind the
|
|
104
82
|
* namespace elsewhere writes the same text box.
|
|
@@ -359,4 +337,4 @@ const scanRunForTextBoxDrawings = ({ xmlRun, claimedByRunParser }) => {
|
|
|
359
337
|
hasNonTextBoxContent
|
|
360
338
|
};
|
|
361
339
|
};
|
|
362
|
-
export { extractTextBoxContentElements, getTextBoxContentElement, getTextBoxDimensionsPx, getTextBoxHeightPx, getTextBoxMarginsPx, getTextBoxOutlineWidthPx, getTextBoxWidthPx, hasTextBoxContent, hasTextBoxFill, hasTextBoxOutline, isFloatingTextBox, isShapeTextBox, isTextBoxDrawing, parseTextBox,
|
|
340
|
+
export { extractTextBoxContentElements, getTextBoxContentElement, getTextBoxDimensionsPx, getTextBoxHeightPx, getTextBoxMarginsPx, getTextBoxOutlineWidthPx, getTextBoxWidthPx, hasTextBoxContent, hasTextBoxFill, hasTextBoxOutline, isFloatingTextBox, isShapeTextBox, isTextBoxDrawing, parseTextBox, parseTextBoxFromShape, resolveTextBoxFillColor, resolveTextBoxOutlineColor, scanRunForTextBoxDrawings };
|
package/dist/docx/unzip.js
CHANGED
|
@@ -2,6 +2,7 @@ import { bytesToDataUrl } from "../utils/base64.js";
|
|
|
2
2
|
import { DOCX_COMPRESSION_RATIO_GRACE_BYTES, isRatioBoundedPart } from "./archiveInflation.js";
|
|
3
3
|
import { DOCX_CONTAINER_TYPES, detectDocxContainerType } from "./encryption/containerFormat.js";
|
|
4
4
|
import { openDocxBuffer } from "./encryption/openEncryptedDocx.js";
|
|
5
|
+
import { moveMainDocumentToStandardPath } from "./mainDocumentPart.js";
|
|
5
6
|
import { RASTER_MIME_TYPES, detectRasterMimeType } from "./rasterMime.js";
|
|
6
7
|
import { decodeXmlBytes } from "./xmlEncoding.js";
|
|
7
8
|
import { Result } from "better-result";
|
|
@@ -116,6 +117,7 @@ async function unzipDocx(buffer, options = {}, { verifyUnreadEntries = true } =
|
|
|
116
117
|
if (zipBuffer.byteLength > limits.maxInputBytes) throw new DocxSecurityError("DOCX file exceeds the maximum allowed size");
|
|
117
118
|
const wasEncrypted = containerType === DOCX_CONTAINER_TYPES.CFB;
|
|
118
119
|
const loaded = await loadDocxZip(zipBuffer, limits);
|
|
120
|
+
if (await moveMainDocumentToStandardPath(loaded.zip)) loaded.buffer = (await loaded.zip.generate()).slice().buffer;
|
|
119
121
|
if (loaded.buffer.byteLength > limits.maxInputBytes) throw new DocxSecurityError("DOCX file exceeds the maximum allowed size");
|
|
120
122
|
const { zip } = loaded;
|
|
121
123
|
const entries = zip.entries();
|
|
@@ -105,7 +105,7 @@ function tableCellHasMeaningfulContent(cell) {
|
|
|
105
105
|
}
|
|
106
106
|
function blockHasMeaningfulContent(block) {
|
|
107
107
|
if (block.type === "preservedBlock") return true;
|
|
108
|
-
if (block.type === "bookmarkStart" || block.type === "bookmarkEnd" || block.type === "moveFromRangeStart" || block.type === "moveFromRangeEnd" || block.type === "moveToRangeStart" || block.type === "moveToRangeEnd") return true;
|
|
108
|
+
if (block.type === "bookmarkStart" || block.type === "bookmarkEnd" || block.type === "commentRangeStart" || block.type === "commentRangeEnd" || block.type === "moveFromRangeStart" || block.type === "moveFromRangeEnd" || block.type === "moveToRangeStart" || block.type === "moveToRangeEnd") return true;
|
|
109
109
|
if (block.type === "table") return block.rows.some((row) => row.cells.some((cell) => tableCellHasMeaningfulContent(cell)));
|
|
110
110
|
if (block.type === "blockSdt" || block.type === "blockCustomXml") return true;
|
|
111
111
|
return block.content.some(paragraphContentHasMeaningfulContent);
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { HeadlessFontSource } from "./headlessMeasure.js";
|
|
2
2
|
import { FONTSOURCE_PACKAGES } from "./bundledFonts.js";
|
|
3
|
+
import { cssString } from "../utils/cssString.js";
|
|
3
4
|
/**
|
|
4
5
|
* Where the face files come from: `null` when the family or file is absent.
|
|
5
6
|
* Each family is a directory laid out like its `@fontsource` package;
|
|
@@ -9,13 +10,6 @@ export type FontsourceFiles = {
|
|
|
9
10
|
/** Bytes of `<relativePath>` in the family directory `<packageName>`. */
|
|
10
11
|
readonly read: (packageName: string, relativePath: string) => Uint8Array | null;
|
|
11
12
|
};
|
|
12
|
-
/**
|
|
13
|
-
* A CSS `<string>` token, quoted and escaped. A family name comes from an
|
|
14
|
-
* authored document and is emitted into a `<style>` element, so the
|
|
15
|
-
* backslash is escaped first, then the quote, and line terminators become hex
|
|
16
|
-
* escapes, which CSS strings require.
|
|
17
|
-
*/
|
|
18
|
-
export declare const cssString: (value: string) => string;
|
|
19
13
|
export type FontsourceFontFaceCssOptions = {
|
|
20
14
|
/**
|
|
21
15
|
* Families to declare beyond the names the faces answer to directly. Pass a
|
|
@@ -36,4 +30,4 @@ export type FontsourceFaces = {
|
|
|
36
30
|
};
|
|
37
31
|
/** The `@fontsource` faces, read through `files` and cached per face. */
|
|
38
32
|
export declare const createFontsourceFaces: (files: FontsourceFiles) => FontsourceFaces;
|
|
39
|
-
export { FONTSOURCE_PACKAGES };
|
|
33
|
+
export { FONTSOURCE_PACKAGES, cssString };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { bytesToDataUrl } from "../utils/base64.js";
|
|
2
|
+
import { cssString } from "../utils/cssString.js";
|
|
2
3
|
import { FONT_MAPPING } from "../utils/fontLoader.js";
|
|
3
4
|
import { parseFontFamilyList, resolveFontFamily } from "../utils/fontResolver.js";
|
|
4
5
|
import { decodeText } from "../utils/textEncoding.js";
|
|
@@ -103,13 +104,6 @@ const subtractRanges = (subject, taken) => {
|
|
|
103
104
|
};
|
|
104
105
|
const hex = (codePoint) => codePoint.toString(16).toUpperCase().padStart(4, "0");
|
|
105
106
|
const formatRangeList = (ranges) => ranges.map(([first, last]) => first === last ? `U+${hex(first)}` : `U+${hex(first)}-${hex(last)}`).join(",");
|
|
106
|
-
/**
|
|
107
|
-
* A CSS `<string>` token, quoted and escaped. A family name comes from an
|
|
108
|
-
* authored document and is emitted into a `<style>` element, so the
|
|
109
|
-
* backslash is escaped first, then the quote, and line terminators become hex
|
|
110
|
-
* escapes, which CSS strings require.
|
|
111
|
-
*/
|
|
112
|
-
const cssString = (value) => `"${value.replaceAll("\\", "\\\\").replaceAll("\"", "\\\"").replaceAll("\n", "\\A ").replaceAll("\r", "\\D ").replaceAll("\f", "\\C ")}"`;
|
|
113
107
|
const FACE_VARIANTS = [
|
|
114
108
|
{
|
|
115
109
|
weight: REGULAR_WEIGHT,
|
|
@@ -65,6 +65,7 @@ const messages = { "folio": {
|
|
|
65
65
|
"contentControlDateAriaLabel": "اختر تاريخًا",
|
|
66
66
|
"contentControlDropdownAriaLabel": "خيارات القائمة المنسدلة",
|
|
67
67
|
"contentControlDropdownNoOptions": "لا توجد خيارات",
|
|
68
|
+
"contentNotDisplayed": "المحتوى غير معروض",
|
|
68
69
|
"contextMenu": {
|
|
69
70
|
"continueNumbering": "متابعة الترقيم",
|
|
70
71
|
"copy": "نسخ",
|
|
@@ -336,6 +337,7 @@ const messages = { "folio": {
|
|
|
336
337
|
"editSessionTakenOver": "فتح علامة تبويب أو نافذة أو جهاز آخر هذا المستند للتعديل، لذا تم تحرير هذه الجلسة. تم الحفاظ على التغييرات المحلية غير المحفوظة؛ أعد فتح المستند للمتابعة.",
|
|
337
338
|
"editor": {
|
|
338
339
|
"accessibleName": "محرر المستندات",
|
|
340
|
+
"contentLocked": "هذا الجزء من المستند مقفل.",
|
|
339
341
|
"editing": "تحرير",
|
|
340
342
|
"editingDescription": "تحرير المستند مباشرةً",
|
|
341
343
|
"outlineDepthAll": "كل المستويات",
|
|
@@ -631,6 +633,7 @@ const messages = { "folio": {
|
|
|
631
633
|
"watermark": "علامة مائية"
|
|
632
634
|
},
|
|
633
635
|
"trackedChanges": {
|
|
636
|
+
"heldByLock": "يمنع عنصر تحكم محتوى مقفل قبول هذا التغيير أو رفضه.",
|
|
634
637
|
"replaced": "تم الاستبدال",
|
|
635
638
|
"unknown": "غير معروف",
|
|
636
639
|
"with": "بـ"
|
|
@@ -66,6 +66,7 @@ export declare const CATALOGS: {
|
|
|
66
66
|
readonly contentControlDateAriaLabel: "Pick a date";
|
|
67
67
|
readonly contentControlDropdownAriaLabel: "Dropdown options";
|
|
68
68
|
readonly contentControlDropdownNoOptions: "No options";
|
|
69
|
+
readonly contentNotDisplayed: "Content not displayed";
|
|
69
70
|
readonly contextMenu: {
|
|
70
71
|
readonly continueNumbering: "Continue Numbering";
|
|
71
72
|
readonly copy: "Copy";
|
|
@@ -337,6 +338,7 @@ export declare const CATALOGS: {
|
|
|
337
338
|
readonly editSessionTakenOver: "Another tab, window, or device opened this document for editing, so this session was released. Unsaved local changes are preserved — reopen the doc to continue.";
|
|
338
339
|
readonly editor: {
|
|
339
340
|
readonly accessibleName: "Document editor";
|
|
341
|
+
readonly contentLocked: "This part of the document is locked.";
|
|
340
342
|
readonly editing: "Editing";
|
|
341
343
|
readonly editingDescription: "Edit the document directly";
|
|
342
344
|
readonly outlineDepthAll: "All levels";
|
|
@@ -632,6 +634,7 @@ export declare const CATALOGS: {
|
|
|
632
634
|
readonly watermark: "Watermark";
|
|
633
635
|
};
|
|
634
636
|
readonly trackedChanges: {
|
|
637
|
+
readonly heldByLock: "A locked content control prevents accepting or rejecting this change.";
|
|
635
638
|
readonly replaced: "Replaced";
|
|
636
639
|
readonly unknown: "Unknown";
|
|
637
640
|
readonly with: "with";
|
|
@@ -727,6 +730,7 @@ export declare const CATALOGS: {
|
|
|
727
730
|
readonly contentControlDateAriaLabel: "Datum auswählen";
|
|
728
731
|
readonly contentControlDropdownAriaLabel: "Dropdown-Optionen";
|
|
729
732
|
readonly contentControlDropdownNoOptions: "Keine Optionen";
|
|
733
|
+
readonly contentNotDisplayed: "Inhalt wird nicht angezeigt";
|
|
730
734
|
readonly contextMenu: {
|
|
731
735
|
readonly continueNumbering: "Nummerierung fortsetzen";
|
|
732
736
|
readonly copy: "Kopieren";
|
|
@@ -998,6 +1002,7 @@ export declare const CATALOGS: {
|
|
|
998
1002
|
readonly editSessionTakenOver: "Diese Bearbeitungssitzung wurde an anderer Stelle übernommen.";
|
|
999
1003
|
readonly editor: {
|
|
1000
1004
|
readonly accessibleName: "Dokumenteditor";
|
|
1005
|
+
readonly contentLocked: "Dieser Teil des Dokuments ist gesperrt.";
|
|
1001
1006
|
readonly editing: "Bearbeiten";
|
|
1002
1007
|
readonly editingDescription: "Dokument direkt bearbeiten";
|
|
1003
1008
|
readonly outlineDepthAll: "Alle Ebenen";
|
|
@@ -1293,6 +1298,7 @@ export declare const CATALOGS: {
|
|
|
1293
1298
|
readonly watermark: "Wasserzeichen";
|
|
1294
1299
|
};
|
|
1295
1300
|
readonly trackedChanges: {
|
|
1301
|
+
readonly heldByLock: "Ein gesperrtes Inhaltssteuerelement verhindert, dass diese Änderung angenommen oder abgelehnt wird.";
|
|
1296
1302
|
readonly replaced: "Ersetzt";
|
|
1297
1303
|
readonly unknown: "Unbekannt";
|
|
1298
1304
|
readonly with: "durch";
|
|
@@ -1388,6 +1394,7 @@ export declare const CATALOGS: {
|
|
|
1388
1394
|
readonly contentControlDateAriaLabel: "Choisir une date";
|
|
1389
1395
|
readonly contentControlDropdownAriaLabel: "Options de la liste déroulante";
|
|
1390
1396
|
readonly contentControlDropdownNoOptions: "Aucune option";
|
|
1397
|
+
readonly contentNotDisplayed: "Contenu non affiché";
|
|
1391
1398
|
readonly contextMenu: {
|
|
1392
1399
|
readonly continueNumbering: "Continuer la numérotation";
|
|
1393
1400
|
readonly copy: "Copier";
|
|
@@ -1659,6 +1666,7 @@ export declare const CATALOGS: {
|
|
|
1659
1666
|
readonly editSessionTakenOver: "Cette session de modification a été reprise ailleurs.";
|
|
1660
1667
|
readonly editor: {
|
|
1661
1668
|
readonly accessibleName: "Éditeur de documents";
|
|
1669
|
+
readonly contentLocked: "Cette partie du document est verrouillée.";
|
|
1662
1670
|
readonly editing: "Modification";
|
|
1663
1671
|
readonly editingDescription: "Modifier directement le document";
|
|
1664
1672
|
readonly outlineDepthAll: "Tous les niveaux";
|
|
@@ -1954,6 +1962,7 @@ export declare const CATALOGS: {
|
|
|
1954
1962
|
readonly watermark: "Filigrane";
|
|
1955
1963
|
};
|
|
1956
1964
|
readonly trackedChanges: {
|
|
1965
|
+
readonly heldByLock: "Un contrôle de contenu verrouillé empêche d’accepter ou de refuser cette modification.";
|
|
1957
1966
|
readonly replaced: "Remplacé";
|
|
1958
1967
|
readonly unknown: "Inconnu";
|
|
1959
1968
|
readonly with: "par";
|
|
@@ -2049,6 +2058,7 @@ export declare const CATALOGS: {
|
|
|
2049
2058
|
readonly contentControlDateAriaLabel: "Elegir una fecha";
|
|
2050
2059
|
readonly contentControlDropdownAriaLabel: "Opciones desplegables";
|
|
2051
2060
|
readonly contentControlDropdownNoOptions: "Sin opciones";
|
|
2061
|
+
readonly contentNotDisplayed: "Contenido no mostrado";
|
|
2052
2062
|
readonly contextMenu: {
|
|
2053
2063
|
readonly continueNumbering: "Continuar numeración";
|
|
2054
2064
|
readonly copy: "Copiar";
|
|
@@ -2320,6 +2330,7 @@ export declare const CATALOGS: {
|
|
|
2320
2330
|
readonly editSessionTakenOver: "Esta sesión de edición se tomó en otro lugar.";
|
|
2321
2331
|
readonly editor: {
|
|
2322
2332
|
readonly accessibleName: "Editor de documentos";
|
|
2333
|
+
readonly contentLocked: "Esta parte del documento está bloqueada.";
|
|
2323
2334
|
readonly editing: "Edición";
|
|
2324
2335
|
readonly editingDescription: "Editar el documento directamente";
|
|
2325
2336
|
readonly outlineDepthAll: "Todos los niveles";
|
|
@@ -2615,6 +2626,7 @@ export declare const CATALOGS: {
|
|
|
2615
2626
|
readonly watermark: "Marca de agua";
|
|
2616
2627
|
};
|
|
2617
2628
|
readonly trackedChanges: {
|
|
2629
|
+
readonly heldByLock: "Un control de contenido bloqueado impide aceptar o rechazar este cambio.";
|
|
2618
2630
|
readonly replaced: "Reemplazado";
|
|
2619
2631
|
readonly unknown: "Desconocido";
|
|
2620
2632
|
readonly with: "por";
|
|
@@ -2710,6 +2722,7 @@ export declare const CATALOGS: {
|
|
|
2710
2722
|
readonly contentControlDateAriaLabel: "Vyberte datum";
|
|
2711
2723
|
readonly contentControlDropdownAriaLabel: "Možnosti rozbalovací nabídky";
|
|
2712
2724
|
readonly contentControlDropdownNoOptions: "Žádné možnosti";
|
|
2725
|
+
readonly contentNotDisplayed: "Obsah se nezobrazuje";
|
|
2713
2726
|
readonly contextMenu: {
|
|
2714
2727
|
readonly continueNumbering: "Pokračovat v číslování";
|
|
2715
2728
|
readonly copy: "Kopírovat";
|
|
@@ -2981,6 +2994,7 @@ export declare const CATALOGS: {
|
|
|
2981
2994
|
readonly editSessionTakenOver: "Tento dokument byl otevřen k úpravám v jiné kartě, okně nebo zařízení, takže byla tato relace ukončena. Neuložené místní změny zůstávají zachovány — otevřete dokument znovu a pokračujte.";
|
|
2982
2995
|
readonly editor: {
|
|
2983
2996
|
readonly accessibleName: "Editor dokumentů";
|
|
2997
|
+
readonly contentLocked: "Tato část dokumentu je uzamčená.";
|
|
2984
2998
|
readonly editing: "Úpravy";
|
|
2985
2999
|
readonly editingDescription: "Upravovat dokument přímo";
|
|
2986
3000
|
readonly outlineDepthAll: "Vše";
|
|
@@ -3276,6 +3290,7 @@ export declare const CATALOGS: {
|
|
|
3276
3290
|
readonly watermark: "Vodoznak";
|
|
3277
3291
|
};
|
|
3278
3292
|
readonly trackedChanges: {
|
|
3293
|
+
readonly heldByLock: "Uzamčený ovládací prvek obsahu brání přijetí nebo odmítnutí této změny.";
|
|
3279
3294
|
readonly replaced: "Nahrazeno";
|
|
3280
3295
|
readonly unknown: "Neznámý";
|
|
3281
3296
|
readonly with: "za";
|
|
@@ -3371,6 +3386,7 @@ export declare const CATALOGS: {
|
|
|
3371
3386
|
readonly contentControlDateAriaLabel: "اختر تاريخًا";
|
|
3372
3387
|
readonly contentControlDropdownAriaLabel: "خيارات القائمة المنسدلة";
|
|
3373
3388
|
readonly contentControlDropdownNoOptions: "لا توجد خيارات";
|
|
3389
|
+
readonly contentNotDisplayed: "المحتوى غير معروض";
|
|
3374
3390
|
readonly contextMenu: {
|
|
3375
3391
|
readonly continueNumbering: "متابعة الترقيم";
|
|
3376
3392
|
readonly copy: "نسخ";
|
|
@@ -3642,6 +3658,7 @@ export declare const CATALOGS: {
|
|
|
3642
3658
|
readonly editSessionTakenOver: "فتح علامة تبويب أو نافذة أو جهاز آخر هذا المستند للتعديل، لذا تم تحرير هذه الجلسة. تم الحفاظ على التغييرات المحلية غير المحفوظة؛ أعد فتح المستند للمتابعة.";
|
|
3643
3659
|
readonly editor: {
|
|
3644
3660
|
readonly accessibleName: "محرر المستندات";
|
|
3661
|
+
readonly contentLocked: "هذا الجزء من المستند مقفل.";
|
|
3645
3662
|
readonly editing: "تحرير";
|
|
3646
3663
|
readonly editingDescription: "تحرير المستند مباشرةً";
|
|
3647
3664
|
readonly outlineDepthAll: "كل المستويات";
|
|
@@ -3937,6 +3954,7 @@ export declare const CATALOGS: {
|
|
|
3937
3954
|
readonly watermark: "علامة مائية";
|
|
3938
3955
|
};
|
|
3939
3956
|
readonly trackedChanges: {
|
|
3957
|
+
readonly heldByLock: "يمنع عنصر تحكم محتوى مقفل قبول هذا التغيير أو رفضه.";
|
|
3940
3958
|
readonly replaced: "تم الاستبدال";
|
|
3941
3959
|
readonly unknown: "غير معروف";
|
|
3942
3960
|
readonly with: "بـ";
|
|
@@ -4032,6 +4050,7 @@ export declare const CATALOGS: {
|
|
|
4032
4050
|
readonly contentControlDateAriaLabel: "Vali kuupäev";
|
|
4033
4051
|
readonly contentControlDropdownAriaLabel: "Rippmenüü valikud";
|
|
4034
4052
|
readonly contentControlDropdownNoOptions: "Valikuid pole";
|
|
4053
|
+
readonly contentNotDisplayed: "Sisu ei kuvata";
|
|
4035
4054
|
readonly contextMenu: {
|
|
4036
4055
|
readonly continueNumbering: "Jätka nummerdamist";
|
|
4037
4056
|
readonly copy: "Kopeeri";
|
|
@@ -4303,6 +4322,7 @@ export declare const CATALOGS: {
|
|
|
4303
4322
|
readonly editSessionTakenOver: "See muutmisseanss võeti mujal üle.";
|
|
4304
4323
|
readonly editor: {
|
|
4305
4324
|
readonly accessibleName: "Dokumendiredaktor";
|
|
4325
|
+
readonly contentLocked: "See dokumendi osa on lukustatud.";
|
|
4306
4326
|
readonly editing: "Redigeerimine";
|
|
4307
4327
|
readonly editingDescription: "Redigeerige dokumenti otse";
|
|
4308
4328
|
readonly outlineDepthAll: "Kõik tasemed";
|
|
@@ -4598,6 +4618,7 @@ export declare const CATALOGS: {
|
|
|
4598
4618
|
readonly watermark: "Vesimärk";
|
|
4599
4619
|
};
|
|
4600
4620
|
readonly trackedChanges: {
|
|
4621
|
+
readonly heldByLock: "Lukustatud sisujuhtelement ei luba seda muudatust vastu võtta ega tagasi lükata.";
|
|
4601
4622
|
readonly replaced: "Asendatud";
|
|
4602
4623
|
readonly unknown: "Tundmatu";
|
|
4603
4624
|
readonly with: "väärtusega";
|
|
@@ -4693,6 +4714,7 @@ export declare const CATALOGS: {
|
|
|
4693
4714
|
readonly contentControlDateAriaLabel: "בחר תאריך";
|
|
4694
4715
|
readonly contentControlDropdownAriaLabel: "אפשרויות רשימה נפתחת";
|
|
4695
4716
|
readonly contentControlDropdownNoOptions: "אין אפשרויות";
|
|
4717
|
+
readonly contentNotDisplayed: "התוכן אינו מוצג";
|
|
4696
4718
|
readonly contextMenu: {
|
|
4697
4719
|
readonly continueNumbering: "המשך מספור";
|
|
4698
4720
|
readonly copy: "העתק";
|
|
@@ -4964,6 +4986,7 @@ export declare const CATALOGS: {
|
|
|
4964
4986
|
readonly editSessionTakenOver: "כרטיסייה, חלון או מכשיר אחר פתחו מסמך זה לעריכה, ולכן הפעלה זו שוחררה. שינויים מקומיים שלא נשמרו נשמרו — פתח מחדש את המסמך כדי להמשיך.";
|
|
4965
4987
|
readonly editor: {
|
|
4966
4988
|
readonly accessibleName: "עורך מסמכים";
|
|
4989
|
+
readonly contentLocked: "חלק זה של המסמך נעול.";
|
|
4967
4990
|
readonly editing: "עריכה";
|
|
4968
4991
|
readonly editingDescription: "ערוך את המסמך ישירות";
|
|
4969
4992
|
readonly outlineDepthAll: "כל הרמות";
|
|
@@ -5259,6 +5282,7 @@ export declare const CATALOGS: {
|
|
|
5259
5282
|
readonly watermark: "סימן מים";
|
|
5260
5283
|
};
|
|
5261
5284
|
readonly trackedChanges: {
|
|
5285
|
+
readonly heldByLock: "פקד תוכן נעול מונע קבלה או דחייה של שינוי זה.";
|
|
5262
5286
|
readonly replaced: "הוחלף";
|
|
5263
5287
|
readonly unknown: "לא ידוע";
|
|
5264
5288
|
readonly with: "ב-";
|
|
@@ -5354,6 +5378,7 @@ export declare const CATALOGS: {
|
|
|
5354
5378
|
readonly contentControlDateAriaLabel: "दिनांक चुनें";
|
|
5355
5379
|
readonly contentControlDropdownAriaLabel: "ड्रॉपडाउन विकल्प";
|
|
5356
5380
|
readonly contentControlDropdownNoOptions: "कोई विकल्प नहीं";
|
|
5381
|
+
readonly contentNotDisplayed: "सामग्री प्रदर्शित नहीं की गई";
|
|
5357
5382
|
readonly contextMenu: {
|
|
5358
5383
|
readonly continueNumbering: "क्रमांकन जारी रखें";
|
|
5359
5384
|
readonly copy: "कॉपी करें";
|
|
@@ -5625,6 +5650,7 @@ export declare const CATALOGS: {
|
|
|
5625
5650
|
readonly editSessionTakenOver: "किसी अन्य टैब, विंडो या डिवाइस ने इस दस्तावेज़ को संपादन के लिए खोला, इसलिए यह सत्र बंद कर दिया गया। सहेजे नहीं गए स्थानीय परिवर्तन सुरक्षित हैं — जारी रखने के लिए दस्तावेज़ फिर से खोलें।";
|
|
5626
5651
|
readonly editor: {
|
|
5627
5652
|
readonly accessibleName: "दस्तावेज़ संपादक";
|
|
5653
|
+
readonly contentLocked: "दस्तावेज़ का यह हिस्सा लॉक है।";
|
|
5628
5654
|
readonly editing: "संपादन";
|
|
5629
5655
|
readonly editingDescription: "दस्तावेज़ को सीधे संपादित करें";
|
|
5630
5656
|
readonly outlineDepthAll: "सभी स्तर";
|
|
@@ -5920,6 +5946,7 @@ export declare const CATALOGS: {
|
|
|
5920
5946
|
readonly watermark: "वॉटरमार्क";
|
|
5921
5947
|
};
|
|
5922
5948
|
readonly trackedChanges: {
|
|
5949
|
+
readonly heldByLock: "एक लॉक किया गया सामग्री नियंत्रण इस परिवर्तन को स्वीकार या अस्वीकार करने से रोकता है।";
|
|
5923
5950
|
readonly replaced: "बदला गया";
|
|
5924
5951
|
readonly unknown: "अज्ञात";
|
|
5925
5952
|
readonly with: "से";
|
|
@@ -6015,6 +6042,7 @@ export declare const CATALOGS: {
|
|
|
6015
6042
|
readonly contentControlDateAriaLabel: "Dátum kiválasztása";
|
|
6016
6043
|
readonly contentControlDropdownAriaLabel: "Legördülő lehetőségek";
|
|
6017
6044
|
readonly contentControlDropdownNoOptions: "Nincsenek lehetőségek";
|
|
6045
|
+
readonly contentNotDisplayed: "A tartalom nem jelenik meg";
|
|
6018
6046
|
readonly contextMenu: {
|
|
6019
6047
|
readonly continueNumbering: "Számozás folytatása";
|
|
6020
6048
|
readonly copy: "Másolás";
|
|
@@ -6286,6 +6314,7 @@ export declare const CATALOGS: {
|
|
|
6286
6314
|
readonly editSessionTakenOver: "Ezt a szerkesztési munkamenetet máshol vették át.";
|
|
6287
6315
|
readonly editor: {
|
|
6288
6316
|
readonly accessibleName: "Dokumentumszerkesztő";
|
|
6317
|
+
readonly contentLocked: "A dokumentum ezen része zárolva van.";
|
|
6289
6318
|
readonly editing: "Szerkesztés";
|
|
6290
6319
|
readonly editingDescription: "A dokumentum közvetlen szerkesztése";
|
|
6291
6320
|
readonly outlineDepthAll: "Minden szint";
|
|
@@ -6581,6 +6610,7 @@ export declare const CATALOGS: {
|
|
|
6581
6610
|
readonly watermark: "Vízjel";
|
|
6582
6611
|
};
|
|
6583
6612
|
readonly trackedChanges: {
|
|
6613
|
+
readonly heldByLock: "Egy zárolt tartalomvezérlő megakadályozza a módosítás elfogadását vagy elutasítását.";
|
|
6584
6614
|
readonly replaced: "Lecserélve";
|
|
6585
6615
|
readonly unknown: "Ismeretlen";
|
|
6586
6616
|
readonly with: "erre:";
|
|
@@ -6676,6 +6706,7 @@ export declare const CATALOGS: {
|
|
|
6676
6706
|
readonly contentControlDateAriaLabel: "Pasirinkite datą";
|
|
6677
6707
|
readonly contentControlDropdownAriaLabel: "Išskleidžiamojo sąrašo parinktys";
|
|
6678
6708
|
readonly contentControlDropdownNoOptions: "Parinkčių nėra";
|
|
6709
|
+
readonly contentNotDisplayed: "Turinys nerodomas";
|
|
6679
6710
|
readonly contextMenu: {
|
|
6680
6711
|
readonly continueNumbering: "Tęsti numeravimą";
|
|
6681
6712
|
readonly copy: "Kopijuoti";
|
|
@@ -6947,6 +6978,7 @@ export declare const CATALOGS: {
|
|
|
6947
6978
|
readonly editSessionTakenOver: "Ši redagavimo sesija buvo perimta kitur.";
|
|
6948
6979
|
readonly editor: {
|
|
6949
6980
|
readonly accessibleName: "Dokumentų redaktorius";
|
|
6981
|
+
readonly contentLocked: "Ši dokumento dalis užrakinta.";
|
|
6950
6982
|
readonly editing: "Redagavimas";
|
|
6951
6983
|
readonly editingDescription: "Redaguokite dokumentą tiesiogiai";
|
|
6952
6984
|
readonly outlineDepthAll: "Visi lygiai";
|
|
@@ -7242,6 +7274,7 @@ export declare const CATALOGS: {
|
|
|
7242
7274
|
readonly watermark: "Vandens ženklas";
|
|
7243
7275
|
};
|
|
7244
7276
|
readonly trackedChanges: {
|
|
7277
|
+
readonly heldByLock: "Užrakintas turinio valdiklis neleidžia priimti ar atmesti šio pakeitimo.";
|
|
7245
7278
|
readonly replaced: "Pakeista";
|
|
7246
7279
|
readonly unknown: "Nežinoma";
|
|
7247
7280
|
readonly with: "į";
|
|
@@ -7337,6 +7370,7 @@ export declare const CATALOGS: {
|
|
|
7337
7370
|
readonly contentControlDateAriaLabel: "Izvēlieties datumu";
|
|
7338
7371
|
readonly contentControlDropdownAriaLabel: "Nolaižamā saraksta opcijas";
|
|
7339
7372
|
readonly contentControlDropdownNoOptions: "Nav opciju";
|
|
7373
|
+
readonly contentNotDisplayed: "Saturs netiek rādīts";
|
|
7340
7374
|
readonly contextMenu: {
|
|
7341
7375
|
readonly continueNumbering: "Turpināt numerāciju";
|
|
7342
7376
|
readonly copy: "Kopēt";
|
|
@@ -7608,6 +7642,7 @@ export declare const CATALOGS: {
|
|
|
7608
7642
|
readonly editSessionTakenOver: "Šo rediģēšanas sesiju pārņēma citur.";
|
|
7609
7643
|
readonly editor: {
|
|
7610
7644
|
readonly accessibleName: "Dokumentu redaktors";
|
|
7645
|
+
readonly contentLocked: "Šī dokumenta daļa ir bloķēta.";
|
|
7611
7646
|
readonly editing: "Rediģēšana";
|
|
7612
7647
|
readonly editingDescription: "Rediģējiet dokumentu tieši";
|
|
7613
7648
|
readonly outlineDepthAll: "Visi līmeņi";
|
|
@@ -7903,6 +7938,7 @@ export declare const CATALOGS: {
|
|
|
7903
7938
|
readonly watermark: "Ūdenszīme";
|
|
7904
7939
|
};
|
|
7905
7940
|
readonly trackedChanges: {
|
|
7941
|
+
readonly heldByLock: "Bloķēta satura vadīkla neļauj pieņemt vai noraidīt šīs izmaiņas.";
|
|
7906
7942
|
readonly replaced: "Aizstāts";
|
|
7907
7943
|
readonly unknown: "Nezināms";
|
|
7908
7944
|
readonly with: "ar";
|
|
@@ -7998,6 +8034,7 @@ export declare const CATALOGS: {
|
|
|
7998
8034
|
readonly contentControlDateAriaLabel: "Wybierz datę";
|
|
7999
8035
|
readonly contentControlDropdownAriaLabel: "Opcje listy rozwijanej";
|
|
8000
8036
|
readonly contentControlDropdownNoOptions: "Brak opcji";
|
|
8037
|
+
readonly contentNotDisplayed: "Treść nie jest wyświetlana";
|
|
8001
8038
|
readonly contextMenu: {
|
|
8002
8039
|
readonly continueNumbering: "Kontynuuj numerowanie";
|
|
8003
8040
|
readonly copy: "Kopiuj";
|
|
@@ -8269,6 +8306,7 @@ export declare const CATALOGS: {
|
|
|
8269
8306
|
readonly editSessionTakenOver: "Ta sesja edycji została przejęta gdzie indziej.";
|
|
8270
8307
|
readonly editor: {
|
|
8271
8308
|
readonly accessibleName: "Edytor dokumentów";
|
|
8309
|
+
readonly contentLocked: "Ta część dokumentu jest zablokowana.";
|
|
8272
8310
|
readonly editing: "Edytowanie";
|
|
8273
8311
|
readonly editingDescription: "Edytuj dokument bezpośrednio";
|
|
8274
8312
|
readonly outlineDepthAll: "Wszystkie poziomy";
|
|
@@ -8564,6 +8602,7 @@ export declare const CATALOGS: {
|
|
|
8564
8602
|
readonly watermark: "Znak wodny";
|
|
8565
8603
|
};
|
|
8566
8604
|
readonly trackedChanges: {
|
|
8605
|
+
readonly heldByLock: "Zablokowana kontrolka zawartości uniemożliwia zaakceptowanie lub odrzucenie tej zmiany.";
|
|
8567
8606
|
readonly replaced: "Zamieniono";
|
|
8568
8607
|
readonly unknown: "Nieznane";
|
|
8569
8608
|
readonly with: "na";
|
|
@@ -8659,6 +8698,7 @@ export declare const CATALOGS: {
|
|
|
8659
8698
|
readonly contentControlDateAriaLabel: "Escolher uma data";
|
|
8660
8699
|
readonly contentControlDropdownAriaLabel: "Opções da lista suspensa";
|
|
8661
8700
|
readonly contentControlDropdownNoOptions: "Nenhuma opção";
|
|
8701
|
+
readonly contentNotDisplayed: "Conteúdo não exibido";
|
|
8662
8702
|
readonly contextMenu: {
|
|
8663
8703
|
readonly continueNumbering: "Continuar numeração";
|
|
8664
8704
|
readonly copy: "Copiar";
|
|
@@ -8930,6 +8970,7 @@ export declare const CATALOGS: {
|
|
|
8930
8970
|
readonly editSessionTakenOver: "Esta sessão de edição foi assumida em outro lugar.";
|
|
8931
8971
|
readonly editor: {
|
|
8932
8972
|
readonly accessibleName: "Editor de documentos";
|
|
8973
|
+
readonly contentLocked: "Esta parte do documento está bloqueada.";
|
|
8933
8974
|
readonly editing: "Editando";
|
|
8934
8975
|
readonly editingDescription: "Edite o documento diretamente";
|
|
8935
8976
|
readonly outlineDepthAll: "Todos os níveis";
|
|
@@ -9225,6 +9266,7 @@ export declare const CATALOGS: {
|
|
|
9225
9266
|
readonly watermark: "Marca-d'água";
|
|
9226
9267
|
};
|
|
9227
9268
|
readonly trackedChanges: {
|
|
9269
|
+
readonly heldByLock: "Um controle de conteúdo bloqueado impede que esta alteração seja aceita ou rejeitada.";
|
|
9228
9270
|
readonly replaced: "Substituído";
|
|
9229
9271
|
readonly unknown: "Desconhecido";
|
|
9230
9272
|
readonly with: "por";
|
|
@@ -9320,6 +9362,7 @@ export declare const CATALOGS: {
|
|
|
9320
9362
|
readonly contentControlDateAriaLabel: "Vyberte dátum";
|
|
9321
9363
|
readonly contentControlDropdownAriaLabel: "Možnosti rozbaľovacieho zoznamu";
|
|
9322
9364
|
readonly contentControlDropdownNoOptions: "Žiadne možnosti";
|
|
9365
|
+
readonly contentNotDisplayed: "Obsah sa nezobrazuje";
|
|
9323
9366
|
readonly contextMenu: {
|
|
9324
9367
|
readonly continueNumbering: "Pokračovať v číslovaní";
|
|
9325
9368
|
readonly copy: "Kopírovať";
|
|
@@ -9591,6 +9634,7 @@ export declare const CATALOGS: {
|
|
|
9591
9634
|
readonly editSessionTakenOver: "Túto reláciu úprav prevzalo iné okno.";
|
|
9592
9635
|
readonly editor: {
|
|
9593
9636
|
readonly accessibleName: "Editor dokumentov";
|
|
9637
|
+
readonly contentLocked: "Táto časť dokumentu je uzamknutá.";
|
|
9594
9638
|
readonly editing: "Úpravy";
|
|
9595
9639
|
readonly editingDescription: "Upravujte dokument priamo";
|
|
9596
9640
|
readonly outlineDepthAll: "Všetky úrovne";
|
|
@@ -9886,6 +9930,7 @@ export declare const CATALOGS: {
|
|
|
9886
9930
|
readonly watermark: "Vodotlač";
|
|
9887
9931
|
};
|
|
9888
9932
|
readonly trackedChanges: {
|
|
9933
|
+
readonly heldByLock: "Uzamknutý ovládací prvok obsahu bráni prijatiu alebo odmietnutiu tejto zmeny.";
|
|
9889
9934
|
readonly replaced: "Nahradené";
|
|
9890
9935
|
readonly unknown: "Neznáme";
|
|
9891
9936
|
readonly with: "za";
|
|
@@ -9981,6 +10026,7 @@ export declare const CATALOGS: {
|
|
|
9981
10026
|
readonly contentControlDateAriaLabel: "Tarih seçin";
|
|
9982
10027
|
readonly contentControlDropdownAriaLabel: "Açılan liste seçenekleri";
|
|
9983
10028
|
readonly contentControlDropdownNoOptions: "Seçenek yok";
|
|
10029
|
+
readonly contentNotDisplayed: "İçerik görüntülenmiyor";
|
|
9984
10030
|
readonly contextMenu: {
|
|
9985
10031
|
readonly continueNumbering: "Numaralandırmaya Devam Et";
|
|
9986
10032
|
readonly copy: "Kopyala";
|
|
@@ -10252,6 +10298,7 @@ export declare const CATALOGS: {
|
|
|
10252
10298
|
readonly editSessionTakenOver: "Başka bir sekme, pencere veya cihaz bu belgeyi düzenlemek için açtığından bu oturum sonlandırıldı. Kaydedilmemiş yerel değişiklikler korunur; devam etmek için belgeyi yeniden açın.";
|
|
10253
10299
|
readonly editor: {
|
|
10254
10300
|
readonly accessibleName: "Belge düzenleyici";
|
|
10301
|
+
readonly contentLocked: "Belgenin bu bölümü kilitli.";
|
|
10255
10302
|
readonly editing: "Düzenleme";
|
|
10256
10303
|
readonly editingDescription: "Belgeyi doğrudan düzenleyin";
|
|
10257
10304
|
readonly outlineDepthAll: "Tüm düzeyler";
|
|
@@ -10547,6 +10594,7 @@ export declare const CATALOGS: {
|
|
|
10547
10594
|
readonly watermark: "Filigran";
|
|
10548
10595
|
};
|
|
10549
10596
|
readonly trackedChanges: {
|
|
10597
|
+
readonly heldByLock: "Kilitli bir içerik denetimi bu değişikliğin kabul edilmesini veya reddedilmesini engelliyor.";
|
|
10550
10598
|
readonly replaced: "Değiştirildi";
|
|
10551
10599
|
readonly unknown: "Bilinmiyor";
|
|
10552
10600
|
readonly with: "yerine";
|
|
@@ -10642,6 +10690,7 @@ export declare const CATALOGS: {
|
|
|
10642
10690
|
readonly contentControlDateAriaLabel: "选择日期";
|
|
10643
10691
|
readonly contentControlDropdownAriaLabel: "下拉选项";
|
|
10644
10692
|
readonly contentControlDropdownNoOptions: "没有选项";
|
|
10693
|
+
readonly contentNotDisplayed: "内容未显示";
|
|
10645
10694
|
readonly contextMenu: {
|
|
10646
10695
|
readonly continueNumbering: "继续编号";
|
|
10647
10696
|
readonly copy: "复制";
|
|
@@ -10913,6 +10962,7 @@ export declare const CATALOGS: {
|
|
|
10913
10962
|
readonly editSessionTakenOver: "另一个标签页、窗口或设备已打开此文档进行编辑,因此本会话已释放。未保存的本地更改会保留,请重新打开文档以继续。";
|
|
10914
10963
|
readonly editor: {
|
|
10915
10964
|
readonly accessibleName: "文档编辑器";
|
|
10965
|
+
readonly contentLocked: "文档的这一部分已锁定。";
|
|
10916
10966
|
readonly editing: "编辑";
|
|
10917
10967
|
readonly editingDescription: "直接编辑文档";
|
|
10918
10968
|
readonly outlineDepthAll: "所有级别";
|
|
@@ -11208,6 +11258,7 @@ export declare const CATALOGS: {
|
|
|
11208
11258
|
readonly watermark: "水印";
|
|
11209
11259
|
};
|
|
11210
11260
|
readonly trackedChanges: {
|
|
11261
|
+
readonly heldByLock: "已锁定的内容控件阻止接受或拒绝此修订。";
|
|
11211
11262
|
readonly replaced: "已替换";
|
|
11212
11263
|
readonly unknown: "未知";
|
|
11213
11264
|
readonly with: "替换为";
|