@stll/folio-core 0.74.0 → 0.75.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.
Files changed (113) hide show
  1. package/dist/ai-edits/clean-text.d.ts +4 -1
  2. package/dist/ai-edits/clean-text.js +21 -7
  3. package/dist/ai-edits/headless.d.ts +5 -2
  4. package/dist/ai-edits/headless.js +18 -9
  5. package/dist/ai-edits/note-references.d.ts +1 -1
  6. package/dist/ai-edits/note-references.js +1 -1
  7. package/dist/ai-edits/pending-suggestions.d.ts +9 -7
  8. package/dist/ai-edits/pending-suggestions.js +134 -88
  9. package/dist/ai-edits/pendingJoin.d.ts +5 -1
  10. package/dist/ai-edits/pendingJoin.js +6 -2
  11. package/dist/ai-edits/retired-comment-receipts.d.ts +2 -2
  12. package/dist/ai-edits/retired-comment-receipts.js +3 -18
  13. package/dist/ai-edits/tracked-batch-fidelity.d.ts +6 -10
  14. package/dist/ai-edits/tracked-batch-fidelity.js +3 -182
  15. package/dist/canonical/canonicalBatchReview.d.ts +4 -1
  16. package/dist/canonical/canonicalBatchReview.js +32 -14
  17. package/dist/canonical/canonicalComments.d.ts +6 -2
  18. package/dist/canonical/canonicalComments.js +8 -4
  19. package/dist/canonical/canonicalPublicOperations.js +29 -9
  20. package/dist/canonical/canonicalRefusalGrounds.d.ts +4 -0
  21. package/dist/canonical/canonicalRefusalGrounds.js +56 -0
  22. package/dist/canonical/canonicalSession.d.ts +12 -6
  23. package/dist/canonical/canonicalSession.js +116 -121
  24. package/dist/canonical/canonicalTrackedBatchFidelity.js +3 -3
  25. package/dist/compare/inline-atoms.d.ts +35 -41
  26. package/dist/compare/inline-atoms.js +2 -465
  27. package/dist/compare/section-boundary-properties.d.ts +3 -30
  28. package/dist/compare/section-boundary-properties.js +4 -72
  29. package/dist/controller/canonicalClipboard.js +43 -42
  30. package/dist/controller/canonicalComposition.d.ts +1 -1
  31. package/dist/controller/canonicalComposition.js +5 -5
  32. package/dist/controller/canonicalInput.d.ts +4 -2
  33. package/dist/controller/canonicalInput.js +33 -16
  34. package/dist/controller/canonicalStoryEditor.d.ts +2 -3
  35. package/dist/controller/canonicalStoryEditor.js +43 -25
  36. package/dist/controller/canonicalStructure.d.ts +19 -2
  37. package/dist/controller/canonicalStructure.js +139 -42
  38. package/dist/controller/deferredDisplayListPainter.d.ts +8 -0
  39. package/dist/controller/deferredDisplayListPainter.js +34 -0
  40. package/dist/controller/folioEditor.js +4 -2
  41. package/dist/controller/headerFooterEditorManager.js +3 -17
  42. package/dist/controller/hiddenEditorApi.d.ts +24 -3
  43. package/dist/controller/hiddenEditorApi.js +2 -0
  44. package/dist/controller/hiddenEditorManager.js +132 -189
  45. package/dist/controller/layoutPipeline.d.ts +4 -86
  46. package/dist/controller/layoutPipeline.js +8 -727
  47. package/dist/controller/layoutPipelineExecution.d.ts +94 -0
  48. package/dist/controller/layoutPipelineExecution.js +730 -0
  49. package/dist/controller/noteEditorManager.js +3 -16
  50. package/dist/docx/blockContentParser.d.ts +1 -3
  51. package/dist/docx/blockContentParser.js +3 -10
  52. package/dist/docx/canonicalSave.d.ts +4 -3
  53. package/dist/docx/canonicalSave.js +4 -3
  54. package/dist/docx/listMarkerComputation.d.ts +24 -17
  55. package/dist/docx/listMarkerComputation.js +31 -60
  56. package/dist/docx/listModelNormalization.js +8 -15
  57. package/dist/docx/rezip.d.ts +16 -3
  58. package/dist/docx/rezip.js +35 -9
  59. package/dist/docx/selectiveSave.js +13 -5
  60. package/dist/docx/server/templatePlan/apply.js +38 -3
  61. package/dist/docx/server/templatePlan/blocks.d.ts +16 -1
  62. package/dist/docx/server/templatePlan/blocks.js +93 -7
  63. package/dist/docx/server/templatePlan/builders.d.ts +37 -2
  64. package/dist/docx/server/templatePlan/builders.js +196 -5
  65. package/dist/docx/server/templatePlan/emit.d.ts +2 -0
  66. package/dist/docx/server/templatePlan/emit.js +2 -0
  67. package/dist/docx/server/templatePlan/inspect.js +19 -52
  68. package/dist/docx/server/templatePlan/labels.d.ts +7 -2
  69. package/dist/docx/server/templatePlan/labels.js +104 -22
  70. package/dist/docx/server/templatePlan/plan.d.ts +13 -1
  71. package/dist/docx/server/templatePlan/plan.js +22 -7
  72. package/dist/docx/server/templatePlan/planShape.js +31 -2
  73. package/dist/docx/server/templatePlan/story.d.ts +8 -0
  74. package/dist/docx/server/templatePlan/story.js +11 -1
  75. package/dist/docx/server/templatePlan/types.d.ts +138 -16
  76. package/dist/docx/server/templatePlan/verify.js +50 -9
  77. package/dist/i18n/messages/ar.gen.js +1 -0
  78. package/dist/i18n/messages/catalogs.gen.d.ts +17 -0
  79. package/dist/i18n/messages/catalogs.gen.js +17 -0
  80. package/dist/i18n/messages/cs.gen.js +1 -0
  81. package/dist/i18n/messages/de.gen.js +1 -0
  82. package/dist/i18n/messages/en.gen.js +1 -0
  83. package/dist/i18n/messages/es.gen.js +1 -0
  84. package/dist/i18n/messages/et.gen.js +1 -0
  85. package/dist/i18n/messages/fr.gen.js +1 -0
  86. package/dist/i18n/messages/he.gen.js +1 -0
  87. package/dist/i18n/messages/hi.gen.js +1 -0
  88. package/dist/i18n/messages/hu.gen.js +1 -0
  89. package/dist/i18n/messages/lt.gen.js +1 -0
  90. package/dist/i18n/messages/lv.gen.js +1 -0
  91. package/dist/i18n/messages/messages.gen.d.ts +1 -0
  92. package/dist/i18n/messages/pl.gen.js +1 -0
  93. package/dist/i18n/messages/pt-BR.gen.js +1 -0
  94. package/dist/i18n/messages/sk.gen.js +1 -0
  95. package/dist/i18n/messages/tr.gen.js +1 -0
  96. package/dist/i18n/messages/zh-CN.gen.js +1 -0
  97. package/dist/layout-bridge/convert/toFlowBlocks.js +0 -12
  98. package/dist/layout-bridge/convert/topLevelConversion.js +1 -10
  99. package/dist/prosemirror/extensions/features/ImagePasteExtension.js +1 -1
  100. package/dist/prosemirror/listMarker.d.ts +1 -6
  101. package/dist/prosemirror/listMarker.js +4 -56
  102. package/dist/server.d.ts +2 -2
  103. package/dist/types/canonicalCapabilities.d.ts +40 -45
  104. package/dist/types/canonicalCapabilities.js +51 -43
  105. package/dist/types/canonicalComments.d.ts +2 -2
  106. package/dist/types/canonicalSections.d.ts +2 -2
  107. package/dist/utils/clipboard.d.ts +2 -28
  108. package/dist/utils/clipboard.js +1 -96
  109. package/dist/utils/clipboardFiles.d.ts +27 -0
  110. package/dist/utils/clipboardFiles.js +98 -0
  111. package/dist/utils/rulerControl.d.ts +1 -0
  112. package/dist/utils/rulerControl.js +2 -1
  113. package/package.json +2 -2
