public final class TextObjectRecord extends ContinuableRecord
Modifier and Type | Field and Description |
---|---|
static short |
HORIZONTAL_TEXT_ALIGNMENT_CENTERED |
static short |
HORIZONTAL_TEXT_ALIGNMENT_JUSTIFIED |
static short |
HORIZONTAL_TEXT_ALIGNMENT_LEFT_ALIGNED |
static short |
HORIZONTAL_TEXT_ALIGNMENT_RIGHT_ALIGNED |
static short |
sid |
static short |
TEXT_ORIENTATION_NONE |
static short |
TEXT_ORIENTATION_ROT_LEFT |
static short |
TEXT_ORIENTATION_ROT_RIGHT |
static short |
TEXT_ORIENTATION_TOP_TO_BOTTOM |
static short |
VERTICAL_TEXT_ALIGNMENT_BOTTOM |
static short |
VERTICAL_TEXT_ALIGNMENT_CENTER |
static short |
VERTICAL_TEXT_ALIGNMENT_JUSTIFY |
static short |
VERTICAL_TEXT_ALIGNMENT_TOP |
Constructor and Description |
---|
TextObjectRecord() |
TextObjectRecord(RecordInputStream in) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
int |
getHorizontalTextAlignment() |
Ptg |
getLinkRefPtg() |
short |
getSid()
return the non static version of the id for this record.
|
HSSFRichTextString |
getStr() |
int |
getTextOrientation()
Get the text orientation field for the TextObjectBase record.
|
int |
getVerticalTextAlignment() |
boolean |
isTextLocked() |
protected void |
serialize(ContinuableRecordOutput out)
Serializes this record's content to the supplied data output.
|
void |
setHorizontalTextAlignment(int value)
Sets the Horizontal text alignment field value.
|
void |
setStr(HSSFRichTextString str) |
void |
setTextLocked(boolean value)
Sets the text locked field value.
|
void |
setTextOrientation(int textOrientation)
Set the text orientation field for the TextObjectBase record.
|
void |
setVerticalTextAlignment(int value)
Sets the Vertical text alignment field value.
|
java.lang.String |
toString()
get a string representation of the record (for biffview/debugging)
|
getRecordSize, serialize
cloneViaReserialise, serialize
public static final short sid
public static final short HORIZONTAL_TEXT_ALIGNMENT_LEFT_ALIGNED
public static final short HORIZONTAL_TEXT_ALIGNMENT_CENTERED
public static final short HORIZONTAL_TEXT_ALIGNMENT_RIGHT_ALIGNED
public static final short HORIZONTAL_TEXT_ALIGNMENT_JUSTIFIED
public static final short VERTICAL_TEXT_ALIGNMENT_TOP
public static final short VERTICAL_TEXT_ALIGNMENT_CENTER
public static final short VERTICAL_TEXT_ALIGNMENT_BOTTOM
public static final short VERTICAL_TEXT_ALIGNMENT_JUSTIFY
public static final short TEXT_ORIENTATION_NONE
public static final short TEXT_ORIENTATION_TOP_TO_BOTTOM
public static final short TEXT_ORIENTATION_ROT_RIGHT
public static final short TEXT_ORIENTATION_ROT_LEFT
public TextObjectRecord()
public TextObjectRecord(RecordInputStream in)
public short getSid()
Record
protected void serialize(ContinuableRecordOutput out)
ContinuableRecord
LittleEndianOutput
methods. Methods from ContinuableRecordOutput
can be used to serialize strings (with ContinueRecord
s being written as required).
If necessary, implementors can explicitly start ContinueRecord
s (regardless of the
amount of remaining space).serialize
in class ContinuableRecord
out
- a data output streampublic void setHorizontalTextAlignment(int value)
public int getHorizontalTextAlignment()
public void setVerticalTextAlignment(int value)
public int getVerticalTextAlignment()
public void setTextLocked(boolean value)
public boolean isTextLocked()
public int getTextOrientation()
public void setTextOrientation(int textOrientation)
textOrientation
- One of TEXT_ORIENTATION_NONE TEXT_ORIENTATION_TOP_TO_BOTTOM
TEXT_ORIENTATION_ROT_RIGHT TEXT_ORIENTATION_ROT_LEFTpublic HSSFRichTextString getStr()
public void setStr(HSSFRichTextString str)
public Ptg getLinkRefPtg()
public java.lang.String toString()
Record
Copyright © 2005-2010 Potix Corporation. All Rights Reserved.