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) 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) Applies a link annotation.- Parameters:
-
container
- the containing object -
url
- the destination
-
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
-