Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.trolltech.qt.gui
Class QPrinter.OutputFormat

    java.lang.Object
      java.lang.Enum
          com.trolltech.qt.gui.QPrinter.OutputFormat

All Implemented Interfaces:
  QtEnumerator, java.io.Serializable, java.lang.Comparable

Enclosing class:
  QPrinter

    public static final class QPrinter.OutputFormat

extends java.lang.Enum
implements QtEnumerator

The `OutputFormat` enum is used to describe the format `QPrinter` should use for printing.

See also:
  `outputFormat()`, `setOutputFormat()`, and `setOutputFileName()`.

See Also:
  Serialized Form

Field Summary
`static QPrinter.OutputFormat` | `NativeFormat` `QPrinter` will print output using a method defined by the platform it is running on.
`static QPrinter.OutputFormat` | `PdfFormat` `QPrinter` will generate its output as a searchable PDF file.
`static QPrinter.OutputFormat` | `PostScriptFormat` `QPrinter` will generate its output as in the PostScript format.

Method Summary
`static QPrinter.OutputFormat` | `resolve(int value)` Returns the QPrinter$OutputFormat constant with the specified `int`.
`int` | `value()` This function should return an integer value for the enum values of the enumeration that implements this interface.
`static QPrinter.OutputFormat` | `valueOf(java.lang.String name)`
`static QPrinter.OutputFormat[]` | `values()`

Methods inherited from class java.lang.Enum
`clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf`

Methods inherited from class java.lang.Object
`getClass, notify, notifyAll, wait, wait, wait`

Field Detail

### NativeFormat

    public static final QPrinter.OutputFormat NativeFormat

  `QPrinter` will print output using a method defined by the platform it is running on. This mode is the default when printing directly to a printer.

### PdfFormat

    public static final QPrinter.OutputFormat PdfFormat

  `QPrinter` will generate its output as a searchable PDF file. This mode is the default when printing to a file.

### PostScriptFormat

    public static final QPrinter.OutputFormat PostScriptFormat

  `QPrinter` will generate its output as in the PostScript format. (This feature was introduced in Qt 4.2.)

Method Detail

### values

    public static QPrinter.OutputFormat[] values()

### valueOf

    public static QPrinter.OutputFormat valueOf(java.lang.String name)

### value

    public int value()

  This function should return an integer value for the enum values of the enumeration that implements this interface.

  Specified by:
    `value` in interface `QtEnumerator`

### resolve

    public static QPrinter.OutputFormat resolve(int value)

  Returns the QPrinter$OutputFormat constant with the specified `int`.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD