public final class OutlineTextRefAtom extends RecordAtom
OutlineTextRefAtom
:
Appears in a slide to indicate a text that is already contained in the document, in a SlideListWithText containter. Sometimes slide texts are not contained within the slide container to be able to delay loading a slide and still display the title and body text in outline view.
Modifier | Constructor and Description |
---|---|
protected |
OutlineTextRefAtom()
Create a new instance of
FontEntityAtom |
protected |
OutlineTextRefAtom(byte[] source,
int start,
int len)
Build an instance of
OutlineTextRefAtom from on-disk data |
Modifier and Type | Method and Description |
---|---|
long |
getRecordType()
Returns the type (held as a little endian in bytes 3 and 4)
that this class handles
|
int |
getTextIndex()
Return text's index within the SlideListWithText container
(0 for title, 1..n for the nth body).
|
void |
setTextIndex(int idx)
Sets text's index within the SlideListWithText container
(0 for title, 1..n for the nth body).
|
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, writeLittleEndian, writeLittleEndian
protected OutlineTextRefAtom(byte[] source, int start, int len)
OutlineTextRefAtom
from on-disk dataprotected OutlineTextRefAtom()
FontEntityAtom
public long getRecordType()
Record
getRecordType
in class Record
public void writeOut(java.io.OutputStream out) throws java.io.IOException
public void setTextIndex(int idx)
idx
- 0-based text's indexpublic int getTextIndex()
Copyright 2018 The Apache Software Foundation or its licensors, as applicable.