i-net Clear Reports

Content

The following chapters describes the various things to know when migrating from version 10.x of i-net Crystal-Clear to version 11.x of i-net Clear Reports. If you migrating from older versions of i-net Crystal-Clear then you should read the other migration information depending on the version from that you migrate.

i-net Crystal-Clear has been renamed into i-net Clear Reports

The name of version 2011 (version 11.0) is now i-net Clear Reports. Drop “Crystal”, focus on clear reports - simple name, simple yet powerful reporting: i-net Clear Reports.

Java 6 required

The i-net Designer and the i-net Clear Reports server now requires Java 6 as minimum version of the Java virtual machine. The i-net Clear Reports viewer requires Java 5.

Deprecated report URL parameters are no longer supported

The following deprecated report URL parameters are no longer supported: “dll”, “host”, “catalog”, “database”, “schema”, “user”, “url”. It is recommended to use the report URL parameter “datasource” instead.

Group Name Fields with Date format configurable

It is now possible to configure the group name field of a group on a date and/or time field in the “Property Editor” of the i-net Designer. In previous versions the group name field has displayed a string representation of the date depending on the date and/or time interval of the group. The system formats use the set time interval of the group, e.g. if the field was grouped on “each month” then the group name field contains month and year. With the custom format you can set this yourself.

API Changes

Removed deprecated Methods and Constants

The following methods had been deprecated for longer than 2 major versions and have now been entirely removed in version 11 of i-net Clear Reports.

  • com.inet.designer.BasicDesignerDataModel
    • chooseReportFile(java.awt.Component)
  • com.inet.designer.DesignerDataModel
    • chooseReportFile(java.awt.Component)
  • com.inet.report.AbstractValueElement
    • getDateWindowsDefaultType() replaced by getDateFormatType()
    • setDateWindowsDefaultType(int) replaced by setDateFormatType(int)
    • getDateWindowsDefaultTypeFormula() replaced by getDateFormatTypeFormula()
    • setDateWindowsDefaultTypeFormula(FormulaField) replaced by setDateFormatTypeFormula(FormulaField)
    • setUseSystemDefaultFormat(boolean) replaced by the individual format type method
    • getUseSystemDefaultFormat() replaced by the individual format type method
    • setUseSystemDefaultFormatFormula(FormulaField) replaced by the individual format type method
    • getUseSystemDefaultFormatFormula() replaced by the individual format type method
  • com.inet.report.DatabaseTables
    • createDatasource(String,String,String,String,String,String) replaced by createDatasource(String)
    • createDatasource(String,String,String,String) replaced by createDatasource(String)
  • com.inet.report.Datasource
    • dll_connectionByConfiguration
    • getDll() replaced by getDataSourceConfigurationName()
    • setDll(String) replaced by setDataSourceConfigurationName(String)
  • com.inet.report.Element
    • getHyperlinkType() replaced by getHyperlinkUrl() and getHyperlinkUrlFormula()
    • setHyperlinkType(int) replaced by setHyperlinkUrl(String) and setHyperlinkUrlFormula(FormulaField)
  • com.inet.report.Engine
    • setPath(String, String, String) replaced by ConfigurationManager#setCurrent(com.inet.report.config.Configuration)
    • setPath(java.net.URL) replaced by ConfigurationManager#importFromStream(int, String, java.io.InputStream)
    • getGroupTree(int, int) replaced by #getGroupTree()
  • com.inet.report.GroupTree
    • getData(byte[],int,int) replaced by Engine.getGroupTree()
  • com.inet.report.HyperlinkProperties
    • NO_HYPERLINK
    • FILE_HYPERLINK
    • WEBSITE_HYPERLINK
    • EMAIL_HYPERLINK
    • FIELD_VALUE_HYPERLINK
    • getHyperlinkType() replaced by getHyperlinkUrl() and getHyperlinkUrlFormula()
    • setHyperlinkType(int) replaced by setHyperlinkUrl(String) and setHyperlinkUrlFormula(FormulaField)
  • com.inet.report.RDC
    • getCrystalClearPropertyPath()
    • setConfigurationProperties(Properties)
    • getConfigurationProperties()

Use the following code sample to replace RDC.setConfigurationProperties(Properties p):

Configuration config = ConfigurationManager.getInstance().create( Configuration.SCOPE_TEMP, "xyz" );
config.putAll( props );
ConfigurationManager.getInstance().setCurrent( config ); 
  • com.inet.report.SummaryField
    • getChartSourceIndex() replaced by getName()
    • setChartSourceIndex(int) replaced by setName(String)
  • com.inet.report.ValueProperties
    • USE_WINDOWS_LONG_DATE replaced by USE_SYSTEM_LONG_DATE
    • USE_WINDOWS_SHORT_DATE replaced by USE_SYSTEM_SHORT_DATE
    • NOT_USING_WINDOWS_DEFAULTS replaced by NOT_USING_SYSTEM_DEFAULTS
    • getDateWindowsDefaultType() replaced by getDateFormatType()
    • setDateWindowsDefaultType(int) replaced by setDateFormatType(int)
    • getDateWindowsDefaultTypeFormula() replaced by getDateFormatTypeFormula()
    • setDateWindowsDefaultTypeFormula(FormulaField) replaced by setDateFormatTypeFormula(FormulaField)
    • setUseSystemDefaultFormat(boolean)
    • getUseSystemDefaultFormat()
    • setUseSystemDefaultFormatFormula(FormulaField)
    • getUseSystemDefaultFormatFormula()
 

© Copyright 1996 - 2023, i-net software; All Rights Reserved.