Class LinkHelper

java.lang.Object
com.itextpdf.html2pdf.attach.util.LinkHelper

public class LinkHelper extends Object
Helper class for links.
  • Method Details

    • applyLinkAnnotation

      @Deprecated public static void applyLinkAnnotation (com.itextpdf.layout.IPropertyContainer container, String url)
      Deprecated.
      in favour of applyLinkAnnotation(IPropertyContainer container, String url, ProcessorContext context)
      Applies a link annotation.
      Parameters:
      container - the containing object
      url - the destination
    • applyLinkAnnotation

      @Deprecated public static void applyLinkAnnotation (com.itextpdf.layout.IPropertyContainer container, String url, ProcessorContext context)
      Deprecated.
      Applies a link annotation.
      Parameters:
      container - the containing object.
      url - the destination.
      context - the processor context.
    • applyLinkAnnotation

      @Deprecated public static void applyLinkAnnotation (com.itextpdf.layout.IPropertyContainer container, String url, ProcessorContext context, String alternateDescription)
      Deprecated.
      Applies a link annotation.
      Parameters:
      container - the containing object.
      url - the destination.
      context - the processor context.
      alternateDescription - description for a link.
    • applyLinkAnnotation

      public static void applyLinkAnnotation (com.itextpdf.layout.IPropertyContainer container, String url, ProcessorContext context, com.itextpdf.styledxmlparser.node.IElementNode element)
      Applies a link annotation.
      Parameters:
      container - the containing object.
      url - the destination.
      context - the processor context.
      element - the element node.
    • createDestination

      public static void createDestination (ITagWorker tagWorker, com.itextpdf.styledxmlparser.node.IElementNode element, ProcessorContext context)
      Creates a destination
      Parameters:
      tagWorker - the tagworker that is building the (iText) element
      element - the (HTML) element being converted
      context - the Processor context