Package net.sf.jasperreports.engine.component

Examples of net.sf.jasperreports.engine.component.FillPrepareResult


      {
        //no columns to print
        return FillPrepareResult.NO_PRINT_NO_OVERFLOW;
      }
     
      FillPrepareResult result = fillSubreport.prepareSubreport(
          availableHeight, filling);
      filling = result.willOverflow();
      return result;
    }
    catch (JRException e)
    {
      throw new JRRuntimeException(e);
View Full Code Here


      isReprinted = true;
    }

    if (isToPrint)
    {
      FillPrepareResult result = fillComponent.prepare(availableHeight - getRelativeY());
     
      isToPrint = result.isToPrint();
      willOverflow = result.willOverflow();
      setStretchHeight(result.getStretchHeight());
     
      // if the component will overflow, set the filling flag to true
      // to know next time that the component is continuing
      filling = willOverflow;
    }
View Full Code Here

    return printElement;
  }

  public FillPrepareResult prepare(int availableHeight)
  {
    FillPrepareResult result = null;
   
    JRComponentElement element = fillContext.getComponentElement();
    if (template == null) {
      template = new JRTemplateGenericElement(
          fillContext.getElementOrigin(),
View Full Code Here

TOP

Related Classes of net.sf.jasperreports.engine.component.FillPrepareResult

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.