|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.report.io.MigratorUtil
public class MigratorUtil
Migrator can migrate crystal report to style report.
| Field Summary | |
|---|---|
static String |
SR_EXTENSION
|
static int |
TWIP
|
| Constructor Summary | |
|---|---|
MigratorUtil()
|
|
| Method Summary | |
|---|---|
static String |
genFormulaText(String name)
Generate a formula text by the formula name |
static String |
genSubFileName(String path,
String subSuffix)
Generate the subreport file name from the main report file name |
static String |
getConditionName(String str)
Parse the name of the condition field |
static String |
getFileMainName(String path)
Get the main name of the report file (without path and extension). |
static String |
getFontName(String crFontName)
Get the java font name from crystal report font name. |
static String |
getFormulaName(String str)
Parse the name of the formula object |
static String |
getFormulaText(String text)
Parse formula object's formula to Style Report's script. |
static String |
getGroupName(String str)
Parse the name of the group object |
static Color |
getJavaColor(String colorStr)
Get java color from windows ole color. |
static String |
getJoinType(int crType,
String currentType,
String currentName)
Get Join Type. |
static int |
getLineStyle(int crlinestyle,
String currentType,
String currentName)
Get line styles. |
static int |
getLineStyle(int crlinestyle,
String thicknessStr,
String currentType,
String currentName)
Get line styles. |
static int |
getLineStyle(String crlinestyle,
String currentType,
String currentName)
Get line styles. |
static int |
getLineStyle(String crlinestyle,
String thickness,
String currentType,
String currentName)
Get line styles. |
static String |
getLinkName(String str)
Parse the name of the link |
static int |
getNameFieldType(String str)
Decided the type of the field object by its name str. |
static String |
getRunningTotalName(String str)
Parse the name of the running total object |
static int |
GetSortingMethod(String sort,
String currentType,
String currentName)
Get sorting method. |
static String |
getSummaryName(String str)
Parse the name of the summary field |
static int |
getTextAlignment(int cralign)
Get text alignment. |
static int |
getWarningCount()
|
static boolean |
hasGroupColumn(inetsoft.report.internal.binding.old.GroupAttrOld group,
String col)
Judge if the column is already used as a group column. |
static void |
resetWarningCount()
|
static String |
substring(String str,
String prefix,
String suffix)
substring("abcdefgh", "bc", "fg") = "de" |
static void |
Warning(String msg)
Write a warning note the Migrator log. |
static void |
Warning(String msg,
boolean stderr)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int TWIP
public static final String SR_EXTENSION
| Constructor Detail |
|---|
public MigratorUtil()
| Method Detail |
|---|
public static String substring(String str,
String prefix,
String suffix)
public static String getRunningTotalName(String str)
public static String getLinkName(String str)
public static String getGroupName(String str)
public static String getSummaryName(String str)
public static String getConditionName(String str)
public static String getFormulaName(String str)
public static int getNameFieldType(String str)
public static Color getJavaColor(String colorStr)
public static int getTextAlignment(int cralign)
public static String getFontName(String crFontName)
public static String getFormulaText(String text)
public static String genFormulaText(String name)
public static String getFileMainName(String path)
public static String genSubFileName(String path,
String subSuffix)
public static int GetSortingMethod(String sort,
String currentType,
String currentName)
public static int getLineStyle(String crlinestyle,
String currentType,
String currentName)
public static int getLineStyle(String crlinestyle,
String thickness,
String currentType,
String currentName)
public static int getLineStyle(int crlinestyle,
String currentType,
String currentName)
public static int getLineStyle(int crlinestyle,
String thicknessStr,
String currentType,
String currentName)
public static String getJoinType(int crType,
String currentType,
String currentName)
public static void Warning(String msg)
public static void Warning(String msg,
boolean stderr)
public static void resetWarningCount()
public static int getWarningCount()
public static boolean hasGroupColumn(inetsoft.report.internal.binding.old.GroupAttrOld group,
String col)
|
Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||