Document apiReferenceSections

sections.setPageNumbering

Set page numbering format/start and chapter numbering settings for a section.

mutates documentdry runconditional
doc.sections.setPageNumbering(…)

Expected result

Returns a SectionMutationResult receipt; reports NO_OP if page numbering settings already match.

Inputs

targetSectionAddressrequired
Fields
kind"section"required
sectionIdstringrequired
startintegerconditionally required
format"decimal" | "lowerLetter" | "upperLetter" | "lowerRoman" | "upperRoman" | "numberInDash"conditionally required
chapterStyleintegerconditionally required
chapterSeparator"hyphen" | "period" | "colon" | "emDash" | "enDash"conditionally required

Result

Output fields
true
successtruerequired
sectionSectionAddressrequired
Fields
kind"section"required
sectionIdstringrequired
false
successfalserequired
failureobjectrequired
Fields
code"NO_OP" | "INVALID_TARGET" | "CAPABILITY_UNAVAILABLE"required
messagestringrequired
detailsunknown

Failures

Pre-apply throws

  • TARGET_NOT_FOUND
  • INVALID_TARGET
  • INVALID_INPUT
2 more codes
  • CAPABILITY_UNAVAILABLE
  • INTERNAL_ERROR

Non-applied receipt codes

  • NO_OP
  • INVALID_TARGET
  • CAPABILITY_UNAVAILABLE

Raw schemas

Open the generated JSON artifact for the exact input, output, success, and failure schemas represented by this contract version.

View raw JSON schemas