public class LinkContext extends Object
This class is not reusable and a new instance shall be created for every new conversion process.
Constructor and Description |
---|
LinkContext()
Construct an (empty) LinkContext
|
Modifier and Type | Method and Description |
---|---|
boolean |
isUsedLinkDestination(String linkDestination)
Returns whether a given (internal) link destination is used by at least one href element in the document
|
LinkContext |
scanForIds(com.itextpdf.styledxmlparser.node.INode root)
Scan the DOM tree for all (internal) link targets
|
public LinkContext scanForIds(com.itextpdf.styledxmlparser.node.INode root)
root
- the DOM tree root node
public boolean isUsedLinkDestination(String linkDestination)
linkDestination
- link destination
Copyright © 1998–2019 iText Group NV. All rights reserved.