public class FopConfigUtil extends Object
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
log |
Constructor and Description |
---|
FopConfigUtil() |
Modifier and Type | Method and Description |
---|---|
protected static void |
addFontTriplet(StringBuilder result,
FontTriplet fontTriplet) |
protected static void |
addFontTriplet(StringBuilder result,
String familyName,
String style,
String weight) |
static String |
createDefaultConfiguration(Mapper fontMapper,
Set<String> fontsInUse) |
protected static void |
declareFonts(Mapper fontMapper,
Set<String> fontsInUse,
StringBuilder result)
Create a FOP font configuration for each font used in the
document.
|
protected static String |
weightToCSS2FontWeight(int i) |
public static String createDefaultConfiguration(Mapper fontMapper, Set<String> fontsInUse) throws Docx4JException
Docx4JException
protected static void declareFonts(Mapper fontMapper, Set<String> fontsInUse, StringBuilder result)
protected static void addFontTriplet(StringBuilder result, FontTriplet fontTriplet)
protected static void addFontTriplet(StringBuilder result, String familyName, String style, String weight)
protected static String weightToCSS2FontWeight(int i)
Copyright © 2007-2019. All Rights Reserved.