Apply Word Paragraph Style

Files & documents · nd-word-desktop-style-paragraph · nodestly-word-desktop 1.0.0

Applies a built-in Word style to an existing numbered paragraph in a new DOCX.

Inputs and outputs

  • document — Word document (text, filesystem.file).
  • paragraphNumber — Paragraph number (number).
  • style — Paragraph style (text).
  • destinationFolder — Destination folder (text, filesystem.folder).
  • name — Output filename (text).
  • fire — Optional start signal (fire).
  • file — File (text, filesystem.file).
  • fire — Continuation after success (fire).

Settings

  • paragraphNumber (number). Default 1.
  • style (select). Default normal.
  • name (text). Default empty.

A connected value takes precedence over its saved setting. Invalid values stop the workflow.

Number paragraphs in the main body from 1 to 10,000. The default is 1. Select normal, heading1 or heading2. The default style is normal. Word uses the selected style defined by this document. Count the paragraphs in Word or adjust the index if it is out of range.

Requirements and errors

Use installed Microsoft Word Desktop and Windows PowerShell 5.1 in a Windows desktop session. Reconnect a local DOCX of up to 32 MiB without a password, external links, macros, active objects or unsupported dynamic fields.

Choose a fresh DOCX filename and writable local output folder on an NTFS or equivalent volume. Editing requires a document copy without pending tracked changes or editing restrictions.

A failure returns no output resource or continuation signal.