com.groupdocs.viewer.domain.cache

Class CachedPageDescription



  • public class CachedPageDescription
    extends CacheFileDescription

    Class that describes cached document page.

    Version:
    17.5.0
    Author:
    GroupDocs.Viewer Team
    • 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
    • Method Detail

      • getPageNumber

        public int getPageNumber()

        The page number.

        Returns:
        a int.
      • setPageNumber

        public void setPageNumber(int value)

        The page number.

        Parameters:
        value - a int.
      • getWidth

        public int getWidth()

        The page width.

        Returns:
        a int.
      • setWidth

        public void setWidth(int value)

        The page width.

        Parameters:
        value - a int.
      • getHeight

        public int getHeight()

        The page height.

        Returns:
        a int.
      • setHeight

        public void setHeight(int value)

        The page height.

        Parameters:
        value - a int.
      • getJpegQuality

        public int getJpegQuality()

        The JPEG quality.

        Returns:
        a int.
      • setJpegQuality

        public void setJpegQuality(int value)

        The JPEG quality.

        Parameters:
        value - a int.
      • getOutputExtension

        public String getOutputExtension()

        The extension of the cached file.

        Returns:
        a String object.
      • setOutputExtension

        public void setOutputExtension(String value)

        The extension of the cached file.

        Parameters:
        value - a String object.
      • getCellsOptions

        public CellsOptions getCellsOptions()

        The Spreadsheet documents rendering options.

        Returns:
        a CellsOptions object.
      • setCellsOptions

        public void setCellsOptions(CellsOptions value)

        The Spreadsheet documents rendering options.

        Parameters:
        value - a CellsOptions object.
      • getDiagramOptions

        public DiagramOptions getDiagramOptions()

        The Microsoft Visio documents rendering options.

        Returns:
        a DiagramOptions object.
      • setDiagramOptions

        public void setDiagramOptions(DiagramOptions value)

        The Microsoft Visio documents rendering options.

        Parameters:
        value - a DiagramOptions object.
      • getEmailOptions

        public EmailOptions getEmailOptions()

        The Email documents rendering options.

        Returns:
        a EmailOptions object.
      • setEmailOptions

        public void setEmailOptions(EmailOptions value)

        The Email documents rendering options.

        Parameters:
        value - a EmailOptions object.
      • getWordsOptions

        public WordsOptions getWordsOptions()

        The Text documents rendering options.

        Returns:
        a WordsOptions object.
      • setWordsOptions

        public void setWordsOptions(WordsOptions value)

        The Text documents rendering options.

        Parameters:
        value - a WordsOptions object.
      • getPdfOptions

        public PdfOptions getPdfOptions()

        The PDF documents rendering options.

        Returns:
        a PdfOptions object.
      • setPdfOptions

        public void setPdfOptions(PdfOptions value)

        The PDF documents rendering options.

        Parameters:
        value - a PdfOptions object.
      • getCadOptions

        public CadOptions getCadOptions()

        The CAD documents rendering options.

        Returns:
        a CadOptions object.
      • setCadOptions

        public void setCadOptions(CadOptions value)

        The CAD documents rendering options.

        Parameters:
        value - a CadOptions object.