Package org.pentaho.reporting.engine.classic.core.layout.model

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


    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

  private long usablePageHeight;

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

    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

Related Classes of org.pentaho.reporting.engine.classic.core.layout.model.PageBreakPositionList

Copyright © 2018 www.massapicom. 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.