public class TextObjectRecord extends TextObjectBaseRecord
Modifier and Type | Field and Description |
---|---|
(package private) HSSFRichTextString |
str |
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 |
---|---|
private ContinueRecord |
createContinue2() |
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() |
private void |
processFontRuns(RecordInputStream in) |
private void |
processRawString(RecordInputStream in) |
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
HSSFRichTextString str
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 dataprivate ContinueRecord createContinue2()
private void processFontRuns(RecordInputStream in)
private void processRawString(RecordInputStream in)
public HSSFRichTextString getStr()
public void setStr(HSSFRichTextString str)
public String toString()
Record
toString
in class TextObjectBaseRecord
Copyright © 2016 Open Microscopy Environment