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 voidapplyBlockLevelLayoutAttributes(String role, AbstractRenderer renderer, PdfDictionary attributes) private static voidapplyBorderAttributes(AbstractRenderer renderer, PdfDictionary attributes) private static voidapplyCommonLayoutAttributes(AbstractRenderer renderer, PdfDictionary attributes) private static voidapplyIllustrationLayoutAttributes(AbstractRenderer renderer, PdfDictionary attributes) private static voidapplyInlineLevelLayoutAttributes(AbstractRenderer renderer, PdfDictionary attributes) private static voidapplyPaddingAttribute(AbstractRenderer renderer, PdfDictionary attributes) static PdfStructureAttributesgetLayoutAttributes(AbstractRenderer renderer, TagTreePointer taggingPointer) static PdfStructureAttributesgetListAttributes(AbstractRenderer renderer, TagTreePointer taggingPointer) static PdfStructureAttributesgetTableAttributes(AbstractRenderer renderer, TagTreePointer taggingPointer) private static booleanisTagStructurePdf2(PdfNamespace namespace) private static IRoleMappingResolverresolveMappingToStandard(TagTreePointer taggingPointer) private static PdfNametransformBlockAlignToName(HorizontalAlignment horizontalAlignment) private static PdfNametransformBorderTypeToName(int borderType) private static PdfNametransformNumberingTypeToName(ListNumberingType numberingType, boolean isTagStructurePdf2) private static PdfNametransformTextAlignmentValueToName(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)
-