StyleResolver
and StyleUtil
.public final class JRStyleResolver extends Object
public static JRStyle getBaseStyle(JRStyleContainer styleContainer)
public static ModeEnum getMode(JRCommonElement element, ModeEnum defaultMode)
public static Color getForecolor(JRCommonElement element)
public static Color getForecolor(JRChartPlot plot)
public static Color getBackcolor(JRCommonElement element)
public static Color getBackcolor(JRChartPlot plot)
public static LineStyleEnum getLineStyleValue(JRPen pen)
public static LineStyleEnum getLineStyleValue(JRBoxPen boxPen)
public static FillEnum getFillValue(JRCommonGraphicElement element)
public static int getRadius(JRCommonRectangle rectangle)
public static ScaleImageEnum getScaleImageValue(JRCommonImage image)
public static ScaleImageEnum getScaleImageValue(JRStyle style)
public static HorizontalAlignEnum getHorizontalAlignmentValue(JRAlignment alignment)
getHorizontalTextAlign(JRTextAlignment)
and getHorizontalImageAlign(JRImageAlignment)
.public static HorizontalTextAlignEnum getHorizontalTextAlign(JRTextAlignment alignment)
public static HorizontalImageAlignEnum getHorizontalImageAlign(JRImageAlignment alignment)
public static HorizontalAlignEnum getHorizontalAlignmentValue(JRStyle style)
getHorizontalTextAlign(JRStyle)
and getHorizontalImageAlign(JRStyle)
.public static HorizontalTextAlignEnum getHorizontalTextAlign(JRStyle style)
public static HorizontalImageAlignEnum getHorizontalImageAlign(JRStyle style)
public static VerticalAlignEnum getVerticalAlignmentValue(JRAlignment alignment)
getVerticalTextAlign(JRTextAlignment)
and getVerticalImageAlign(JRImageAlignment)
.public static VerticalTextAlignEnum getVerticalTextAlign(JRTextAlignment alignment)
public static VerticalImageAlignEnum getVerticalImageAlign(JRImageAlignment alignment)
public static Byte getVerticalAlignment(JRStyle style)
public static VerticalAlignEnum getVerticalAlignmentValue(JRStyle style)
getVerticalTextAlign(JRStyle)
and getVerticalImageAlign(JRStyle)
.public static VerticalTextAlignEnum getVerticalTextAlign(JRStyle style)
public static VerticalImageAlignEnum getVerticalImageAlign(JRStyle style)
public static Float getLineSpacingSize(JRParagraph paragraph)
public static Integer getFirstLineIndent(JRParagraph paragraph)
public static Integer getLeftIndent(JRParagraph paragraph)
public static Integer getRightIndent(JRParagraph paragraph)
public static Integer getSpacingBefore(JRParagraph paragraph)
public static Integer getSpacingAfter(JRParagraph paragraph)
public static Integer getTabStopWidth(JRParagraph paragraph)
public static TabStop[] getTabStops(JRParagraph paragraph)
public static RotationEnum getRotationValue(JRCommonText element)
public static RotationEnum getRotationValue(JRStyle style)
public static LineSpacingEnum getLineSpacingValue(JRCommonText element)
getLineSpacing(JRParagraph)
.public static LineSpacingEnum getLineSpacingValue(JRStyle style)
getLineSpacing(JRParagraph)
.public static LineSpacingEnum getLineSpacing(JRParagraph paragraph)
public static String getMarkup(JRCommonText element)
public static String getPattern(JRTextField element)
public static boolean isBlankWhenNull(JRTextField element)
public static boolean isBold(JRFont font)
public static boolean isItalic(JRFont font)
public static boolean isUnderline(JRFont font)
public static boolean isStrikeThrough(JRFont font)
public static float getFontsize(JRFont font)
public static int getFontSize(JRFont font)
getFontsize(JRFont)
.public static Integer getFontSize(JRStyle style)
getFontsize(JRStyle)
.public static boolean isPdfEmbedded(JRFont font)
public static void appendStyle(JRStyle destStyle, JRStyle srcStyle)
StyleUtil.appendStyle(JRStyle, JRStyle)
.public static void appendPen(JRPen destPen, JRPen srcPen)
StyleUtil.appendPen(JRPen, JRPen)
.public static void appendBox(JRLineBox destBox, JRLineBox srcBox)
StyleUtil.appendBox(JRLineBox, JRLineBox)
.public static void appendParagraph(JRParagraph destParagraph, JRParagraph srcParagraph)
StyleUtil.appendParagraph(JRParagraph, JRParagraph)
.public static Color getCategoryAxisLabelColor(JRCategoryAxisFormat axisFormat, JRChartPlot plot)
public static Color getCategoryAxisTickLabelColor(JRCategoryAxisFormat axisFormat, JRChartPlot plot)
public static Color getCategoryAxisLineColor(JRCategoryAxisFormat axisFormat, JRChartPlot plot)
public static Color getValueAxisLabelColor(JRValueAxisFormat axisFormat, JRChartPlot plot)
public static Color getValueAxisTickLabelColor(JRValueAxisFormat axisFormat, JRChartPlot plot)
public static Color getValueAxisLineColor(JRValueAxisFormat axisFormat, JRChartPlot plot)
public static Color getXAxisLabelColor(JRXAxisFormat axisFormat, JRChartPlot plot)
public static Color getXAxisTickLabelColor(JRXAxisFormat axisFormat, JRChartPlot plot)
public static Color getXAxisLineColor(JRXAxisFormat axisFormat, JRChartPlot plot)
public static Color getYAxisLabelColor(JRYAxisFormat axisFormat, JRChartPlot plot)
public static Color getYAxisTickLabelColor(JRYAxisFormat axisFormat, JRChartPlot plot)
public static Color getYAxisLineColor(JRYAxisFormat axisFormat, JRChartPlot plot)
public static Color getTimeAxisLabelColor(JRTimeAxisFormat axisFormat, JRChartPlot plot)
public static Color getTimeAxisTickLabelColor(JRTimeAxisFormat axisFormat, JRChartPlot plot)
public static Color getTimeAxisLineColor(JRTimeAxisFormat axisFormat, JRChartPlot plot)
Copyright © 2017. All rights reserved.