Package org.krysalis.barcode4j.impl.pdf417

Examples of org.krysalis.barcode4j.impl.pdf417.PDF417Bean


  protected abstract void evaluatePOSTNET(
      POSTNETComponent intelligentMail);

  public void visitPDF417(PDF417Component pdf417)
  {
    PDF417Bean pdf417Bean = new PDF417Bean();
    barcode = pdf417Bean;
    evaluatePDF417(pdf417);
    setBaseAttributes(pdf417);
   
    if (pdf417.getMinColumns() != null)
    {
      pdf417Bean.setMinCols(pdf417.getMinColumns().intValue());
    }
    if (pdf417.getMaxColumns() != null)
    {
      pdf417Bean.setMaxCols(pdf417.getMaxColumns().intValue());
    }
    if (pdf417.getMinRows() != null)
    {
      pdf417Bean.setMinRows(pdf417.getMinRows().intValue());
    }
    if (pdf417.getMaxRows() != null)
    {
      pdf417Bean.setMaxRows(pdf417.getMaxRows().intValue());
    }
    if (pdf417.getWidthToHeightRatio() != null)
    {
      pdf417Bean.setWidthToHeightRatio(
          pdf417.getWidthToHeightRatio().doubleValue());
    }
    if (pdf417.getErrorCorrectionLevel() != null)
    {
      pdf417Bean.setErrorCorrectionLevel(
          pdf417.getErrorCorrectionLevel().intValue());
    }
  }
View Full Code Here


import org.krysalis.barcode4j.output.CanvasProvider;

public class PDF417Generator implements BarcodeGenerator {
   
    public void generate(CanvasProvider canvasProvider, String value) throws IOException {
        PDF417Bean bean = new PDF417Bean();
        bean.generateBarcode(canvasProvider, value);
    }
View Full Code Here

TOP

Related Classes of org.krysalis.barcode4j.impl.pdf417.PDF417Bean

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.