Examples of PageBreakPositionList


Examples of org.pentaho.reporting.engine.classic.core.layout.model.PageBreakPositionList

  }

  public boolean isCurrentPageEmpty()
  {
    final LogicalPageBox logicalPageBox = getPageBox();
    final PageBreakPositionList breakPositionList = logicalPageBox.getAllVerticalBreaks();
    final long masterBreak = breakPositionList.getLastMasterBreak();
    final boolean nextPageContainsContent = (logicalPageBox.getHeight() > masterBreak);
    return nextPageContainsContent == false;
  }
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.layout.model.PageBreakPositionList

    if (logicalPageBox == null)
    {
      throw new IllegalStateException("LogicalPageBox being null? You messed it up again!");
    }

    final PageBreakPositionList breakPositionList = logicalPageBox.getAllVerticalBreaks();
    final long masterBreak = breakPositionList.getLastMasterBreak();
    final boolean nextPageContainsContent = (logicalPageBox.getHeight() > masterBreak);
    return nextPageContainsContent == false;
  }
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.layout.model.PageBreakPositionList

  private long usablePageHeight;

  public PaginationStep()
  {
    findOldestProcessKeyStep = new FindOldestProcessKeyStep();
    basePageBreakList = new PageBreakPositionList();
    shiftStatePool = new PaginationShiftStatePool();
  }
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.layout.model.PageBreakPositionList

    this.recordedPageBreakPositionIsForced = false;

    try
    {
      // do not add a pagebreak for the physical end.
      final PageBreakPositionList allPreviousBreak = pageBox.getAllVerticalBreaks();
      basePageBreakList.copyFrom(allPreviousBreak);

      this.paginationTableState = new FlowPaginationTableState(pageBox.getPageOffset(), basePageBreakList);

      // now process all the other content (excluding the header and footer area)
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.