@@ -50,6 +50,29 @@ export type DocxBlock = {
50
50
  paraId?: string;
51
51
  /** Drawings, pictures, embedded objects and equations anchored in the block. */
52
52
  inlineObjects: number;
53
+ /**
54
+ * Page breaks among the paragraph's runs, when it holds any. A paragraph
55
+ * without text can hold one: it is then all that starts the next page.
56
+ */
57
+ pageBreaks?: number;
58
+ /**
59
+ * The paragraph starts on a new page by its own formatting or its
60
+ * style's (`w:pageBreakBefore`). A plan carries it over with an item's
61
+ * `pageBreakBefore`; no other direct formatting of a paragraph comes along.
62
+ */
63
+ pageBreakBefore?: true;
64
+ /**
65
+ * The paragraph is the last of its section: the block after it opens
66
+ * `sections[sectionIndex + 1]` of the manifest, whose `start` says whether
67
+ * on a new page.
68
+ */
69
+ endsSection?: true;
70
+ /**
71
+ * The paragraph alignment in effect (`w:jc`, as written: `both`, `center`,
72
+ * ...): the paragraph's own, else its style's with inheritance resolved.
73
+ * Absent when neither states one.
74
+ */
75
+ alignment?: string;
53
76
  /** Table only: its cells in row order. */
54
77
  cells?: DocxTableCell[];
55
78
  /** Table only: every block inside the table in document order. */
@@ -59,10 +82,50 @@ export type DocxNote = {
59
82
  id: string;
60
83
  text: string;
61
84
  };
85
+ /** Compatibility settings of a document that change how its text is laid out. */
86
+ export type DocxCompat = {
87
+ /**
88
+ * `w:doNotExpandShiftReturn`: a justified line that ends in a manual line
89
+ * break keeps its spaces instead of being stretched to the margin.
90
+ */
91
+ doNotExpandShiftReturn: boolean;
92
+ };
93
+ /** One section of a document's main story: its page, and how it begins. */
94
+ export type DocxSection = {
95
+ index: number;
96
+ /**
97
+ * How the section begins after the one before it: on the next page, an
98
+ * even or odd one, in the next column, or on the same page. The first
99
+ * section's value says nothing.
100
+ */
101
+ start: "nextPage" | "evenPage" | "oddPage" | "nextColumn" | "continuous";
102
+ orientation: "portrait" | "landscape";
103
+ /** Page size and margins in twentieths of a point; null where unstated. */
104
+ size: {
105
+ width: number | null;
106
+ height: number | null;
107
+ };
108
+ margins: {
109
+ top: number | null;
110
+ right: number | null;
111
+ bottom: number | null;
112
+ left: number | null;
113
+ };
114
+ /** Text columns of the section. */
115
+ columns: number;
116
+ };
62
117
  export type DocxBlockManifest = {
63
118
  sha256: string;
64
119
  /** Top-level blocks of the main story in document order; a table is one block. */
65
120
  blocks: DocxBlock[];
121
+ /**
122
+ * The sections of the main story in order; a block names its own by
123
+ * `sectionIndex`. A body that states no section properties of its own
124
+ * still ends in a section: it is listed with the defaults, nothing stated.
125
+ */
126
+ sections: DocxSection[];
127
+ /** Compatibility settings of the document that change how its text is laid out. */
128
+ compat: DocxCompat;
66
129
  footnotes: DocxNote[];
67
130
  endnotes: DocxNote[];
68
131
  comments: number;
@@ -132,20 +195,8 @@ export type DocxTemplateField = {
132
195
  */
133
196
  endBlockId?: string;
134
197
  };
135
- export type DocxTemplateSection = {
136
- index: number;
137
- orientation: "portrait" | "landscape";
138
- /** Page size and margins in twentieths of a point. */
139
- size: {
140
- width: number | null;
141
- height: number | null;
142
- };
143
- margins: {
144
- top: number | null;
145
- right: number | null;
146
- bottom: number | null;
147
- left: number | null;
148
- };
198
+ /** A section of a template, with the header and footer parts it names. */
199
+ export type DocxTemplateSection = DocxSection & {
149
200
  headers: {
150
201
  type: string;
151
202
  part: string | null;
@@ -160,7 +211,7 @@ export type DocxTemplateBookmark = {
160
211
  id: string;
161
212
  part: string;
162
213
  };
163
- export type DocxTemplateInspection = DocxBlockManifest & {
214
+ export type DocxTemplateInspection = Omit<DocxBlockManifest, "sections"> & {
164
215
  styles: DocxTemplateStyle[];
165
216
  numbering: DocxTemplateNumbering;
166
217
  fields: DocxTemplateField[];
@@ -192,6 +243,33 @@ export type TemplatePlanNestedParagraph = {
192
243
  /** As on a source item. */
193
244
  labelAsText?: boolean;
194
245
  };
246
+ /** A page other than the template's, in twentieths of a point. */
247
+ export type TemplatePlanSectionPage = {
248
+ orientation: "portrait" | "landscape";
249
+ width: number;
250
+ height: number;
251
+ /** Left out, the template's margins stay. */
252
+ margins?: {
253
+ top: number;
254
+ right: number;
255
+ bottom: number;
256
+ left: number;
257
+ };
258
+ };
259
+ /**
260
+ * A section of the output. It is built from the template's last section:
261
+ * the same headers, footers and every other property, with only the page
262
+ * given here put in its place. The first-page header and a page-number
263
+ * start stay with the document's first section alone.
264
+ */
265
+ export type TemplatePlanSection = {
266
+ page?: TemplatePlanSectionPage;
267
+ /**
268
+ * How the section begins after the one before it; `nextPage` when left
269
+ * out. The document's first section begins the document.
270
+ */
271
+ start?: "nextPage" | "evenPage" | "oddPage";
272
+ };
195
273
  export type TemplatePlanSourceItem = {
196
274
  kind: "source";
197
275
  blockId: string;
@@ -213,6 +291,25 @@ export type TemplatePlanSourceItem = {
213
291
  labelAsText?: boolean;
214
292
  /** Join the next item of the plan, a source paragraph, into this paragraph. */
215
293
  mergeNext?: TemplatePlanMerge;
294
+ /**
295
+ * Start the paragraph on a new page (`w:pageBreakBefore`): for a page the
296
+ * source began by a break the plan does not place, by the paragraph's own
297
+ * formatting, or by a section. Not for a table, and not for a block that
298
+ * joins the paragraph before it.
299
+ *
300
+ * `false` is the same as leaving it out: nothing is written, and a style
301
+ * of the template that starts its paragraphs on a new page still does.
302
+ * Verification compares what the paragraph states for itself.
303
+ */
304
+ pageBreakBefore?: boolean;
305
+ /**
306
+ * The paragraph is the last of a section, described here: for a part of
307
+ * the document whose page is another than the template's, such as a
308
+ * landscape annex. Not for a table, a nested paragraph, or a block that
309
+ * joins the paragraph before it. The template needs a last section of
310
+ * its own to build from.
311
+ */
312
+ endsSection?: TemplatePlanSection;
216
313
  /** Table only: the paragraph style of its cells. */
217
314
  cellStyleId?: string;
218
315
  /** Table only: placement of single paragraphs inside it. */
@@ -281,6 +378,21 @@ export type TemplatePlan = {
281
378
  freezeKinds?: string[];
282
379
  updateOnOpen?: boolean;
283
380
  };
381
+ /**
382
+ * Compatibility settings to switch on in the output's settings, which are
383
+ * otherwise the template's. `true` sets the setting at its place in the
384
+ * schema's order; nothing else of the settings changes, and a setting is
385
+ * never switched off.
386
+ */
387
+ compat?: {
388
+ doNotExpandShiftReturn?: boolean;
389
+ };
390
+ /**
391
+ * The section the body ends with, when its page is another than the
392
+ * template's. Left out, the template's last section closes the body as it
393
+ * stands.
394
+ */
395
+ lastSection?: TemplatePlanSection;
284
396
  };
285
397
  export type TemplatePlanBlockResult = {
286
398
  /** The source block. */
@@ -341,7 +453,7 @@ export type TemplatePlanFieldLeftover = {
341
453
  count: number;
342
454
  };
343
455
  export type TemplatePlanIssue = {
344
- code: "text-mismatch" | "emphasis-mismatch" | "note-mismatch" | "block-missing" | "reference-broken" | "bookmark-dangling" | "field-unbalanced" | "relationship-dangling" | "note-dangling" | "numbering-dangling" | "style-dangling" | "style-mismatch" | "numbering-mismatch" | "template-mismatch" | "prompting-field-left" | "field-not-frozen" | "update-fields-mismatch" | "conformance";
456
+ code: "text-mismatch" | "emphasis-mismatch" | "note-mismatch" | "block-missing" | "reference-broken" | "bookmark-dangling" | "field-unbalanced" | "relationship-dangling" | "note-dangling" | "numbering-dangling" | "style-dangling" | "style-mismatch" | "numbering-mismatch" | "page-start-mismatch" | "section-mismatch" | "template-mismatch" | "prompting-field-left" | "field-not-frozen" | "update-fields-mismatch" | "compat-mismatch" | "conformance";
345
457
  message: string;
346
458
  blockId?: string;
347
459
  part?: string;
@@ -370,6 +482,16 @@ export type TemplatePlanReport = {
370
482
  labelLost: number;
371
483
  /** Placed blocks whose automatic label is written as text. */
372
484
  labelAsText: number;
485
+ /** Placed paragraphs the plan starts on a new page. */
486
+ pageStarts: number;
487
+ /** Placed paragraphs the plan ends a section with. */
488
+ sectionEnds: number;
489
+ /**
490
+ * Empty paragraphs written between two tables the plan puts next to each
491
+ * other, and after a table that ends the body: without one the tables
492
+ * are one table, and a body cannot end in a table.
493
+ */
494
+ tableSeparators: number;
373
495
  };
374
496
  footnotes: TemplatePlanNoteCounts;
375
497
  endnotes: TemplatePlanNoteCounts;
@@ -2,7 +2,7 @@ import { isNumberingReference } from "../../numberingReference.js";
2
2
  import { parseSettings } from "../../settingsParser.js";
3
3
  import { validateDocxConformance } from "../validateDocxConformance.js";
4
4
  import { analyzeDocument } from "./blocks.js";
5
- import { fieldBookmarkOf } from "./builders.js";
5
+ import { applyRefCaseFormat, fieldBookmarkOf, keepsShiftReturnSpacing, refCaseFormat } from "./builders.js";
6
6
  import { linkAddress, linkAddressKey, templateCharacterStyles } from "./emit.js";
7
7
  import { emphasisSignature, readDirectEmphasis, signatureHighlight, signatureWithoutHighlight } from "./emphasis.js";
8
8
  import { partFields, readHeaderFooterParts } from "./inspect.js";
@@ -10,7 +10,7 @@ import { styleNumbering } from "./labels.js";
10
10
  import { guarded, readPartText } from "./package.js";
11
11
  import { hyperlinkFieldLink, paragraphPieces, piecesContent, resolvePlan, segmentPieces } from "./plan.js";
12
12
  import { objectFingerprint, objectTargets, readStoryResources, relationshipIdsOf } from "./resources.js";
13
- import { createStoryState, endStory, readParagraph, walkBlocks } from "./story.js";
13
+ import { createStoryState, endStory, readParagraph, toggleOf, walkBlocks } from "./story.js";
14
14
  import { integerOrNull, isW, readRawPart, twipsOrNull, wAttr, wChild, wChildVal, wChildren, wName, walkElements } from "./xml.js";
15
15
  import { Result } from "better-result";
16
16
  // src/docx/server/templatePlan/verify.ts
@@ -204,7 +204,9 @@ const statedProperties = (paragraph) => {
204
204
  return {
205
205
  styleId: wChildVal(properties, "pStyle"),
206
206
  numId: integerOrNull(wChildVal(numbering, "numId")),
207
- ilvl: integerOrNull(wChildVal(numbering, "ilvl"))
207
+ ilvl: integerOrNull(wChildVal(numbering, "ilvl")),
208
+ pageBreakBefore: toggleOf(wChild(properties, "pageBreakBefore")) === true,
209
+ endsSection: wChild(properties, "sectPr") !== null
208
210
  };
209
211
  };
210
212
  /** Whether a bookmark of `read` holds all of the paragraph's content. */
@@ -244,16 +246,21 @@ const reportTemplatePlanOutput = async ({ source, template, output, plan, resolv
244
246
  const plannedProperties = (paragraph) => {
245
247
  const slot = slotBlocks.get(paragraph);
246
248
  if (slot !== void 0) return statedProperties(slot.element);
247
- const { styleId, numbering } = paragraph;
249
+ const { styleId, numbering, pageBreakBefore } = paragraph;
250
+ const endsSection = paragraph.endsSection !== null;
248
251
  if (numbering.kind === "direct") return {
249
252
  styleId,
250
253
  numId: numbering.numId,
251
- ilvl: numbering.ilvl
254
+ ilvl: numbering.ilvl,
255
+ pageBreakBefore,
256
+ endsSection
252
257
  };
253
258
  return {
254
259
  styleId,
255
260
  numId: numbering.kind === "none" && styleNumbering(styleId ?? template.defaultStyleId, template.styles, template.numbering)?.kind === "reference" ? 0 : null,
256
- ilvl: null
261
+ ilvl: null,
262
+ pageBreakBefore,
263
+ endsSection
257
264
  };
258
265
  };
259
266
  const checkProperties = (planned, stated, blockId) => {
@@ -267,6 +274,16 @@ const reportTemplatePlanOutput = async ({ source, template, output, plan, resolv
267
274
  message: `Block ${blockId} is not in the list, or at the level, the plan gives it.`,
268
275
  blockId
269
276
  });
277
+ if (stated.pageBreakBefore !== planned.pageBreakBefore) issues.push({
278
+ code: "page-start-mismatch",
279
+ message: planned.pageBreakBefore ? `Block ${blockId} does not start the new page the plan gives it.` : `Block ${blockId} starts a new page the plan does not give it.`,
280
+ blockId
281
+ });
282
+ if (stated.endsSection !== planned.endsSection) issues.push({
283
+ code: "section-mismatch",
284
+ message: planned.endsSection ? `Block ${blockId} does not end the section the plan gives it.` : `Block ${blockId} ends a section the plan does not give it.`,
285
+ blockId
286
+ });
270
287
  };
271
288
  const outputOf = /* @__PURE__ */ new Map();
272
289
  const templateOutputIds = /* @__PURE__ */ new Set();
@@ -343,7 +360,7 @@ const reportTemplatePlanOutput = async ({ source, template, output, plan, resolv
343
360
  resources: outputResources,
344
361
  styles: characterStyles
345
362
  });
346
- return before.styleId === after.styleId && before.numId === after.numId && before.ilvl === after.ilvl && sameReading(was, is) && sameList(was.signatures, is.signatures);
363
+ return before.styleId === after.styleId && before.pageBreakBefore === after.pageBreakBefore && before.endsSection === after.endsSection && before.numId === after.numId && before.ilvl === after.ilvl && sameReading(was, is) && sameList(was.signatures, is.signatures);
347
364
  }))) issues.push({
348
365
  code: "template-mismatch",
349
366
  message: `Template block ${item.block.block.id} does not read as the template has it.`,
@@ -358,6 +375,9 @@ const reportTemplatePlanOutput = async ({ source, template, output, plan, resolv
358
375
  case "paragraph":
359
376
  assign(item.paragraph, block);
360
377
  break;
378
+ case "separator":
379
+ if (block?.read === null || block?.read === void 0 || block.read.atoms.length > 0) missing("An empty paragraph that parts two tables is not in place.");
380
+ break;
361
381
  case "slot":
362
382
  assign(item.paragraph, block);
363
383
  break;
@@ -378,6 +398,15 @@ const reportTemplatePlanOutput = async ({ source, template, output, plan, resolv
378
398
  }
379
399
  }
380
400
  if (outputTopLevel.length !== resolved.items.length) missing(`The plan places ${resolved.items.length} block(s), the output holds ${outputTopLevel.length}.`);
401
+ const pageIssue = (page, section) => page !== void 0 && (section === void 0 || section.orientation !== page.orientation || section.size.width !== page.width || section.size.height !== page.height || page.margins !== void 0 && (section.margins.top !== page.margins.top || section.margins.right !== page.margins.right || section.margins.bottom !== page.margins.bottom || section.margins.left !== page.margins.left));
402
+ for (const [paragraph, block] of outputOf) if (pageIssue(paragraph.endsSection?.page, out.manifest.sections[block.block.sectionIndex])) issues.push({
403
+ code: "section-mismatch",
404
+ message: `The section block ${paragraph.parts.at(0)?.block.block.id ?? "?"} ends does not have the page the plan gives it.`
405
+ });
406
+ if (pageIssue(plan.lastSection?.page, out.manifest.sections.at(-1))) issues.push({
407
+ code: "section-mismatch",
408
+ message: "The last section does not have the page the plan gives it."
409
+ });
381
410
  const comparisons = /* @__PURE__ */ new Map();
382
411
  const spans = {
383
412
  source: {
@@ -546,7 +575,10 @@ const reportTemplatePlanOutput = async ({ source, template, output, plan, resolv
546
575
  let predictedText = null;
547
576
  if (targetBlock !== void 0) {
548
577
  if (!hasNumberSwitch) predictedText = targetBlock.block.text;
549
- else if (usesNumber) predictedText = /\\t\b/u.test(entry.reference.instruction) ? targetBlock.label?.numberOnly ?? null : targetBlock.label?.paragraphNumber ?? null;
578
+ else if (usesNumber) {
579
+ const number = /\\t\b/u.test(entry.reference.instruction) ? targetBlock.label?.numberOnly ?? null : targetBlock.label?.paragraphNumber ?? null;
580
+ predictedText = number === null ? null : applyRefCaseFormat(number, refCaseFormat(entry.reference.instruction));
581
+ }
550
582
  }
551
583
  let status = "ok";
552
584
  if (field === void 0 || fieldBookmarkOf(field.instruction) !== bookmark || field.instruction.trim() !== entry.instruction.trim() || comparisons.get(paragraph)?.text === "identical" && (field.paragraphOrdinal !== block?.read?.ordinal || field.resultStart !== at)) status = "missing-field";
@@ -733,6 +765,10 @@ const reportTemplatePlanOutput = async ({ source, template, output, plan, resolv
733
765
  message: `A ${field.kind} field the plan freezes is still live.`
734
766
  });
735
767
  if (nestedUnfrozen > 0) warnings.push(`${nestedUnfrozen} field(s) of a frozen kind sit inside another field's code and stay live.`);
768
+ if (plan.compat?.doNotExpandShiftReturn === true && (settingsXml.value === null || !keepsShiftReturnSpacing(settingsXml.value))) issues.push({
769
+ code: "compat-mismatch",
770
+ message: "The compatibility setting the plan switches on is not on in the output."
771
+ });
736
772
  const updateOnOpen = plan.fields?.updateOnOpen;
737
773
  if (updateOnOpen !== void 0 && updateOnOpen !== updatesOnOpen) issues.push({
738
774
  code: "update-fields-mismatch",
@@ -781,7 +817,10 @@ const reportTemplatePlanOutput = async ({ source, template, output, plan, resolv
781
817
  emphasisMismatch: 0,
782
818
  labelChanged: 0,
783
819
  labelLost: 0,
784
- labelAsText: 0
820
+ labelAsText: 0,
821
+ pageStarts: 0,
822
+ sectionEnds: 0,
823
+ tableSeparators: resolved.items.filter(({ kind }) => kind === "separator").length
785
824
  };
786
825
  const tables = /* @__PURE__ */ new Map();
787
826
  for (const block of source.story.order) {
@@ -832,6 +871,8 @@ const reportTemplatePlanOutput = async ({ source, template, output, plan, resolv
832
871
  const emphasis = comparison?.emphasis ?? "mismatch";
833
872
  if (disposition === "merged") counts.merged += 1;
834
873
  else counts.placed += 1;
874
+ if (leads && paragraph?.pageBreakBefore === true) counts.pageStarts += 1;
875
+ if (leads && paragraph !== void 0 && paragraph.endsSection !== null) counts.sectionEnds += 1;
835
876
  if (text === "identical") counts.textIdentical += 1;
836
877
  else counts.textMismatch += 1;
837
878
  if (emphasis === "mismatch") counts.emphasisMismatch += 1;
@@ -337,6 +337,7 @@ const messages = { "folio": {
337
337
  "editSessionTakenOver": "فتح علامة تبويب أو نافذة أو جهاز آخر هذا المستند للتعديل، لذا تم تحرير هذه الجلسة. تم الحفاظ على التغييرات المحلية غير المحفوظة؛ أعد فتح المستند للمتابعة.",
338
338
  "editor": {
339
339
  "accessibleName": "محرر المستندات",
340
+ "changeNotApplied": "تعذّر إجراء هذا التغيير.",
340
341
  "changeUnavailable": "لا يمكن إجراء هذا التغيير هنا بعد.",
341
342
  "contentLocked": "هذا الجزء من المستند مقفل.",
342
343
  "editing": "تحرير",
@@ -338,6 +338,7 @@ export declare const CATALOGS: {
338
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.";
339
339
  readonly editor: {
340
340
  readonly accessibleName: "Document editor";
341
+ readonly changeNotApplied: "This change couldn't be made.";
341
342
  readonly changeUnavailable: "This change can't be made here yet.";
342
343
  readonly contentLocked: "This part of the document is locked.";
343
344
  readonly editing: "Editing";
@@ -1004,6 +1005,7 @@ export declare const CATALOGS: {
1004
1005
  readonly editSessionTakenOver: "Diese Bearbeitungssitzung wurde an anderer Stelle übernommen.";
1005
1006
  readonly editor: {
1006
1007
  readonly accessibleName: "Dokumenteditor";
1008
+ readonly changeNotApplied: "Diese Änderung konnte nicht vorgenommen werden.";
1007
1009
  readonly changeUnavailable: "Diese Änderung ist hier noch nicht möglich.";
1008
1010
  readonly contentLocked: "Dieser Teil des Dokuments ist gesperrt.";
1009
1011
  readonly editing: "Bearbeiten";
@@ -1670,6 +1672,7 @@ export declare const CATALOGS: {
1670
1672
  readonly editSessionTakenOver: "Cette session de modification a été reprise ailleurs.";
1671
1673
  readonly editor: {
1672
1674
  readonly accessibleName: "Éditeur de documents";
1675
+ readonly changeNotApplied: "Cette modification n'a pas pu être effectuée.";
1673
1676
  readonly changeUnavailable: "Cette modification n'est pas encore possible ici.";
1674
1677
  readonly contentLocked: "Cette partie du document est verrouillée.";
1675
1678
  readonly editing: "Modification";
@@ -2336,6 +2339,7 @@ export declare const CATALOGS: {
2336
2339
  readonly editSessionTakenOver: "Esta sesión de edición se tomó en otro lugar.";
2337
2340
  readonly editor: {
2338
2341
  readonly accessibleName: "Editor de documentos";
2342
+ readonly changeNotApplied: "No se pudo hacer este cambio.";
2339
2343
  readonly changeUnavailable: "Este cambio aún no se puede hacer aquí.";
2340
2344
  readonly contentLocked: "Esta parte del documento está bloqueada.";
2341
2345
  readonly editing: "Edición";
@@ -3002,6 +3006,7 @@ export declare const CATALOGS: {
3002
3006
  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.";
3003
3007
  readonly editor: {
3004
3008
  readonly accessibleName: "Editor dokumentů";
3009
+ readonly changeNotApplied: "Tuto změnu nebylo možné provést.";
3005
3010
  readonly changeUnavailable: "Tuto změnu zde zatím nelze provést.";
3006
3011
  readonly contentLocked: "Tato část dokumentu je uzamčená.";
3007
3012
  readonly editing: "Úpravy";
@@ -3668,6 +3673,7 @@ export declare const CATALOGS: {
3668
3673
  readonly editSessionTakenOver: "فتح علامة تبويب أو نافذة أو جهاز آخر هذا المستند للتعديل، لذا تم تحرير هذه الجلسة. تم الحفاظ على التغييرات المحلية غير المحفوظة؛ أعد فتح المستند للمتابعة.";
3669
3674
  readonly editor: {
3670
3675
  readonly accessibleName: "محرر المستندات";
3676
+ readonly changeNotApplied: "تعذّر إجراء هذا التغيير.";
3671
3677
  readonly changeUnavailable: "لا يمكن إجراء هذا التغيير هنا بعد.";
3672
3678
  readonly contentLocked: "هذا الجزء من المستند مقفل.";
3673
3679
  readonly editing: "تحرير";
@@ -4334,6 +4340,7 @@ export declare const CATALOGS: {
4334
4340
  readonly editSessionTakenOver: "See muutmisseanss võeti mujal üle.";
4335
4341
  readonly editor: {
4336
4342
  readonly accessibleName: "Dokumendiredaktor";
4343
+ readonly changeNotApplied: "Seda muudatust ei saanud teha.";
4337
4344
  readonly changeUnavailable: "Seda muudatust ei saa siin veel teha.";
4338
4345
  readonly contentLocked: "See dokumendi osa on lukustatud.";
4339
4346
  readonly editing: "Redigeerimine";
@@ -5000,6 +5007,7 @@ export declare const CATALOGS: {
5000
5007
  readonly editSessionTakenOver: "כרטיסייה, חלון או מכשיר אחר פתחו מסמך זה לעריכה, ולכן הפעלה זו שוחררה. שינויים מקומיים שלא נשמרו נשמרו — פתח מחדש את המסמך כדי להמשיך.";
5001
5008
  readonly editor: {
5002
5009
  readonly accessibleName: "עורך מסמכים";
5010
+ readonly changeNotApplied: "לא ניתן היה לבצע את השינוי הזה.";
5003
5011
  readonly changeUnavailable: "עדיין לא ניתן לבצע את השינוי הזה כאן.";
5004
5012
  readonly contentLocked: "חלק זה של המסמך נעול.";
5005
5013
  readonly editing: "עריכה";
@@ -5666,6 +5674,7 @@ export declare const CATALOGS: {
5666
5674
  readonly editSessionTakenOver: "किसी अन्य टैब, विंडो या डिवाइस ने इस दस्तावेज़ को संपादन के लिए खोला, इसलिए यह सत्र बंद कर दिया गया। सहेजे नहीं गए स्थानीय परिवर्तन सुरक्षित हैं — जारी रखने के लिए दस्तावेज़ फिर से खोलें।";
5667
5675
  readonly editor: {
5668
5676
  readonly accessibleName: "दस्तावेज़ संपादक";
5677
+ readonly changeNotApplied: "यह बदलाव नहीं किया जा सका।";
5669
5678
  readonly changeUnavailable: "यह बदलाव अभी यहाँ नहीं किया जा सकता।";
5670
5679
  readonly contentLocked: "दस्तावेज़ का यह हिस्सा लॉक है।";
5671
5680
  readonly editing: "संपादन";
@@ -6332,6 +6341,7 @@ export declare const CATALOGS: {
6332
6341
  readonly editSessionTakenOver: "Ezt a szerkesztési munkamenetet máshol vették át.";
6333
6342
  readonly editor: {
6334
6343
  readonly accessibleName: "Dokumentumszerkesztő";
6344
+ readonly changeNotApplied: "Ezt a módosítást nem sikerült végrehajtani.";
6335
6345
  readonly changeUnavailable: "Ez a módosítás itt még nem hajtható végre.";
6336
6346
  readonly contentLocked: "A dokumentum ezen része zárolva van.";
6337
6347
  readonly editing: "Szerkesztés";
@@ -6998,6 +7008,7 @@ export declare const CATALOGS: {
6998
7008
  readonly editSessionTakenOver: "Ši redagavimo sesija buvo perimta kitur.";
6999
7009
  readonly editor: {
7000
7010
  readonly accessibleName: "Dokumentų redaktorius";
7011
+ readonly changeNotApplied: "Šio pakeitimo atlikti nepavyko.";
7001
7012
  readonly changeUnavailable: "Šio pakeitimo čia dar negalima atlikti.";
7002
7013
  readonly contentLocked: "Ši dokumento dalis užrakinta.";
7003
7014
  readonly editing: "Redagavimas";
@@ -7664,6 +7675,7 @@ export declare const CATALOGS: {
7664
7675
  readonly editSessionTakenOver: "Šo rediģēšanas sesiju pārņēma citur.";
7665
7676
  readonly editor: {
7666
7677
  readonly accessibleName: "Dokumentu redaktors";
7678
+ readonly changeNotApplied: "Šīs izmaiņas neizdevās veikt.";
7667
7679
  readonly changeUnavailable: "Šīs izmaiņas šeit vēl nevar veikt.";
7668
7680
  readonly contentLocked: "Šī dokumenta daļa ir bloķēta.";
7669
7681
  readonly editing: "Rediģēšana";
@@ -8330,6 +8342,7 @@ export declare const CATALOGS: {
8330
8342
  readonly editSessionTakenOver: "Ta sesja edycji została przejęta gdzie indziej.";
8331
8343
  readonly editor: {
8332
8344
  readonly accessibleName: "Edytor dokumentów";
8345
+ readonly changeNotApplied: "Nie udało się wprowadzić tej zmiany.";
8333
8346
  readonly changeUnavailable: "Tej zmiany nie można jeszcze tu wprowadzić.";
8334
8347
  readonly contentLocked: "Ta część dokumentu jest zablokowana.";
8335
8348
  readonly editing: "Edytowanie";
@@ -8996,6 +9009,7 @@ export declare const CATALOGS: {
8996
9009
  readonly editSessionTakenOver: "Esta sessão de edição foi assumida em outro lugar.";
8997
9010
  readonly editor: {
8998
9011
  readonly accessibleName: "Editor de documentos";
9012
+ readonly changeNotApplied: "Não foi possível fazer esta alteração.";
8999
9013
  readonly changeUnavailable: "Ainda não é possível fazer esta alteração aqui.";
9000
9014
  readonly contentLocked: "Esta parte do documento está bloqueada.";
9001
9015
  readonly editing: "Editando";
@@ -9662,6 +9676,7 @@ export declare const CATALOGS: {
9662
9676
  readonly editSessionTakenOver: "Túto reláciu úprav prevzalo iné okno.";
9663
9677
  readonly editor: {
9664
9678
  readonly accessibleName: "Editor dokumentov";
9679
+ readonly changeNotApplied: "Túto zmenu sa nepodarilo vykonať.";
9665
9680
  readonly changeUnavailable: "Túto zmenu tu zatiaľ nemožno vykonať.";
9666
9681
  readonly contentLocked: "Táto časť dokumentu je uzamknutá.";
9667
9682
  readonly editing: "Úpravy";
@@ -10328,6 +10343,7 @@ export declare const CATALOGS: {
10328
10343
  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.";
10329
10344
  readonly editor: {
10330
10345
  readonly accessibleName: "Belge düzenleyici";
10346
+ readonly changeNotApplied: "Bu değişiklik yapılamadı.";
10331
10347
  readonly changeUnavailable: "Bu değişiklik henüz burada yapılamıyor.";
10332
10348
  readonly contentLocked: "Belgenin bu bölümü kilitli.";
10333
10349
  readonly editing: "Düzenleme";
@@ -10994,6 +11010,7 @@ export declare const CATALOGS: {
10994
11010
  readonly editSessionTakenOver: "另一个标签页、窗口或设备已打开此文档进行编辑,因此本会话已释放。未保存的本地更改会保留,请重新打开文档以继续。";
10995
11011
  readonly editor: {
10996
11012
  readonly accessibleName: "文档编辑器";
11013
+ readonly changeNotApplied: "无法进行此更改。";
10997
11014
  readonly changeUnavailable: "暂时无法在此处进行此更改。";
10998
11015
  readonly contentLocked: "文档的这一部分已锁定。";
10999
11016
  readonly editing: "编辑";
@@ -338,6 +338,7 @@ const CATALOGS = {
338
338
  "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.",
339
339
  "editor": {
340
340
  "accessibleName": "Document editor",
341
+ "changeNotApplied": "This change couldn't be made.",
341
342
  "changeUnavailable": "This change can't be made here yet.",
342
343
  "contentLocked": "This part of the document is locked.",
343
344
  "editing": "Editing",
@@ -1002,6 +1003,7 @@ const CATALOGS = {
1002
1003
  "editSessionTakenOver": "Diese Bearbeitungssitzung wurde an anderer Stelle übernommen.",
1003
1004
  "editor": {
1004
1005
  "accessibleName": "Dokumenteditor",
1006
+ "changeNotApplied": "Diese Änderung konnte nicht vorgenommen werden.",
1005
1007
  "changeUnavailable": "Diese Änderung ist hier noch nicht möglich.",
1006
1008
  "contentLocked": "Dieser Teil des Dokuments ist gesperrt.",
1007
1009
  "editing": "Bearbeiten",
@@ -1666,6 +1668,7 @@ const CATALOGS = {
1666
1668
  "editSessionTakenOver": "Cette session de modification a été reprise ailleurs.",
1667
1669
  "editor": {
1668
1670
  "accessibleName": "Éditeur de documents",
1671
+ "changeNotApplied": "Cette modification n'a pas pu être effectuée.",
1669
1672
  "changeUnavailable": "Cette modification n'est pas encore possible ici.",
1670
1673
  "contentLocked": "Cette partie du document est verrouillée.",
1671
1674
  "editing": "Modification",
@@ -2330,6 +2333,7 @@ const CATALOGS = {
2330
2333
  "editSessionTakenOver": "Esta sesión de edición se tomó en otro lugar.",
2331
2334
  "editor": {
2332
2335
  "accessibleName": "Editor de documentos",
2336
+ "changeNotApplied": "No se pudo hacer este cambio.",
2333
2337
  "changeUnavailable": "Este cambio aún no se puede hacer aquí.",
2334
2338
  "contentLocked": "Esta parte del documento está bloqueada.",
2335
2339
  "editing": "Edición",
@@ -2994,6 +2998,7 @@ const CATALOGS = {
2994
2998
  "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.",
2995
2999
  "editor": {
2996
3000
  "accessibleName": "Editor dokumentů",
3001
+ "changeNotApplied": "Tuto změnu nebylo možné provést.",
2997
3002
  "changeUnavailable": "Tuto změnu zde zatím nelze provést.",
2998
3003
  "contentLocked": "Tato část dokumentu je uzamčená.",
2999
3004
  "editing": "Úpravy",
@@ -3658,6 +3663,7 @@ const CATALOGS = {
3658
3663
  "editSessionTakenOver": "فتح علامة تبويب أو نافذة أو جهاز آخر هذا المستند للتعديل، لذا تم تحرير هذه الجلسة. تم الحفاظ على التغييرات المحلية غير المحفوظة؛ أعد فتح المستند للمتابعة.",
3659
3664
  "editor": {
3660
3665
  "accessibleName": "محرر المستندات",
3666
+ "changeNotApplied": "تعذّر إجراء هذا التغيير.",
3661
3667
  "changeUnavailable": "لا يمكن إجراء هذا التغيير هنا بعد.",
3662
3668
  "contentLocked": "هذا الجزء من المستند مقفل.",
3663
3669
  "editing": "تحرير",
@@ -4322,6 +4328,7 @@ const CATALOGS = {
4322
4328
  "editSessionTakenOver": "See muutmisseanss võeti mujal üle.",
4323
4329
  "editor": {
4324
4330
  "accessibleName": "Dokumendiredaktor",
4331
+ "changeNotApplied": "Seda muudatust ei saanud teha.",
4325
4332
  "changeUnavailable": "Seda muudatust ei saa siin veel teha.",
4326
4333
  "contentLocked": "See dokumendi osa on lukustatud.",
4327
4334
  "editing": "Redigeerimine",
@@ -4986,6 +4993,7 @@ const CATALOGS = {
4986
4993
  "editSessionTakenOver": "כרטיסייה, חלון או מכשיר אחר פתחו מסמך זה לעריכה, ולכן הפעלה זו שוחררה. שינויים מקומיים שלא נשמרו נשמרו — פתח מחדש את המסמך כדי להמשיך.",
4987
4994
  "editor": {
4988
4995
  "accessibleName": "עורך מסמכים",
4996
+ "changeNotApplied": "לא ניתן היה לבצע את השינוי הזה.",
4989
4997
  "changeUnavailable": "עדיין לא ניתן לבצע את השינוי הזה כאן.",
4990
4998
  "contentLocked": "חלק זה של המסמך נעול.",
4991
4999
  "editing": "עריכה",
@@ -5650,6 +5658,7 @@ const CATALOGS = {
5650
5658
  "editSessionTakenOver": "किसी अन्य टैब, विंडो या डिवाइस ने इस दस्तावेज़ को संपादन के लिए खोला, इसलिए यह सत्र बंद कर दिया गया। सहेजे नहीं गए स्थानीय परिवर्तन सुरक्षित हैं — जारी रखने के लिए दस्तावेज़ फिर से खोलें।",
5651
5659
  "editor": {
5652
5660
  "accessibleName": "दस्तावेज़ संपादक",
5661
+ "changeNotApplied": "यह बदलाव नहीं किया जा सका।",
5653
5662
  "changeUnavailable": "यह बदलाव अभी यहाँ नहीं किया जा सकता।",
5654
5663
  "contentLocked": "दस्तावेज़ का यह हिस्सा लॉक है।",
5655
5664
  "editing": "संपादन",
@@ -6314,6 +6323,7 @@ const CATALOGS = {
6314
6323
  "editSessionTakenOver": "Ezt a szerkesztési munkamenetet máshol vették át.",
6315
6324
  "editor": {
6316
6325
  "accessibleName": "Dokumentumszerkesztő",
6326
+ "changeNotApplied": "Ezt a módosítást nem sikerült végrehajtani.",
6317
6327
  "changeUnavailable": "Ez a módosítás itt még nem hajtható végre.",
6318
6328
  "contentLocked": "A dokumentum ezen része zárolva van.",
6319
6329
  "editing": "Szerkesztés",
@@ -6978,6 +6988,7 @@ const CATALOGS = {
6978
6988
  "editSessionTakenOver": "Ši redagavimo sesija buvo perimta kitur.",
6979
6989
  "editor": {
6980
6990
  "accessibleName": "Dokumentų redaktorius",
6991
+ "changeNotApplied": "Šio pakeitimo atlikti nepavyko.",
6981
6992
  "changeUnavailable": "Šio pakeitimo čia dar negalima atlikti.",
6982
6993
  "contentLocked": "Ši dokumento dalis užrakinta.",
6983
6994
  "editing": "Redagavimas",
@@ -7642,6 +7653,7 @@ const CATALOGS = {
7642
7653
  "editSessionTakenOver": "Šo rediģēšanas sesiju pārņēma citur.",
7643
7654
  "editor": {
7644
7655
  "accessibleName": "Dokumentu redaktors",
7656
+ "changeNotApplied": "Šīs izmaiņas neizdevās veikt.",
7645
7657
  "changeUnavailable": "Šīs izmaiņas šeit vēl nevar veikt.",
7646
7658
  "contentLocked": "Šī dokumenta daļa ir bloķēta.",
7647
7659
  "editing": "Rediģēšana",
@@ -8306,6 +8318,7 @@ const CATALOGS = {
8306
8318
  "editSessionTakenOver": "Ta sesja edycji została przejęta gdzie indziej.",
8307
8319
  "editor": {
8308
8320
  "accessibleName": "Edytor dokumentów",
8321
+ "changeNotApplied": "Nie udało się wprowadzić tej zmiany.",
8309
8322
  "changeUnavailable": "Tej zmiany nie można jeszcze tu wprowadzić.",
8310
8323
  "contentLocked": "Ta część dokumentu jest zablokowana.",
8311
8324
  "editing": "Edytowanie",
@@ -8970,6 +8983,7 @@ const CATALOGS = {
8970
8983
  "editSessionTakenOver": "Esta sessão de edição foi assumida em outro lugar.",
8971
8984
  "editor": {
8972
8985
  "accessibleName": "Editor de documentos",
8986
+ "changeNotApplied": "Não foi possível fazer esta alteração.",
8973
8987
  "changeUnavailable": "Ainda não é possível fazer esta alteração aqui.",
8974
8988
  "contentLocked": "Esta parte do documento está bloqueada.",
8975
8989
  "editing": "Editando",
@@ -9634,6 +9648,7 @@ const CATALOGS = {
9634
9648
  "editSessionTakenOver": "Túto reláciu úprav prevzalo iné okno.",
9635
9649
  "editor": {
9636
9650
  "accessibleName": "Editor dokumentov",
9651
+ "changeNotApplied": "Túto zmenu sa nepodarilo vykonať.",
9637
9652
  "changeUnavailable": "Túto zmenu tu zatiaľ nemožno vykonať.",
9638
9653
  "contentLocked": "Táto časť dokumentu je uzamknutá.",
9639
9654
  "editing": "Úpravy",
@@ -10298,6 +10313,7 @@ const CATALOGS = {
10298
10313
  "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.",
10299
10314
  "editor": {
10300
10315
  "accessibleName": "Belge düzenleyici",
10316
+ "changeNotApplied": "Bu değişiklik yapılamadı.",
10301
10317
  "changeUnavailable": "Bu değişiklik henüz burada yapılamıyor.",
10302
10318
  "contentLocked": "Belgenin bu bölümü kilitli.",
10303
10319
  "editing": "Düzenleme",
@@ -10962,6 +10978,7 @@ const CATALOGS = {
10962
10978
  "editSessionTakenOver": "另一个标签页、窗口或设备已打开此文档进行编辑,因此本会话已释放。未保存的本地更改会保留,请重新打开文档以继续。",
10963
10979
  "editor": {
10964
10980
  "accessibleName": "文档编辑器",
10981
+ "changeNotApplied": "无法进行此更改。",
10965
10982
  "changeUnavailable": "暂时无法在此处进行此更改。",
10966
10983
  "contentLocked": "文档的这一部分已锁定。",
10967
10984
  "editing": "编辑",
@@ -337,6 +337,7 @@ const messages = { "folio": {
337
337
  "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.",
338
338
  "editor": {
339
339
  "accessibleName": "Editor dokumentů",
340
+ "changeNotApplied": "Tuto změnu nebylo možné provést.",
340
341
  "changeUnavailable": "Tuto změnu zde zatím nelze provést.",
341
342
  "contentLocked": "Tato část dokumentu je uzamčená.",
342
343
  "editing": "Úpravy",