net.sf.dynamicreports.design.transformation
Class StyleResolver
java.lang.Object
net.sf.dynamicreports.design.transformation.StyleResolver
public class StyleResolver
- extends Object
- Author:
- Ricardo Mariaca (r.mariaca@dynamicreports.org)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StyleResolver
public StyleResolver()
getFontWidth
protected static int getFontWidth(DRDesignStyle style,
int columns)
getFontHeight
protected static int getFontHeight(DRDesignStyle style,
int rows)
getFontWidth
public static double getFontWidth(DRFont font)
getFontHeight
public static double getFontHeight(DRFont font)
getFontName
protected static String getFontName(DRDesignStyle style)
getFontSize
protected static Integer getFontSize(DRDesignStyle style)
getFontBold
protected static Boolean getFontBold(DRDesignStyle style)
getFontItalic
protected static Boolean getFontItalic(DRDesignStyle style)
getFontUnderline
protected static Boolean getFontUnderline(DRDesignStyle style)
getFontStrikeThrough
protected static Boolean getFontStrikeThrough(DRDesignStyle style)
getPdfFontName
protected static String getPdfFontName(DRDesignStyle style)
getPdfEncoding
protected static String getPdfEncoding(DRDesignStyle style)
getPdfEmbedded
protected static Boolean getPdfEmbedded(DRDesignStyle style)
getHorizontalPadding
public static int getHorizontalPadding(DRIDesignStyle style)
getVerticalPadding
public static int getVerticalPadding(DRIDesignStyle style)
getPattern
public static String getPattern(DRDesignStyle style)
getHorizontalAlignment
public static HorizontalAlignment getHorizontalAlignment(DRDesignStyle style)
getBackgroundColor
public static Color getBackgroundColor(DRIReportStyle reportStyle,
StyleTransform transform)
mergeColors
public static Color mergeColors(Color color1,
Color color2,
float percent)
Copyright © 2010-2014. All Rights Reserved.