EasyPDF Java SDK
v5.1

com.bcl.easypdf.EasyPDFPrinter
Class IWordPrintJob

java.lang.Object
  extended by com.bcl.easypdf.EasyPDFPrinter.IPrintJob
      extended by com.bcl.easypdf.EasyPDFPrinter.IWordPrintJob

public class IWordPrintJob
extends IPrintJob

Use an object of this class to set Word specific options.


Method Summary
 int getAddInTimeout()
          Sets Add-In execution timeout (in milliseconds).
 java.lang.String getBookmarkDepth()
          Returns a string defining Word styles and bookmark depth mapping.
 boolean getConvertBookmarks()
           
 boolean getConvertHyperlinks()
           
 boolean getEnableAutoMacros()
          Returns a boolean value indicating whether to enable AutoOpen, AutoClose, AutoNew, and AutoExit Word macros.
 boolean getOpenAndRepair()
          Returns a boolean value indicating whether to open and repair corrupted document.
 boolean getPrintInBackground()
          Returns a boolean value indicating whether to tell Word to print documents in background.
 boolean getPrintRevisions()
          Returns a boolean value indicating whether to print document revisions (to keep track of changes).
 boolean getReadOnly()
           
 void setAddInTimeout(int newVal)
           
 void setBookmarkDepth(java.lang.String newVal)
          Sets Word styles and bookmark depth mapping.
 void setConvertBookmarks(boolean newVal)
          To convert Word bookmarks into PDF bookmarks, call this method with true.
 void setConvertHyperlinks(boolean newVal)
          To convert Word hyperlinks into PDF hyperlinks, call this method with true.
 void setDocumentPassword(java.lang.String newVal)
           
 void setEnableAutoMacros(boolean newVal)
          To enable AutoOpen, AutoClose, AutoNew, and AutoExit, call this method with true.
 void setMarginBottom(double newVal)
          Sets bottom margin.
 void setMarginLeft(double newVal)
          Sets left margin.
 void setMarginRight(double newVal)
          Sets right margin.
 void setMarginTop(double newVal)
          Sets top margin.
 void setOpenAndRepair(boolean newVal)
          To open and repair corrupted documents, call this method with true.
 void setPageHeight(double newVal)
           
 void setPageWidth(double newVal)
           
 void setPaperOrientation(int EprnPaperOrientation)
           
 void setPaperSize(int EprnMsoPaperSize)
           
 void setPrintInBackground(boolean newVal)
          To tell Word to print documents in background, call this method with true.
 void setPrintRevisions(boolean newVal)
          Word will print document revisions if you call this method with true.
 void setReadOnly(boolean newVal)
           
 
Methods inherited from class com.bcl.easypdf.EasyPDFPrinter.IPrintJob
getBannerMessage, getConversionResult, getConversionResultMessage, getFileConversionTimeout, getInitializationTimeout, getMakeTempCopyOfInput, getPageConversionTimeout, getPDFSetting, getPrinterResult, getPrinterResultMessage, PrintOut, PrintOut2, PrintOut3, setBannerMessage, setFileConversionTimeout, setInitializationTimeout, setMakeTempCopyOfInput, setPageConversionTimeout, setPageFrom, setPageTo, setSignatureDigitalIDPassword
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getConvertHyperlinks

public boolean getConvertHyperlinks()
                             throws EasyPDFException
Returns:
a boolean value indicating whether to convert Word hyperlinks to PDF hyperlinks.
Throws:
EasyPDFException

setConvertHyperlinks

public void setConvertHyperlinks(boolean newVal)
                          throws EasyPDFException
To convert Word hyperlinks into PDF hyperlinks, call this method with true.

Throws:
EasyPDFException

getConvertBookmarks

public boolean getConvertBookmarks()
                            throws EasyPDFException
Returns:
a boolean value indicating whether to convert Word bookmarks to PDF bookmarks.
Throws:
EasyPDFException

setConvertBookmarks

public void setConvertBookmarks(boolean newVal)
                         throws EasyPDFException
To convert Word bookmarks into PDF bookmarks, call this method with true.

Throws:
EasyPDFException

