com.groupdocs.viewer.domain.cache

Class CachedPageDescription

    • Constructor Detail

      • CachedPageDescription

        public CachedPageDescription(String guid)

        Initializes a new instance of the CachedPageDescription class.

        Parameters:
        guid - The file unique identifier, full path for local storage e.g. c:\\storage\\document.txt, relative path e.g document.txt, url e.g. http://site.com/document.txt
      • CachedPageDescription

        public CachedPageDescription(String guid,
                             String name)

        Initializes a new instance of the CachedPageDescription class.

        Parameters:
        guid - The file unique identifier, full path for local storage e.g. c:\\storage\\document.txt, relative path e.g document.txt, url e.g. http://site.com/document.txt
        name - File name with extension
      • CachedPageDescription

        @Deprecated
        public CachedPageDescription(String guid,
                                        int cacheFileType)
        Deprecated. 

        Initializes a new instance of the CachedPageDescription class.

        Parameters:
        guid - The file unique identifier, full path for local storage e.g. c:\\storage\\document.txt, relative path e.g document.txt, url e.g. http://site.com/document.txt
        cacheFileType - The cached file type
    • Method Detail

      • getPageNumber

        public int getPageNumber()

        The page number.

        Value: The page number.
      • setPageNumber

        public void setPageNumber(int value)

        The page number.

        Value: The page number.
      • getWidth

        public int getWidth()

        The width.

        Value: The width.
      • setWidth

        public void setWidth(int value)

        The width.

        Value: The width.
      • getHeight

        public int getHeight()

        The height.

        Value: The height.
      • setHeight

        public void setHeight(int value)

        The height.

        Value: The height.
      • getJpegQuality

        public int getJpegQuality()

        The jpeg quality.

        Value: The jpeg quality
      • setJpegQuality

        public void setJpegQuality(int value)

        The jpeg quality.

        Value: The jpeg quality
      • getOutputExtension

        public String getOutputExtension()

        File extension for cached file.

        Value: The output extension.
      • setOutputExtension

        public void setOutputExtension(String value)

        File extension for cached file.

        Value: The output extension.
      • getCellsOptions

        public CellsOptions getCellsOptions()

        The cells options.

      • setCellsOptions

        public void setCellsOptions(CellsOptions value)

        The cells options.

      • getDiagramOptions

        public DiagramOptions getDiagramOptions()

        The diagram options.

      • setDiagramOptions

        public void setDiagramOptions(DiagramOptions value)

        The diagram options.

      • getEmailOptions

        public EmailOptions getEmailOptions()

        The email options.

      • setEmailOptions

        public void setEmailOptions(EmailOptions value)

        The email options.

      • getWordsOptions

        public WordsOptions getWordsOptions()

        The words options.

      • setWordsOptions

        public void setWordsOptions(WordsOptions value)

        The words options.

      • getPdfOptions

        public PdfOptions getPdfOptions()

        The PDF options.

      • setPdfOptions

        public void setPdfOptions(PdfOptions value)

        The PDF options.