Document apiReferenceSections

sections.setOddEvenHeadersFooters

Enable or disable odd/even header-footer mode in document settings.

mutates documentdry runconditional
doc.sections.setOddEvenHeadersFooters(…)

Expected result

Returns a DocumentMutationResult (not SectionMutationResult) because odd/even headers-footers is a document-level setting, not per-section. Reports NO_OP if the setting already matches.

Inputs

enabledbooleanrequired

Result

Output fields
true
successtruerequired
false
successfalserequired
failureobjectrequired
Fields
code"NO_OP" | "CAPABILITY_UNAVAILABLE"required
messagestringrequired
detailsunknown

Failures

Pre-apply throws

  • INVALID_INPUT
  • CAPABILITY_UNAVAILABLE
  • INTERNAL_ERROR

Non-applied receipt codes

  • NO_OP
  • 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