public class ViewerPreferences extends Preferences
Constructor and Description |
---|
ViewerPreferences() |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener) |
static ViewerPreferences |
createViewerPreferences(String imageSmoothingAlgorithm,
String isImageSmoothing,
String interpolation,
String alphaInterpolation,
String colorRendering,
String dithering,
String antiAlias,
String strokeControl,
String dpiX,
String dpiY,
String resolutionMode,
String fractionalMetrics,
String textAntiAlias,
String textLCDContrast,
String attempts,
String isForceFullPermission,
String isShowDialog)
Creates a new instance of this class with specified settings.
|
ViewerPasswordSettings |
getPasswordSettings()
Returns current password settings.
|
String |
toString() |
getRenderingSettings
public ViewerPasswordSettings getPasswordSettings()
Preferences
getPasswordSettings
in class Preferences
public void addPropertyChangeListener(PropertyChangeListener listener)
addPropertyChangeListener
in class Preferences
public static ViewerPreferences createViewerPreferences(String imageSmoothingAlgorithm, String isImageSmoothing, String interpolation, String alphaInterpolation, String colorRendering, String dithering, String antiAlias, String strokeControl, String dpiX, String dpiY, String resolutionMode, String fractionalMetrics, String textAntiAlias, String textLCDContrast, String attempts, String isForceFullPermission, String isShowDialog)
imageSmoothingAlgorithm
- image-smoothing algorithmisImageSmoothing
- whether image smoothing should be appliedinterpolation
- interpolation techniquealphaInterpolation
- alpha-channel interpolation settingcolorRendering
- color-rendering settingdithering
- dither settingantiAlias
- anti-aliasing settingstrokeControl
- stroke-rendering settingdpiX
- horizontal pixel densitydpiY
- vertical pixel densityresolutionMode
- which pixel density option is chosenfractionalMetrics
- textAntiAlias
- anti-aliasing settings for text elementstextLCDContrast
- text-contrast settingattempts
- maximum number of attempts to accept a correct password to decrypt
a documentisForceFullPermission
- whether document user permissions should be ignored when
performing operations on the document.isShowDialog
- whether the password dialog should be displayed for encrypted
documentspublic String toString()
toString
in class Preferences