EasyPDF Java SDK
v5.1

com.bcl.easypdf.EasyPDFPrinter
Class IIESetting

java.lang.Object
  extended by com.bcl.easypdf.EasyPDFPrinter.IIESetting

public class IIESetting
extends java.lang.Object

To modify the Internet Explorer setting, create an object of this class.


Method Summary
 boolean getDisableScriptDebugger()
          Gets the flag indicating whether Internet Explorer's script debugger is disabled.
 boolean getDisplayErrorDialogOnEveryError()
          Gets the flag indicating whether Internet Explorer will show a dialog on every error.
 java.lang.String getFooter()
          Gets the Internet Explorer (IE) footer string.
 java.lang.String getHeader()
          Gets the Internet Explorer (IE) heading string.
 double getMarginBottom()
          Gets the bottom margin.
 double getMarginLeft()
          Gets the left margin.
 double getMarginRight()
          Gets the right margin.
 double getMarginTop()
          Gets the top margin.
 boolean getPrintBGColor()
          Gets the flag indicating, when printing, whether to print background color or not.
 void Save()
          To have all the changes applied to the current print job, you must call this method.
 void setDisableScriptDebugger(boolean newVal)
          To disable IE's script debugger during printing, call this method with true; call it with false otherwise.
 void setDisplayErrorDialogOnEveryError(boolean newVal)
          To disable this IE's feature, call this method with true; call it with false otherwise.
 void setFooter(java.lang.String newVal)
          Sets the Internet Explorer (IE) footer setting.
 void setHeader(java.lang.String newVal)
          Sets the Internet Explorer (IE) heading setting.
 void setMarginBottom(double newVal)
          Sets the bottom margin.
 void setMarginLeft(double newVal)
          Sets the left margin.
 void setMarginRight(double newVal)
          Sets the right margin.
 void setMarginTop(double newVal)
          Sets the top margin.
 void setPrintBGColor(boolean newVal)
          Call this method with true if you want to print the background color; otherwise call it with false.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

Save

public void Save()
          throws EasyPDFException
To have all the changes applied to the current print job, you must call this method.

Throws:
EasyPDFException

getHeader

public java.lang.String getHeader()
                           throws EasyPDFException
Gets the Internet Explorer (IE) heading string.

Returns:
IE header string
Throws:
EasyPDFException

setHeader

public void setHeader(java.lang.String newVal)
               throws EasyPDFException
Sets the Internet Explorer (IE) heading setting. Refer to Internet Explorer Help for supported header commands.

Parameters:
newVal - new IE header setting string
Throws:
EasyPDFException

getFooter

public java.lang.String getFooter()
                           throws EasyPDFException
Gets the Internet Explorer (IE) footer string.

Returns:
IE footer string
Throws:
EasyPDFException

setFooter

public void setFooter(java.lang.String newVal)
               throws EasyPDFException
Sets the Internet Explorer (IE) footer setting. Refer to Internet Explorer Help for supported footer commands.

Parameters:
newVal - new IE footer setting string
Throws:
EasyPDFException

getMarginLeft

public double getMarginLeft()
                     throws EasyPDFException
Gets the left margin.

Returns:
the left margin
Throws:
EasyPDFException

setMarginLeft

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

Parameters:
newVal - new left margin
Throws:
EasyPDFException

getMarginTop

public double getMarginTop()
                    throws EasyPDFException
Gets the top margin.

Returns:
the top margin
Throws:
EasyPDFException

setMarginTop

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

Parameters:
newVal - the new top margin
Throws:
EasyPDFException

getMarginRight

public double getMarginRight()
                      throws EasyPDFException
Gets the right margin.

Returns:
the right margin
Throws:
EasyPDFException

setMarginRight

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

Parameters:
newVal - the new right margin
Throws:
EasyPDFException

getMarginBottom

public double getMarginBottom()
                       throws EasyPDFException
Gets the bottom margin.

Returns:
the bottom margin
Throws:
EasyPDFException

setMarginBottom

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

Parameters:
newVal - the new bottom margin
Throws:
EasyPDFException

getPrintBGColor

public boolean getPrintBGColor()
                        throws EasyPDFException
Gets the flag indicating, when printing, whether to print background color or not.

Returns:
true if background color is printed; false otherwise
Throws:
EasyPDFException

setPrintBGColor

public void setPrintBGColor(boolean newVal)
                     throws EasyPDFException
Call this method with true if you want to print the background color; otherwise call it with false.

Parameters:
newVal - true (print background color); false (don't print background color)
Throws:
EasyPDFException

getDisableScriptDebugger

public boolean getDisableScriptDebugger()
                                 throws EasyPDFException
Gets the flag indicating whether Internet Explorer's script debugger is disabled.

Returns:
true if IE's script debugger is disabled; false otherwise
Throws:
EasyPDFException

setDisableScriptDebugger

public void setDisableScriptDebugger(boolean newVal)
                              throws EasyPDFException
To disable IE's script debugger during printing, call this method with true; call it with false otherwise. It is highly recommended that to prevent PDF conversion from being interrupted, IE's script debugger be turned off during printing.

Parameters:
newVal - true (disable script debugger); false (enable script debugger)
Throws:
EasyPDFException

getDisplayErrorDialogOnEveryError

public boolean getDisplayErrorDialogOnEveryError()
                                          throws EasyPDFException
Gets the flag indicating whether Internet Explorer will show a dialog on every error.

Returns:
true if IE shows a dialog on eery error; false otherwise
Throws:
EasyPDFException

setDisplayErrorDialogOnEveryError

public void setDisplayErrorDialogOnEveryError(boolean newVal)
                                       throws EasyPDFException
To disable this IE's feature, call this method with true; call it with false otherwise. It is highly recommended that to prevent PDF conversion from being interrupted, IE's showing of a dialog on every error be turned off.

Parameters:
newVal - true (don't show dialog on every error); false (show dialog on every error)
Throws:
EasyPDFException

EasyPDF Java SDK
v5.1

Copyright 2007 BCL Technologies. All rights reserved.