|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.arcmap.Report
public class Report
The Report class implements the report engine.
| Constructor Summary | |
|---|---|
Report()
Constructs a Report using ArcGIS Engine. |
|
Report(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. Report theReport = (Report) obj; |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Compare this object with another |
boolean |
exportReport(String filePath,
String pages,
int type)
Exports an executed report in the desired format. |
boolean |
fieldMapping(String templateFieldList,
String sourceFieldList)
Sets the field mapping from the report template to the new fields. |
static String |
getClsid()
getClsid. |
String |
getDefinitionQuery()
Indicates the definition expression for the report. |
IGeometry |
getExtent()
Indicates the extent of the report features. |
ILayer |
getLayer()
Indicates the data for the report is from a layer. |
String |
getReportTitle()
Indicates the title for the report. |
ISelectionSet |
getSelectionSet()
Indicates the selection set for the report. |
int |
getStartingPageNumber()
Indicates the starting page number for the report. |
ITable |
getTable()
Indicates the data for the report is from a table. |
int |
hashCode()
the hashcode for this object |
boolean |
loadReportTemplate(String templateFilePath)
Loads the report template file. |
boolean |
relatedReportMapping(String relatedReportName,
IRelationshipClass pSourceRelationshipClass,
String templateFieldList,
String sourceFieldList)
Sets the mapping information for a related report. |
boolean |
runReport(ITrackCancel pTrackCancel)
Executes the report base on the IReportDataSource properties. |
boolean |
saveReportTemplate(String templateFilePath)
Saves the report as a template file. |
void |
setDefinitionQuery(String pDefinitionQuery)
Indicates the definition expression for the report. |
void |
setExtentByRef(IGeometry ppExtent)
Indicates the extent of the report features. |
void |
setLayerByRef(ILayer ppLayer)
Indicates the data for the report is from a layer. |
void |
setReportTitle(String pReportTitle)
Indicates the title for the report. |
void |
setSelectionSetByRef(ISelectionSet ppSelectionSet)
Indicates the selection set for the report. |
void |
setStartingPageNumber(int pStartingPageNumber)
Indicates the starting page number for the report. |
void |
setTableByRef(ITable ppTable)
Indicates the data for the report is from a table. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
|---|
getJintegraDispatch, release |
| Constructor Detail |
|---|
public Report()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public Report(Object obj)
throws IOException
Report theReport = (Report) obj;
obj to Report.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public ILayer getLayer()
throws IOException,
AutomationException
getLayer in interface IReportDataSourceIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setLayerByRef(ILayer ppLayer)
throws IOException,
AutomationException
setLayerByRef in interface IReportDataSourceppLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ITable getTable()
throws IOException,
AutomationException
getTable in interface IReportDataSourceIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTableByRef(ITable ppTable)
throws IOException,
AutomationException
setTableByRef in interface IReportDataSourceppTable - A reference to a com.esri.arcgis.geodatabase.ITable (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getDefinitionQuery()
throws IOException,
AutomationException
getDefinitionQuery in interface IReportDataSourceIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDefinitionQuery(String pDefinitionQuery)
throws IOException,
AutomationException
setDefinitionQuery in interface IReportDataSourcepDefinitionQuery - The pDefinitionQuery (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ISelectionSet getSelectionSet()
throws IOException,
AutomationException
getSelectionSet in interface IReportDataSourceIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSelectionSetByRef(ISelectionSet ppSelectionSet)
throws IOException,
AutomationException
setSelectionSetByRef in interface IReportDataSourceppSelectionSet - A reference to a com.esri.arcgis.geodatabase.ISelectionSet (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IGeometry getExtent()
throws IOException,
AutomationException
getExtent in interface IReportDataSourceIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setExtentByRef(IGeometry ppExtent)
throws IOException,
AutomationException
setExtentByRef in interface IReportDataSourceppExtent - A reference to a com.esri.arcgis.geometry.IGeometry (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean runReport(ITrackCancel pTrackCancel)
throws IOException,
AutomationException
runReport in interface IReportEnginepTrackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean exportReport(String filePath,
String pages,
int type)
throws IOException,
AutomationException
exportReport in interface IReportEnginefilePath - The filePath (in)pages - The pages (in)type - A com.esri.arcgis.arcmap.esriReportExportType constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getStartingPageNumber()
throws IOException,
AutomationException
getStartingPageNumber in interface IReportTemplateIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setStartingPageNumber(int pStartingPageNumber)
throws IOException,
AutomationException
setStartingPageNumber in interface IReportTemplatepStartingPageNumber - The pStartingPageNumber (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getReportTitle()
throws IOException,
AutomationException
getReportTitle in interface IReportTemplateIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setReportTitle(String pReportTitle)
throws IOException,
AutomationException
setReportTitle in interface IReportTemplatepReportTitle - The pReportTitle (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean fieldMapping(String templateFieldList,
String sourceFieldList)
throws IOException,
AutomationException
fieldMapping in interface IReportTemplatetemplateFieldList - The templateFieldList (in)sourceFieldList - The sourceFieldList (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean relatedReportMapping(String relatedReportName,
IRelationshipClass pSourceRelationshipClass,
String templateFieldList,
String sourceFieldList)
throws IOException,
AutomationException
relatedReportMapping in interface IReportTemplaterelatedReportName - The relatedReportName (in)pSourceRelationshipClass - A reference to a com.esri.arcgis.geodatabase.IRelationshipClass (in)templateFieldList - The templateFieldList (in)sourceFieldList - The sourceFieldList (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean loadReportTemplate(String templateFilePath)
throws IOException,
AutomationException
loadReportTemplate in interface IReportTemplatetemplateFilePath - The templateFilePath (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean saveReportTemplate(String templateFilePath)
throws IOException,
AutomationException
saveReportTemplate in interface IReportTemplatetemplateFilePath - The templateFilePath (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||