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