org.pdfsam.console.business.dto.commands
Class SetViewerParsedCommand

java.lang.Object
  extended by org.pdfsam.console.business.dto.commands.AbstractParsedCommand
      extended by org.pdfsam.console.business.dto.commands.SetViewerParsedCommand
All Implemented Interfaces:
java.io.Serializable

public class SetViewerParsedCommand
extends AbstractParsedCommand

SetViewer parsed command dto filled by parsing service and used by worker service

Author:
Andrea Vacondio
See Also:
Serialized Form

Field Summary
static java.lang.String CENTERWINDOW_ARG
           
static java.lang.String D_ARG
           
static java.lang.String D_L2R
           
static java.lang.String D_R2L
           
static java.lang.String DIRECTION_ARG
           
static java.lang.String DOCTITLE_ARG
           
static java.lang.String F_ARG
           
static java.lang.String FITWINDOW_ARG
           
static java.lang.String HIDEMENU_ARG
           
static java.lang.String HIDETOOLBAR_ARG
           
static java.lang.String HIDEWINDOWUI_ARG
           
static java.lang.String L_ARG
           
static java.lang.String L_ONECOLUMN
           
static java.lang.String L_SINGLEPAGE
           
static java.lang.String L_TWOCOLUMNLEFT
           
static java.lang.String L_TWOCOLUMNRIGHT
           
static java.lang.String L_TWOPAGELEFT
           
static java.lang.String L_TWOPAGERIGHT
           
static java.lang.String M_ARG
           
static java.lang.String M_ATTACHMENTS
           
static java.lang.String M_FULLSCREEN
           
static java.lang.String M_NONE
           
static java.lang.String M_OCONTENT
           
static java.lang.String M_OUTLINES
           
static java.lang.String M_THUMBS
           
static java.lang.String NFSM_ARG
           
static java.lang.String NFSM_NONE
           
static java.lang.String NFSM_OCONTENT
           
static java.lang.String NFSM_OUTLINES
           
static java.lang.String NFSM_THUMBS
           
static java.lang.String NOPRINTSCALING_ARG
           
static java.lang.String O_ARG
           
static java.lang.String P_ARG
           
 
Fields inherited from class org.pdfsam.console.business.dto.commands.AbstractParsedCommand
COMMAND_CONCAT, COMMAND_DECRYPT, COMMAND_ENCRYPT, COMMAND_MIX, COMMAND_PAGELABELS, COMMAND_ROTATE, COMMAND_SETDOCINFO, COMMAND_SETVIEWER, COMMAND_SLIDESHOW, COMMAND_SPLIT, COMMAND_UNPACK, COMPRESSED_ARG, LOG_ARG, OVERWRITE_ARG, PDFVERSION_ARG, VERSION_1_2, VERSION_1_3, VERSION_1_4, VERSION_1_5, VERSION_1_6, VERSION_1_7
 
Constructor Summary
SetViewerParsedCommand()
           
SetViewerParsedCommand(java.io.File outputFile, int mode, int layout, int nfsmode, int direction, PdfFile[] inputFileList, java.lang.String outputFilesPrefix, boolean hideToolBar, boolean hideMenu, boolean hideWindowUI, boolean fitWindow, boolean centerWindow, boolean displayDocTitle, boolean noPrintScaling, java.io.File inputDirectory)
           
SetViewerParsedCommand(java.io.File outputFile, int mode, int layout, int nfsmode, int direction, PdfFile[] inputFileList, java.lang.String outputFilesPrefix, boolean hideToolBar, boolean hideMenu, boolean hideWindowUI, boolean fitWindow, boolean centerWindow, boolean displayDocTitle, boolean noPrintScaling, java.io.File inputDirectory, boolean overwrite, boolean compress, char outputPdfVersion)
           
SetViewerParsedCommand(java.io.File outputFile, int mode, int layout, int nfsmode, int direction, PdfFile[] inputFileList, java.lang.String outputFilesPrefix, boolean hideToolBar, boolean hideMenu, boolean hideWindowUI, boolean fitWindow, boolean centerWindow, boolean displayDocTitle, boolean noPrintScaling, java.io.File inputDirectory, boolean overwrite, boolean compress, java.io.File logFile, char outputPdfVersion)
          Deprecated. use the constructor without the logFile parameter
 
