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 |
Constructor and Description |
---|
TextHeaderAtom()
Create a new TextHeader Atom, for an unknown type of text
|
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(OutputStream out)
Write the contents of the record back, so it can be written
to disk
|
getChildRecords, isAnAtom
buildRecordAtOffset, createRecordForType, findChildRecords, writeLittleEndian, writeLittleEndian
public 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
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 ParentAwareRecord
public void setParentRecord(RecordContainer record)
setParentRecord
in interface ParentAwareRecord
public long getRecordType()
getRecordType
in class Record
public void writeOut(OutputStream out) throws IOException
writeOut
in class Record
IOException
Copyright © 2010 - 2020 Adobe. All Rights Reserved