public class StyleResolver extends Object
StyleResolver class.
Constructor and Description |
---|
StyleResolver() |
Modifier and Type | Method and Description |
---|---|
static Color |
getBackgroundColor(DRIReportStyle reportStyle,
StyleTransform transform)
getBackgroundColor.
|
protected static Boolean |
getFontBold(DRDesignStyle style)
getFontBold.
|
protected static int |
getFontHeight(DRDesignStyle style,
int rows)
getFontHeight.
|
static double |
getFontHeight(DRFont font)
getFontHeight.
|
protected static Boolean |
getFontItalic(DRDesignStyle style)
getFontItalic.
|
protected static String |
getFontName(DRDesignStyle style)
getFontName.
|
protected static Integer |
getFontSize(DRDesignStyle style)
getFontSize.
|
protected static Boolean |
getFontStrikeThrough(DRDesignStyle style)
getFontStrikeThrough.
|
protected static Boolean |
getFontUnderline(DRDesignStyle style)
getFontUnderline.
|
protected static int |
getFontWidth(DRDesignStyle style,
int columns)
getFontWidth.
|
static double |
getFontWidth(DRFont font)
getFontWidth.
|
static HorizontalImageAlignment |
getHorizontalImageAlignment(DRDesignStyle style)
getHorizontalImageAlignment.
|
static int |
getHorizontalPadding(DRIDesignStyle style)
getHorizontalPadding.
|
static HorizontalTextAlignment |
getHorizontalTextAlignment(DRDesignStyle style)
getHorizontalTextAlignment.
|
static String |
getPattern(DRDesignStyle style)
getPattern.
|
protected static Boolean |
getPdfEmbedded(DRDesignStyle style)
getPdfEmbedded.
|
protected static String |
getPdfEncoding(DRDesignStyle style)
getPdfEncoding.
|
protected static String |
getPdfFontName(DRDesignStyle style)
getPdfFontName.
|
static int |
getVerticalPadding(DRIDesignStyle style)
getVerticalPadding.
|
static Color |
mergeColors(Color color1,
Color color2,
float percent)
mergeColors.
|
protected static int getFontWidth(DRDesignStyle style, int columns)
getFontWidth.
style
- a DRDesignStyle
object.columns
- a int.protected static int getFontHeight(DRDesignStyle style, int rows)
getFontHeight.
style
- a DRDesignStyle
object.rows
- a int.public static double getFontWidth(DRFont font)
getFontWidth.
font
- a DRFont
object.public static double getFontHeight(DRFont font)
getFontHeight.
font
- a DRFont
object.protected static String getFontName(DRDesignStyle style)
getFontName.
style
- a DRDesignStyle
object.String
object.protected static Integer getFontSize(DRDesignStyle style)
getFontSize.
style
- a DRDesignStyle
object.Integer
object.protected static Boolean getFontBold(DRDesignStyle style)
getFontBold.
style
- a DRDesignStyle
object.Boolean
object.protected static Boolean getFontItalic(DRDesignStyle style)
getFontItalic.
style
- a DRDesignStyle
object.Boolean
object.protected static Boolean getFontUnderline(DRDesignStyle style)
getFontUnderline.
style
- a DRDesignStyle
object.Boolean
object.protected static Boolean getFontStrikeThrough(DRDesignStyle style)
getFontStrikeThrough.
style
- a DRDesignStyle
object.Boolean
object.protected static String getPdfFontName(DRDesignStyle style)
getPdfFontName.
style
- a DRDesignStyle
object.String
object.protected static String getPdfEncoding(DRDesignStyle style)
getPdfEncoding.
style
- a DRDesignStyle
object.String
object.protected static Boolean getPdfEmbedded(DRDesignStyle style)
getPdfEmbedded.
style
- a DRDesignStyle
object.Boolean
object.public static int getHorizontalPadding(DRIDesignStyle style)
getHorizontalPadding.
style
- a DRIDesignStyle
object.public static int getVerticalPadding(DRIDesignStyle style)
getVerticalPadding.
style
- a DRIDesignStyle
object.public static String getPattern(DRDesignStyle style)
getPattern.
style
- a DRDesignStyle
object.String
object.public static HorizontalTextAlignment getHorizontalTextAlignment(DRDesignStyle style)
getHorizontalTextAlignment.
style
- a DRDesignStyle
object.HorizontalTextAlignment
object.public static HorizontalImageAlignment getHorizontalImageAlignment(DRDesignStyle style)
getHorizontalImageAlignment.
style
- a DRDesignStyle
object.HorizontalImageAlignment
object.public static Color getBackgroundColor(DRIReportStyle reportStyle, StyleTransform transform)
getBackgroundColor.
reportStyle
- a DRIReportStyle
object.transform
- a StyleTransform
object.Color
object.Copyright © 2010–2021. All rights reserved.