Increase/decrease paragraph spacing (W/P)

Modified on Mon, 5 Oct at 1:54 PM

This feature enables to increase or decrease the paragraph spacing of the selected text in both Word and PowerPoint. It basically follows the native Word functionality, but ensures to cycle through all of the selected paragraphs, and not just the entire shape, and checks that it does not set the spacing value beyond the upper/lower limits of Word. Further, it enables to define the interval when increasing or decreasing.

Module is located here:

Code
...\ModuleLibrary\BaseExtensions\01_nocontext_Tools\86_WP_increaseDecreaseParagraphSpacing.xml

CMD

<Cmd case="BaseExtensions:increase-decrease-paragraph-spacing" interval="X"/>

Parameter

interval

Define the number of sizes that the spacing should increase or decrease. This can be whole numbers or numbers with one decimal, e.g. 0.1, 0.8, 1, 1.5, etc. Positive numbers will increase the paragraph spacing, while negative numbers decrease the paragraph spacing.

ParagraphFormat

Define the paragraph format that should be increased/decreased by the interval. The possible options are the following:

  • SpaceBefore
  • SpaceAfter
  • LineSpacing

Notice that LineSpacing is not available in PowerPoint and will automatically just set SpaceBefore which is default also if the parameter is not defined. In Word, the default is LineSpacing.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article