Class FieldPositioningEvents

    • Field Detail

      • genericChunkFields

        protected java.util.HashMap<java.lang.String,​PdfFormField> genericChunkFields
        Keeps a map with fields that are to be positioned in inGenericTag.
      • cellField

        protected PdfFormField cellField
        Keeps the form field that is to be positioned in a cellLayout event.
      • fieldWriter

        protected PdfWriter fieldWriter
        The PdfWriter to use when a field has to added in a cell event.
      • parent

        protected PdfFormField parent
        The PdfFormField that is the parent of the field added in a cell event.
      • padding

        public float padding
        Some extra padding that will be taken into account when defining the widget.
    • Constructor Detail

      • FieldPositioningEvents

        public FieldPositioningEvents()
        Creates a new event. This constructor will be used if you need to position fields with Chunk objects.
      • FieldPositioningEvents

        public FieldPositioningEvents​(PdfWriter writer,
                                      PdfFormField field)
        Creates a new event. This constructor will be used if you need to position fields with a Cell Event.
      • FieldPositioningEvents

        public FieldPositioningEvents​(PdfFormField parent,
                                      PdfFormField field)
        Creates a new event. This constructor will be used if you need to position fields with a Cell Event.
      • FieldPositioningEvents

        public FieldPositioningEvents​(PdfWriter writer,
                                      java.lang.String text)
                               throws java.io.IOException,
                                      DocumentException
        Creates a new event. This constructor will be used if you need to position fields with a Cell Event.
        Throws:
        DocumentException
        java.io.IOException
      • FieldPositioningEvents

        public FieldPositioningEvents​(PdfWriter writer,
                                      PdfFormField parent,
                                      java.lang.String text)
                               throws java.io.IOException,
                                      DocumentException
        Creates a new event. This constructor will be used if you need to position fields with a Cell Event.
        Throws:
        DocumentException
        java.io.IOException