Examples of JRBaseLineBox


Examples of net.sf.jasperreports.engine.base.JRBaseLineBox

   */
  public JRDesignCellContents()
  {
    super();
   
    lineBox = new JRBaseLineBox(this);
  }
View Full Code Here

Examples of net.sf.jasperreports.engine.base.JRBaseLineBox

      mode = null;
    }

    if (lineBox == null)
    {
      lineBox = new JRBaseLineBox(this);
      JRBoxUtil.setBoxToLineBox(
        box,
        lineBox
        );
      box = null;
View Full Code Here

Examples of net.sf.jasperreports.engine.base.JRBaseLineBox

  private Integer rowSpan;
  private Integer height;

  public DesignCell()
  {
    this.box = new JRBaseLineBox(this);
  }
View Full Code Here

Examples of net.sf.jasperreports.engine.base.JRBaseLineBox

 
  public CompiledCell()
  {
    super();
   
    box = new JRBaseLineBox(this);
  }
View Full Code Here

Examples of net.sf.jasperreports.engine.base.JRBaseLineBox

   */
  public JRTemplateImage(JROrigin origin, JRDefaultStyleProvider defaultStyleProvider)
  {
    super(origin, defaultStyleProvider);
   
    this.lineBox = new JRBaseLineBox(this);
    this.linePen = new JRBasePen(this);
  }
View Full Code Here

Examples of net.sf.jasperreports.engine.base.JRBaseLineBox

      scaleImage = null;
    }
   
    if (lineBox == null)
    {
      lineBox = new JRBaseLineBox(this);
      JRBoxUtil.setToBox(
        border,
        topBorder,
        leftBorder,
        bottomBorder,
View Full Code Here

Examples of net.sf.jasperreports.engine.base.JRBaseLineBox

  /**
   *
   */
  protected void exportLine(TableBuilder tableBuilder, JRPrintLine line, JRExporterGridCell gridCell) throws IOException
  {
    JRLineBox box = new JRBaseLineBox(null);
    JRPen pen = null;
    float ratio = line.getWidth() / line.getHeight();
    if (ratio > 1)
    {
      if (line.getDirectionValue() == LineDirectionEnum.TOP_DOWN)
      {
        pen = box.getTopPen();
      }
      else
      {
        pen = box.getBottomPen();
      }
    }
    else
    {
      if (line.getDirectionValue() == LineDirectionEnum.TOP_DOWN)
      {
        pen = box.getLeftPen();
      }
      else
      {
        pen = box.getRightPen();
      }
    }
    pen.setLineColor(line.getLinePen().getLineColor());
    pen.setLineStyle(line.getLinePen().getLineStyleValue());
    pen.setLineWidth(line.getLinePen().getLineWidth());
View Full Code Here

Examples of net.sf.jasperreports.engine.base.JRBaseLineBox

  /**
   *
   */
  protected void exportEllipse(TableBuilder tableBuilder, JRPrintEllipse ellipse, JRExporterGridCell gridCell) throws IOException
  {
    JRLineBox box = new JRBaseLineBox(null);
    JRPen pen = box.getPen();
    pen.setLineColor(ellipse.getLinePen().getLineColor());
    pen.setLineStyle(ellipse.getLinePen().getLineStyleValue());
    pen.setLineWidth(ellipse.getLinePen().getLineWidth());

    gridCell.setBox(box);//CAUTION: only some exporters set the cell box
View Full Code Here

Examples of net.sf.jasperreports.engine.base.JRBaseLineBox

  {
    super(defaultStyleProvider);
   
    hyperlinkParameters = new ArrayList();
   
    lineBox = new JRBaseLineBox(this);
  }
View Full Code Here

Examples of net.sf.jasperreports.engine.base.JRBaseLineBox

      scaleImage = null;
    }
   
    if (lineBox == null)
    {
      lineBox = new JRBaseLineBox(this);
      JRBoxUtil.setToBox(
        border,
        topBorder,
        leftBorder,
        bottomBorder,
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.