|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface RemoteConfigurationPrecisionMapping
The result format-precision mapping settings,
for the FR220 feature(font precision).
Each result format has a precision value,
client can get/set precision through this interface,
for any format, always has a default precision.
The valid precision is:
: the High precision is required for the result format.
APIConst.PRECISION_HIGH
: the Low precision is required for the result format.
APIConst.PRECISION_LOW
: the context precision can be Any(High or Low),
Dont care the precision issue for the result format.
APIConst.PRECISION_ANY
the valid formats is:
APIConst.RST,
APIConst.HTML,
APIConst.PDF,
APIConst.TEXT,
APIConst.EXCEL,
APIConst.PS,
APIConst.RTF,
APIConst.XML,
APIConst.DHTML,
APIConst.PRINTER,
APIConst.FAX
Notes: Applet is RST(RST)
| Method Summary | |
|---|---|
void |
enableCustomizedPrecision(boolean isCustomized)
Enable or disable customized precision. |
void |
enableFormatCustomizedPrecision(int format,
boolean isCustomized)
Enable or disalbe customized precision for the format. |
int |
getCustomizedPrecision(int format)
get the customized precision. |
int |
getPrecision(int format)
get the precision. |
boolean |
isFormatPrecisionCustomized(int format)
Whether enabled customized precision for the format. |
boolean |
isPrecisionCustomized()
Whether enabled customized precision. |
void |
setPrecision(int format,
int precision)
set the precision. |
| Method Detail |
|---|
int getPrecision(int format)
throws java.rmi.RemoteException
APIConst.PRECISION_ANY will be returned.isPrecisionCustomized() is true
and isFormatPrecisionCustomized(int) is true,
will return the customized precision,
otherwise return the default system precision.
- Parameters:
format - the format, one of below:
APIConst.RST, APIConst.HTML, APIConst.PDF, APIConst.TEXT,
APIConst.EXCEL, APIConst.PS, APIConst.RTF, APIConst.XML,
APIConst.DHTML,
APIConst.PRINTER, APIConst.FAX
- Returns:
- the precision, one of below:
APIConst.PRECISION_LOW, APIConst.PRECISION_HIGH, APIConst.PRECISION_ANY
- Throws:
java.rmi.RemoteException
void setPrecision(int format,
int precision)
throws java.rmi.RemoteException
format - the format, one of 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 below:APIConst.PRECISION_LOW, APIConst.PRECISION_HIGH
java.rmi.RemoteException
void enableCustomizedPrecision(boolean isCustomized)
throws java.rmi.RemoteException
isCustomized -
java.rmi.RemoteException - will be thrown if error occurs.
boolean isPrecisionCustomized()
throws java.rmi.RemoteException
java.rmi.RemoteException - will be thrown if error occurs.
void enableFormatCustomizedPrecision(int format,
boolean isCustomized)
throws java.rmi.RemoteException
format - APIConst.HTML etc.isCustomized -
java.rmi.RemoteException - will be thrown if error occurs.
boolean isFormatPrecisionCustomized(int format)
throws java.rmi.RemoteException
format - APIConst.HTML etc.
java.rmi.RemoteException - will be thrown if error occurs.
int getCustomizedPrecision(int format)
throws java.rmi.RemoteException
format - the format.
java.rmi.RemoteException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||