Package com.itextpdf.text.pdf

Examples of com.itextpdf.text.pdf.TextField


    /** Creates a new event. This constructor will be used if you need to position fields with a Cell Event.
     * @throws DocumentException
     * @throws IOException*/
    public FieldPositioningEvents(PdfWriter writer, String text) throws IOException, DocumentException {
      this.fieldWriter = writer;
      TextField tf = new TextField(writer, new Rectangle(0, 0), text);
    tf.setFontSize(14);
    cellField = tf.getTextField();
  }
View Full Code Here


    /** Creates a new event. This constructor will be used if you need to position fields with a Cell Event.
     * @throws DocumentException
     * @throws IOException*/
    public FieldPositioningEvents(PdfWriter writer, PdfFormField parent, String text) throws IOException, DocumentException {
      this.parent = parent;
      TextField tf = new TextField(writer, new Rectangle(0, 0), text);
    tf.setFontSize(14);
    cellField = tf.getTextField();
  }
View Full Code Here

    public void onGenericTag(PdfWriter writer, Document document,
      Rectangle rect, String text) {
    rect.setBottom(rect.getBottom() - 3);
    PdfFormField field = genericChunkFields.get(text);
    if (field == null) {
      TextField tf = new TextField(writer, new Rectangle(rect.getLeft(padding), rect.getBottom(padding), rect.getRight(padding), rect.getTop(padding)), text);
      tf.setFontSize(14);
      try {
        field = tf.getTextField();
      } catch (Exception e) {
        throw new ExceptionConverter(e);
      }
    }
    else {
View Full Code Here

    /** Creates a new event. This constructor will be used if you need to position fields with a Cell Event.
     * @throws DocumentException
     * @throws IOException*/
    public FieldPositioningEvents(PdfWriter writer, String text) throws IOException, DocumentException {
      this.fieldWriter = writer;
      TextField tf = new TextField(writer, new Rectangle(0, 0), text);
    tf.setFontSize(14);
    cellField = tf.getTextField();
  }
View Full Code Here

    /** Creates a new event. This constructor will be used if you need to position fields with a Cell Event.
     * @throws DocumentException
     * @throws IOException*/
    public FieldPositioningEvents(PdfWriter writer, PdfFormField parent, String text) throws IOException, DocumentException {
      this.parent = parent;
      TextField tf = new TextField(writer, new Rectangle(0, 0), text);
    tf.setFontSize(14);
    cellField = tf.getTextField();
  }
View Full Code Here

    public void onGenericTag(PdfWriter writer, Document document,
      Rectangle rect, String text) {
    rect.setBottom(rect.getBottom() - 3);
    PdfFormField field = genericChunkFields.get(text);
    if (field == null) {
      TextField tf = new TextField(writer, new Rectangle(rect.getLeft(padding), rect.getBottom(padding), rect.getRight(padding), rect.getTop(padding)), text);
      tf.setFontSize(14);
      try {
        field = tf.getTextField();
      } catch (Exception e) {
        throw new ExceptionConverter(e);
      }
    }
    else {
View Full Code Here

    /** Creates a new event. This constructor will be used if you need to position fields with a Cell Event.
     * @throws DocumentException
     * @throws IOException*/
    public FieldPositioningEvents(PdfWriter writer, PdfFormField parent, String text) throws IOException, DocumentException {
      this.parent = parent;
      TextField tf = new TextField(writer, new Rectangle(0, 0), text);
    tf.setFontSize(14);
    cellField = tf.getTextField();
  }
View Full Code Here

    public void onGenericTag(PdfWriter writer, Document document,
      Rectangle rect, String text) {
    rect.setBottom(rect.getBottom() - 3);
    PdfFormField field = genericChunkFields.get(text);
    if (field == null) {
      TextField tf = new TextField(writer, new Rectangle(rect.getLeft(padding), rect.getBottom(padding), rect.getRight(padding), rect.getTop(padding)), text);
      tf.setFontSize(14);
      try {
        field = tf.getTextField();
      } catch (Exception e) {
        throw new ExceptionConverter(e);
      }
    }
    else {
View Full Code Here

    /** Creates a new event. This constructor will be used if you need to position fields with a Cell Event.
     * @throws DocumentException
     * @throws IOException*/
    public FieldPositioningEvents(PdfWriter writer, String text) throws IOException, DocumentException {
      this.fieldWriter = writer;
      TextField tf = new TextField(writer, new Rectangle(0, 0), text);
    tf.setFontSize(14);
    cellField = tf.getTextField();
  }
View Full Code Here

    /** Creates a new event. This constructor will be used if you need to position fields with a Cell Event.
     * @throws DocumentException
     * @throws IOException*/
    public FieldPositioningEvents(PdfWriter writer, String text) throws IOException, DocumentException {
      this.fieldWriter = writer;
      TextField tf = new TextField(writer, new Rectangle(0, 0), text);
    tf.setFontSize(14);
    cellField = tf.getTextField();
  }
View Full Code Here

TOP

Related Classes of com.itextpdf.text.pdf.TextField

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.