Class FactoryProperties
java.lang.Object
com.lowagie.text.html.simpleparser.FactoryProperties
- Author:
- psoares
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateChunk(String text, ChainedProperties props) static ListItemcreateListItem(ChainedProperties props) static ParagraphcreateParagraph(ChainedProperties props) static voidcreateParagraph(Paragraph paragraph, ChainedProperties props) getFont(ChainedProperties props) static HyphenationEventgetHyphenation(ChainedProperties props) Gets a HyphenationEvent based on the hyphenation entry in ChainedProperties.static HyphenationEventGets a HyphenationEvent based on a String.static HyphenationEventgetHyphenation(HashMap props) Gets a HyphenationEvent based on the hyphenation entry in a HashMap.static voidDeprecated.static voidinsertStyle(Map<String, String> h) static voidinsertStyle(Map<String, String> h, ChainedProperties cprops) New method contributed by Lubos StrapkovoidsetFontImp(FontProvider fontImp)
-
Field Details
-
followTags
-
-
Constructor Details
-
FactoryProperties
public FactoryProperties()
-
-
Method Details
-
createParagraph
-
createParagraph
-
createListItem
-
getHyphenation
Gets a HyphenationEvent based on the hyphenation entry in ChainedProperties.- Parameters:
props- ChainedProperties- Returns:
- a HyphenationEvent
- Since:
- 2.1.2
-
getHyphenation
Gets a HyphenationEvent based on the hyphenation entry in a HashMap.- Parameters:
props- a HashMap with properties- Returns:
- a HyphenationEvent
- Since:
- 2.1.2
-
getHyphenation
Gets a HyphenationEvent based on a String. For instance "en_UK,3,2" returns new HyphenationAuto("en", "UK", 3, 2);- Parameters:
s- a String, for instance "en_UK,2,2"- Returns:
- a HyphenationEvent
- Since:
- 2.1.2
-
insertStyle
Deprecated.useinsertStyle(Map)instead. (since 1.2.22)This method isn't used by iText, but you can use it to analyze the value of a style attribute inside a HashMap. The different elements of the style attribute are added to the HashMap as key-value pairs.- Parameters:
h- a HashMap that should have at least a key named style. After this method is invoked, more keys could be added.
-
insertStyle
-
insertStyle
New method contributed by Lubos Strapko- Parameters:
h- a Mapcprops- the ChainedProperties- Since:
- 2.1.3
-
createChunk
-
getFont
-
getFontImp
-
setFontImp
-
insertStyle(Map)instead.