Class SectionBreak

All Implemented Interfaces:
IAbstractElement, IElement, IPropertyContainer

public class SectionBreak extends AbstractElement<SectionBreak>
A layout object that terminates the current page content if any and starts the new page.

If no PageSize and PageMarginBoxes are given, the new content section will have default page size and page margins.

Specified (or default if not specified) PageSize and PageMarginBoxes will be applied for all next pages until it'll be overridden by other SectionBreak or AreaBreak elements.

  • Constructor Details

    • SectionBreak

      public SectionBreak()
      Creates new SectionBreak instance.

      The new content section will have default page size and page margins.

    • SectionBreak

      public SectionBreak (PageSize pageSize)
      Creates new SectionBreak instance.

      The new content section will have the specified page size and default page margins.

      Parameters:
      pageSize - PageSize page size of the new content section
    • SectionBreak

      public SectionBreak (PageMarginBoxes pageMarginBoxes)
      Creates new SectionBreak instance.

      The new content section will have the specified page margins and default page size.

      Parameters:
      pageMarginBoxes - PageMarginBoxes page margins of the new content section
    • SectionBreak

      public SectionBreak (PageSize pageSize, PageMarginBoxes pageMarginBoxes)
      Creates new SectionBreak instance.

      The new content section will have the specified page size and page margins.

      Parameters:
      pageSize - PageSize page size of the new content section
      pageMarginBoxes - PageMarginBoxes page margins of the new content section
  • Method Details