public final class TextHeaderAtom extends RecordAtom implements ParentAwareRecord
Modifier and Type | Field and Description |
---|---|
static long |
_type |
RecordContainer |
parentRecord |
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 |
---|---|
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
int |
getIndex() |
RecordContainer |
getParentRecord() |
long |
getRecordType()
We are of type 3999
|
int |
getTextType() |
TextShape.TextPlaceholder |
getTextTypeEnum() |
void |
setIndex(int index) |
void |
setParentRecord(RecordContainer record) |
void |
setTextType(int type) |
void |
setTextTypeEnum(TextShape.TextPlaceholder placeholder) |
void |
writeOut(java.io.OutputStream out)
Write the contents of the record back, so it can be written
to disk
|
getChildRecords, isAnAtom
buildRecordAtOffset, createRecordForType, findChildRecords, getGenericChildren, getGenericRecordType, writeLittleEndian, writeLittleEndian
public static final long _type
public RecordContainer parentRecord
protected TextHeaderAtom(byte[] source, int start, int len)
public TextHeaderAtom()
public int getTextType()
public void setTextType(int type)
public TextShape.TextPlaceholder getTextTypeEnum()
public void setTextTypeEnum(TextShape.TextPlaceholder placeholder)
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(java.io.OutputStream out) throws java.io.IOException
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
getGenericProperties
in interface GenericRecord
Copyright 2020 The Apache Software Foundation or its licensors, as applicable.