public class AutoGeneratorUtility extends Object
public static Group[] getGroups(ReportDefinition definition)
public static String generateUniqueExpressionName(DataSchema dataSchema, String pattern, String[] extraColumns) throws ReportProcessingException
ReportProcessingException
public static String generateUniqueExpressionName(DataSchema dataSchema, String pattern, AbstractReportDefinition extraColumns) throws ReportProcessingException
ReportProcessingException
public static float[] computeFieldWidths(Float[] fieldDescriptions, float pageWidth)
fieldDescriptions
- pageWidth
- public static Element generateFooterElement(Class aggregationType, ElementType targetType, String group, String fieldName)
public static Element generateDetailsElement(String fieldName, ElementType targetType)
public static Number createFieldWidth(DataAttributes attributes, DataAttributeContext context)
public static String createFieldName(DataAttributes attributes, DataAttributeContext context)
public static ElementType createFieldType(DataAttributes attributes, DataAttributeContext context)
public static ElementType createFieldType(Class type)
public static String computeFormatString(DataAttributes attributes, DataAttributeContext context)
public static boolean isIgnorable(DataAttributes attributes, DataAttributeContext context)
Copyright © 2017 Hitachi Vantara. All rights reserved.