Package org.apache.poi.hwmf.record
Enum Class HwmfEscape.EscapeFunction
- All Implemented Interfaces:
Serializable
,Comparable<HwmfEscape.EscapeFunction>
,Constable
- Enclosing class:
- HwmfEscape
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionStops processing the current document.Retrieves or specifies settings concerning banding on a device, such as the number of bands.Opens a path.Checks whether the printer supports a JPEG image.Checks whether the printer supports a PNG imageDefines a clip region that is bounded by a path.The same as ENDDOC.Sets the font face name on a device.Instructs the printer driver to download sets of PostScript procedures.Indicates that the printer driver SHOULD print text only, and no graphics.Draws a rectangle with a defined pattern.Enables or disables double-sided (duplex) printing on a device.Sends arbitrary data directly to the printer driver.Ends a path.Notifies the printer driver that the current print job is ending.Retrieves information concerning the sources of different forms on an output device.Queries a printer driver for paper dimensions and other forms data.Indicates the start and end of an encapsulated PostScript (EPS) section.Draws text using the currently selected font, background color, and text color.Causes all pending output to be flushed to the output device.Gets information on a specified feature setting for a PostScript printer driver.Gets color table values.Gets the device units currently configured on an output device.Gets extended text metrics currently configured on an output device.Gets the font face name currently configured on a device.Gets the font kern table currently defined on an output device.Retrieves the physical page size currently selected on an output device.Retrieves the offset from the upper-left corner of the physical page where the actual printing or drawing begins.Retrieves the scaling factors for the x-axis and the y-axis of a printer.Retrieves or specifies the source of output forms on a device.Retrieves or specifies paper dimensions and other forms data on an output device.Retrieves or specifies the paper orientation on a device.Gets information concerning graphics technology that is supported on a device.Retrieves the physical brush size currently defined on a device.Retrieves the physical pen size currently defined on a device.Used to embed an enhanced metafile format (EMF) metafile within a WMF metafile.Queries a printer driver about the support for metafiles on an output device.Enables applications to write documents to a file or to a printer in XML Paper Specification (XPS) format.Notifies the printer driver that the application has finished writing to a page.Notifies the printer driver that the application has finished writing to a band.The same as STARTDOC specified with a NULL document and output filename, data in raw mode, and a type of zero.This record passes through arbitrary data.Sends arbitrary PostScript data to an output device.Sets the printer driver to either PostScript or GDI mode.Notifies an output device to ignore PostScript data.Inserts a block of raw data into a PostScript stream.Sends arbitrary data directly to a printer driver, which is expected to process this data only when in PostScript mode.Queries the printer driver about its support for DIBs on an output device.Queries a printer driver to determine whether a specific escape function is supported on the output device it drives.Sets the application-defined function that allows a print job to be canceled during printing.Sets color table values.Sets the number of copies.Specifies the scaling of device-independent bitmaps (DIBs).Specifies the line-drawing mode to use in output to a device.Specifies the line-joining mode to use in output to a device.Sets the limit for the length of miter joins to use in output to a device.Sets the source, such as a particular paper tray or bin on a printer, for output forms.Sets the width of a pen in pixels.Enables applications to include private procedures and other arbitrary data in documents.Notifies the printer driver that a new print job is starting. -
Method Summary
Modifier and TypeMethodDescriptionstatic HwmfEscape.EscapeFunction
Returns the enum constant of this class with the specified name.static HwmfEscape.EscapeFunction[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NEWFRAME
Notifies the printer driver that the application has finished writing to a page. -
ABORTDOC
Stops processing the current document. -
NEXTBAND
Notifies the printer driver that the application has finished writing to a band. -
SETCOLORTABLE
Sets color table values. -
GETCOLORTABLE
Gets color table values. -
FLUSHOUT
Causes all pending output to be flushed to the output device. -
DRAFTMODE
Indicates that the printer driver SHOULD print text only, and no graphics. -
QUERYESCSUPPORT
Queries a printer driver to determine whether a specific escape function is supported on the output device it drives. -
SETABORTPROC
Sets the application-defined function that allows a print job to be canceled during printing. -
STARTDOC
Notifies the printer driver that a new print job is starting. -
ENDDOC
Notifies the printer driver that the current print job is ending. -
GETPHYSPAGESIZE
Retrieves the physical page size currently selected on an output device. -
GETPRINTINGOFFSET
Retrieves the offset from the upper-left corner of the physical page where the actual printing or drawing begins. -
GETSCALINGFACTOR
Retrieves the scaling factors for the x-axis and the y-axis of a printer. -
META_ESCAPE_ENHANCED_METAFILE
Used to embed an enhanced metafile format (EMF) metafile within a WMF metafile. -
SETPENWIDTH
Sets the width of a pen in pixels. -
SETCOPYCOUNT
Sets the number of copies. -
SETPAPERSOURCE
Sets the source, such as a particular paper tray or bin on a printer, for output forms. -
PASSTHROUGH
This record passes through arbitrary data. -
GETTECHNOLOGY
Gets information concerning graphics technology that is supported on a device. -
SETLINECAP
Specifies the line-drawing mode to use in output to a device. -
SETLINEJOIN
Specifies the line-joining mode to use in output to a device. -
SETMITERLIMIT
Sets the limit for the length of miter joins to use in output to a device. -
BANDINFO
Retrieves or specifies settings concerning banding on a device, such as the number of bands. -
DRAWPATTERNRECT
Draws a rectangle with a defined pattern. -
GETVECTORPENSIZE
Retrieves the physical pen size currently defined on a device. -
GETVECTORBRUSHSIZE
Retrieves the physical brush size currently defined on a device. -
ENABLEDUPLEX
Enables or disables double-sided (duplex) printing on a device. -
GETSETPAPERBINS
Retrieves or specifies the source of output forms on a device. -
GETSETPRINTORIENT
Retrieves or specifies the paper orientation on a device. -
ENUMPAPERBINS
Retrieves information concerning the sources of different forms on an output device. -
SETDIBSCALING
Specifies the scaling of device-independent bitmaps (DIBs). -
EPSPRINTING
Indicates the start and end of an encapsulated PostScript (EPS) section. -
ENUMPAPERMETRICS
Queries a printer driver for paper dimensions and other forms data. -
GETSETPAPERMETRICS
Retrieves or specifies paper dimensions and other forms data on an output device. -
POSTSCRIPT_DATA
Sends arbitrary PostScript data to an output device. -
POSTSCRIPT_IGNORE
Notifies an output device to ignore PostScript data. -
GETDEVICEUNITS
Gets the device units currently configured on an output device. -
GETEXTENDEDTEXTMETRICS
Gets extended text metrics currently configured on an output device. -
GETPAIRKERNTABLE
Gets the font kern table currently defined on an output device. -
EXTTEXTOUT
Draws text using the currently selected font, background color, and text color. -
GETFACENAME
Gets the font face name currently configured on a device. -
DOWNLOADFACE
Sets the font face name on a device. -
METAFILE_DRIVER
Queries a printer driver about the support for metafiles on an output device. -
QUERYDIBSUPPORT
Queries the printer driver about its support for DIBs on an output device. -
BEGIN_PATH
Opens a path. -
CLIP_TO_PATH
Defines a clip region that is bounded by a path. The input MUST be a 16-bit quantity that defines the action to take. -
END_PATH
Ends a path. -
OPEN_CHANNEL
The same as STARTDOC specified with a NULL document and output filename, data in raw mode, and a type of zero. -
DOWNLOADHEADER
Instructs the printer driver to download sets of PostScript procedures. -
CLOSE_CHANNEL
The same as ENDDOC. See OPEN_CHANNEL. -
POSTSCRIPT_PASSTHROUGH
Sends arbitrary data directly to a printer driver, which is expected to process this data only when in PostScript mode. -
ENCAPSULATED_POSTSCRIPT
Sends arbitrary data directly to the printer driver. -
POSTSCRIPT_IDENTIFY
Sets the printer driver to either PostScript or GDI mode. -
POSTSCRIPT_INJECTION
Inserts a block of raw data into a PostScript stream. The input MUST be a 32-bit quantity specifying the number of bytes to inject, a 16-bit quantity specifying the injection point, and a 16-bit quantity specifying the page number, followed by the bytes to inject. -
CHECKJPEGFORMAT
Checks whether the printer supports a JPEG image. -
CHECKPNGFORMAT
Checks whether the printer supports a PNG image -
GET_PS_FEATURESETTING
Gets information on a specified feature setting for a PostScript printer driver. -
MXDC_ESCAPE
Enables applications to write documents to a file or to a printer in XML Paper Specification (XPS) format. -
SPCLPASSTHROUGH2
Enables applications to include private procedures and other arbitrary data in documents.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-