Package 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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongprotected CharsetlonglonglonglonggetLeft()longgetRight()To be implemented! We need to get the current character set from the current font forHemfText.ExtTextOutA, which has to be tracked in the playback device.longgetTop()longgetX()longgetY()longinit(LittleEndianInputStream leis, long recordId, long recordSize) Init record from stream
-
Constructor Details
-
ExtTextOutA
public ExtTextOutA()
-
-
Method Details
-
getRecordType
- Specified by:
getRecordTypein interfaceHemfRecord
-
init
Description copied from interface:HemfRecordInit record from stream- Specified by:
initin interfaceHemfRecord- Parameters:
leis- the little endian input stream- Returns:
- count of processed bytes
- Throws:
IOException
-
getEncodingHint
-
getText
To be implemented! We need to get the current character set from the current font forHemfText.ExtTextOutA, which has to be tracked in the playback device. ForHemfText.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:
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()
-