|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.arcmapui.MxDocument
public class MxDocument
COM Class 'MxDocument'. Generated 3/19/2015 1:20:50 PM from 'C:\ArcGIS\COM\esriArcMapUI.olb'
Description 'Esri Mx Document.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
Field Summary |
---|
Fields inherited from interface com.esri.arcgis.framework.IDocument |
---|
DISPID_0_GET_NAME, DISPID_1_GET_NAME, DISPID_2_GET_NAME, DISPID_4_GET_NAME, DISPID_5_GET_NAME, DISPID_6_GET_NAME, DISPID_7_GET_NAME, IID, IID3e927177_307a_11d2_94c9_080009eebecb, xxDummy |
Fields inherited from interface com.esri.arcgis.arcmapui.IMxDocument |
---|
IID, IID0522a5f1_487c_11d0_98bd_00805f7ced21, xxDummy |
Fields inherited from interface com.esri.arcgis.framework.IDocumentDirty2 |
---|
IID, IIDa684089c_cde0_407c_92d8_811a3f8e850c, xxDummy |
Fields inherited from interface com.esri.arcgis.framework.IDocumentDirty |
---|
IIDb26de0cf_5c0a_433d_9082_097004e13a0a |
Fields inherited from interface com.esri.arcgis.system.IPropertySupport |
---|
IID, IID8a11ad55_2f4f_11d3_9fa0_00c04f6bc6a5, xxDummy |
Fields inherited from interface com.esri.arcgis.arcmapui.IChangeLayout |
---|
IID, IID1a8d7ead_df05_11d3_9309_00600802e603, xxDummy |
Fields inherited from interface com.esri.arcgis.arcmapui.IDocumentDefaultSymbols |
---|
IID, IID85961926_d8e9_11d3_9ff5_00c04f6bc8dd, xxDummy |
Fields inherited from interface com.esri.arcgis.arcmapui.IContentsViewEdit |
---|
IID, IIDb0f32eaf_ebdb_11d3_9fdb_00c04f6bc78e, xxDummy |
Fields inherited from interface com.esri.arcgis.carto.IDataGraphCollection |
---|
IID, IID5c68acbe_4517_4c11_97a1_e3c7edb0c3bb, xxDummy |
Fields inherited from interface com.esri.arcgis.catalogUI.IDocumentDatasets |
---|
IID, IID7bfce4b1_1228_11d4_9fec_00c04f6bc78e, xxDummy |
Fields inherited from interface com.esri.arcgis.carto.IDocumentInfo |
---|
IID, IIDd3e5c54e_2a84_11d4_9ff2_00c04f6bc78e, xxDummy |
Fields inherited from interface com.esri.arcgis.carto.IDocumentInfo2 |
---|
IID, IIDd3e5c54f_2a84_11d4_9ff2_00c04f6bc78e, xxDummy |
Fields inherited from interface com.esri.arcgis.carto.IDocumentPreview |
---|
IID, IIDefe86eff_4c92_47b8_af1b_2d7ded932e24, xxDummy |
Fields inherited from interface com.esri.arcgis.arcmapui.IReportUnitFormat |
---|
IID, IID5fc55a41_b276_4e9c_9dce_c54f61419dfe, xxDummy |
Fields inherited from interface com.esri.arcgis.arcmapui.IReportUnitFormat2 |
---|
IID, IID5fc55a42_b276_4e9c_9dce_c54f61419dfe, xxDummy |
Fields inherited from interface com.esri.arcgis.system.IDocumentVersion |
---|
IID, IIDecc43c55_0148_4ec1_bf87_b9a183c5dc98, xxDummy |
Fields inherited from interface com.esri.arcgis.system.IPersist |
---|
IID, IID0000010c_0000_0000_c000_000000000046, xxDummy |
Fields inherited from interface com.esri.arcgis.arcmapui.IBasicDocument |
---|
IID, IIDa58923bc_14d4_11d4_a0ff_00c04f8ece27, xxDummy |
Fields inherited from interface com.esri.arcgis.arcmapui.IBasicDocument2 |
---|
IID, IIDef2ec034_c197_48a0_90ee_c6b7db797eb8, xxDummy |
Fields inherited from interface com.esri.arcgis.arcmapui.IBasicDocumentDefaultSymbols |
---|
IID, IIDbaf98c1c_6e13_11d4_ab81_0008c73fd50c, xxDummy |
Fields inherited from interface com.esri.arcgis.carto.IMapDocument |
---|
IID, IID5366451c_a001_4179_b8cb_e8f014628a44, xxDummy |
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo |
---|
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy |
Fields inherited from interface com.esri.arcgis.display.IConnectionPointContainer |
---|
IID, IIDb196b284_bab4_101a_b69c_00aa00341d07, xxDummy |
Constructor Summary | |
---|---|
MxDocument()
Constructs a MxDocument using ArcGIS Engine. |
|
MxDocument(java.lang.Object obj)
Construct a MxDocument using a reference to such an object returned from ArcGIS Engine or Server. |
Method Summary | |
---|---|
void |
addContentsView(IContentsView contentsView)
Adds a contents view object to the TOC. |
void |
addDataGraph(IDataGraphBase graph)
Adds the graph to the collection. |
void |
addIDataGraphCollectionEventsListener(IDataGraphCollectionEvents theListener)
addIDataGraphCollectionEventsListener. |
void |
addIDocumentEventsDispListener(IDocumentEventsDisp theListener)
addIDocumentEventsDispListener. |
void |
addIDocumentEventsListener(IDocumentEvents theListener)
addIDocumentEventsListener. |
void |
addLayer(ILayer layer)
Adds a layer to the current focus map. |
boolean |
applies(java.lang.Object pUnk)
Indicates if the receiver can apply the given object at any given time. |
java.lang.Object |
apply(java.lang.Object newObject)
Applies the given property to the receiver and returns the old object. |
boolean |
canApply(java.lang.Object pUnk)
Indicates if the receiver can apply the given object at that particular moment. |
void |
canInsertObject(boolean[] pEnabled)
Indicates if the document allows objects to be inserted. |
boolean |
changeLayout()
Indicates if the wizard used to select a new layout is shown. |
void |
clearContentsViews()
Removes all current contents views. |
void |
close()
Close the map document. |
void |
createPreview()
Creates a thumbnail preview of the document. |
void |
deletePreview()
Deletes the thumbnail preview of the document. |
void |
enumConnectionPoints(IEnumConnectionPoints[] ppEnum)
enumConnectionPoints |
boolean |
equals(java.lang.Object o)
Compare this object with another |
void |
esri_new(java.lang.String sDocument)
Creates and opens a new map document in preparation for the contents to be retrieve or updated. |
void |
findConnectionPoint(GUID riid,
IConnectionPoint[] ppCP)
findConnectionPoint |
IAcceleratorTable |
getAccelerators()
The accelerator table for this document. |
IActiveView |
getActivatedView()
The activated view. |
IActiveView |
getActiveView()
The active view. |
ICommand |
getActiveViewCommand()
The command associated with the active view. |
IAreaPatch |
getAreaPatch()
Default Area Patch. |
java.lang.String |
getAuthor()
The author of the document. |
IFormattedTextSymbol |
getCallout()
Default Callout. |
java.lang.String |
getCategory()
The category of the document. |
void |
getClassID(GUID[] pClassID)
getClassID |
static java.lang.String |
getClsid()
getClsid. |
ICommandBars |
getCommandBars()
The commandbars collection in this document. |
java.lang.String |
getComments()
Comments for the document. |
IContentsView |
getContentsView(int index)
The contents view at the specified index. |
int |
getContentsViewCount()
The number of contents views in the document. |
java.lang.Object |
getContextItem()
The last item that was right-clicked. |
ILatLonFormat |
getCoordinateReadoutLatLonFormat()
The format used for the coordinate readout on the status bar. |
int |
getCoordinateReadoutUnits()
The units used for the coordinate readout on the status bar. |
java.lang.String |
getCredits()
The credits of the document. |
java.lang.Object |
getCurrent(java.lang.Object pUnk)
The object currently being used. |
IContentsView |
getCurrentContentsView()
The current contents view of the document. |
IPoint |
getCurrentLocation()
The current mouse location in map units. |
Font |
getCustomTOCFont()
Custom TOC Font. |
double |
getCustomTOCFontSize()
Custom TOC Font Size in Points. |
IDataGraphBase |
getDataGraph(int index)
Graph at the given index. |
int |
getDataGraphCount()
Number of graphs in the collection. |
IEnumDataset |
getDatasets()
The datasets in the document. |
java.lang.Object |
getDateExported()
Date the document was last exported. |
java.lang.Object |
getDatePrinted()
Date the document was last printed. |
java.lang.Object |
getDateSaved()
Date the document was last saved. |
IColor |
getDefaultColor(int type)
The default color for the given type. |
Font |
getDefaultTextFont()
The default font for text. |
IFontSize |
getDefaultTextFontSize()
The default font size for text. |
java.lang.String |
getDocumentFilename()
The map document filename that the MapDocument coclass is linked to. |
java.lang.String |
getDocumentTitle()
The title of the document. |
int |
getDocumentType()
The type of map document currently loaded in the object. |
int |
getDocumentVersion()
The version of the document to save. |
IFillSymbol |
getFillSymbol()
Default Fill Symbol. |
IMap |
getFocusMap()
The current focus map. |
java.lang.String |
getFolder()
The folder of the document. |
java.lang.String |
getHyperlinkBase()
The hyperlink base of the document. |
IUID |
getID()
The unique id for this document. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
java.lang.String |
getKeywords()
The keywords for the document. |
ILatLonFormat |
getLatLonFormat()
The format object used for reporting lat-lon values. |
ILayer |
getLayer(int mapIndex,
int layerIndex)
The Layer object at the specified index for the specified map. |
ILinePatch |
getLinePatch()
Default Line Patch. |
ILineSymbol |
getLineSymbol()
Default Line Symbol. |
IMap |
getMap(int mapIndex)
The Map object at the specified index. |
int |
getMapCount()
The number of Map objects contained within the map document. |
IMaps |
getMaps()
The collection of maps in the document. |
IMarkerSymbol |
getMarkerSymbol()
Default Marker Symbol. |
java.lang.String |
getName()
The name of the document. |
INumberFormat |
getNumericFormat()
The format object used for reporting numeric values. |
IOperationStack |
getOperationStack()
The operation stack. |
IPageLayout |
getPageLayout()
The page layout. |
IApplication |
getParent()
The application in which this document is open. |
double |
getPatchHeight()
Default Patch Height in Points. |
double |
getPatchWidth()
Default Patch Width in Points. |
java.lang.String |
getPath()
The path of the document. |
IPrinter |
getPrinter()
The printer object. |
double |
getSearchTolerance()
The global search tolerance in geographic units for selection. |
int |
getSearchTolerancePixels()
The global search tolerance in pixels for selection. |
java.lang.Object |
getSelectedItem()
The selected item in the layer control. |
ILayer |
getSelectedLayer()
The selected layer in the layer control. |
IStyleGallery |
getStyleGallery()
Reference to the document's Style Gallery. |
java.lang.String |
getSubject()
The subject of the document. |
ITableProperties |
getTableProperties()
Table properties, for Layers and Tables in ArcMap. |
ITextSymbol |
getTextSymbol()
Default Text Symbol. |
IPicture |
getThumbnail()
The thumbnail stored in the map document. |
java.lang.String |
getTitle()
The title of this document. |
int |
getType()
The type of this document. |
java.lang.Object |
getVBProject()
The VBProject for this document. |
void |
getVersionInfo(boolean[] versionInfoMissing,
int[] lMajor,
int[] lMinor,
int[] lRevision,
int[] lBuild)
Retrieve the detailed version information of the map document. |
int |
hashCode()
the hashcode for this object |
void |
insertObject()
Inserts an object into the document. |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
boolean |
isHasPreviewSaved()
Indicates the presence of a thumbnail preview in the document. |
boolean |
isHasPreviewToSave()
Indicates the presence of a thumbnail preview to be saved with the document. |
boolean |
isMapDocument(java.lang.String sDocument)
Indicates if the map document is a valid map document. |
boolean |
isPasswordProtected(java.lang.String sDocument)
Indicates if the map document is protected by a passsword. |
boolean |
isPresent(java.lang.String sDocument)
Indicates if the map document is present. |
boolean |
isReadOnly(java.lang.String sDocument)
Indicates if the map document is read only. |
boolean |
isRelativePaths()
Indicates if path names are stored relative to the document. |
boolean |
isRestricted(java.lang.String sDocument)
Indicates if the use of the map document is restricted to certain applications. |
boolean |
isSavePreview()
Indicates if a preview of the document is saved when the document is saved. |
boolean |
isUsesRelativePaths()
Indicates if the data in the map document is referenced using relative paths. |
void |
open(java.lang.String sDocument,
java.lang.String bsPassword)
Open the map document in preparation for the contents to be retrieve or updated. |
void |
release()
Release a MxDocument. |
void |
removeAllDataGraphs()
Removes all graphs from the collection. |
void |
removeDataGraph(IDataGraphBase graph)
Removes the graph from the collection. |
void |
removeIDataGraphCollectionEventsListener(IDataGraphCollectionEvents theListener)
removeIDataGraphCollectionEventsListener. |
void |
removeIDocumentEventsDispListener(IDocumentEventsDisp theListener)
removeIDocumentEventsDispListener. |
void |
removeIDocumentEventsListener(IDocumentEvents theListener)
removeIDocumentEventsListener. |
void |
replaceContents(IMxdContents pObject)
Replace the contents of the map document. |
void |
save(boolean bUseRelativePaths,
boolean bCreateThumnbail)
Save the contents of the map document to the bound file. |
void |
saveAs(java.lang.String sDocument,
boolean bUseRelativePaths,
boolean bCreateThumnbail)
Save the contents of the map document to the specified file name. |
void |
setActiveView(IActiveView pActiveView)
Set the ActiveView content of the map document. |
void |
setActiveViewByRef(IActiveView activeView)
The active view. |
void |
setAreaPatch(IAreaPatch patch)
Default Area Patch. |
void |
setAuthor(java.lang.String author)
The author of the document. |
void |
setCallout(IFormattedTextSymbol callout)
Default Callout. |
void |
setCategory(java.lang.String category)
The category of the document. |
void |
setClean()
Resets the dirty flag on the document. |
void |
setComments(java.lang.String comments)
Comments for the document. |
void |
setContextItem(java.lang.Object item)
The last item that was right-clicked. |
void |
setCoordinateReadoutLatLonFormatByRef(ILatLonFormat format)
The format used for the coordinate readout on the status bar. |
void |
setCoordinateReadoutUnits(int units)
The units used for the coordinate readout on the status bar. |
void |
setCredits(java.lang.String credits)
The credits of the document. |
void |
setCurrentContentsViewByRef(IContentsView view)
The current contents view of the document. |
void |
setCurrentLocation(IPoint mouseLoc)
The current mouse location in map units. |
void |
setCustomTOCFont(Font font)
Custom TOC Font. |
void |
setCustomTOCFontSize(double fontSizePts)
Custom TOC Font Size in Points. |
void |
setDefaultColor(int type,
IColor color)
The default color for the given type. |
void |
setDefaultTextFont(Font fontDisp)
The default font for text. |
void |
setDefaultTextFontSize(IFontSize fontSize)
The default font size for text. |
void |
setDelayUpdateContents(boolean rhs1)
Indicates document update notifications should be ignored. |
void |
setDirty()
Sets the dirty flag on the document. |
void |
setDocumentTitle(java.lang.String title)
The title of the document. |
void |
setDocumentVersion(int docVersion)
The version of the document to save. |
void |
setFillSymbol(IFillSymbol lSymbol)
Default Fill Symbol. |
void |
setHyperlinkBase(java.lang.String path)
The hyperlink base of the document. |
void |
setKeywords(java.lang.String keywords)
The keywords for the document. |
void |
setLatLonFormatByRef(ILatLonFormat format)
The format object used for reporting lat-lon values. |
void |
setLinePatch(ILinePatch patch)
Default Line Patch. |
void |
setLineSymbol(ILineSymbol lineSymbol)
Default Line Symbol. |
void |
setMarkerSymbol(IMarkerSymbol markerSymbol)
Default Marker Symbol. |
void |
setNumericFormatByRef(INumberFormat format)
The format object used for reporting numeric values. |
void |
setPageLayoutByRef(IPageLayout pageLayout)
The page layout. |
void |
setPatchHeight(double heightPts)
Default Patch Height in Points. |
void |
setPatchWidth(double widthPts)
Default Patch Width in Points. |
void |
setRelativePaths(boolean relPaths)
Indicates if path names are stored relative to the document. |
void |
setSavePreview(boolean savePreview)
Indicates if a preview of the document is saved when the document is saved. |
void |
setSearchTolerancePixels(int tol)
The global search tolerance in pixels for selection. |
void |
setSubject(java.lang.String subject)
The subject of the document. |
void |
setTextSymbol(ITextSymbol textSymbol)
Default Text Symbol. |
void |
updateContents()
Notifies the document that the contents have been updated. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MxDocument() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problems
java.net.UnknownHostException
- if there are interop problemspublic MxDocument(java.lang.Object obj) throws java.io.IOException
obj
to MxDocument
.
obj
- an object returned from ArcGIS Engine or Server
java.io.IOException
- if there are interop problems
MxDocument theMxDocument = (MxDocument) obj;
Method Detail |
---|
public static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void addIDocumentEventsDispListener(IDocumentEventsDisp theListener) throws java.io.IOException
theListener
- An object that implements the com.esri.arcgis.arcmapui.IDocumentEventsDisp interface.
java.io.IOException
- If there are communications problems.public void removeIDocumentEventsDispListener(IDocumentEventsDisp theListener) throws java.io.IOException
theListener
- An object that implements the com.esri.arcgis.arcmapui.IDocumentEventsDisp interface.
java.io.IOException
- If there are communications problems.public void addIDocumentEventsListener(IDocumentEvents theListener) throws java.io.IOException
theListener
- An object that implements the com.esri.arcgis.arcmapui.IDocumentEvents interface.
java.io.IOException
- If there are communications problems.public void removeIDocumentEventsListener(IDocumentEvents theListener) throws java.io.IOException
theListener
- An object that implements the com.esri.arcgis.arcmapui.IDocumentEvents interface.
java.io.IOException
- If there are communications problems.public void addIDataGraphCollectionEventsListener(IDataGraphCollectionEvents theListener) throws java.io.IOException
theListener
- An object that implements the com.esri.arcgis.carto.IDataGraphCollectionEvents interface.
java.io.IOException
- If there are communications problems.public void removeIDataGraphCollectionEventsListener(IDataGraphCollectionEvents theListener) throws java.io.IOException
theListener
- An object that implements the com.esri.arcgis.carto.IDataGraphCollectionEvents interface.
java.io.IOException
- If there are communications problems.public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public IApplication getParent() throws java.io.IOException, AutomationException
getParent
in interface IDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getTitle() throws java.io.IOException, AutomationException
getTitle
in interface IDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ICommandBars getCommandBars() throws java.io.IOException, AutomationException
getCommandBars
in interface IDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IAcceleratorTable getAccelerators() throws java.io.IOException, AutomationException
getAccelerators
in interface IDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IUID getID() throws java.io.IOException, AutomationException
getID
in interface IDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getType() throws java.io.IOException, AutomationException
getType
in interface IDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getVBProject() throws java.io.IOException, AutomationException
getVBProject
in interface IDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPageLayoutByRef(IPageLayout pageLayout) throws java.io.IOException, AutomationException
setPageLayoutByRef
in interface IBasicDocument2
setPageLayoutByRef
in interface IMxDocument
pageLayout
- A reference to a com.esri.arcgis.carto.IPageLayout (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPageLayout getPageLayout() throws java.io.IOException, AutomationException
getPageLayout
in interface IBasicDocument2
getPageLayout
in interface IMxDocument
getPageLayout
in interface IMapDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IActiveView getActiveView() throws java.io.IOException, AutomationException
getActiveView
in interface IMxDocument
getActiveView
in interface IMapDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setActiveViewByRef(IActiveView activeView) throws java.io.IOException, AutomationException
setActiveViewByRef
in interface IMxDocument
activeView
- A reference to a com.esri.arcgis.carto.IActiveView (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IActiveView getActivatedView() throws java.io.IOException, AutomationException
getActivatedView
in interface IBasicDocument2
getActivatedView
in interface IMxDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ICommand getActiveViewCommand() throws java.io.IOException, AutomationException
getActiveViewCommand
in interface IMxDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IMap getFocusMap() throws java.io.IOException, AutomationException
getFocusMap
in interface IBasicDocument2
getFocusMap
in interface IMxDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ILayer getSelectedLayer() throws java.io.IOException, AutomationException
getSelectedLayer
in interface IBasicDocument
getSelectedLayer
in interface IBasicDocument2
getSelectedLayer
in interface IMxDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getSelectedItem() throws java.io.IOException, AutomationException
getSelectedItem
in interface IBasicDocument
getSelectedItem
in interface IBasicDocument2
getSelectedItem
in interface IMxDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getContextItem() throws java.io.IOException, AutomationException
getContextItem
in interface IBasicDocument
getContextItem
in interface IBasicDocument2
getContextItem
in interface IMxDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setContextItem(java.lang.Object item) throws java.io.IOException, AutomationException
setContextItem
in interface IBasicDocument
setContextItem
in interface IBasicDocument2
setContextItem
in interface IMxDocument
item
- A reference to another Object (IUnknown) (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IStyleGallery getStyleGallery() throws java.io.IOException, AutomationException
getStyleGallery
in interface IBasicDocument2
getStyleGallery
in interface IMxDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addLayer(ILayer layer) throws java.io.IOException, AutomationException
addLayer
in interface IBasicDocument
addLayer
in interface IBasicDocument2
addLayer
in interface IMxDocument
layer
- A reference to a com.esri.arcgis.carto.ILayer (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void updateContents() throws java.io.IOException, AutomationException
updateContents
in interface IBasicDocument
updateContents
in interface IBasicDocument2
updateContents
in interface IMxDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getSearchTolerance() throws java.io.IOException, AutomationException
getSearchTolerance
in interface IBasicDocument2
getSearchTolerance
in interface IMxDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getSearchTolerancePixels() throws java.io.IOException, AutomationException
getSearchTolerancePixels
in interface IBasicDocument2
getSearchTolerancePixels
in interface IMxDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSearchTolerancePixels(int tol) throws java.io.IOException, AutomationException
setSearchTolerancePixels
in interface IBasicDocument2
setSearchTolerancePixels
in interface IMxDocument
tol
- The tol (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void insertObject() throws java.io.IOException, AutomationException
insertObject
in interface IMxDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void canInsertObject(boolean[] pEnabled) throws java.io.IOException, AutomationException
canInsertObject
in interface IMxDocument
pEnabled
- The pEnabled (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IMaps getMaps() throws java.io.IOException, AutomationException
getMaps
in interface IBasicDocument2
getMaps
in interface IMxDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IOperationStack getOperationStack() throws java.io.IOException, AutomationException
getOperationStack
in interface IBasicDocument2
getOperationStack
in interface IMxDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Font getDefaultTextFont() throws java.io.IOException, AutomationException
getDefaultTextFont
in interface IMxDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDefaultTextFontSize(IFontSize fontSize) throws java.io.IOException, AutomationException
setDefaultTextFontSize
in interface IMxDocument
fontSize
- A reference to a com.esri.arcgis.display.IFontSize (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IFontSize getDefaultTextFontSize() throws java.io.IOException, AutomationException
getDefaultTextFontSize
in interface IMxDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDefaultTextFont(Font fontDisp) throws java.io.IOException, AutomationException
setDefaultTextFont
in interface IMxDocument
fontDisp
- A reference to a com.esri.arcgis.support.ms.stdole.Font (A com.esri.arcgis.support.ms.stdole.Font COM typedef) (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IColor getDefaultColor(int type) throws java.io.IOException, AutomationException
getDefaultColor
in interface IMxDocument
type
- A com.esri.arcgis.arcmapui.esriMxDefaultColorTypes constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDefaultColor(int type, IColor color) throws java.io.IOException, AutomationException
setDefaultColor
in interface IMxDocument
type
- A com.esri.arcgis.arcmapui.esriMxDefaultColorTypes constant (in)color
- A reference to a com.esri.arcgis.display.IColor (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPoint getCurrentLocation() throws java.io.IOException, AutomationException
getCurrentLocation
in interface IBasicDocument2
getCurrentLocation
in interface IMxDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCurrentLocation(IPoint mouseLoc) throws java.io.IOException, AutomationException
setCurrentLocation
in interface IBasicDocument2
setCurrentLocation
in interface IMxDocument
mouseLoc
- A reference to a com.esri.arcgis.geometry.IPoint (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDelayUpdateContents(boolean rhs1) throws java.io.IOException, AutomationException
setDelayUpdateContents
in interface IMxDocument
rhs1
- The rhs1 (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isRelativePaths() throws java.io.IOException, AutomationException
isRelativePaths
in interface IMxDocument
isRelativePaths
in interface IDocumentInfo2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setRelativePaths(boolean relPaths) throws java.io.IOException, AutomationException
setRelativePaths
in interface IMxDocument
setRelativePaths
in interface IDocumentInfo2
relPaths
- The relPaths (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IContentsView getCurrentContentsView() throws java.io.IOException, AutomationException
getCurrentContentsView
in interface IMxDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCurrentContentsViewByRef(IContentsView view) throws java.io.IOException, AutomationException
setCurrentContentsViewByRef
in interface IMxDocument
view
- A reference to a com.esri.arcgis.arcmapui.IContentsView (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getContentsViewCount() throws java.io.IOException, AutomationException
getContentsViewCount
in interface IMxDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IContentsView getContentsView(int index) throws java.io.IOException, AutomationException
getContentsView
in interface IMxDocument
index
- The index (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ITableProperties getTableProperties() throws java.io.IOException, AutomationException
getTableProperties
in interface IBasicDocument
getTableProperties
in interface IBasicDocument2
getTableProperties
in interface IMxDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDirty() throws java.io.IOException, AutomationException
setDirty
in interface IDocumentDirty
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setClean() throws java.io.IOException, AutomationException
setClean
in interface IDocumentDirty2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean applies(java.lang.Object pUnk) throws java.io.IOException, AutomationException
applies
in interface IPropertySupport
pUnk
- A reference to another Object (IUnknown) (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean canApply(java.lang.Object pUnk) throws java.io.IOException, AutomationException
canApply
in interface IPropertySupport
pUnk
- A reference to another Object (IUnknown) (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getCurrent(java.lang.Object pUnk) throws java.io.IOException, AutomationException
getCurrent
in interface IPropertySupport
pUnk
- A reference to another Object (IUnknown) (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object apply(java.lang.Object newObject) throws java.io.IOException, AutomationException
apply
in interface IPropertySupport
newObject
- A reference to another Object (IUnknown) (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean changeLayout() throws java.io.IOException, AutomationException
changeLayout
in interface IChangeLayout
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFillSymbol(IFillSymbol lSymbol) throws java.io.IOException, AutomationException
setFillSymbol
in interface IBasicDocumentDefaultSymbols
setFillSymbol
in interface IDocumentDefaultSymbols
lSymbol
- A reference to a com.esri.arcgis.display.IFillSymbol (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IFillSymbol getFillSymbol() throws java.io.IOException, AutomationException
getFillSymbol
in interface IBasicDocumentDefaultSymbols
getFillSymbol
in interface IDocumentDefaultSymbols
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLineSymbol(ILineSymbol lineSymbol) throws java.io.IOException, AutomationException
setLineSymbol
in interface IBasicDocumentDefaultSymbols
setLineSymbol
in interface IDocumentDefaultSymbols
lineSymbol
- A reference to a com.esri.arcgis.display.ILineSymbol (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ILineSymbol getLineSymbol() throws java.io.IOException, AutomationException
getLineSymbol
in interface IBasicDocumentDefaultSymbols
getLineSymbol
in interface IDocumentDefaultSymbols
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMarkerSymbol(IMarkerSymbol markerSymbol) throws java.io.IOException, AutomationException
setMarkerSymbol
in interface IBasicDocumentDefaultSymbols
setMarkerSymbol
in interface IDocumentDefaultSymbols
markerSymbol
- A reference to a com.esri.arcgis.display.IMarkerSymbol (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IMarkerSymbol getMarkerSymbol() throws java.io.IOException, AutomationException
getMarkerSymbol
in interface IBasicDocumentDefaultSymbols
getMarkerSymbol
in interface IDocumentDefaultSymbols
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTextSymbol(ITextSymbol textSymbol) throws java.io.IOException, AutomationException
setTextSymbol
in interface IDocumentDefaultSymbols
textSymbol
- A reference to a com.esri.arcgis.display.ITextSymbol (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ITextSymbol getTextSymbol() throws java.io.IOException, AutomationException
getTextSymbol
in interface IDocumentDefaultSymbols
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCallout(IFormattedTextSymbol callout) throws java.io.IOException, AutomationException
setCallout
in interface IDocumentDefaultSymbols
callout
- A reference to a com.esri.arcgis.display.IFormattedTextSymbol (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IFormattedTextSymbol getCallout() throws java.io.IOException, AutomationException
getCallout
in interface IDocumentDefaultSymbols
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAreaPatch(IAreaPatch patch) throws java.io.IOException, AutomationException
setAreaPatch
in interface IBasicDocumentDefaultSymbols
setAreaPatch
in interface IDocumentDefaultSymbols
patch
- A reference to a com.esri.arcgis.carto.IAreaPatch (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IAreaPatch getAreaPatch() throws java.io.IOException, AutomationException
getAreaPatch
in interface IBasicDocumentDefaultSymbols
getAreaPatch
in interface IDocumentDefaultSymbols
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLinePatch(ILinePatch patch) throws java.io.IOException, AutomationException
setLinePatch
in interface IBasicDocumentDefaultSymbols
setLinePatch
in interface IDocumentDefaultSymbols
patch
- A reference to a com.esri.arcgis.carto.ILinePatch (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ILinePatch getLinePatch() throws java.io.IOException, AutomationException
getLinePatch
in interface IBasicDocumentDefaultSymbols
getLinePatch
in interface IDocumentDefaultSymbols
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPatchWidth(double widthPts) throws java.io.IOException, AutomationException
setPatchWidth
in interface IBasicDocumentDefaultSymbols
setPatchWidth
in interface IDocumentDefaultSymbols
widthPts
- The widthPts (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getPatchWidth() throws java.io.IOException, AutomationException
getPatchWidth
in interface IBasicDocumentDefaultSymbols
getPatchWidth
in interface IDocumentDefaultSymbols
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPatchHeight(double heightPts) throws java.io.IOException, AutomationException
setPatchHeight
in interface IBasicDocumentDefaultSymbols
setPatchHeight
in interface IDocumentDefaultSymbols
heightPts
- The heightPts (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getPatchHeight() throws java.io.IOException, AutomationException
getPatchHeight
in interface IBasicDocumentDefaultSymbols
getPatchHeight
in interface IDocumentDefaultSymbols
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCustomTOCFont(Font font) throws java.io.IOException, AutomationException
setCustomTOCFont
in interface IBasicDocumentDefaultSymbols
setCustomTOCFont
in interface IDocumentDefaultSymbols
font
- A reference to a com.esri.arcgis.support.ms.stdole.Font (A com.esri.arcgis.support.ms.stdole.Font COM typedef) (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Font getCustomTOCFont() throws java.io.IOException, AutomationException
getCustomTOCFont
in interface IBasicDocumentDefaultSymbols
getCustomTOCFont
in interface IDocumentDefaultSymbols
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCustomTOCFontSize(double fontSizePts) throws java.io.IOException, AutomationException
setCustomTOCFontSize
in interface IBasicDocumentDefaultSymbols
setCustomTOCFontSize
in interface IDocumentDefaultSymbols
fontSizePts
- The fontSizePts (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getCustomTOCFontSize() throws java.io.IOException, AutomationException
getCustomTOCFontSize
in interface IBasicDocumentDefaultSymbols
getCustomTOCFontSize
in interface IDocumentDefaultSymbols
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void clearContentsViews() throws java.io.IOException, AutomationException
clearContentsViews
in interface IContentsViewEdit
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addContentsView(IContentsView contentsView) throws java.io.IOException, AutomationException
addContentsView
in interface IContentsViewEdit
contentsView
- A reference to a com.esri.arcgis.arcmapui.IContentsView (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getDataGraphCount() throws java.io.IOException, AutomationException
getDataGraphCount
in interface IDataGraphCollection
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IDataGraphBase getDataGraph(int index) throws java.io.IOException, AutomationException
getDataGraph
in interface IDataGraphCollection
index
- The index (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeDataGraph(IDataGraphBase graph) throws java.io.IOException, AutomationException
removeDataGraph
in interface IDataGraphCollection
graph
- A reference to a com.esri.arcgis.carto.IDataGraphBase (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addDataGraph(IDataGraphBase graph) throws java.io.IOException, AutomationException
addDataGraph
in interface IDataGraphCollection
graph
- A reference to a com.esri.arcgis.carto.IDataGraphBase (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeAllDataGraphs() throws java.io.IOException, AutomationException
removeAllDataGraphs
in interface IDataGraphCollection
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumDataset getDatasets() throws java.io.IOException, AutomationException
getDatasets
in interface IDocumentDatasets
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getDocumentTitle() throws java.io.IOException, AutomationException
getDocumentTitle
in interface IDocumentInfo
getDocumentTitle
in interface IDocumentInfo2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDocumentTitle(java.lang.String title) throws java.io.IOException, AutomationException
setDocumentTitle
in interface IDocumentInfo
setDocumentTitle
in interface IDocumentInfo2
title
- The title (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getSubject() throws java.io.IOException, AutomationException
getSubject
in interface IDocumentInfo
getSubject
in interface IDocumentInfo2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSubject(java.lang.String subject) throws java.io.IOException, AutomationException
setSubject
in interface IDocumentInfo
setSubject
in interface IDocumentInfo2
subject
- The subject (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getAuthor() throws java.io.IOException, AutomationException
getAuthor
in interface IDocumentInfo
getAuthor
in interface IDocumentInfo2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAuthor(java.lang.String author) throws java.io.IOException, AutomationException
setAuthor
in interface IDocumentInfo
setAuthor
in interface IDocumentInfo2
author
- The author (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getCategory() throws java.io.IOException, AutomationException
getCategory
in interface IDocumentInfo
getCategory
in interface IDocumentInfo2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCategory(java.lang.String category) throws java.io.IOException, AutomationException
setCategory
in interface IDocumentInfo
setCategory
in interface IDocumentInfo2
category
- The category (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getComments() throws java.io.IOException, AutomationException
getComments
in interface IDocumentInfo
getComments
in interface IDocumentInfo2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setComments(java.lang.String comments) throws java.io.IOException, AutomationException
setComments
in interface IDocumentInfo
setComments
in interface IDocumentInfo2
comments
- The comments (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getKeywords() throws java.io.IOException, AutomationException
getKeywords
in interface IDocumentInfo
getKeywords
in interface IDocumentInfo2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setKeywords(java.lang.String keywords) throws java.io.IOException, AutomationException
setKeywords
in interface IDocumentInfo
setKeywords
in interface IDocumentInfo2
keywords
- The keywords (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getHyperlinkBase() throws java.io.IOException, AutomationException
getHyperlinkBase
in interface IDocumentInfo
getHyperlinkBase
in interface IDocumentInfo2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setHyperlinkBase(java.lang.String path) throws java.io.IOException, AutomationException
setHyperlinkBase
in interface IDocumentInfo
setHyperlinkBase
in interface IDocumentInfo2
path
- The path (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isSavePreview() throws java.io.IOException, AutomationException
isSavePreview
in interface IDocumentInfo
isSavePreview
in interface IDocumentInfo2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSavePreview(boolean savePreview) throws java.io.IOException, AutomationException
setSavePreview
in interface IDocumentInfo
setSavePreview
in interface IDocumentInfo2
savePreview
- The savePreview (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getCredits() throws java.io.IOException, AutomationException
getCredits
in interface IDocumentInfo2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCredits(java.lang.String credits) throws java.io.IOException, AutomationException
setCredits
in interface IDocumentInfo2
credits
- The credits (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getName() throws java.io.IOException, AutomationException
getName
in interface IDocumentInfo2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getPath() throws java.io.IOException, AutomationException
getPath
in interface IDocumentInfo2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getFolder() throws java.io.IOException, AutomationException
getFolder
in interface IDocumentInfo2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getDateSaved() throws java.io.IOException, AutomationException
getDateSaved
in interface IDocumentInfo2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getDatePrinted() throws java.io.IOException, AutomationException
getDatePrinted
in interface IDocumentInfo2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getDateExported() throws java.io.IOException, AutomationException
getDateExported
in interface IDocumentInfo2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void createPreview() throws java.io.IOException, AutomationException
createPreview
in interface IDocumentPreview
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void deletePreview() throws java.io.IOException, AutomationException
deletePreview
in interface IDocumentPreview
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isHasPreviewSaved() throws java.io.IOException, AutomationException
isHasPreviewSaved
in interface IDocumentPreview
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isHasPreviewToSave() throws java.io.IOException, AutomationException
isHasPreviewToSave
in interface IDocumentPreview
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ILatLonFormat getLatLonFormat() throws java.io.IOException, AutomationException
getLatLonFormat
in interface IReportUnitFormat
getLatLonFormat
in interface IReportUnitFormat2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLatLonFormatByRef(ILatLonFormat format) throws java.io.IOException, AutomationException
setLatLonFormatByRef
in interface IReportUnitFormat
setLatLonFormatByRef
in interface IReportUnitFormat2
format
- A reference to a com.esri.arcgis.system.ILatLonFormat (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public INumberFormat getNumericFormat() throws java.io.IOException, AutomationException
getNumericFormat
in interface IReportUnitFormat
getNumericFormat
in interface IReportUnitFormat2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setNumericFormatByRef(INumberFormat format) throws java.io.IOException, AutomationException
setNumericFormatByRef
in interface IReportUnitFormat
setNumericFormatByRef
in interface IReportUnitFormat2
format
- A reference to a com.esri.arcgis.system.INumberFormat (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ILatLonFormat getCoordinateReadoutLatLonFormat() throws java.io.IOException, AutomationException
getCoordinateReadoutLatLonFormat
in interface IReportUnitFormat2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCoordinateReadoutLatLonFormatByRef(ILatLonFormat format) throws java.io.IOException, AutomationException
setCoordinateReadoutLatLonFormatByRef
in interface IReportUnitFormat2
format
- A reference to a com.esri.arcgis.system.ILatLonFormat (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getCoordinateReadoutUnits() throws java.io.IOException, AutomationException
getCoordinateReadoutUnits
in interface IReportUnitFormat2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCoordinateReadoutUnits(int units) throws java.io.IOException, AutomationException
setCoordinateReadoutUnits
in interface IReportUnitFormat2
units
- A com.esri.arcgis.system.esriUnits constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDocumentVersion(int docVersion) throws java.io.IOException, AutomationException
setDocumentVersion
in interface IDocumentVersion
docVersion
- A com.esri.arcgis.system.esriArcGISVersion constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getDocumentVersion() throws java.io.IOException, AutomationException
getDocumentVersion
in interface IMapDocument
getDocumentVersion
in interface IDocumentVersion
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getClassID(GUID[] pClassID) throws java.io.IOException, AutomationException
getClassID
in interface IPersist
pClassID
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isMapDocument(java.lang.String sDocument) throws java.io.IOException, AutomationException
isMapDocument
in interface IMapDocument
sDocument
- The sDocument (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isPresent(java.lang.String sDocument) throws java.io.IOException, AutomationException
isPresent
in interface IMapDocument
sDocument
- The sDocument (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isReadOnly(java.lang.String sDocument) throws java.io.IOException, AutomationException
isReadOnly
in interface IMapDocument
sDocument
- The sDocument (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isRestricted(java.lang.String sDocument) throws java.io.IOException, AutomationException
isRestricted
in interface IMapDocument
sDocument
- The sDocument (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isPasswordProtected(java.lang.String sDocument) throws java.io.IOException, AutomationException
isPasswordProtected
in interface IMapDocument
sDocument
- The sDocument (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void esri_new(java.lang.String sDocument) throws java.io.IOException, AutomationException
esri_new
in interface IMapDocument
sDocument
- The sDocument (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void open(java.lang.String sDocument, java.lang.String bsPassword) throws java.io.IOException, AutomationException
open
in interface IMapDocument
sDocument
- The sDocument (in)bsPassword
- The bsPassword (in, optional, pass if not required)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getDocumentFilename() throws java.io.IOException, AutomationException
getDocumentFilename
in interface IMapDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getDocumentType() throws java.io.IOException, AutomationException
getDocumentType
in interface IMapDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isUsesRelativePaths() throws java.io.IOException, AutomationException
isUsesRelativePaths
in interface IMapDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getMapCount() throws java.io.IOException, AutomationException
getMapCount
in interface IMapDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IMap getMap(int mapIndex) throws java.io.IOException, AutomationException
getMap
in interface IMapDocument
mapIndex
- The mapIndex (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ILayer getLayer(int mapIndex, int layerIndex) throws java.io.IOException, AutomationException
getLayer
in interface IMapDocument
mapIndex
- The mapIndex (in)layerIndex
- The layerIndex (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPrinter getPrinter() throws java.io.IOException, AutomationException
getPrinter
in interface IMapDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPicture getThumbnail() throws java.io.IOException, AutomationException
getThumbnail
in interface IMapDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void close() throws java.io.IOException, AutomationException
close
in interface IMapDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getVersionInfo(boolean[] versionInfoMissing, int[] lMajor, int[] lMinor, int[] lRevision, int[] lBuild) throws java.io.IOException, AutomationException
getVersionInfo
in interface IMapDocument
versionInfoMissing
- The versionInfoMissing (in/out: use single element array)lMajor
- The lMajor (in/out: use single element array)lMinor
- The lMinor (in/out: use single element array)lRevision
- The lRevision (in/out: use single element array)lBuild
- The lBuild (in/out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void replaceContents(IMxdContents pObject) throws java.io.IOException, AutomationException
replaceContents
in interface IMapDocument
pObject
- A reference to a com.esri.arcgis.carto.IMxdContents (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setActiveView(IActiveView pActiveView) throws java.io.IOException, AutomationException
setActiveView
in interface IMapDocument
pActiveView
- A reference to a com.esri.arcgis.carto.IActiveView (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void save(boolean bUseRelativePaths, boolean bCreateThumnbail) throws java.io.IOException, AutomationException
save
in interface IMapDocument
bUseRelativePaths
- The bUseRelativePaths (in, optional, pass true if not required)bCreateThumnbail
- The bCreateThumnbail (in, optional, pass true if not required)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void saveAs(java.lang.String sDocument, boolean bUseRelativePaths, boolean bCreateThumnbail) throws java.io.IOException, AutomationException
saveAs
in interface IMapDocument
sDocument
- The sDocument (in)bUseRelativePaths
- The bUseRelativePaths (in, optional, pass true if not required)bCreateThumnbail
- The bCreateThumnbail (in, optional, pass true if not required)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void interfaceSupportsErrorInfo(GUID riid) throws java.io.IOException, AutomationException
interfaceSupportsErrorInfo
in interface ISupportErrorInfo
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void enumConnectionPoints(IEnumConnectionPoints[] ppEnum) throws java.io.IOException, AutomationException
enumConnectionPoints
in interface IConnectionPointContainer
ppEnum
- A reference to a com.esri.arcgis.display.IEnumConnectionPoints (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void findConnectionPoint(GUID riid, IConnectionPoint[] ppCP) throws java.io.IOException, AutomationException
findConnectionPoint
in interface IConnectionPointContainer
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)ppCP
- A reference to a com.esri.arcgis.display.IConnectionPoint (out: use single element array)
java.io.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 |