Class PdfUA2FormulaChecker

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

public final class PdfUA2FormulaChecker extends Object
Utility class which performs "Formula" tag related checks according to PDF/UA-2 specification.
  • Method Details

    • checkStructElement

      public void checkStructElement (IStructureNode elem)
      Checks if "math" structure element from "MathML" namespace is enclosed within "Formula" tag.
      Parameters:
      elem - structure element to check
      Throws:
      PdfUAConformanceException - if document has incorrect tag structure for Formula tag