Class PdfUA2DestinationsChecker

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

public class PdfUA2DestinationsChecker extends Object
Utility class which performs UA-2 checks related to intra-document destinations.
  • Field Details

  • Constructor Details

  • Method Details

    • checkDestinations

      public void checkDestinations()
      Checks all the destinations in the document.
    • checkDestinationsOnCreation

      public void checkDestinationsOnCreation()
      Checks specific destination which was recently added.
    • checkDestinationsInLinks

      private void checkDestinationsInLinks()
    • checkDestinationsInOutline

      private void checkDestinationsInOutline(PdfOutline outline)
    • checkAllGoToActions

      private void checkAllGoToActions()
    • checkAllGoToActions

      private void checkAllGoToActions(PdfObject object, List<PdfObject> visitedObjects)
    • checkGoToAction

      private void checkGoToAction(PdfDictionary dictionary)
    • isDestinationAllowed

      private static boolean isDestinationAllowed(PdfObject destinationObject, PdfDocument document, int counter)
    • isDestinationAllowed

      private static boolean isDestinationAllowed(PdfDestination destination, PdfDocument document, int counter)
    • isDestinationAllowed

      private static boolean isDestinationAllowed(PdfNamedDestination namedDestination, PdfDocument document, int counter)
    • isDestinationAllowed

      private static boolean isDestinationAllowed(PdfStringDestination stringDestination, PdfDocument document, int counter)
    • isDestinationAllowed

      private static boolean isDestinationAllowed(PdfDictionary destDictionary, PdfDocument document, int counter)
    • isActionAllowed

      private static boolean isActionAllowed(PdfAction action, PdfDocument document, int counter)