public final class TextHeaderAtom extends RecordAtom implements ParentAwareRecord
| Modifier and Type | Field and Description |
|---|---|
static long |
_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 |
|---|---|
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, isAnAtombuildRecordAtOffset, createRecordForType, findChildRecords, getGenericChildren, getGenericRecordType, writeLittleEndian, writeLittleEndianprotected 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 ParentAwareRecordpublic void setParentRecord(RecordContainer record)
setParentRecord in interface ParentAwareRecordpublic long getRecordType()
getRecordType in class Recordpublic 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 GenericRecordCopyright 2021 The Apache Software Foundation or its licensors, as applicable.