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) Deprecated.static void
applyLinkAnnotation
(com.itextpdf.layout.IPropertyContainer container, String url, ProcessorContext context) Deprecated.static void
applyLinkAnnotation
(com.itextpdf.layout.IPropertyContainer container, String url, ProcessorContext context, com.itextpdf.styledxmlparser.node.IElementNode element) Applies a link annotation.static void
applyLinkAnnotation
(com.itextpdf.layout.IPropertyContainer container, String url, ProcessorContext context, String alternateDescription) Deprecated.static void
createDestination
(ITagWorker tagWorker, com.itextpdf.styledxmlparser.node.IElementNode element, ProcessorContext context) Creates a destination
-
Method Details
-
applyLinkAnnotation
@Deprecated public static void applyLinkAnnotation(com.itextpdf.layout.IPropertyContainer container, String url) Deprecated.in favour ofapplyLinkAnnotation(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
-
applyLinkAnnotation(IPropertyContainer container, String url, ProcessorContext context)