com.esri.arcgis.output
Class PDFDriver

java.lang.Object
  extended by com.esri.arcgis.output.PDFDriver
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, IFontMapEnvironment, IPDFDriver, IStepProgressorSetup, ITrackCancelSetup, ISupportErrorInfo, java.io.Serializable

public class PDFDriver
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IPDFDriver, ISupportErrorInfo, IStepProgressorSetup, ITrackCancelSetup, IFontMapEnvironment

COM Class 'PDFDriver'. Generated 3/19/2015 1:20:45 PM from 'C:\ArcGIS\COM\esriOutput.olb'

Description 'Superseded by ExportPDF. Class used to print maps with the PDF (Portable Document Format) driver.' 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 =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.output.IPDFDriver
IID, IID0201602d_1521_11d3_9f97_00c04f6bc8dd, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
 
Fields inherited from interface com.esri.arcgis.output.IStepProgressorSetup
IID, IID1c538193_8806_489c_8a79_4b54c8c18b37, xxDummy
 
Fields inherited from interface com.esri.arcgis.output.ITrackCancelSetup
IID, IID5e091c46_d015_471f_8187_f774c7ad9d48, xxDummy
 
Fields inherited from interface com.esri.arcgis.output.IFontMapEnvironment
IID, IID9ecb85b2_6caa_11d3_b685_0080c8ea4fd5, xxDummy
 
Constructor Summary
PDFDriver()
          Constructs a PDFDriver using ArcGIS Engine.
