public class RMExtras
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
RMExtras.Category
Movie category constant type.
|
static class |
RMExtras.Movie
A movie class.
|
static class |
RMExtras.MovieRole
A movie role class.
|
static class |
RMExtras.Studio
A movie class.
|
Constructor and Description |
---|
RMExtras() |
Modifier and Type | Method and Description |
---|---|
static void |
addPageBetweenPages()
An example of adding a static page between all pages (and at the end) to effectively provide a page back when
printing front and back.
|
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 aSB)
Returns a StringBuffer image map for a given shape.
|
static java.util.List<RMExtras.Movie> |
getMovies()
Returns a list of movies.
|
static void |
main(java.lang.String[] args)
Writes a movie dataset to file.
|
static void |
passwordReport()
Set PDF password.
|
static void |
printNames(RMShape aShape)
Prints name of every shape in a template hierarchy.
|
static void |
printNames(RMTableGroup aTableGroup,
RMTable aTable)
Prints name of every shape in table group hierarchy.
|
static void |
replaceDatasetKey(RMShape aShape,
java.lang.String aKey1,
java.lang.String aKey2)
Replaces any dataset key in template that matches first given dataset key with the second given dataset key.
|
static void |
replaceFormat(RMShape aShape,
RMFormat aFormat)
Replaces a format.
|
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 |
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 |
replaceText(RMShape aShape,
java.lang.String aString1,
java.lang.String aString2)
Iterates over all document (or shape) text and replaces occurrences of the first string with the second.
|
static void |
setTimeZone(RMShape aShape,
java.util.TimeZone aTimeZone)
Sets the time zone for a document.
|
public static void replaceText(RMShape aShape, java.lang.String aString1, java.lang.String aString2)
public static void replaceDatasetKey(RMShape aShape, java.lang.String aKey1, java.lang.String aKey2)
public static void replaceGroupingKey(RMShape aShape, java.lang.String aKey1, java.lang.String aKey2)
public static void replaceSort(RMShape aShape, java.lang.String aSort1, java.lang.String aSort2)
public static java.lang.StringBuffer getImageMap(RMShape aShape, java.lang.StringBuffer aSB)
public static void printNames(RMShape aShape)
public static void printNames(RMTableGroup aTableGroup, RMTable aTable)
public static void addToPage(RMDocument aDoc1, RMDocument aDoc2)
public static void addPageBetweenPages()
public static void setTimeZone(RMShape aShape, java.util.TimeZone aTimeZone)
public static void passwordReport()
public static java.util.List<RMExtras.Movie> getMovies()
public static void main(java.lang.String[] args)