Top Fields Constructors Methods
com.openhtmltopdf.css.style

public Class FontSizeHelper

extends Object
Class Inheritance
Imports
java.util.Iterator, .LinkedHashMap, com.openhtmltopdf.css.constants.IdentValue, com.openhtmltopdf.css.parser.CSSPrimitiveValue, .PropertyValue

Field Summary

Modifier and TypeField and Description
private static final PropertyValue
private static final PropertyValue
private static final LinkedHashMap<IdentValue, PropertyValue>
private static final LinkedHashMap<IdentValue, PropertyValue>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static PropertyValue
public static IdentValue
public static IdentValue
private static boolean
isMonospace(String[] fontFamilies)

public static PropertyValue
resolveAbsoluteFontSize(IdentValue fontSize, String[] fontFamilies)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

DEFAULT_LARGERback to summary
private static final PropertyValue DEFAULT_LARGER
DEFAULT_SMALLERback to summary
private static final PropertyValue DEFAULT_SMALLER
FIXED_FONT_SIZESback to summary
private static final LinkedHashMap<IdentValue, PropertyValue> FIXED_FONT_SIZES
PROPORTIONAL_FONT_SIZESback to summary
private static final LinkedHashMap<IdentValue, PropertyValue> PROPORTIONAL_FONT_SIZES

Constructor Detail

FontSizeHelperback to summary
public FontSizeHelper()

Method Detail

getDefaultRelativeFontSizeback to summary
public static PropertyValue getDefaultRelativeFontSize(IdentValue fontSize)
getNextLargerback to summary
public static IdentValue getNextLarger(IdentValue absFontSize)
getNextSmallerback to summary
public static IdentValue getNextSmaller(IdentValue absFontSize)
isMonospaceback to summary
private static boolean isMonospace(String[] fontFamilies)
resolveAbsoluteFontSizeback to summary
public static PropertyValue resolveAbsoluteFontSize(IdentValue fontSize, String[] fontFamilies)