Class HwmfText.WmfExtTextOut

java.lang.Object
org.apache.poi.hwmf.record.HwmfText.WmfExtTextOut
All Implemented Interfaces:
GenericRecord, HwmfRecord, HwmfCharsetAware
Direct Known Subclasses:
HemfText.EmfExtTextOutA
Enclosing class:
HwmfText

public static class HwmfText.WmfExtTextOut extends Object implements HwmfRecord, HwmfCharsetAware
The META_EXTTEXTOUT record outputs text by using the font, background color, and text color that are defined in the playback device context. Optionally, dimensions can be provided for clipping, opaquing, or both.
  • Field Details

    • reference

      protected final Point2D reference
      The location, in logical units, where the text string is to be placed.
    • stringLength

      protected int stringLength
      A 16-bit signed integer that defines the length of the string.
    • options

      protected final HwmfText.WmfExtTextOutOptions options
      A 16-bit unsigned integer that defines the use of the application-defined rectangle. This member can be a combination of one or more values in the ExtTextOutOptions Flags (ETO_*)
    • bounds

      protected final Rectangle2D bounds
      An optional 8-byte Rect Object (section 2.2.2.18) that defines the dimensions, in logical coordinates, of a rectangle that is used for clipping, opaquing, or both. The corners are given in the order left, top, right, bottom. Each value is a 16-bit signed integer that defines the coordinate, in logical coordinates, of the upper-left corner of the rectangle
    • rawTextBytes

      protected byte[] rawTextBytes
      A variable-length string that specifies the text to be drawn. The string does not need to be null-terminated, because StringLength specifies the length of the string. If the length is odd, an extra byte is placed after it so that the following member (optional Dx) is aligned on a 16-bit boundary.
    • dx

      protected final List<Integer> dx
      An optional array of 16-bit signed integers that indicate the distance between origins of adjacent character cells. For example, Dx[i] logical units separate the origins of character cell i and character cell i + 1. If this field is present, there MUST be the same number of values as there are characters in the string.
    • charsetProvider

      protected Supplier<Charset> charsetProvider
  • Constructor Details

  • Method Details