Class PdfUA2ListChecker

java.lang.Object
com.itextpdf.pdfua.checkers.utils.ua2.PdfUA2ListChecker

public final class PdfUA2ListChecker extends Object
Utility class which performs lists check according to PDF/UA-2 specification.
  • Constructor Details

  • Method Details

    • checkStructElement

      public void checkStructElement (IStructureNode structNode)
      Checks if list element has correct tag structure according to PDF/UA-2 specification.

      Conforming files shall tag any real content within LI structure element as either Lbl or LBody. For list items, if Lbl is present, not None ListNumbering attribute shall be specified on the respective L structure element.

      Parameters:
      structNode - list structure element to check
      Throws:
      PdfUAConformanceException - if document has incorrect tag structure for list