getBookmarkDepth

public java.lang.String getBookmarkDepth()
                                  throws EasyPDFException
Returns a string defining Word styles and bookmark depth mapping.

Throws:
EasyPDFException

setBookmarkDepth

public void setBookmarkDepth(java.lang.String newVal)
                      throws EasyPDFException
Sets Word styles and bookmark depth mapping.

Throws:
EasyPDFException

setMarginLeft

public void setMarginLeft(double newVal)
                   throws EasyPDFException
Sets left margin.

Throws:
EasyPDFException

setMarginTop

public void setMarginTop(double newVal)
                  throws EasyPDFException
Sets top margin.

Throws:
EasyPDFException

setMarginRight

public void setMarginRight(double newVal)
                    throws EasyPDFException
Sets right margin.

Throws:
EasyPDFException

setMarginBottom

public void setMarginBottom(double newVal)
                     throws EasyPDFException
Sets bottom margin.

Throws:
EasyPDFException

setPaperOrientation

public void setPaperOrientation(int EprnPaperOrientation)
                         throws EasyPDFException
Parameters:
EprnPaperOrientation - a value defined in prnPaperOrientation
Throws:
EasyPDFException
See Also:
prnPaperOrientation

setPaperSize

public void setPaperSize(int EprnMsoPaperSize)
                  throws EasyPDFException
Parameters:
EprnMsoPaperSize - a value defined in prnMsoPaperSize
Throws:
EasyPDFException
See Also:
prnMsoPaperSize

setPageWidth

public void setPageWidth(double newVal)
                  throws EasyPDFException
Throws:
EasyPDFException

setPageHeight

public void setPageHeight(double newVal)
                   throws EasyPDFException
Throws:
EasyPDFException

setDocumentPassword

public void setDocumentPassword(java.lang.String newVal)
                         throws EasyPDFException
Throws:
EasyPDFException

getAddInTimeout

public int getAddInTimeout()
                    throws EasyPDFException
Sets Add-In execution timeout (in milliseconds).

Throws:
EasyPDFException

setAddInTimeout

public void setAddInTimeout(int newVal)
                     throws EasyPDFException
Throws:
EasyPDFException

getEnableAutoMacros

public boolean getEnableAutoMacros()
                            throws EasyPDFException
Returns a boolean value indicating whether to enable AutoOpen, AutoClose, AutoNew, and AutoExit Word macros.

Throws:
EasyPDFException

setEnableAutoMacros

public void setEnableAutoMacros(boolean newVal)
                         throws EasyPDFException
To enable AutoOpen, AutoClose, AutoNew, and AutoExit, call this method with true.

Throws:
EasyPDFException

getPrintInBackground

public boolean getPrintInBackground()
                             throws EasyPDFException
Returns a boolean value indicating whether to tell Word to print documents in background.

Throws:
EasyPDFException

setPrintInBackground

public void setPrintInBackground(boolean newVal)
                          throws EasyPDFException
To tell Word to print documents in background, call this method with true.

Throws:
EasyPDFException

getPrintRevisions

public boolean getPrintRevisions()
                          throws EasyPDFException
Returns a boolean value indicating whether to print document revisions (to keep track of changes).

Throws:
EasyPDFException

setPrintRevisions

public void setPrintRevisions(boolean newVal)
                       throws EasyPDFException
Word will print document revisions if you call this method with true.

Throws:
EasyPDFException

getOpenAndRepair

public boolean getOpenAndRepair()
                         throws EasyPDFException
Returns a boolean value indicating whether to open and repair corrupted document.

Throws:
EasyPDFException

setOpenAndRepair

public void setOpenAndRepair(boolean newVal)
                      throws EasyPDFException
To open and repair corrupted documents, call this method with true.

Throws:
EasyPDFException

getReadOnly

public boolean getReadOnly()
                    throws EasyPDFException
Throws:
EasyPDFException

setReadOnly

public void setReadOnly(boolean newVal)
                 throws EasyPDFException
Throws:
EasyPDFException

EasyPDF Java SDK
v5.1

Copyright 2007 BCL Technologies. All rights reserved.