com.stimulsoft.report.export.tools
Enum StiUserAccessPrivileges

java.lang.Object
  extended by java.lang.Enum<StiUserAccessPrivileges>
      extended by com.stimulsoft.report.export.tools.StiUserAccessPrivileges
All Implemented Interfaces:
IStiEnum, java.io.Serializable, java.lang.Comparable<StiUserAccessPrivileges>

public enum StiUserAccessPrivileges
extends java.lang.Enum<StiUserAccessPrivileges>
implements IStiEnum

User accesc privileges Copyright Stimulsoft


Enum Constant Summary
AddOrModifyTextAnnotations
          User password allows adding or modifying text annotations in the content of the pdfdocument.
All
          User password allows all modifications on the content of the pdf document.
CopyTextAndGraphics
          User password allows copying text and graphics objects from the content of the pdfdocument.
ModifyContents
          User password allows modifying the content of the pdf document.
None
          User password allows only opening the pdf document, decrypt it, and display it on the screen.
PrintDocument
          User password allows opening the pdf document, decrypt it, display it on the screen and print its content.
 
Method Summary
 int getValue()
           
static StiEnumSet<StiUserAccessPrivileges> parse(java.lang.String value)
           
static StiEnumSet<StiUserAccessPrivileges> parseInt(int value)
           
static StiUserAccessPrivileges valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static StiUserAccessPrivileges[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

None

public static final StiUserAccessPrivileges None
User password allows only opening the pdf document, decrypt it, and display it on the screen.


PrintDocument

public static final StiUserAccessPrivileges PrintDocument
User password allows opening the pdf document, decrypt it, display it on the screen and print its content.


ModifyContents

public static final StiUserAccessPrivileges ModifyContents
User password allows modifying the content of the pdf document.


CopyTextAndGraphics

public static final StiUserAccessPrivileges CopyTextAndGraphics
User password allows copying text and graphics objects from the content of the pdfdocument.


AddOrModifyTextAnnotations

public static final StiUserAccessPrivileges AddOrModifyTextAnnotations
User password allows adding or modifying text annotations in the content of the pdfdocument.


All

public static final StiUserAccessPrivileges All
User password allows all modifications on the content of the pdf document.

Method Detail

values

public static StiUserAccessPrivileges[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (StiUserAccessPrivileges c : StiUserAccessPrivileges.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static StiUserAccessPrivileges valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getValue

public int getValue()
Specified by:
getValue in interface IStiEnum

parseInt

public static StiEnumSet<StiUserAccessPrivileges> parseInt(int value)

parse

public static StiEnumSet<StiUserAccessPrivileges> parse(java.lang.String value)