|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 problemspublic 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 problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public ILayer getLayer() throws IOException, AutomationException
getLayer
in interface IReportDataSource
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLayerByRef(ILayer ppLayer) throws IOException, AutomationException
setLayerByRef
in interface IReportDataSource
ppLayer
- 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 IReportDataSource
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTableByRef(ITable ppTable) throws IOException, AutomationException
setTableByRef
in interface IReportDataSource
ppTable
- 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 IReportDataSource
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDefinitionQuery(String pDefinitionQuery) throws IOException, AutomationException
setDefinitionQuery
in interface IReportDataSource
pDefinitionQuery
- 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 IReportDataSource
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSelectionSetByRef(ISelectionSet ppSelectionSet) throws IOException, AutomationException
setSelectionSetByRef
in interface IReportDataSource
ppSelectionSet
- 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 IReportDataSource
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setExtentByRef(IGeometry ppExtent) throws IOException, AutomationException
setExtentByRef
in interface IReportDataSource
ppExtent
- 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 IReportEngine
pTrackCancel
- 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 IReportEngine
filePath
- 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 IReportTemplate
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setStartingPageNumber(int pStartingPageNumber) throws IOException, AutomationException
setStartingPageNumber
in interface IReportTemplate
pStartingPageNumber
- 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 IReportTemplate
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setReportTitle(String pReportTitle) throws IOException, AutomationException
setReportTitle
in interface IReportTemplate
pReportTitle
- 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 IReportTemplate
templateFieldList
- 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 IReportTemplate
relatedReportName
- 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 IReportTemplate
templateFilePath
- 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 IReportTemplate
templateFilePath
- 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 |