[]
        
(Showing Draft Content)

SignatureDetails

Class SignatureDetails

java.lang.Object
com.grapecity.documents.excel.SignatureDetails

public class SignatureDetails extends Object
Provides signature details for application developers to implement the "Sign" button on "Signature Details" dialog. Represents data of SignatureInfoV1, SignatureInfoV2 and XAdES part in the signature.

 SignatureDetails details = new SignatureDetails();
 details.setSignatureComments("Approved for release");
 String comments = details.getSignatureComments();
 
  • Constructor Details

    • SignatureDetails

      public SignatureDetails()
  • Method Details

    • getSignatureComments

      public final String getSignatureComments()
      Gets the "signature comments" field in the "sign" dialog.
      
       SignatureDetails details = new SignatureDetails();
       details.setSignatureComments("Approved for release");
       String comments = details.getSignatureComments();
       
      Returns:
      The "signature comments" field in the "sign" dialog.
    • setSignatureComments

      public final void setSignatureComments(String value)
      Sets the "signature comments" field in the "sign" dialog.
      
       SignatureDetails details = new SignatureDetails();
       details.setSignatureComments("Approved for release");
       
      Parameters:
      value - The signature comments.
    • getWindowsVersion

      public final String getWindowsVersion()
      Gets the "windows version" field in the additional information dialog.
      
       SignatureDetails details = new SignatureDetails();
       details.setWindowsVersion("10.0.19045");
       String windowsVersion = details.getWindowsVersion();
       
      Returns:
      The "windows version" field in the additional information dialog.
    • setWindowsVersion

      public final void setWindowsVersion(String value)
      Sets the "windows version" field in the additional information dialog.
      
       SignatureDetails details = new SignatureDetails();
       details.setWindowsVersion("10.0.19045");
       
      Parameters:
      value - The Windows version.
    • getOfficeVersion

      public final String getOfficeVersion()
      Gets the "office version" field in the additional information dialog.
      
       SignatureDetails details = new SignatureDetails();
       details.setOfficeVersion("16.0.12228/19");
       String officeVersion = details.getOfficeVersion();
       
      Returns:
      The "office version" field in the additional information dialog.
    • setOfficeVersion

      public final void setOfficeVersion(String value)
      Sets the "office version" field in the additional information dialog.
      
       SignatureDetails details = new SignatureDetails();
       details.setOfficeVersion("16.0.12228/19");
       
      Parameters:
      value - The Office version.
    • getApplicationVersion

      public final String getApplicationVersion()
      Gets the "application version" field in the additional information dialog.
      
       SignatureDetails details = new SignatureDetails();
       details.setApplicationVersion("16.0");
       String applicationVersion = details.getApplicationVersion();
       
      Returns:
      The "application version" field in the additional information dialog.
    • setApplicationVersion

      public final void setApplicationVersion(String value)
      Sets the "application version" field in the additional information dialog.
      
       SignatureDetails details = new SignatureDetails();
       details.setApplicationVersion("16.0");
       
      Parameters:
      value - The application version.
    • getMonitors

      public final int getMonitors()
      Gets the "monitors" field in the additional information dialog.
      
       SignatureDetails details = new SignatureDetails();
       details.setMonitors(2);
       int monitors = details.getMonitors();
       
      Returns:
      The "monitors" field in the additional information dialog.
    • setMonitors

      public final void setMonitors(int value)
      Sets the "monitors" field in the additional information dialog.
      
       SignatureDetails details = new SignatureDetails();
       details.setMonitors(2);
       
      Parameters:
      value - The number of monitors.
    • getHorizontalResolution

      public final int getHorizontalResolution()
      Gets the "horizontal resolution" field in the additional information dialog.
      
       SignatureDetails details = new SignatureDetails();
       details.setHorizontalResolution(1920);
       int horizontalResolution = details.getHorizontalResolution();
       
      Returns:
      The "horizontal resolution" field in the additional information dialog.
    • setHorizontalResolution

      public final void setHorizontalResolution(int value)
      Sets the "horizontal resolution" field in the additional information dialog.
      
       SignatureDetails details = new SignatureDetails();
       details.setHorizontalResolution(1920);
       
      Parameters:
      value - The horizontal screen resolution.
    • getVerticalResolution

      public final int getVerticalResolution()
      Gets the "vertical resolution" field in the additional information dialog.
      
       SignatureDetails details = new SignatureDetails();
       details.setVerticalResolution(1080);
       int verticalResolution = details.getVerticalResolution();
       
      Returns:
      The "vertical resolution" field in the additional information dialog.
    • setVerticalResolution

      public final void setVerticalResolution(int value)
      Sets the "vertical resolution" field in the additional information dialog.
      
       SignatureDetails details = new SignatureDetails();
       details.setVerticalResolution(1080);
       
      Parameters:
      value - The vertical screen resolution.
    • getColorDepth

      public final int getColorDepth()
      Gets the "color depth" field in the additional information dialog.
      
       SignatureDetails details = new SignatureDetails();
       details.setColorDepth(32);
       int colorDepth = details.getColorDepth();
       
      Returns:
      The "color depth" field in the additional information dialog.
    • setColorDepth

      public final void setColorDepth(int value)
      Sets the "color depth" field in the additional information dialog.
      
       SignatureDetails details = new SignatureDetails();
       details.setColorDepth(32);
       
      Parameters:
      value - The color depth.
    • getAddress1

      public final String getAddress1()
      Gets the "address1" field in the signature details dialog.
      
       SignatureDetails details = new SignatureDetails();
       details.setAddress1("1 Microsoft Way");
       String address1 = details.getAddress1();
       
      Returns:
      The "address1" field in the signature details dialog.
    • setAddress1

      public final void setAddress1(String value)
      Sets the "address1" field in the signature details dialog.
      
       SignatureDetails details = new SignatureDetails();
       details.setAddress1("1 Microsoft Way");
       
      Parameters:
      value - The first address line.
    • getAddress2

      public final String getAddress2()
      Gets the "address2" field in the signature details dialog.
      
       SignatureDetails details = new SignatureDetails();
       details.setAddress2("Suite 500");
       String address2 = details.getAddress2();
       
      Returns:
      The "address2" field in the signature details dialog.
    • setAddress2

      public final void setAddress2(String value)
      Sets the "address2" field in the signature details dialog.
      
       SignatureDetails details = new SignatureDetails();
       details.setAddress2("Suite 500");
       
      Parameters:
      value - The second address line.
    • getCity

      public final String getCity()
      Gets the "city" field in the signature details dialog.
      
       SignatureDetails details = new SignatureDetails();
       details.setCity("Seattle");
       String city = details.getCity();
       
      Returns:
      The "city" field in the signature details dialog.
    • setCity

      public final void setCity(String value)
      Sets the "city" field in the signature details dialog.
      
       SignatureDetails details = new SignatureDetails();
       details.setCity("Seattle");
       
      Parameters:
      value - The city.
    • getStateOrProvince

      public final String getStateOrProvince()
      Gets the "state or province" field in the signature details dialog.
      
       SignatureDetails details = new SignatureDetails();
       details.setStateOrProvince("Washington");
       String stateOrProvince = details.getStateOrProvince();
       
      Returns:
      The "state or province" field in the signature details dialog.
    • setStateOrProvince

      public final void setStateOrProvince(String value)
      Sets the "state or province" field in the signature details dialog.
      
       SignatureDetails details = new SignatureDetails();
       details.setStateOrProvince("California");
       
      Parameters:
      value - The state or province.
    • getPostalCode

      public final String getPostalCode()
      Gets the "postal code" field in the signature details dialog.
      
       SignatureDetails details = new SignatureDetails();
       details.setPostalCode("98052");
       String postalCode = details.getPostalCode();
       
      Returns:
      The "postal code" field in the signature details dialog.
    • setPostalCode

      public final void setPostalCode(String value)
      Sets the "postal code" field in the signature details dialog.
      
       SignatureDetails details = new SignatureDetails();
       details.setPostalCode("98052");
       
      Parameters:
      value - The postal code.
    • getCountryName

      public final String getCountryName()
      Gets the "country name" field in the signature details dialog.
      
       SignatureDetails details = new SignatureDetails();
       details.setCountryName("United States");
       String countryName = details.getCountryName();
       
      Returns:
      The "country name" field in the signature details dialog.
    • setCountryName

      public final void setCountryName(String value)
      Sets the "country name" field in the signature details dialog.
      
       SignatureDetails details = new SignatureDetails();
       details.setCountryName("United States");
       
      Parameters:
      value - The country name.
    • getClaimedRole

      public final String getClaimedRole()
      Gets the "claimed role" field in the signature details dialog.
      
       SignatureDetails details = new SignatureDetails();
       details.setClaimedRole("Reviewer");
       String claimedRole = details.getClaimedRole();
       
      Returns:
      The "claimed role" field in the signature details dialog.
    • setClaimedRole

      public final void setClaimedRole(String value)
      Sets the "claimed role" field in the signature details dialog.
      
       SignatureDetails details = new SignatureDetails();
       details.setClaimedRole("Reviewer");
       
      Parameters:
      value - The claimed role.
    • getCommitmentTypeDescription

      public final String getCommitmentTypeDescription()
      Gets the "commitment type description" field in the signature details dialog.
      
       SignatureDetails details = new SignatureDetails();
       details.setCommitmentTypeDescription("Approved for release");
       String commitmentTypeDescription = details.getCommitmentTypeDescription();
       
      Returns:
      The "commitment type description" field in the signature details dialog.
    • setCommitmentTypeDescription

      public final void setCommitmentTypeDescription(String value)
      Sets the "commitment type description" field in the signature details dialog.
      
       SignatureDetails details = new SignatureDetails();
       details.setCommitmentTypeDescription("Approved for release");
       
      Parameters:
      value - The commitment type description.
    • getCommitmentTypeQualifier

      public final String getCommitmentTypeQualifier()
      Gets the "commitment type qualifier" field in the signature details dialog.
      
       SignatureDetails details = new SignatureDetails();
       details.setCommitmentTypeQualifier("Final");
       String qualifier = details.getCommitmentTypeQualifier();
       
      Returns:
      The "commitment type qualifier" field in the signature details dialog.
    • setCommitmentTypeQualifier

      public final void setCommitmentTypeQualifier(String value)
      Sets the "commitment type qualifier" field in the signature details dialog.
      
       SignatureDetails details = new SignatureDetails();
       details.setCommitmentTypeQualifier("Final");
       
      Parameters:
      value - The commitment type qualifier.