public JRBaseReportTemplate(JRReportTemplate reportTemplate, JRAbstractObjectFactory factory) { factory.put(reportTemplate, this); sourceExpression = factory.getExpression(reportTemplate.getSourceExpression()); }
factory.setStyle(new JRStyleSetter() this.conditionalStyles = new JRConditionalStyle[condStyles.length]; for (int i = 0; i < condStyles.length; i++) { this.conditionalStyles[i] = factory.getConditionalStyle(condStyles[i], this);
public JRExpression getExpression(JRExpression expression) { return getExpression(expression, false); } }
public JRBaseConditionalStyle(JRConditionalStyle style, JRStyle parentStyle, JRAbstractObjectFactory factory) { this.parentStyle = parentStyle; mode = style.getOwnMode(); forecolor = style.getOwnForecolor(); backcolor = style.getOwnBackcolor(); linePen = style.getLinePen().clone(this); fill = style.getOwnFill(); radius = style.getOwnRadius(); scaleImage = style.getOwnScaleImage(); horizontalAlignment = style.getOwnHorizontalAlignment(); verticalAlignment = style.getOwnVerticalAlignment(); lineBox = style.getLineBox().clone(this); rotation = style.getOwnRotation(); lineSpacing = style.getOwnLineSpacing(); markup = style.getOwnMarkup(); pattern = style.getOwnPattern(); fontName = style.getOwnFontName(); isBold = style.isOwnBold(); isItalic = style.isOwnItalic(); isUnderline = style.isOwnUnderline(); isStrikeThrough = style.isOwnStrikeThrough(); fontSize = style.getOwnFontSize(); pdfFontName = style.getOwnPdfFontName(); pdfEncoding = style.getOwnPdfEncoding(); isPdfEmbedded = style.isOwnPdfEmbedded(); conditionExpression = factory.getExpression(style.getConditionExpression(), true); }