public class TextObjectRecord extends TextObjectBaseRecord
HORIZONTAL_TEXT_ALIGNMENT_CENTERED, HORIZONTAL_TEXT_ALIGNMENT_JUSTIFIED, HORIZONTAL_TEXT_ALIGNMENT_LEFT_ALIGNED, HORIZONTAL_TEXT_ALIGNMENT_RIGHT_ALIGNED, sid, TEXT_ORIENTATION_NONE, TEXT_ORIENTATION_ROT_LEFT, TEXT_ORIENTATION_ROT_RIGHT, TEXT_ORIENTATION_TOP_TO_BOTTOM, VERTICAL_TEXT_ALIGNMENT_BOTTOM, VERTICAL_TEXT_ALIGNMENT_CENTER, VERTICAL_TEXT_ALIGNMENT_JUSTIFY, VERTICAL_TEXT_ALIGNMENT_TOP
Constructor and Description |
---|
TextObjectRecord() |
TextObjectRecord(RecordInputStream in) |
Modifier and Type | Method and Description |
---|---|
protected void |
fillFields(RecordInputStream in)
called by the constructor, should set class level fields.
|
int |
getRecordSize()
Size of record (exluding 4 byte header)
|
HSSFRichTextString |
getStr() |
int |
serialize(int offset,
byte[] data)
called by the class that is responsible for writing this sucker.
|
void |
setStr(HSSFRichTextString str) |
String |
toString()
get a string representation of the record (for biffview/debugging)
|
clone, getFormattingRunLength, getHorizontalTextAlignment, getOptions, getReserved2, getReserved3, getReserved4, getReserved5, getReserved6, getReserved7, getSid, getTextLength, getTextOrientation, getVerticalTextAlignment, isReserved1, isTextLocked, setFormattingRunLength, setHorizontalTextAlignment, setOptions, setReserved1, setReserved2, setReserved3, setReserved4, setReserved5, setReserved6, setReserved7, setTextLength, setTextLocked, setTextOrientation, setVerticalTextAlignment, validateSid
isInValueSection, isValue, serialize
public TextObjectRecord()
public TextObjectRecord(RecordInputStream in)
protected void fillFields(RecordInputStream in)
Record
fillFields
in class TextObjectBaseRecord
in
- the RecordInputstream to read the record frompublic int getRecordSize()
TextObjectBaseRecord
getRecordSize
in class TextObjectBaseRecord
public int serialize(int offset, byte[] data)
Record
serialize
in class TextObjectBaseRecord
offset
- to begin writing atdata
- byte array containing instance datapublic HSSFRichTextString getStr()
public void setStr(HSSFRichTextString str)
public String toString()
Record
toString
in class TextObjectBaseRecord
Copyright © 2014 Open Microscopy Environment