java.lang.Object
com.lowagie.text.pdf.PdfNameTree
Deprecated.
Creates a name tree.
- Author:
- Paulo Soares (psoares@consiste.pt)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreadTree(PdfDictionary dic) Deprecated.static PdfDictionaryDeprecated.Writes a name tree to a PdfWriter.static PdfDictionaryDeprecated.Writes a name tree to a PdfWriter.
-
Constructor Details
-
PdfNameTree
public PdfNameTree()Deprecated.
-
-
Method Details
-
writeTree
public static PdfDictionary writeTree(HashMap<String, ? extends PdfObject> items, PdfWriter writer) throws IOExceptionDeprecated.Writes a name tree to a PdfWriter.- Parameters:
items- the item of the name tree. The key is aStringand the value is aPdfObject. Note that although the keys are strings only the lower byte is used and no check is made for chars with the same lower byte and different upper byte. This will generate a wrong tree name.writer- the writer- Returns:
- the dictionary with the name tree. This dictionary is the one generally pointed to by the key /Dests, for example
- Throws:
IOException- on error
-
writeTree
public static PdfDictionary writeTree(Map<String, ? extends PdfObject> items, PdfWriter writer) throws IOExceptionDeprecated.Writes a name tree to a PdfWriter.- Parameters:
items- the item of the name tree. The key is aStringand the value is aPdfObject. Note that although the keys are strings only the lower byte is used and no check is made for chars with the same lower byte and different upper byte. This will generate a wrong tree name.writer- the writer- Returns:
- the dictionary with the name tree. This dictionary is the one generally pointed to by the key /Dests, for example
- Throws:
IOException- on error
-
readTree
Deprecated.
-