Skip to main content

Summary

Set paragraph flow flags: contextual spacing, page-break-before, suppress-auto-hyphens, and the advanced layout toggles auto-space-DE, auto-space-DN, adjust-right-indent, and snap-to-grid.
  • Operation ID: format.paragraph.setFlowOptions
  • API member path: editor.doc.format.paragraph.setFlowOptions(...)
  • Mutates document: yes
  • Idempotency: conditional
  • Supports tracked mode: yes
  • Supports dry run: yes
  • Deterministic target resolution: yes

Expected result

Returns a ParagraphMutationResult; reports NO_OP if all flags already match.

Input fields

Variant 1 (required: contextualSpacing)

Variant 2 (required: pageBreakBefore)

Variant 3 (required: suppressAutoHyphens)

Variant 4 (required: autoSpaceDE)

Variant 5 (required: autoSpaceDN)

Variant 6 (required: adjustRightInd)

Variant 7 (required: snapToGrid)

Example request

Output fields

Variant 1 (success=true)

Variant 2 (success=false)

Example response

Pre-apply throws

  • TARGET_NOT_FOUND
  • INVALID_TARGET
  • CAPABILITY_UNAVAILABLE

Non-applied failure codes

  • NO_OP

Raw schemas