Method Summary
 java.lang.String getCommand()
           
 int getDirection()
           
 java.io.File getInputDirectory()
           
 PdfFile[] getInputFileList()
           
 int getLayout()
           
 int getMode()
           
 int getNfsmode()
           
 java.io.File getOutputFile()
           
 java.lang.String getOutputFilesPrefix()
           
 boolean isCenterWindow()
           
 boolean isDisplayDocTitle()
           
 boolean isFitWindow()
           
 boolean isHideMenu()
           
 boolean isHideToolBar()
           
 boolean isHideWindowUI()
           
 boolean isNoPrintScaling()
           
 void setCenterWindow(boolean centerWindow)
           
 void setDirection(int direction)
           
 void setDisplayDocTitle(boolean displayDocTitle)
           
 void setFitWindow(boolean fitWindow)
           
 void setHideMenu(boolean hideMenu)
           
 void setHideToolBar(boolean hideToolBar)
           
 void setHideWindowUI(boolean hideWindowUI)
           
 void setInputDirectory(java.io.File inputDirectory)
           
 void setInputFileList(PdfFile[] inputFileList)
           
 void setLayout(int layout)
           
 void setMode(int mode)
           
 void setNfsmode(int nfsmode)
           
 void setNoPrintScaling(boolean noPrintScaling)
           
 void setOutputFile(java.io.File outputFile)
           
 void setOutputFilesPrefix(java.lang.String outputFilesPrefix)
           
 java.lang.String toString()
           
 
Methods inherited from class org.pdfsam.console.business.dto.commands.AbstractParsedCommand
getLogFile, getOutputPdfVersion, isCompress, isOverwrite, setCompress, setLogFile, setOutputPdfVersion, setOutputPdfVersion, setOverwrite
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

F_ARG

public static final java.lang.String F_ARG
See Also:
Constant Field Values

O_ARG

public static final java.lang.String O_ARG
See Also:
Constant Field Values

P_ARG

public static final java.lang.String P_ARG
See Also:
Constant Field Values

D_ARG

public static final java.lang.String D_ARG
See Also:
Constant Field Values

M_ARG

public static final java.lang.String M_ARG
See Also:
Constant Field Values

NFSM_ARG

public static final java.lang.String NFSM_ARG
See Also:
Constant Field Values

L_ARG

public static final java.lang.String L_ARG
See Also:
Constant Field Values

DIRECTION_ARG

public static final java.lang.String DIRECTION_ARG
See Also:
Constant Field Values

HIDETOOLBAR_ARG

public static final java.lang.String HIDETOOLBAR_ARG
See Also:
Constant Field Values

HIDEMENU_ARG

public static final java.lang.String HIDEMENU_ARG
See Also:
Constant Field Values

HIDEWINDOWUI_ARG

public static final java.lang.String HIDEWINDOWUI_ARG
See Also:
Constant Field Values

FITWINDOW_ARG

public static final java.lang.String FITWINDOW_ARG
See Also:
Constant Field Values

CENTERWINDOW_ARG

public static final java.lang.String CENTERWINDOW_ARG
See Also:
Constant Field Values

DOCTITLE_ARG

public static final java.lang.String DOCTITLE_ARG
See Also:
Constant Field Values

NOPRINTSCALING_ARG

public static final java.lang.String NOPRINTSCALING_ARG
See Also:
Constant Field Values

L_SINGLEPAGE

public static final java.lang.String L_SINGLEPAGE
See Also:
Constant Field Values

L_ONECOLUMN

public static final java.lang.String L_ONECOLUMN
See Also:
Constant Field Values

L_TWOCOLUMNLEFT

public static final java.lang.String L_TWOCOLUMNLEFT
See Also:
Constant Field Values

L_TWOCOLUMNRIGHT

public static final java.lang.String L_TWOCOLUMNRIGHT
See Also:
Constant Field Values

L_TWOPAGELEFT

public static final java.lang.String L_TWOPAGELEFT
See Also:
Constant Field Values

L_TWOPAGERIGHT

public static final java.lang.String L_TWOPAGERIGHT
See Also:
Constant Field Values

M_NONE

public static final java.lang.String M_NONE
See Also:
Constant Field Values

M_OUTLINES

public static final java.lang.String M_OUTLINES
See Also:
Constant Field Values

M_THUMBS

public static final java.lang.String M_THUMBS
See Also:
Constant Field Values

M_FULLSCREEN

public static final java.lang.String M_FULLSCREEN
See Also:
Constant Field Values

M_OCONTENT

public static final java.lang.String M_OCONTENT
See Also:
Constant Field Values

M_ATTACHMENTS

public static final java.lang.String M_ATTACHMENTS
See Also:
Constant Field Values

NFSM_NONE

public static final java.lang.String NFSM_NONE
See Also:
Constant Field Values

NFSM_OUTLINES

public static final java.lang.String NFSM_OUTLINES
See Also:
Constant Field Values

NFSM_THUMBS

public static final java.lang.String NFSM_THUMBS
See Also:
Constant Field Values

NFSM_OCONTENT

public static final java.lang.String NFSM_OCONTENT
See Also:
Constant Field Values

D_L2R

public static final java.lang.String D_L2R
See Also:
Constant Field Values

D_R2L

public static final java.lang.String D_R2L
See Also:
Constant Field Values
Constructor Detail

SetViewerParsedCommand

public SetViewerParsedCommand()

SetViewerParsedCommand

