com.groupdocs.conversion.options.convert

Class PdfFormattingOptions

  • java.lang.Object
    • com.groupdocs.conversion.options.convert.PdfFormattingOptions


  • public final class PdfFormattingOptions
    extends Object

    Defines Pdf formatting options.

    • Method Summary

      Methods 
      Modifier and Type Method and Description
      boolean getCenterWindow()
      Specifies whether position of the document's window will be centered on the screen.
      PdfDirection getDirection()
      Sets reading order of text: L2R (left to right) or R2L (right to left).
      boolean getDisplayDocTitle()
      Specifies whether document's window title bar should display document title.
      boolean getFitWindow()
      Specifies whether document window must be resized to fit the first displayed page.
      boolean getHideMenuBar()
      Specifies whether menu bar should be hidden when document is active.
      boolean getHideToolBar()
      Specifies whether toolbar should be hidden when document is active.
      boolean getHideWindowUI()
      Specifies whether user interface elements should be hidden when document is active.
      PdfPageMode getNonFullScreenPageMode()
      Sets page mode, specifying how to display the document on exiting full-screen mode.
      PdfPageLayout getPageLayout()
      Sets page layout which shall be used when the document is opened.
      PdfPageMode getPageMode()
      Sets page mode, specifying how document should be displayed when opened.
      void setCenterWindow(boolean value)
      Specifies whether position of the document's window will be centered on the screen.
      void setDirection(PdfDirection value)
      Sets reading order of text: L2R (left to right) or R2L (right to left).
      void setDisplayDocTitle(boolean value)
      Specifies whether document's window title bar should display document title.
      void setFitWindow(boolean value)
      Specifies whether document window must be resized to fit the first displayed page.
      void setHideMenuBar(boolean value)
      Specifies whether menu bar should be hidden when document is active.
      void setHideToolBar(boolean value)
      Specifies whether toolbar should be hidden when document is active.
      void setHideWindowUI(boolean value)
      Specifies whether user interface elements should be hidden when document is active.
      void setNonFullScreenPageMode(PdfPageMode value)
      Sets page mode, specifying how to display the document on exiting full-screen mode.
      void setPageLayout(PdfPageLayout value)
      Sets page layout which shall be used when the document is opened.
      void setPageMode(PdfPageMode value)
      Sets page mode, specifying how document should be displayed when opened.
    • Constructor Detail

      • PdfFormattingOptions

        public PdfFormattingOptions()
    • Method Detail

      • getCenterWindow

        public final boolean getCenterWindow()

        Specifies whether position of the document's window will be centered on the screen. Default: false.

      • setCenterWindow

        public final void setCenterWindow(boolean value)

        Specifies whether position of the document's window will be centered on the screen. Default: false.

      • getDirection

        public final PdfDirection getDirection()

        Sets reading order of text: L2R (left to right) or R2L (right to left). Default: L2R.

      • setDirection

        public final void setDirection(PdfDirection value)

        Sets reading order of text: L2R (left to right) or R2L (right to left). Default: L2R.

      • getDisplayDocTitle

        public final boolean getDisplayDocTitle()

        Specifies whether document's window title bar should display document title. Default: false.

      • setDisplayDocTitle

        public final void setDisplayDocTitle(boolean value)

        Specifies whether document's window title bar should display document title. Default: false.

      • getFitWindow

        public final boolean getFitWindow()

        Specifies whether document window must be resized to fit the first displayed page. Default: false.

      • setFitWindow

        public final void setFitWindow(boolean value)

        Specifies whether document window must be resized to fit the first displayed page. Default: false.

      • getHideMenuBar

        public final boolean getHideMenuBar()

        Specifies whether menu bar should be hidden when document is active. Default: false.

      • setHideMenuBar

        public final void setHideMenuBar(boolean value)

        Specifies whether menu bar should be hidden when document is active. Default: false.

      • getHideToolBar

        public final boolean getHideToolBar()

        Specifies whether toolbar should be hidden when document is active. Default: false.

      • setHideToolBar

        public final void setHideToolBar(boolean value)

        Specifies whether toolbar should be hidden when document is active. Default: false.

      • getHideWindowUI

        public final boolean getHideWindowUI()

        Specifies whether user interface elements should be hidden when document is active. Default: false.

      • setHideWindowUI

        public final void setHideWindowUI(boolean value)

        Specifies whether user interface elements should be hidden when document is active. Default: false.

      • getNonFullScreenPageMode

        public final PdfPageMode getNonFullScreenPageMode()

        Sets page mode, specifying how to display the document on exiting full-screen mode.

      • setNonFullScreenPageMode

        public final void setNonFullScreenPageMode(PdfPageMode value)

        Sets page mode, specifying how to display the document on exiting full-screen mode.

      • getPageLayout

        public final PdfPageLayout getPageLayout()

        Sets page layout which shall be used when the document is opened.

      • setPageLayout

        public final void setPageLayout(PdfPageLayout value)

        Sets page layout which shall be used when the document is opened.

      • getPageMode

        public final PdfPageMode getPageMode()

        Sets page mode, specifying how document should be displayed when opened.

      • setPageMode

        public final void setPageMode(PdfPageMode value)

        Sets page mode, specifying how document should be displayed when opened.