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

## org.apache.poi.hemf.record
Class HemfText.ExtTextOutA

    java.lang.Object
      org.apache.poi.hemf.record.HemfText.ExtTextOutA

All Implemented Interfaces:
  HemfRecord

Direct Known Subclasses:
  HemfText.ExtTextOutW

Enclosing class:
  HemfText

    public static class HemfText.ExtTextOutA

extends java.lang.Object
implements HemfRecord

Constructor Summary
`HemfText.ExtTextOutA()`

Method Summary
`long` | `getBottom()`
`protected java.nio.charset.Charset` | `getEncodingHint()`
`long` | `getExScale()`
`long` | `getEyScale()`
`long` | `getGraphicsMode()`
`long` | `getLeft()`
`HemfRecordType` | `getRecordType()`
`long` | `getRight()`
`java.lang.String` | `getText(java.nio.charset.Charset charset)` To be implemented! We need to get the current character set from the current font for `HemfText.ExtTextOutA`, which has to be tracked in the playback device.
`long` | `getTop()`
`long` | `getX()`
`long` | `getY()`
`long` | `init(LittleEndianInputStream leis, long recordId, long recordSize)` Init record from stream

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### HemfText.ExtTextOutA

    public HemfText.ExtTextOutA()

Method Detail

### getRecordType

    public HemfRecordType getRecordType()

  Specified by:
    `getRecordType` in interface `HemfRecord`

### init

    public long init(LittleEndianInputStream leis,
                     long recordId,
                     long recordSize)
              throws java.io.IOException

  Description copied from interface: `HemfRecord`
  Init record from stream

  Specified by:
    `init` in interface `HemfRecord`
  Parameters:
    `leis` - the little endian input stream
  Returns:
    count of processed bytes
  Throws:
    `java.io.IOException`

### getEncodingHint

    protected java.nio.charset.Charset getEncodingHint()

### getText

    public java.lang.String getText(java.nio.charset.Charset charset)
                             throws java.io.IOException

  To be implemented! We need to get the current character set from the current font for `HemfText.ExtTextOutA`, which has to be tracked in the playback device. For `HemfText.ExtTextOutW`, the charset is "UTF-16LE"

  Parameters:
    `charset` - the charset to be used to decode the character bytes
  Returns:
    text from this text element
  Throws:
    `java.io.IOException`

### getX

    public long getX()

  Returns:
    the x offset for the EmrTextObject

### getY

    public long getY()

  Returns:
    the y offset for the EmrTextObject

### getLeft

    public long getLeft()

### getTop

    public long getTop()

### getRight

    public long getRight()

### getBottom

    public long getBottom()

### getGraphicsMode

    public long getGraphicsMode()

### getExScale

    public long getExScale()

### getEyScale

    public long getEyScale()

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

Copyright 2017 The Apache Software Foundation or its licensors, as applicable.