Package com.reportmill.base
Class RMExtras
- java.lang.Object
-
- com.reportmill.base.RMExtras
-
public class RMExtras extends java.lang.ObjectThis file is just meant to hold various utility methods that customers have asked for.
-
-
Constructor Summary
Constructors Constructor Description RMExtras()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidaddToPage(RMDocument aDoc1, RMDocument aDoc2)Adds the contents from second document to the bottom of the first page of first document.static java.lang.StringBuffergetImageMap(RMShape aShape, java.lang.StringBuffer aBuffer)static voidprintNames(RMShape aShape)Prints name of every shape in a templaet heirarchy.static voidprintNames(RMTableGroup aTableGroup, RMTable aTable)Prints name of every shape in table group heirarchy.static voidreplaceGroupingKey(RMShape aShape, java.lang.String aKey1, java.lang.String aKey2)Replaces any grouping key in the template that matches first given key with the second given key.static voidreplaceListKey(RMShape aShape, java.lang.String aListKey1, java.lang.String aListKey2)Replaces any list key in template that matches first given list key with the second given list key.static voidreplaceSort(RMShape aShape, java.lang.String aSort1, java.lang.String aSort2)Replaces any sort in the template that matches first given sort with the second given sort.static voidsetGraphColors(java.lang.Object aSource)Loads a template and sets colors.
-
-
-
Method Detail
-
replaceListKey
public static void replaceListKey(RMShape aShape, java.lang.String aListKey1, java.lang.String aListKey2)
Replaces any list key in template that matches first given list key with the second given list key.
-
replaceGroupingKey
public static void replaceGroupingKey(RMShape aShape, java.lang.String aKey1, java.lang.String aKey2)
Replaces any grouping key in the template that matches first given key with the second given key.
-
replaceSort
public static void replaceSort(RMShape aShape, java.lang.String aSort1, java.lang.String aSort2)
Replaces any sort in the template that matches first given sort with the second given sort.
-
setGraphColors
public static void setGraphColors(java.lang.Object aSource)
Loads a template and sets colors.
-
getImageMap
public static java.lang.StringBuffer getImageMap(RMShape aShape, java.lang.StringBuffer aBuffer)
-
printNames
public static void printNames(RMShape aShape)
Prints name of every shape in a templaet heirarchy.
-
printNames
public static void printNames(RMTableGroup aTableGroup, RMTable aTable)
Prints name of every shape in table group heirarchy.
-
addToPage
public static void addToPage(RMDocument aDoc1, RMDocument aDoc2)
Adds the contents from second document to the bottom of the first page of first document.
-
-