Class LinkHelper
java.lang.Object
com.itextpdf.html2pdf.attach.util.LinkHelper
Helper class for links.
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
applyLinkAnnotation
(com.itextpdf.layout.IPropertyContainer container, String url, ProcessorContext context, com.itextpdf.styledxmlparser.node.IElementNode element) Applies a link annotation.static void
createDestination
(ITagWorker tagWorker, com.itextpdf.styledxmlparser.node.IElementNode element, ProcessorContext context) Creates a destination
-
Method Details
-
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
-