Class RMExtras


  • public class RMExtras
    extends java.lang.Object
    This 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 void addToPage​(RMDocument aDoc1, RMDocument aDoc2)
      Adds the contents from second document to the bottom of the first page of first document.
      static java.lang.StringBuffer getImageMap​(RMShape aShape, java.lang.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, 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 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.
      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.
      static void setGraphColors​(java.lang.Object aSource)
      Loads a template and sets colors.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RMExtras

        public RMExtras()
    • 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.