Class RichTextHtmlStyleBuilderFactory
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.layout.richtext.html.RichTextHtmlStyleBuilderFactory
-
public class RichTextHtmlStyleBuilderFactory extends Object
-
-
Constructor Summary
Constructors Constructor Description RichTextHtmlStyleBuilderFactory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configure(org.pentaho.reporting.libraries.base.config.Configuration configuration)
double
fixLengthForSafari(double border)
boolean
isEnableRoundBorderCorner()
boolean
isSafariLengthFix()
boolean
isUseWhitespacePreWrap()
DefaultStyleBuilder
produceTextStyle(DefaultStyleBuilder styleBuilder, StyleSheet styleSheet)
static String
translateHorizontalAlignment(ElementAlignment ea)
Translates the JFreeReport horizontal element alignment into a HTML alignment constant.
-
-
-
Method Detail
-
isSafariLengthFix
public boolean isSafariLengthFix()
-
isUseWhitespacePreWrap
public boolean isUseWhitespacePreWrap()
-
isEnableRoundBorderCorner
public boolean isEnableRoundBorderCorner()
-
produceTextStyle
public DefaultStyleBuilder produceTextStyle(DefaultStyleBuilder styleBuilder, StyleSheet styleSheet)
-
fixLengthForSafari
public double fixLengthForSafari(double border)
-
translateHorizontalAlignment
public static String translateHorizontalAlignment(ElementAlignment ea)
Translates the JFreeReport horizontal element alignment into a HTML alignment constant.- Parameters:
ea
- the element alignment- Returns:
- the translated alignment name.
-
configure
public void configure(org.pentaho.reporting.libraries.base.config.Configuration configuration)
-
-