public class FactoryProperties extends Object
Modifier and Type | Field and Description |
---|---|
static HashMap |
followTags |
Constructor and Description |
---|
FactoryProperties()
Creates a new instance of FactoryProperties
|
Modifier and Type | Method and Description |
---|---|
Chunk |
createChunk(String text,
ChainedProperties props) |
static ListItem |
createListItem(ChainedProperties props) |
static Paragraph |
createParagraph(ChainedProperties props) |
static void |
createParagraph(Paragraph p,
ChainedProperties props) |
Font |
getFont(ChainedProperties props) |
FontProvider |
getFontImp() |
static HyphenationEvent |
getHyphenation(HashMap props)
Gets a HyphenationEvent based on the hyphenation entry in a HashMap.
|
static HyphenationEvent |
getHyphenation(ChainedProperties props)
Gets a HyphenationEvent based on the hyphenation entry in ChainedProperties.
|
static HyphenationEvent |
getHyphenation(String s)
Gets a HyphenationEvent based on a String.
|
static void |
insertStyle(HashMap h)
This method isn't used by iText, but you can use it to analyze
the value of a style attribute inside a HashMap.
|
static void |
insertStyle(HashMap h,
ChainedProperties cprops)
New method contributed by Lubos Strapko
|
void |
setFontImp(FontProvider fontImp) |
public static HashMap followTags
public FactoryProperties()
public Chunk createChunk(String text, ChainedProperties props)
public static void createParagraph(Paragraph p, ChainedProperties props)
public static Paragraph createParagraph(ChainedProperties props)
public static ListItem createListItem(ChainedProperties props)
public Font getFont(ChainedProperties props)
public static HyphenationEvent getHyphenation(ChainedProperties props)
props
- ChainedPropertiespublic static HyphenationEvent getHyphenation(HashMap props)
props
- a HashMap with propertiespublic static HyphenationEvent getHyphenation(String s)
s
- a String, for instance "en_UK,2,2"public static void insertStyle(HashMap h)
h
- a HashMap that should have at least a key named
style. After this method is invoked, more keys could be added.public static void insertStyle(HashMap h, ChainedProperties cprops)
h
- cprops
- public FontProvider getFontImp()
public void setFontImp(FontProvider fontImp)
Copyright © 2015. All rights reserved.