|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.crystaldecisions.report.web.viewer.CrPrintMode
This class contains constants that specify the type of printing the viewer will use when the user clicks on the print button.
The print mode can be set by passing a CrPrintMode
object to the
CrystalReportViewer
class' setPrintMode
method for a
specific JSP. You can also set the print mode as a context parameter in web.xml
to apply the setting across the web application.
The tag name is crystal_print_mode
and its possible values are:
In the situation that the print mode is set through both the web.xml file and the viewer, the viewer specified print mode value will take precedence.
Field Summary | |
static CrPrintMode |
ACTIVEX
Specifies ActiveX print mode. |
static CrPrintMode |
PDF
Specifies PDF print mode. |
Method Summary | |
static CrPrintMode |
fromString(java.lang.String mode)
Converts the strings "PDF" and "ActiveX" to a CrPrintMode object. |
java.lang.String |
toString()
Returns the print mode specified by this CrPrintMode object.
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final CrPrintMode PDF
Specifies PDF print mode.
public static final CrPrintMode ACTIVEX
Specifies ActiveX print mode.
Method Detail |
public static final CrPrintMode fromString(java.lang.String mode)
Converts the strings "PDF" and "ActiveX" to a CrPrintMode object.
mode
- a String
that specifies the mode. This can be either "PDF" or "ActiveX".
CrPrintMode
objectpublic java.lang.String toString()
Returns the print mode specified by this CrPrintMode
object.
String
specifying the print mode represented by this object.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |