Author: tilman
Date: Sun Jun 14 04:23:16 2026
New Revision: 1935257
Log:
PDFBOX-5660: improve javadoc
Modified:
pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/form/AppearanceGeneratorHelper.java
Modified:
pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/form/AppearanceGeneratorHelper.java
==============================================================================
---
pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/form/AppearanceGeneratorHelper.java
Sun Jun 14 04:22:01 2026 (r1935256)
+++
pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/form/AppearanceGeneratorHelper.java
Sun Jun 14 04:23:16 2026 (r1935257)
@@ -177,6 +177,8 @@ class AppearanceGeneratorHelper {
*
* @param apValue the String value which the appearance should represent
* @throws IOException If there is an error creating the stream.
+ * @throws IllegalArgumentException if the string contains a character
that is not in the field
+ * font, see {@link #setDefaultAppearance(java.lang.String)}.
*/
public void setAppearanceValue(String apValue) throws IOException {
value = getFormattedValue(apValue);