|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.adobe.livecycle.readerextensions.client.ReaderExtensionsOptionSpec
public class ReaderExtensionsOptionSpec
Represents run-time options that are available when applying usage rights to a PDF document. Using this object, you can set the individual usage rights that are applied to a PDF document and the message that appears when the rights-enabled PDF document is opened in Adobe Reader.
Constructor Summary | |
---|---|
ReaderExtensionsOptionSpec()
|
|
ReaderExtensionsOptionSpec(UsageRights rights,
java.lang.String message)
A constructor that creates a ReaderExtensionsOptions instance. |
Method Summary | |
---|---|
java.lang.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(java.lang.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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ReaderExtensionsOptionSpec()
public ReaderExtensionsOptionSpec(UsageRights rights, java.lang.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.Method Detail |
---|
public java.lang.String getMessage()
public void setMessage(java.lang.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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |