public class OutlineHandler extends Object
OutlineHandler handles creating outlines for tags.
This class is not reusable and a new instance shall be created for every new conversion process.
| Constructor and Description |
|---|
OutlineHandler() |
| Modifier and Type | Method and Description |
|---|---|
static OutlineHandler |
createStandardHandler()
Creates an OutlineHandler with standard predefined mappings.
|
Integer |
getTagPriorityMapping(String tagName)
Gets the tag priority mapping.
|
boolean |
hasTagPriorityMapping(String tagName)
Checks for tag priority mapping.
|
OutlineHandler |
putAllTagPriorityMappings(Map<String,Integer> mappings)
Put all tag priority mappings.
|
OutlineHandler |
putTagPriorityMapping(String tagName,
Integer priority)
Put tag priority mapping.
|
void |
reset()
Resets the current state so that this
OutlineHandler is ready to process new document |
public static OutlineHandler createStandardHandler()
public OutlineHandler putTagPriorityMapping(String tagName, Integer priority)
tagName - the tag namepriority - the prioritypublic OutlineHandler putAllTagPriorityMappings(Map<String,Integer> mappings)
mappings - the mappingspublic Integer getTagPriorityMapping(String tagName)
tagName - the tag namepublic boolean hasTagPriorityMapping(String tagName)
tagName - the tag namepublic void reset()
OutlineHandler is ready to process new documentCopyright © 1998–2018 iText Group NV. All rights reserved.