|
DynamicPDF by ceTe Software | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.cete.dynamicpdf.merger.forms.PdfFormField
Representing a form field in a PDF document.
Licensing:
This class is a DynamicPDF Merger Standard Edition feature.
One of the following licenses is required for non-evaluation usage:
| Method Summary | |
Label |
createLabel(Page page,
float xOffset,
float yOffset,
java.lang.String text,
Font font,
float fontSize)
Creates a Label object and adds it to the given page at the
coordinates of the form field. |
Label |
createLabel(Page page,
float xOffset,
float yOffset,
java.lang.String text,
Font font,
float fontSize,
TextAlign align)
Creates a Label object and adds it to the given page at the
coordinates of the form field. |
Label |
createLabel(Page page,
float xOffset,
float yOffset,
java.lang.String text,
Font font,
float fontSize,
TextAlign align,
Color textColor)
Creates a Label object and adds it to the given page at the
coordinates of the form field. |
Label |
createLabel(Page page,
java.lang.String text,
Font font,
float fontSize)
Creates a Label object and adds it to the given page at the
coordinates of the form field. |
Label |
createLabel(Page page,
java.lang.String text,
Font font,
float fontSize,
TextAlign align)
Creates a Label object and adds it to the given page at the
coordinates of the form field. |
Label |
createLabel(Page page,
java.lang.String text,
Font font,
float fontSize,
TextAlign align,
Color textColor)
Creates a Label object and adds it to the given page at the
coordinates of the form field. |
PdfFormFieldList |
getChildFields()
Gets a collection of child form fields. |
FormFieldFlags |
getFlags()
Gets the partial name of the form field. |
protected PdfForm |
getForm()
Gets the form the form field belongs to. |
java.lang.String |
getFullName()
Gets the full name of the form field. |
float |
getHeight()
Gets the height of the form field. |
java.lang.String |
getName()
Gets the partial name of the form field. |
int |
getOriginalPageNumber()
Returns the original page number of the form field in the original PDF document. |
protected PdfFormField |
getParent()
Gets the parent form field. |
java.lang.String |
getValue()
Gets the value of the form field. |
float |
getWidth()
Gets the width of the form field. |
float |
getX(Page page)
Returns the X coordinate of the form field on the given page. |
float |
getY(Page page)
Returns the Y coordinate of the form field on the given page. |
boolean |
hasChildFields()
Gets the type of the form field. |
void |
positionPageElement(PageElement pageElement,
Page page)
Sets the position of a page element to the coordinates of the form field. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public boolean hasChildFields()
public int getOriginalPageNumber()
public void positionPageElement(PageElement pageElement,
Page page)
pageElement - Page element whose coordinates should be set.page - Page that contains the page element.PageElement,
Pagepublic float getX(Page page)
page - Page for which the X coordinates are returned.
Pagepublic float getY(Page page)
page - Page for which the Y coordinates are returned.
Page
public Label createLabel(Page page,
float xOffset,
float yOffset,
java.lang.String text,
Font font,
float fontSize)
Label object and adds it to the given page at the
coordinates of the form field.
page - Page to which the label will be added.xOffset - The X coordinate offset for the label.yOffset - The Y coordinate offset for the label.text - The text of the label.font - The font to use for the label.fontSize - The font size to use for the label.
Label object that was added to the page.Page,
Font,
Label
public Label createLabel(Page page,
float xOffset,
float yOffset,
java.lang.String text,
Font font,
float fontSize,
TextAlign align)
Label object and adds it to the given page at the
coordinates of the form field.
page - Page to which the label will be added.xOffset - The X coordinate offset for the label.yOffset - The Y coordinate offset for the label.text - The text of the label.font - The font to use for the label.fontSize - The font size to use for the label.align - The text alignment of the label.
Label object that was added to the page.Page,
Font,
TextAlign,
Label
public Label createLabel(Page page,
float xOffset,
float yOffset,
java.lang.String text,
Font font,
float fontSize,
TextAlign align,
Color textColor)
Label object and adds it to the given page at the
coordinates of the form field.
page - Page to which the label will be added.xOffset - The X coordinate offset for the label.yOffset - The Y coordinate offset for the label.text - The text of the label.font - The font to use for the label.fontSize - The font size to use for the label.align - The text alignment of the label.textColor - The text color of the label.
Label object that was added to the page.Page,
Font,
TextAlign,
Color,
Label
public Label createLabel(Page page,
java.lang.String text,
Font font,
float fontSize)
Label object and adds it to the given page at the
coordinates of the form field.
page - Page to which the label will be added.text - The text of the label.font - The font to use for the label.fontSize - The font size to use for the label.
Label object that was added to the page.Page,
Font,
Label
public Label createLabel(Page page,
java.lang.String text,
Font font,
float fontSize,
TextAlign align)
Label object and adds it to the given page at the
coordinates of the form field.
page - Page to which the label will be added.text - The text of the label.font - The font to use for the label.fontSize - The font size to use for the label.align - The text alignment of the label.
Label object that was added to the page.Page,
Font,
TextAlign,
Label
public Label createLabel(Page page,
java.lang.String text,
Font font,
float fontSize,
TextAlign align,
Color textColor)
Label object and adds it to the given page at the
coordinates of the form field.
page - Page to which the label will be added.text - The text of the label.font - The font to use for the label.fontSize - The font size to use for the label.align - The text alignment of the label.textColor - The text color of the label.
Label object that was added to the page.Page,
Font,
TextAlign,
Color,
Labelpublic float getWidth()
public float getHeight()
protected PdfFormField getParent()
protected PdfForm getForm()
public java.lang.String getValue()
public PdfFormFieldList getChildFields()
public FormFieldFlags getFlags()
public java.lang.String getName()
public java.lang.String getFullName()
|
DynamicPDF by ceTe Software | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||