public class ReaderExtensionsOptionSpec extends Object implements Serializable
Constructor and Description |
---|
ReaderExtensionsOptionSpec() |
ReaderExtensionsOptionSpec(UsageRights rights,
String message)
A constructor that creates a
ReaderExtensionsOptions instance. |
Modifier and Type | Method and Description |
---|---|
String |
getMessage()
Returns the message that is displayed within Adobe Reader when the rights enabled PDF document is opened.
|
UsageRights |
getUsageRights()
Returns a
UsageRights object that represents usage rights applied to the PDF document. |
boolean |
isModeFinal()
Returns
true if the mode is set to final. |
void |
setMessage(String message)
Sets the message that is displayed within Adobe Reader when the rights enabled PDF document is opened.
|
void |
setModeFinal(boolean modeFinal)
Sets the usage-rights mode.
|
void |
setUsageRights(UsageRights usageRights)
Sets a
UsageRights object that represents usage rights applied to the PDF document. |
public ReaderExtensionsOptionSpec()
public ReaderExtensionsOptionSpec(UsageRights rights, String message)
ReaderExtensionsOptions
instance.rights
- A UsageRights
object that represents usage rights applied to the PDF document.message
- A message that the rights-enabled PDF document displays within Adobe Reader.public String getMessage()
public void setMessage(String message)
message
- The message that is displayed.public UsageRights getUsageRights()
UsageRights
object that represents usage rights applied to the PDF document.UsageRights
object.public void setUsageRights(UsageRights usageRights)
UsageRights
object that represents usage rights applied to the PDF document.usageRights
- A UsageRights
object.public boolean isModeFinal()
true
if the mode is set to final.
If true, the count of the credential used to apply usage rights to
a PDF document is incremented. By default the mode is final.public void setModeFinal(boolean modeFinal)
true
, the count of the credential used to apply usage rights to
a PDF document is incremented. By default the mode is final.modeFinal
- A Boolean value that specifies if the mode is set to final.Copyright © 1982–2022 Adobe Systems Inc.. All rights reserved.