public class ReportMill extends RMObject implements RMKey.ValueForKeyChain
Modifier and Type | Class and Description |
---|---|
static interface |
ReportMill.AppServer
An inner class to provide a hook for converting objects (like NSArray to List, etc.).
|
static interface |
ReportMill.Listener
An interface for classes than want to know about filled shapes.
|
Modifier and Type | Field and Description |
---|---|
static ReportMill.AppServer |
appServer |
Constructor and Description |
---|
ReportMill()
Creates a new reportmill with the specified paginate option (true or false).
|
Modifier and Type | Method and Description |
---|---|
void |
addDataObject(java.lang.Object anObj)
Adds a data object to the data object list.
|
void |
addPageReferenceShape(RMShape aShape)
Registers a shape with a page key in it.
|
void |
addUserInfo(java.lang.Object userInfo)
Adds a user info object to the data objects list (also handles ReportMill.Listeners).
|
static java.lang.Object |
convertFromAppServerType(java.lang.Object anObj)
Called by various objects to convert objects to generic types.
|
void |
didFillShape(RMShape aShape,
RMShape aCopy)
Called by shapes when rpgCloned to notify listener.
|
RMDocument |
generateReport(RMDocument aDoc,
java.lang.Object objects,
java.lang.Object userInfo,
boolean paginate)
Returns a rpg clone of the given document with given objects, userInfo and pagination setting.
|
java.lang.Object |
getDataObject(int anIndex)
Returns the data object at the specified index.
|
java.util.List |
getDataObjects()
Returns the data objects list.
|
static java.lang.String |
getLicense()
Returns the ReportMill license string for the current user.
|
java.lang.String |
getNullString()
Returns the string used to represent null values.
|
int |
getPageIndex()
Returns the current page being processed during report generation.
|
boolean |
getPaginate()
Returns whether this reportmill paginates.
|
java.lang.Object |
getRPGCloneForObject(java.lang.Object anObj)
Returns the corresponding rpg'd object for an original object.
|
static boolean |
isLicensed()
Returns whether ReportMill has a valid license for the current user.
|
static void |
lc(RMDocument aDoc)
Simple lc check.
|
java.util.List |
listValueForKeyChain(java.lang.String aKeyChain)
Returns a list for the given keychain.
|
void |
removeDataObject(java.lang.Object anObj)
Removes an object from the data object list.
|
static void |
setLicense(java.lang.String aLicense)
Sets the ReportMill license string for the current user.
|
static void |
setLicense(java.lang.String aLicense,
boolean persistent,
boolean isApp)
Sets the ReportMill license string for the current user (with option to persist).
|
static void |
setLicenseState(LicenseState licenseState) |
void |
setRPGCloneForObject(java.lang.Object aCopy,
java.lang.Object anObj)
Sets the corresponding rpg'd object for an original object.
|
java.lang.Object |
valueForKeyChain(java.lang.Object aKeyChain)
ReportMill's valueForKeyChain implementation.
|
clone, copy, didChange, didUndo, getAnimAttribute, getClassNameShort, initWithArchiver, undoClone, undoCopy, undoEquals
public static ReportMill.AppServer appServer
public ReportMill()
public boolean getPaginate()
public java.util.List getDataObjects()
public int getPageIndex()
public java.lang.String getNullString()
public RMDocument generateReport(RMDocument aDoc, java.lang.Object objects, java.lang.Object userInfo, boolean paginate)
public java.lang.Object getDataObject(int anIndex)
public void addDataObject(java.lang.Object anObj)
public void removeDataObject(java.lang.Object anObj)
public void addUserInfo(java.lang.Object userInfo)
public void didFillShape(RMShape aShape, RMShape aCopy)
public static java.lang.Object convertFromAppServerType(java.lang.Object anObj)
public java.util.List listValueForKeyChain(java.lang.String aKeyChain)
public void addPageReferenceShape(RMShape aShape)
public java.lang.Object getRPGCloneForObject(java.lang.Object anObj)
public void setRPGCloneForObject(java.lang.Object aCopy, java.lang.Object anObj)
public java.lang.Object valueForKeyChain(java.lang.Object aKeyChain)
valueForKeyChain
in interface RMKey.ValueForKeyChain
public static java.lang.String getLicense()
public static void setLicense(java.lang.String aLicense)
public static void setLicense(java.lang.String aLicense, boolean persistent, boolean isApp)
public static boolean isLicensed()
public static void setLicenseState(LicenseState licenseState)
public static void lc(RMDocument aDoc)