Package net.sf.jasperreports.engine.base

Examples of net.sf.jasperreports.engine.base.JRBasePrintFrame.copyBox()


    JRBasePrintFrame printFrame = new JRBasePrintFrame(reportConverter.getDefaultStyleProvider());
    JRFrame frame = (JRFrame)element;
   
    copyElement(reportConverter, frame, printFrame);
   
    printFrame.copyBox(frame.getLineBox());
   
    List children = frame.getChildren();
    if (children != null && children.size() > 0)
    {
      ConvertVisitor convertVisitor = new ConvertVisitor(reportConverter, printFrame);
View Full Code Here


      cellFrame.setHeight((int)rectangle.getHeight());
      cellFrame.setStyle(reportConverter.resolveStyle(cell));
     
      if (cell.getLineBox() != null)
      {
        cellFrame.copyBox(cell.getLineBox());
      }

      List children = cell.getChildren();
      if (children != null && children.size() > 0)
      {
View Full Code Here

    frame.setStyle(reportConverter.resolveStyle(cell));
   
    JRLineBox box = cell.getLineBox();
    if (box != null)
    {
      frame.copyBox(box);
     
      boolean copyLeft = left && box.getLeftPen().getLineWidth().floatValue() <= 0f && box.getRightPen().getLineWidth().floatValue() > 0f;
      boolean copyRight = right && box.getRightPen().getLineWidth().floatValue() <= 0f && box.getLeftPen().getLineWidth().floatValue() > 0f;
      boolean copyTop = top && box.getTopPen().getLineWidth().floatValue() <= 0f && box.getBottomPen().getLineWidth().floatValue() > 0f;
     
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.