Package com.itextpdf.forms.fields
Class TextAndChoiceLegacyDrawer
- java.lang.Object
-
- com.itextpdf.forms.fields.TextAndChoiceLegacyDrawer
-
final class TextAndChoiceLegacyDrawer extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private static org.slf4j.Logger
LOGGER
-
Constructor Summary
Constructors Modifier Constructor Description private
TextAndChoiceLegacyDrawer()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static float
calculateTranslationHeightAfterFieldRot(Rectangle bBox, double pageRotation, double relFieldRotation)
private static float
calculateTranslationWidthAfterFieldRot(Rectangle bBox, double pageRotation, double relFieldRotation)
private static double
degreeToRadians(double angle)
(package private) static void
drawChoiceAppearance(PdfFormAnnotation formAnnotation, Rectangle rect, float fontSize, java.lang.String value, PdfFormXObject appearance, int topIndex)
private static void
drawCombTextAppearance(PdfFormAnnotation formAnnotation, Rectangle rect, PdfFont font, float fontSize, java.lang.String value, PdfFormXObject appearance)
private static java.lang.String
obfuscatePassword(java.lang.String text)
(package private) static boolean
regenerateTextAndChoiceField(PdfFormAnnotation formAnnotation)
-
-
-
Method Detail
-
regenerateTextAndChoiceField
static boolean regenerateTextAndChoiceField(PdfFormAnnotation formAnnotation)
-
drawChoiceAppearance
static void drawChoiceAppearance(PdfFormAnnotation formAnnotation, Rectangle rect, float fontSize, java.lang.String value, PdfFormXObject appearance, int topIndex)
-
drawCombTextAppearance
private static void drawCombTextAppearance(PdfFormAnnotation formAnnotation, Rectangle rect, PdfFont font, float fontSize, java.lang.String value, PdfFormXObject appearance)
-
obfuscatePassword
private static java.lang.String obfuscatePassword(java.lang.String text)
-
calculateTranslationHeightAfterFieldRot
private static float calculateTranslationHeightAfterFieldRot(Rectangle bBox, double pageRotation, double relFieldRotation)
-
calculateTranslationWidthAfterFieldRot
private static float calculateTranslationWidthAfterFieldRot(Rectangle bBox, double pageRotation, double relFieldRotation)
-
degreeToRadians
private static double degreeToRadians(double angle)
-
-