You can refer to this tool in any formula, macro, module, or other script in Blockpad. You can use either its name or its full path:

  • To refer to it by name, use PageBreakBeforeProperty (make sure the library Library.Tools.Properties is included with Include Libaries)
  • To refer to it by its full path, use Library.Tools.Properties.PageBreakBeforeProperty


See also:

With the Page Break Before property, you can insert page breaks into a report.

The Page Break Before property is used to insert a page break before any paragraph or heading.

Insert a page break:
  1. Go to the paragraph where you want the page break.
  2. Open the properties window.
  3. Under Paragraph, select Page Break After.
  4. In the dropdown list, select Break.
  5. Click OK.

Break for minimum space

Page Break Before also has a Break For Minimum Space option where the page breaks only if the paragraph is far enough down the page (as a percentage).

Using this setting in combination with style rules and headings, you can make a document automatically insert a page break before any heading that's far enough down in a page. See the video below.

Use style rules to make page breaks that update:
  1. Make sure headings have a Heading paragraph type.
  2. In the toolbar, select Style>Manage Styles.
  3. In the window that appears, click Add.
  4. In the Object Type dropdown, select Heading.
  5. Under Properties, select Page Break Before.
  6. In the dropdown, select Break for minimum space.
  7. Set the desired percentage.
  8. Click OK.
  9. Close the Styles Manager window.

See also: