public class FactoryProperties extends Object
Modifier and Type | Field and Description |
---|---|
static Map<String,String> |
followTags |
Constructor and Description |
---|
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 paragraph,
ChainedProperties props) |
Font |
getFont(ChainedProperties props) |
FontProvider |
getFontImp() |
static HyphenationEvent |
getHyphenation(ChainedProperties props)
Gets a HyphenationEvent based on the hyphenation entry in ChainedProperties.
|
static HyphenationEvent |
getHyphenation(HashMap props)
Gets a HyphenationEvent based on the hyphenation entry in a HashMap.
|
static HyphenationEvent |
getHyphenation(String s)
Gets a HyphenationEvent based on a String.
|
static void |
insertStyle(HashMap h)
Deprecated.
use
insertStyle(Map) instead. (since 1.2.22) |
static void |
insertStyle(Map<String,String> h) |
static void |
insertStyle(Map<String,String> h,
ChainedProperties cprops)
New method contributed by Lubos Strapko
|
void |
setFontImp(FontProvider fontImp) |
public static void createParagraph(Paragraph paragraph, ChainedProperties props)
public static Paragraph createParagraph(ChainedProperties props)
public static ListItem createListItem(ChainedProperties props)
public static HyphenationEvent getHyphenation(ChainedProperties props)
props
- ChainedPropertiespublic static HyphenationEvent getHyphenation(HashMap props)
props
- a HashMap with properties@Nullable public static HyphenationEvent getHyphenation(@Nullable String s)
s
- a String, for instance "en_UK,2,2"@Deprecated public static void insertStyle(HashMap h)
insertStyle(Map)
instead. (since 1.2.22)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(Map<String,String> h, ChainedProperties cprops)
h
- cprops
- public Chunk createChunk(String text, ChainedProperties props)
public Font getFont(ChainedProperties props)
public FontProvider getFontImp()
public void setFontImp(FontProvider fontImp)
Copyright © 2020. All rights reserved.