java.lang.Objectcom.aspose.words.ReportingEngine
public class ReportingEngine
Constructor Summary |
---|
ReportingEngine()
Initializes a new instance of this class. |
Property Getters/Setters Summary | ||
---|---|---|
KnownTypeSet | getKnownTypes() | |
Gets an unordered set (i.e. a collection of unique items) containing |
||
int | getOptions() | |
void | setOptions(int value) | |
Gets or sets a set of flags controlling behavior of this |
||
static boolean | getUseReflectionOptimization() | |
static void | setUseReflectionOptimization(boolean value) | |
Gets or sets a value indicating whether invocations of custom type members performed via reflection API are optimized using dynamic class generation or not. The default value is true. |
Method Summary | ||
---|---|---|
void | buildReport(Document document, java.lang.Object dataSource) | |
Populates the specified template document with data from the specified source making it a ready report. | ||
void | buildReport(Document document, java.lang.Object dataSource, java.lang.String dataSourceName) | |
Populates the specified template document with data from the specified source making it a ready report. | ||
void | buildReport(Document document, java.lang.Object[] dataSources, java.lang.String[] dataSourceNames) | |
Populates the specified template document with data from the specified sources making it a ready report. | ||
boolean | equals(java.lang.Object obj) | |
Constructor Detail |
---|
public ReportingEngine()
Property Getters/Setters Detail |
---|
getKnownTypes | |
public KnownTypeSet getKnownTypes() |
getOptions/setOptions | |
public int getOptions() / public void setOptions(int value) |
getUseReflectionOptimization/setUseReflectionOptimization | |
public static boolean getUseReflectionOptimization() / public static void setUseReflectionOptimization(boolean value) |
Method Detail |
---|
buildReport | |
public void buildReport(Document document, java.lang.Object dataSource) throws java.lang.Exception |
document
- A template document to be populated with data.dataSource
- A data source object.buildReport | |
public void buildReport(Document document, java.lang.Object dataSource, java.lang.String dataSourceName) throws java.lang.Exception |
document
- A template document to be populated with data.dataSource
- A data source object.dataSourceName
- A name to reference the data source object in the template.buildReport | |
public void buildReport(Document document, java.lang.Object[] dataSources, java.lang.String[] dataSourceNames) throws java.lang.Exception |
Using this overload you can reference multiple data source objects and their members in the template. The name of the first data source can be omitted (i.e. be an empty string or null) if you are going to reference the data source's members but not the data source object itself. Names of the other data sources must be specified and unique.
If you are going to use a single data source, consider using of
document
- A template document to be populated with data.dataSources
- An array of data source objects.dataSourceNames
- An array of names to reference the data source objects within the template.equals | |
public boolean equals(java.lang.Object obj) |