Examples of copyBox()


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

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

      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

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

    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

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

    JRBasePrintImage printImage = new JRBasePrintImage(reportConverter.getDefaultStyleProvider());
    JRChart chart = (JRChart)element;

    copyElement(reportConverter, chart, printImage);
   
    printImage.copyBox(chart.getLineBox());
   
    printImage.setAnchorName(JRExpressionUtil.getExpressionText(chart.getAnchorNameExpression()));
    printImage.setBookmarkLevel(chart.getBookmarkLevel());
    printImage.setLinkType(chart.getLinkType());
    printImage.setOnErrorType(OnErrorTypeEnum.ICON);
View Full Code Here

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

    JRBasePrintImage printImage = new JRBasePrintImage(reportConverter.getDefaultStyleProvider());
    JRImage image = (JRImage)element;

    copyGraphicElement(reportConverter, image, printImage);

    printImage.copyBox(image.getLineBox());
   
    printImage.setAnchorName(JRExpressionUtil.getExpressionText(image.getAnchorNameExpression()));
    printImage.setBookmarkLevel(image.getBookmarkLevel());
    printImage.setHorizontalAlignment(image.getOwnHorizontalAlignmentValue());
    printImage.setLazy(image.isLazy());
View Full Code Here

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

      JRBasePrintText rotatedText = new JRBasePrintText(text.getDefaultStyleProvider());
      rotatedText.setX(text.getX());
      rotatedText.setY(text.getY());
      rotatedText.setWidth(text.getWidth());
      rotatedText.setHeight(text.getHeight());
      rotatedText.copyBox(text.getLineBox());
     
      JRBoxUtil.rotate(rotatedText.getLineBox(), text.getRotationValue());
     
      int rotationIE = 0;
      int rotationAngle = 0;
View Full Code Here

Examples of net.sf.jasperreports.engine.design.JRDesignFrame.copyBox()

    frame.setHeight(cell.getHeight());
    frame.setStretchType(StretchTypeEnum.RELATIVE_TO_TALLEST_OBJECT);
   
    frame.setStyle(cell.getStyle());
    frame.setStyleNameReference(cell.getStyleNameReference());
    frame.copyBox(cell.getLineBox());
   
    for (Iterator it = cell.getChildren().iterator(); it.hasNext();)
    {
      JRChild child = (JRChild) it.next();
      if (child instanceof JRElement)
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.