Package com.itextpdf.forms.fields
Class TextAndChoiceLegacyDrawer
java.lang.Object
com.itextpdf.forms.fields.TextAndChoiceLegacyDrawer
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate 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, String value, PdfFormXObject appearance, int topIndex) private static void
drawCombTextAppearance
(PdfFormAnnotation formAnnotation, Rectangle rect, PdfFont font, float fontSize, String value, PdfFormXObject appearance) private static String
obfuscatePassword
(String text) (package private) static boolean
regenerateTextAndChoiceField
(PdfFormAnnotation formAnnotation)
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER
-
-
Constructor Details
-
TextAndChoiceLegacyDrawer
private TextAndChoiceLegacyDrawer()
-
-
Method Details
-
regenerateTextAndChoiceField
-
drawChoiceAppearance
static void drawChoiceAppearance(PdfFormAnnotation formAnnotation, Rectangle rect, float fontSize, String value, PdfFormXObject appearance, int topIndex) -
drawCombTextAppearance
private static void drawCombTextAppearance(PdfFormAnnotation formAnnotation, Rectangle rect, PdfFont font, float fontSize, String value, PdfFormXObject appearance) -
obfuscatePassword
-
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)
-