AppearanceDictionary

AppearanceDictionary

Vue de l’ensemble

‘AppearanceDictionary’ est une classe dans Aspose.PDF FOSS pour Java.

Vue typique sur le dictionnaire d’apparence du champ de formulaire {@code /AP} (ISO 32000-1:2008 §12.5.5).

Cette classe fournit 6 méthodes pour travailler avec AppearanceDictionary objets dans les programmes Java. Les méthodologies disponibles comprennent: AppearancesDictoriels, get , ‘getNormal; getPdfDictoriels’, ‘gettStateNames et 'isMultiStade. Tous les membres publics sont accessibles à n’importe quelle application Java après l’installation de l’Aspouse.PDF FOSS pour le package Java . Propriétés : multiStates; normal‘; 'pdfDication ou ‘stateName’.

Propriétés

NameTypeAccessDescription
stateNamesSet<String>ReadReturns the set of state names available under {@code /N} (normal
appearance) for multi-state widgets.
normalXFormReadReturns the single normal appearance stream for a single-state widget
(text fields, buttons, etc.), or {@code null} if the field is
multi-state or has no /N entry.
multiStatebooleanReadReturns {@code true} when {@code /AP/N} is a dictionary (multi-state),
{@code false} when it is a stream (single-state) or absent.
pdfDictionaryPdfDictionaryReadReturns the underlying /AP PDF dictionary for engine-side use.

méthodes

SignatureDescription
AppearanceDictionary(apDict: PdfDictionary)Wraps the given /AP dictionary.
getStateNames()Set<String>Returns the set of state names available under {@code /N} (normal
appearance) for multi-state widgets.
get(stateName: String)XFormReturns the normal appearance stream for the given state, or {@code null}
if the state name is not present or if the field is single-state.
getNormal()XFormReturns the single normal appearance stream for a single-state widget
(text fields, buttons, etc.), or {@code null} if the field is
multi-state or has no /N entry.
isMultiState()booleanReturns {@code true} when {@code /AP/N} is a dictionary (multi-state),
{@code false} when it is a stream (single-state) or absent.
getPdfDictionary()PdfDictionaryReturns the underlying /AP PDF dictionary for engine-side use.

Voir aussi

  • Aspose.PDF pour Java — API d’entreprise
 Français