public interface RemoteConfigurationPrecisionMapping
extends java.rmi.Remote
APIConst.PRECISION_HIGH: the High precision is required for the result format.
APIConst.PRECISION_LOW: the Low precision is required for the result format.
APIConst.PRECISION_ANY: the context precision can be Any(High or Low),
which means not to care the precision issue for the result format.
APIConst.RST,
APIConst.HTML,
APIConst.PDF,
APIConst.TEXT,
APIConst.EXCEL,
APIConst.PS,
APIConst.RTF,
APIConst.XML,
APIConst.DHTML,
APIConst.PRINTER,
APIConst.FAX
| Modifier and Type | Method and Description |
|---|---|
void |
enableCustomizedPrecision(boolean isCustomized)
Enables or disables customized precision.
|
void |
enableFormatCustomizedPrecision(int format,
boolean isCustomized)
Enables or disables customized precision for the format.
|
int |
getCustomizedPrecision(int format)
Gets the customized precision.
|
int |
getPrecision(int format)
Gets the precision.
|
boolean |
isFormatPrecisionCustomized(int format)
Whether to enable customized precision for the format.
|
boolean |
isPrecisionCustomized()
Whether customized precision is enabled.
|
void |
setPrecision(int format,
int precision)
Sets the precision.
|
int getPrecision(int format)
throws java.rmi.RemoteException
APIConst.PRECISION_ANY will be returned.isPrecisionCustomized() is true
and isFormatPrecisionCustomized(int) is true,
return the customized precision,
otherwise return the default system precision.format - the format, one of the below:APIConst.RST, APIConst.HTML, APIConst.PDF, APIConst.TEXT,
APIConst.EXCEL, APIConst.PS, APIConst.RTF, APIConst.XML,
APIConst.DHTML,
APIConst.PRINTER, APIConst.FAXAPIConst.PRECISION_LOW, APIConst.PRECISION_HIGH, APIConst.PRECISION_ANYjava.rmi.RemoteException - if communication-related error occurs during RMI call execution.void setPrecision(int format,
int precision)
throws java.rmi.RemoteException
format - the format, one of the below:APIConst.RST, APIConst.HTML, APIConst.PDF, APIConst.TEXT,
APIConst.EXCEL, APIConst.PS, APIConst.RTF, APIConst.XML,
APIConst.DHTML,
APIConst.PRINTER, APIConst.FAXprecision - the precision, one of the below:APIConst.PRECISION_LOW, APIConst.PRECISION_HIGHjava.rmi.RemoteException - if communication-related error occurs during RMI call execution.void enableCustomizedPrecision(boolean isCustomized)
throws java.rmi.RemoteException
isCustomized - java.rmi.RemoteException - if communication-related error occurs during RMI call execution.boolean isPrecisionCustomized()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.void enableFormatCustomizedPrecision(int format,
boolean isCustomized)
throws java.rmi.RemoteException
format - APIConst.HTML etc.isCustomized - java.rmi.RemoteException - if communication-related error occurs during RMI call execution.boolean isFormatPrecisionCustomized(int format)
throws java.rmi.RemoteException
format - APIConst.HTML etc.java.rmi.RemoteException - if communication-related error occurs during RMI call execution.int getCustomizedPrecision(int format)
throws java.rmi.RemoteException
format - the format.java.rmi.RemoteException - if communication-related error occurs during RMI call execution.