FormFieldParagraph
Vue de l’ensemble
‘FormFieldParagraph’ est une classe dans Aspose.PDF FOSS pour Java.Déduit de: BaseParagraf.
{@link BaseParagraph} adaptateur qui permet aux widgets de champ de formulaire de participer à des collections basées sur les paragraphes telles que { @link Cell#getParagrafs()}, { (@link Page# getParagramms()) et { {://link FloatingBox# GetParagiers() }.
Cette classe fournit 19 méthodes pour travailler avec des objets de FormFieldParagraph dans les programmes Java. Les méthodologies disponibles comprennent: ‘FormFielParagraf’, ‘asFiell’, asOption', ‘getFiels’, 'getHorizontalAlignment', ’getHyperlink', ‚getMargin, ‘isFirstParagrammInColumn’, ‘‘isInLineParagiels’ , ‘ISInNewPage’,‘‘isKeptWithNext’, “setFIRSTParagonInColumn’ et 6 méthode supplémentaires. Tous les membres publics sont accessibles à toute application Java après l’installation de l’Aspoe.PDF FOSS pour le package Java Propriétés: field',first ParagramIncolumn, Colontal‘,Nligne, ́hyperline, 2 plus d’Pagraphe.
Propriétés
| Name | Type | Access | Description |
|---|---|---|---|
field | Object | Read | Returns the wrapped form field. |
margin | MarginInfo | Read | Gets the margin information for this paragraph. |
horizontalAlignment | HorizontalAlignment | Read | Gets the horizontal alignment of this paragraph within its container. |
inLineParagraph | boolean | Read | Returns whether this paragraph is an inline element. |
keptWithNext | boolean | Read | Returns whether this paragraph should be kept together with the next paragraph |
| on the same page during layout. | |||
firstParagraphInColumn | boolean | Read | Returns whether this paragraph is the first in its column. |
inNewPage | boolean | Read | Returns whether this paragraph should start on a new page during layout. |
hyperlink | Hyperlink | Read | Returns the hyperlink attached to this paragraph (web, local or file |
| target), or {@code null} if the paragraph is not clickable. |
méthodes
| Signature | Description |
|---|---|
FormFieldParagraph(field: Field) | Wraps a {@link Field} subclass (e.g. |
FormFieldParagraph(option: RadioButtonOptionField) | Wraps a {@link RadioButtonOptionField} option. |
getField() → Object | Returns the wrapped form field. |
asField() → Field | Convenience: returns the wrapped object as a {@link Field}, or null if |
| it is a {@link RadioButtonOptionField} (which does not extend Field). | |
asOption() → RadioButtonOptionField | Convenience: returns the wrapped object as a {@link RadioButtonOptionField}, |
| or null if it is a {@link Field} subclass. | |
getMargin() → MarginInfo | Gets the margin information for this paragraph. |
setMargin(margin: MarginInfo) | Sets the margin information for this paragraph. |
getHorizontalAlignment() → HorizontalAlignment | Gets the horizontal alignment of this paragraph within its container. |
setHorizontalAlignment(horizontalAlignment: HorizontalAlignment) | Sets the horizontal alignment of this paragraph within its container. |
isInLineParagraph() → boolean | Returns whether this paragraph is an inline element. |
setInLineParagraph(inLineParagraph: boolean) | Sets whether this paragraph should be treated as an inline element. |
isKeptWithNext() → boolean | Returns whether this paragraph should be kept together with the next paragraph |
| on the same page during layout. | |
setKeptWithNext(keptWithNext: boolean) | Sets whether this paragraph should be kept together with the next paragraph |
| on the same page during layout. | |
isFirstParagraphInColumn() → boolean | Returns whether this paragraph is the first in its column. |
setFirstParagraphInColumn(firstParagraphInColumn: boolean) | Sets whether this paragraph is the first in its column. |
isInNewPage() → boolean | Returns whether this paragraph should start on a new page during layout. |
setInNewPage(inNewPage: boolean) | Sets whether this paragraph should start on a new page during layout. |
getHyperlink() → Hyperlink | Returns the hyperlink attached to this paragraph (web, local or file |
| target), or {@code null} if the paragraph is not clickable. | |
setHyperlink(hyperlink: Hyperlink) | Attaches a hyperlink to this paragraph. |
Voir aussi
- Aspose.PDF pour Java — API d’entreprise