public static enum HwmfEscape.EscapeFunction extends java.lang.Enum<HwmfEscape.EscapeFunction>
Enum Constant and Description |
---|
ABORTDOC
Stops processing the current document.
|
BANDINFO
Retrieves or specifies settings concerning banding on a device, such as the number of bands.
|
BEGIN_PATH
Opens a path.
|
CHECKJPEGFORMAT
Checks whether the printer supports a JPEG image.
|
CHECKPNGFORMAT
Checks whether the printer supports a PNG image
|
CLIP_TO_PATH
Defines a clip region that is bounded by a path.
|
CLOSE_CHANNEL
The same as ENDDOC.
|
DOWNLOADFACE
Sets the font face name on a device.
|
DOWNLOADHEADER
Instructs the printer driver to download sets of PostScript procedures.
|
DRAFTMODE
Indicates that the printer driver SHOULD print text only, and no graphics.
|
DRAWPATTERNRECT
Draws a rectangle with a defined pattern.
|
ENABLEDUPLEX
Enables or disables double-sided (duplex) printing on a device.
|
ENCAPSULATED_POSTSCRIPT
Sends arbitrary data directly to the printer driver.
|
END_PATH
Ends a path.
|
ENDDOC
Notifies the printer driver that the current print job is ending.
|
ENUMPAPERBINS
Retrieves information concerning the sources of different forms on an output device.
|
ENUMPAPERMETRICS
Queries a printer driver for paper dimensions and other forms data.
|
EPSPRINTING
Indicates the start and end of an encapsulated PostScript (EPS) section.
|
EXTTEXTOUT
Draws text using the currently selected font, background color, and text color.
|
FLUSHOUT
Causes all pending output to be flushed to the output device.
|
GET_PS_FEATURESETTING
Gets information on a specified feature setting for a PostScript printer driver.
|
GETCOLORTABLE
Gets color table values.
|
GETDEVICEUNITS
Gets the device units currently configured on an output device.
|
GETEXTENDEDTEXTMETRICS
Gets extended text metrics currently configured on an output device.
|
GETFACENAME
Gets the font face name currently configured on a device.
|
GETPAIRKERNTABLE
Gets the font kern table currently defined on an output device.
|
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.
|
GETSETPAPERBINS
Retrieves or specifies the source of output forms on a device.
|
GETSETPAPERMETRICS
Retrieves or specifies paper dimensions and other forms data on an output device.
|
GETSETPRINTORIENT
Retrieves or specifies the paper orientation on a device.
|
GETTECHNOLOGY
Gets information concerning graphics technology that is supported on a device.
|
GETVECTORBRUSHSIZE
Retrieves the physical brush size currently defined on a device.
|
GETVECTORPENSIZE
Retrieves the physical pen size currently defined on a device.
|
META_ESCAPE_ENHANCED_METAFILE
Used to embed an enhanced metafile format (EMF) metafile within a WMF metafile.
|
METAFILE_DRIVER
Queries a printer driver about the support for metafiles on an output device.
|
MXDC_ESCAPE
Enables applications to write documents to a file or to a printer in XML Paper Specification (XPS) format.
|
NEWFRAME
Notifies the printer driver that the application has finished writing to a page.
|
NEXTBAND
Notifies the printer driver that the application has finished writing to a band.
|
OPEN_CHANNEL
The same as STARTDOC specified with a NULL document and output filename, data in raw mode, and a type of zero.
|
PASSTHROUGH
This record passes through arbitrary data.
|
POSTSCRIPT_DATA
Sends arbitrary PostScript data to an output device.
|
POSTSCRIPT_IDENTIFY
Sets the printer driver to either PostScript or GDI mode.
|
POSTSCRIPT_IGNORE
Notifies an output device to ignore PostScript data.
|
POSTSCRIPT_INJECTION
Inserts a block of raw data into a PostScript stream.
|
POSTSCRIPT_PASSTHROUGH
Sends arbitrary data directly to a printer driver, which is expected to process this data only when in PostScript mode.
|
QUERYDIBSUPPORT
Queries the printer driver about its support for DIBs on an output device.
|
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.
|
SETCOLORTABLE
Sets color table values.
|
SETCOPYCOUNT
Sets the number of copies.
|
SETDIBSCALING
Specifies the scaling of device-independent bitmaps (DIBs).
|
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.
|
SETPAPERSOURCE
Sets the source, such as a particular paper tray or bin on a printer, for output forms.
|
SETPENWIDTH
Sets the width of a pen in pixels.
|
SPCLPASSTHROUGH2
Enables applications to include private procedures and other arbitrary data in documents.
|
STARTDOC
Notifies the printer driver that a new print job is starting.
|
Modifier and Type | Method and Description |
---|---|
java.util.function.Supplier<? extends HwmfEscape.HwmfEscapeData> |
getConstructor() |
int |
getFlag() |
static HwmfEscape.EscapeFunction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HwmfEscape.EscapeFunction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HwmfEscape.EscapeFunction NEWFRAME
public static final HwmfEscape.EscapeFunction ABORTDOC
public static final HwmfEscape.EscapeFunction NEXTBAND
public static final HwmfEscape.EscapeFunction SETCOLORTABLE
public static final HwmfEscape.EscapeFunction GETCOLORTABLE
public static final HwmfEscape.EscapeFunction FLUSHOUT
public static final HwmfEscape.EscapeFunction DRAFTMODE
public static final HwmfEscape.EscapeFunction QUERYESCSUPPORT
public static final HwmfEscape.EscapeFunction SETABORTPROC
public static final HwmfEscape.EscapeFunction STARTDOC
public static final HwmfEscape.EscapeFunction ENDDOC
public static final HwmfEscape.EscapeFunction GETPHYSPAGESIZE
public static final HwmfEscape.EscapeFunction GETPRINTINGOFFSET
public static final HwmfEscape.EscapeFunction GETSCALINGFACTOR
public static final HwmfEscape.EscapeFunction META_ESCAPE_ENHANCED_METAFILE
public static final HwmfEscape.EscapeFunction SETPENWIDTH
public static final HwmfEscape.EscapeFunction SETCOPYCOUNT
public static final HwmfEscape.EscapeFunction SETPAPERSOURCE
public static final HwmfEscape.EscapeFunction PASSTHROUGH
public static final HwmfEscape.EscapeFunction GETTECHNOLOGY
public static final HwmfEscape.EscapeFunction SETLINECAP
public static final HwmfEscape.EscapeFunction SETLINEJOIN
public static final HwmfEscape.EscapeFunction SETMITERLIMIT
public static final HwmfEscape.EscapeFunction BANDINFO
public static final HwmfEscape.EscapeFunction DRAWPATTERNRECT
public static final HwmfEscape.EscapeFunction GETVECTORPENSIZE
public static final HwmfEscape.EscapeFunction GETVECTORBRUSHSIZE
public static final HwmfEscape.EscapeFunction ENABLEDUPLEX
public static final HwmfEscape.EscapeFunction GETSETPAPERBINS
public static final HwmfEscape.EscapeFunction GETSETPRINTORIENT
public static final HwmfEscape.EscapeFunction ENUMPAPERBINS
public static final HwmfEscape.EscapeFunction SETDIBSCALING
public static final HwmfEscape.EscapeFunction EPSPRINTING
public static final HwmfEscape.EscapeFunction ENUMPAPERMETRICS
public static final HwmfEscape.EscapeFunction GETSETPAPERMETRICS
public static final HwmfEscape.EscapeFunction POSTSCRIPT_DATA
public static final HwmfEscape.EscapeFunction POSTSCRIPT_IGNORE
public static final HwmfEscape.EscapeFunction GETDEVICEUNITS
public static final HwmfEscape.EscapeFunction GETEXTENDEDTEXTMETRICS
public static final HwmfEscape.EscapeFunction GETPAIRKERNTABLE
public static final HwmfEscape.EscapeFunction EXTTEXTOUT
public static final HwmfEscape.EscapeFunction GETFACENAME
public static final HwmfEscape.EscapeFunction DOWNLOADFACE
public static final HwmfEscape.EscapeFunction METAFILE_DRIVER
public static final HwmfEscape.EscapeFunction QUERYDIBSUPPORT
public static final HwmfEscape.EscapeFunction BEGIN_PATH
public static final HwmfEscape.EscapeFunction CLIP_TO_PATH
public static final HwmfEscape.EscapeFunction END_PATH
public static final HwmfEscape.EscapeFunction OPEN_CHANNEL
public static final HwmfEscape.EscapeFunction DOWNLOADHEADER
public static final HwmfEscape.EscapeFunction CLOSE_CHANNEL
public static final HwmfEscape.EscapeFunction POSTSCRIPT_PASSTHROUGH
public static final HwmfEscape.EscapeFunction ENCAPSULATED_POSTSCRIPT
public static final HwmfEscape.EscapeFunction POSTSCRIPT_IDENTIFY
public static final HwmfEscape.EscapeFunction POSTSCRIPT_INJECTION
public static final HwmfEscape.EscapeFunction CHECKJPEGFORMAT
public static final HwmfEscape.EscapeFunction CHECKPNGFORMAT
public static final HwmfEscape.EscapeFunction GET_PS_FEATURESETTING
public static final HwmfEscape.EscapeFunction MXDC_ESCAPE
public static final HwmfEscape.EscapeFunction SPCLPASSTHROUGH2
public static HwmfEscape.EscapeFunction[] values()
for (HwmfEscape.EscapeFunction c : HwmfEscape.EscapeFunction.values()) System.out.println(c);
public static HwmfEscape.EscapeFunction valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getFlag()
public java.util.function.Supplier<? extends HwmfEscape.HwmfEscapeData> getConstructor()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.