Class PdfAttributes

java.lang.Object
io.scanbot.sdk.pdfgeneration.PdfAttributes

public class PdfAttributes extends Object
PDF attributes.
  • Constructor Details

    • PdfAttributes

      public PdfAttributes(String author, String creator, String title, String subject, String keywords)
      Constructs PdfAttributes with the given params.
      Parameters:
      author - Author. Default is `"Created with Scanbot SDK"`
      creator - Creator. Default is `""`
      title - Title. Default is `""`
      subject - Subject. Default is `""`
      keywords - Keywords. Default is `""`
    • PdfAttributes

      public PdfAttributes()
      Constructs PdfAttributes with default parameters.
  • Method Details

    • getAuthor

      public String getAuthor()
      Getter for author field. See constructor documentation for more information about the field.
      Returns:
      author
    • setAuthor

      public void setAuthor(String author)
      Setter for author field. See constructor documentation for more information about the field.
      Parameters:
      author - Value to set.
    • getCreator

      public String getCreator()
      Getter for creator field. See constructor documentation for more information about the field.
      Returns:
      creator
    • setCreator

      public void setCreator(String creator)
      Setter for creator field. See constructor documentation for more information about the field.
      Parameters:
      creator - Value to set.
    • getTitle

      public String getTitle()
      Getter for title field. See constructor documentation for more information about the field.
      Returns:
      title
    • setTitle

      public void setTitle(String title)
      Setter for title field. See constructor documentation for more information about the field.
      Parameters:
      title - Value to set.
    • getSubject

      public String getSubject()
      Getter for subject field. See constructor documentation for more information about the field.
      Returns:
      subject
    • setSubject

      public void setSubject(String subject)
      Setter for subject field. See constructor documentation for more information about the field.
      Parameters:
      subject - Value to set.
    • getKeywords

      public String getKeywords()
      Getter for keywords field. See constructor documentation for more information about the field.
      Returns:
      keywords
    • setKeywords

      public void setKeywords(String keywords)
      Setter for keywords field. See constructor documentation for more information about the field.
      Parameters:
      keywords - Value to set.