public final class TextHeaderAtom extends RecordAtom implements ParentAwareRecord
| Modifier and Type | Field and Description |
|---|---|
static long |
_type |
static int |
BODY_TYPE |
static int |
CENTER_TITLE_TYPE |
static int |
CENTRE_BODY_TYPE |
static int |
HALF_BODY_TYPE |
static int |
NOTES_TYPE |
static int |
OTHER_TYPE |
static int |
QUARTER_BODY_TYPE |
static int |
TITLE_TYPE |
| Modifier | Constructor and Description |
|---|---|
|
TextHeaderAtom()
Create a new TextHeader Atom, for an unknown type of text
|
protected |
TextHeaderAtom(byte[] source,
int start,
int len)
For the TextHeader Atom
|
| Modifier and Type | Method and Description |
|---|---|
int |
getIndex() |
RecordContainer |
getParentRecord() |
long |
getRecordType()
We are of type 3999
|
int |
getTextType() |
void |
setIndex(int index) |
void |
setParentRecord(RecordContainer record) |
void |
setTextType(int type) |
void |
writeOut(java.io.OutputStream out)
Write the contents of the record back, so it can be written
to disk
|
getChildRecords, isAnAtombuildRecordAtOffset, createRecordForType, findChildRecords, writeLittleEndian, writeLittleEndianpublic static final long _type
public static final int TITLE_TYPE
public static final int BODY_TYPE
public static final int NOTES_TYPE
public static final int OTHER_TYPE
public static final int CENTRE_BODY_TYPE
public static final int CENTER_TITLE_TYPE
public static final int HALF_BODY_TYPE
public static final int QUARTER_BODY_TYPE
protected TextHeaderAtom(byte[] source,
int start,
int len)
public TextHeaderAtom()
public int getTextType()
public void setTextType(int type)
public int getIndex()
public void setIndex(int index)
index - 0-based index of the text run in the SLWT containerpublic RecordContainer getParentRecord()
getParentRecord in interface ParentAwareRecordpublic void setParentRecord(RecordContainer record)
setParentRecord in interface ParentAwareRecordpublic long getRecordType()
getRecordType in class Record