Class HeadingsChecker

java.lang.Object
com.itextpdf.pdfua.checkers.utils.headings.HeadingsChecker

public final class HeadingsChecker extends Object
Utility class which performs headings check according to PDF/UA specification.
  • Constructor Details

  • Method Details

    • checkLayoutElement

      public void checkLayoutElement (Object rendererObj)
      Checks if layout element has correct heading.
      Parameters:
      rendererObj - layout element to check
      Throws:
      PdfUAConformanceException - if headings sequence is incorrect
    • checkStructElement

      public void checkStructElement (IStructureNode structNode)
      Checks if structure element has correct heading.
      Parameters:
      structNode - structure element to check
      Throws:
      PdfUAConformanceException - if headings sequence is incorrect