@json-to-office/core-docx 4.4.1 → 4.4.4

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/index.js CHANGED
@@ -14857,7 +14857,7 @@ var DOCX_QUALITY_PROFILES = {
14857
14857
  "client-report": {
14858
14858
  id: "client-report",
14859
14859
  formats: ["docx"],
14860
- description: "Client or public-administration report: a running head with page numbers on every section after the cover, a takeaway and a source wherever a block declares them, no heading skipped, and every size on the theme scale with at most eight in play.",
14860
+ description: "Client or public-administration report: a running head with page numbers on every section after the cover, a takeaway and a source wherever a block declares them, no heading skipped, every size on the theme scale with at most eight in play, and no page rendered empty or left half blank under the running head.",
14861
14861
  rules: {
14862
14862
  "docx/required-chrome": {
14863
14863
  parameters: { required: ["takeaway", "source"] }
@@ -14871,7 +14871,15 @@ var DOCX_QUALITY_PROFILES = {
14871
14871
  "docx/heading-hierarchy": { severity: "warning" },
14872
14872
  "docx/type-scale": { enabled: true },
14873
14873
  "docx/size-count": { enabled: true, parameters: { maximumSizes: 8 } },
14874
- "docx/role-drift": { enabled: true }
14874
+ "docx/role-drift": { enabled: true },
14875
+ // The report blocks place every figure in a captioned block, so a page
14876
+ // with no text under the running head is a stray break or an empty
14877
+ // section, not a plate. A genuine full-page figure suppresses this at
14878
+ // its page through the policy.
14879
+ "rendered/empty-page": { severity: "warning" },
14880
+ // A section that ends early on its own page reads as unfinished; the
14881
+ // judge calls a page two-thirds blank a defect.
14882
+ "rendered/page-underfilled": { severity: "warning" }
14875
14883
  }
14876
14884
  },
14877
14885
  "executive-report": {