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 SummaryConstructors Constructor Description RMExtras()
 - 
Method SummaryAll 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- 
replaceListKeypublic 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.
 - 
replaceGroupingKeypublic 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.
 - 
replaceSortpublic 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.
 - 
setGraphColorspublic static void setGraphColors(java.lang.Object aSource) Loads a template and sets colors.
 - 
getImageMappublic static java.lang.StringBuffer getImageMap(RMShape aShape, java.lang.StringBuffer aBuffer) 
 - 
printNamespublic static void printNames(RMShape aShape) Prints name of every shape in a templaet heirarchy.
 - 
printNamespublic static void printNames(RMTableGroup aTableGroup, RMTable aTable) Prints name of every shape in table group heirarchy.
 - 
addToPagepublic static void addToPage(RMDocument aDoc1, RMDocument aDoc2) Adds the contents from second document to the bottom of the first page of first document.
 
- 
 
-