public SetViewerParsedCommand(java.io.File outputFile,
                              int mode,
                              int layout,
                              int nfsmode,
                              int direction,
                              PdfFile[] inputFileList,
                              java.lang.String outputFilesPrefix,
                              boolean hideToolBar,
                              boolean hideMenu,
                              boolean hideWindowUI,
                              boolean fitWindow,
                              boolean centerWindow,
                              boolean displayDocTitle,
                              boolean noPrintScaling,
                              java.io.File inputDirectory)

SetViewerParsedCommand

public SetViewerParsedCommand(java.io.File outputFile,
                              int mode,
                              int layout,
                              int nfsmode,
                              int direction,
                              PdfFile[] inputFileList,
                              java.lang.String outputFilesPrefix,
                              boolean hideToolBar,
                              boolean hideMenu,
                              boolean hideWindowUI,
                              boolean fitWindow,
                              boolean centerWindow,
                              boolean displayDocTitle,
                              boolean noPrintScaling,
                              java.io.File inputDirectory,
                              boolean overwrite,
                              boolean compress,
                              java.io.File logFile,
                              char outputPdfVersion)
Deprecated. use the constructor without the logFile parameter


SetViewerParsedCommand

public SetViewerParsedCommand(java.io.File outputFile,
                              int mode,
                              int layout,
                              int nfsmode,
                              int direction,
                              PdfFile[] inputFileList,
                              java.lang.String outputFilesPrefix,
                              boolean hideToolBar,
                              boolean hideMenu,
                              boolean hideWindowUI,
                              boolean fitWindow,
                              boolean centerWindow,
                              boolean displayDocTitle,
                              boolean noPrintScaling,
                              java.io.File inputDirectory,
                              boolean overwrite,
                              boolean compress,
                              char outputPdfVersion)
Method Detail

getOutputFile

public java.io.File getOutputFile()
Returns:
the outputFile

setOutputFile

public void setOutputFile(java.io.File outputFile)
Parameters:
outputFile - the outputFile to set

getMode

public int getMode()
Returns:
the mode

setMode

public void setMode(int mode)
Parameters:
mode - the mode to set

getLayout

public int getLayout()
Returns:
the layout

setLayout

public void setLayout(int layout)
Parameters:
layout - the layout to set

getNfsmode

public int getNfsmode()
Returns:
the nfsmode

setNfsmode

public void setNfsmode(int nfsmode)
Parameters:
nfsmode - the nfsmode to set

getDirection

public int getDirection()
Returns:
the direction

setDirection

public void setDirection(int direction)
Parameters:
direction - the direction to set

getInputFileList

public PdfFile[] getInputFileList()
Returns:
the inputFileList

setInputFileList

public void setInputFileList(PdfFile[] inputFileList)
Parameters:
inputFileList - the inputFileList to set

getOutputFilesPrefix

public java.lang.String getOutputFilesPrefix()
Returns:
the outputFilesPrefix

setOutputFilesPrefix

public void setOutputFilesPrefix(java.lang.String outputFilesPrefix)
Parameters:
outputFilesPrefix - the outputFilesPrefix to set

isHideToolBar

public boolean isHideToolBar()
Returns:
the hideToolBar

setHideToolBar

public void setHideToolBar(boolean hideToolBar)
Parameters:
hideToolBar - the hideToolBar to set

isHideMenu

public boolean isHideMenu()
Returns:
the hideMenu

setHideMenu

public void setHideMenu(boolean hideMenu)
Parameters:
hideMenu - the hideMenu to set

isHideWindowUI

public boolean isHideWindowUI()
Returns:
the hideWindowUI

setHideWindowUI

public void setHideWindowUI(boolean hideWindowUI)
Parameters:
hideWindowUI - the hideWindowUI to set

isFitWindow

public boolean isFitWindow()
Returns:
the fitWindow

setFitWindow

public void setFitWindow(boolean fitWindow)
Parameters:
fitWindow - the fitWindow to set

isCenterWindow

public boolean isCenterWindow()
Returns:
the centerWindow

setCenterWindow

public void setCenterWindow(boolean centerWindow)
Parameters:
centerWindow - the centerWindow to set

isDisplayDocTitle

public boolean isDisplayDocTitle()
Returns:
the displayDocTitle

setDisplayDocTitle

public void setDisplayDocTitle(boolean displayDocTitle)
Parameters:
displayDocTitle - the displayDocTitle to set

isNoPrintScaling

public boolean isNoPrintScaling()
Returns:
the noPrintScaling

setNoPrintScaling

public void setNoPrintScaling(boolean noPrintScaling)
Parameters:
noPrintScaling - the noPrintScaling to set

getCommand

public java.lang.String getCommand()
Specified by:
getCommand in class AbstractParsedCommand
Returns:
The command associated with this dto

toString

public java.lang.String toString()
Overrides:
toString in class AbstractParsedCommand

getInputDirectory

public java.io.File getInputDirectory()
Returns:
the inputDirectory

setInputDirectory

public void setInputDirectory(java.io.File inputDirectory)
Parameters:
inputDirectory - the inputDirectory to set