Package com.itextpdf.layout.renderer
Class AccessibleAttributesApplier
java.lang.Object
com.itextpdf.layout.renderer.AccessibleAttributesApplier
Generates standard structure attributes for current tag
based on the layout element properties and renderer layout results.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static void
applyBlockLevelLayoutAttributes
(String role, AbstractRenderer renderer, PdfDictionary attributes) private static void
applyBorderAttributes
(AbstractRenderer renderer, PdfDictionary attributes) private static void
applyCommonLayoutAttributes
(AbstractRenderer renderer, PdfDictionary attributes) private static void
applyIllustrationLayoutAttributes
(AbstractRenderer renderer, PdfDictionary attributes) private static void
applyInlineLevelLayoutAttributes
(AbstractRenderer renderer, PdfDictionary attributes) private static void
applyPaddingAttribute
(AbstractRenderer renderer, PdfDictionary attributes) static PdfStructureAttributes
getLayoutAttributes
(AbstractRenderer renderer, TagTreePointer taggingPointer) static PdfStructureAttributes
getListAttributes
(AbstractRenderer renderer, TagTreePointer taggingPointer) static PdfStructureAttributes
getTableAttributes
(AbstractRenderer renderer, TagTreePointer taggingPointer) private static boolean
isTagStructurePdf2
(PdfNamespace namespace) private static IRoleMappingResolver
resolveMappingToStandard
(TagTreePointer taggingPointer) private static PdfName
transformBlockAlignToName
(HorizontalAlignment horizontalAlignment) private static PdfName
transformBorderTypeToName
(int borderType) private static PdfName
transformNumberingTypeToName
(ListNumberingType numberingType, boolean isTagStructurePdf2) private static PdfName
transformTextAlignmentValueToName
(TextAlignment textAlignment)
-
Constructor Details
-
AccessibleAttributesApplier
public AccessibleAttributesApplier()
-
-
Method Details
-
getLayoutAttributes
public static PdfStructureAttributes getLayoutAttributes(AbstractRenderer renderer, TagTreePointer taggingPointer) -
getListAttributes
public static PdfStructureAttributes getListAttributes(AbstractRenderer renderer, TagTreePointer taggingPointer) -
getTableAttributes
public static PdfStructureAttributes getTableAttributes(AbstractRenderer renderer, TagTreePointer taggingPointer) -
applyCommonLayoutAttributes
private static void applyCommonLayoutAttributes(AbstractRenderer renderer, PdfDictionary attributes) -
applyBlockLevelLayoutAttributes
private static void applyBlockLevelLayoutAttributes(String role, AbstractRenderer renderer, PdfDictionary attributes) -
applyInlineLevelLayoutAttributes
private static void applyInlineLevelLayoutAttributes(AbstractRenderer renderer, PdfDictionary attributes) -
applyIllustrationLayoutAttributes
private static void applyIllustrationLayoutAttributes(AbstractRenderer renderer, PdfDictionary attributes) -
applyPaddingAttribute
-
applyBorderAttributes
-
resolveMappingToStandard
-
isTagStructurePdf2
-
transformTextAlignmentValueToName
-
transformBlockAlignToName
-
transformBorderTypeToName
-
transformNumberingTypeToName
private static PdfName transformNumberingTypeToName(ListNumberingType numberingType, boolean isTagStructurePdf2)
-