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 name
priority
- the priority
public OutlineHandler putAllTagPriorityMappings(Map<String,Integer> mappings)
mappings
- the mappings
public Integer getTagPriorityMapping(String tagName)
tagName
- the tag name
public boolean hasTagPriorityMapping(String tagName)
tagName
- the tag name
public void reset()
OutlineHandler
is ready to process new document
Copyright © 1998–2020 iText Group NV. All rights reserved.