xmlMeasure.visible = false; MondrianDef.Annotation internalUsage = new MondrianDef.Annotation(); internalUsage.name = "Internal Use"; internalUsage.cdata = "For internal use";
MondrianDef.Annotation inline = new MondrianDef.Annotation(); inline.name = AnnotationConstants.INLINE_ANNOTATION_CREATED_INLINE; inline.cdata = isInline() ? Boolean.TRUE.toString() : Boolean.FALSE.toString(); MondrianDef.Annotation formatScaleAnnotation = new MondrianDef.Annotation(); formatScaleAnnotation.name = AnnotationConstants.INLINE_ANNOTATION_FORMAT_SCALE; formatScaleAnnotation.cdata = String.valueOf( this.getDecimalPlaces() ); MondrianDef.Annotation formatCategoryAnnotation = new MondrianDef.Annotation(); formatCategoryAnnotation.name = AnnotationConstants.INLINE_ANNOTATION_FORMAT_CATEGORY; formatCategoryAnnotation.cdata = this.getFormatCategory(); MondrianDef.Annotation formulaExpressionAnnotation = new MondrianDef.Annotation(); formulaExpressionAnnotation.name = AnnotationConstants.INLINE_ANNOTATION_FORMULA_EXPRESSION; formulaExpressionAnnotation.cdata = this.getFormula(); MondrianDef.Annotation calcSubtotalsAnnotation = new MondrianDef.Annotation(); calcSubtotalsAnnotation.name = AnnotationConstants.INLINE_ANNOTATION_CALCULATE_SUBTOTALS; calcSubtotalsAnnotation.cdata = isCalculateSubtotals() ? Boolean.TRUE.toString() : Boolean.FALSE.toString();
MondrianDef.Annotation inline = new MondrianDef.Annotation(); inline.name = AnnotationConstants.INLINE_ANNOTATION_CREATED_INLINE; inline.cdata = isInline() ? "true" : "false"; MondrianDef.Annotation formatScaleAnnotation = new MondrianDef.Annotation(); formatScaleAnnotation.name = AnnotationConstants.INLINE_ANNOTATION_FORMAT_SCALE; formatScaleAnnotation.cdata = String.valueOf( this.getDecimalPlaces() ); MondrianDef.Annotation formatCategoryAnnotation = new MondrianDef.Annotation(); formatCategoryAnnotation.name = AnnotationConstants.INLINE_ANNOTATION_FORMAT_CATEGORY; formatCategoryAnnotation.cdata = this.getFormatCategory(); MondrianDef.Annotation formulaExpressionAnnotation = new MondrianDef.Annotation(); formulaExpressionAnnotation.name = AnnotationConstants.INLINE_ANNOTATION_FORMULA_EXPRESSION; formulaExpressionAnnotation.cdata = this.getFormula(); MondrianDef.Annotation calcSubtotalsAnnotation = new MondrianDef.Annotation(); calcSubtotalsAnnotation.name = AnnotationConstants.INLINE_ANNOTATION_CALCULATE_SUBTOTALS; calcSubtotalsAnnotation.cdata = isCalculateSubtotals() ? "true" : "false";