PDFDriver(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
PDFDriver thePDFDriver = (PDFDriver) obj;
 
Method Summary
 void createPDF(java.lang.String inputFileName, java.lang.String outputFileName)
          Converts the EMF file to a PDF File.
 boolean equals(java.lang.Object o)
          Compare this object with another
 java.lang.String getApplyDefaultMappingDesc()
          The Font Mapping checkbox description string.
static java.lang.String getClsid()
          getClsid.
 java.lang.String getDefaultMapping()
          The Default Font Mapping string.
 java.lang.Object getDefaultMappingsChoices()
          The Default Mapping Choices for Font Substitution.
 IFontMapCollection getFontMapCollection()
          The Font Map Collection for Font Mapping.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int hashCode()
          the hashcode for this object
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 boolean isSaveMappings()
          Indicates whether to save font mappings.
 void release()
          Release a PDFDriver.
 void setApplyDefaultMappingDesc(java.lang.String applyDefaultMappingDesc)
          The Font Mapping checkbox description string.
 void setDefaultMapping(java.lang.String defaultMapping)
          The Default Font Mapping string.
 void setDefaultMappingsChoices(java.lang.Object defaultMappingChoices)
          The Default Mapping Choices for Font Substitution.
 void setFontMapCollectionByRef(IFontMapCollection fontMapCollection)
          The Font Map Collection for Font Mapping.
 void setSaveMappings(boolean saveMappings)
          Indicates whether to save font mappings.
 void setStepProgressor(IStepProgressor rhs1)
          Updates a Progress Bar.
 void setTrackCancel(ITrackCancel rhs1)
          Reacts to a Cancel.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PDFDriver

public PDFDriver()
          throws java.io.IOException,
                 java.net.UnknownHostException
Constructs a PDFDriver using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

PDFDriver

public PDFDriver(java.lang.Object obj)
          throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
PDFDriver thePDFDriver = (PDFDriver) obj;

Construct a PDFDriver using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to PDFDriver.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a PDFDriver.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

getFontMapCollection

public IFontMapCollection getFontMapCollection()
                                        throws java.io.IOException,
                                               AutomationException
The Font Map Collection for Font Mapping.

Specified by:
getFontMapCollection in interface IFontMapEnvironment
Specified by:
getFontMapCollection in interface IPDFDriver
Returns:
A reference to a com.esri.arcgis.output.IFontMapCollection
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFontMapCollectionByRef

public void setFontMapCollectionByRef(IFontMapCollection fontMapCollection)
                               throws java.io.IOException,
                                      AutomationException
The Font Map Collection for Font Mapping.

Specified by:
setFontMapCollectionByRef in interface IPDFDriver
Parameters:
fontMapCollection - A reference to a com.esri.arcgis.output.IFontMapCollection (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createPDF

public void createPDF(java.lang.String inputFileName,
                      java.lang.String outputFileName)
               throws java.io.IOException,
                      AutomationException
Converts the EMF file to a PDF File.

Specified by:
createPDF in interface IPDFDriver
Parameters:
inputFileName - The inputFileName (in)
outputFileName - The outputFileName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws java.io.IOException,
                                       AutomationException
interfaceSupportsErrorInfo

Specified by:
interfaceSupportsErrorInfo in interface ISupportErrorInfo
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setStepProgressor

public void setStepProgressor(IStepProgressor rhs1)
                       throws java.io.IOException,
                              AutomationException
Updates a Progress Bar.

Specified by:
setStepProgressor in interface IStepProgressorSetup
Parameters:
rhs1 - A reference to a com.esri.arcgis.system.IStepProgressor (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTrackCancel

public void setTrackCancel(ITrackCancel rhs1)
                    throws java.io.IOException,
                           AutomationException
Reacts to a Cancel.

Specified by:
setTrackCancel in interface ITrackCancelSetup
Parameters:
rhs1 - A reference to a com.esri.arcgis.system.ITrackCancel (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSaveMappings

public void setSaveMappings(boolean saveMappings)
                     throws java.io.IOException,
                            AutomationException
Indicates whether to save font mappings.

Specified by:
setSaveMappings in interface IFontMapEnvironment
Parameters:
saveMappings - The saveMappings (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isSaveMappings

public boolean isSaveMappings()
                       throws java.io.IOException,
                              AutomationException
Indicates whether to save font mappings.

Specified by:
isSaveMappings in interface IFontMapEnvironment
Returns:
The saveMappings
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDefaultMappingsChoices

public void setDefaultMappingsChoices(java.lang.Object defaultMappingChoices)
                               throws java.io.IOException,
                                      AutomationException
The Default Mapping Choices for Font Substitution.

Specified by:
setDefaultMappingsChoices in interface IFontMapEnvironment
Parameters:
defaultMappingChoices - A Variant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDefaultMappingsChoices

public java.lang.Object getDefaultMappingsChoices()
                                           throws java.io.IOException,
                                                  AutomationException
The Default Mapping Choices for Font Substitution.

Specified by:
getDefaultMappingsChoices in interface IFontMapEnvironment
Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDefaultMapping

public void setDefaultMapping(java.lang.String defaultMapping)
                       throws java.io.IOException,
                              AutomationException
The Default Font Mapping string.

Specified by:
setDefaultMapping in interface IFontMapEnvironment
Parameters:
defaultMapping - The defaultMapping (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDefaultMapping

public java.lang.String getDefaultMapping()
                                   throws java.io.IOException,
                                          AutomationException
The Default Font Mapping string.

Specified by:
getDefaultMapping in interface IFontMapEnvironment
Returns:
The defaultMapping
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setApplyDefaultMappingDesc

public void setApplyDefaultMappingDesc(java.lang.String applyDefaultMappingDesc)
                                throws java.io.IOException,
                                       AutomationException
The Font Mapping checkbox description string.

Specified by:
setApplyDefaultMappingDesc in interface IFontMapEnvironment
Parameters:
applyDefaultMappingDesc - The applyDefaultMappingDesc (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getApplyDefaultMappingDesc

public java.lang.String getApplyDefaultMappingDesc()
                                            throws java.io.IOException,
                                                   AutomationException
The Font Mapping checkbox description string.

Specified by:
getApplyDefaultMappingDesc in interface IFontMapEnvironment
Returns:
The applyDefaultMappingDesc
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.