Class RMExtras

java.lang.Object
com.reportmill.base.RMExtras

public class RMExtras extends Object
This file is just meant to hold various utility methods that customers have asked for.
  • Constructor Details

    • RMExtras

      public RMExtras()
  • Method Details

    • replaceListKey

      public 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.
    • replaceGroupingKey

      public 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.
    • replaceSort

      public 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.
    • setGraphColors

      public static void setGraphColors(Object aSource)
      Loads a template and sets colors.
    • getImageMap

      public static StringBuffer getImageMap(RMShape aShape, 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.