Package org.apache.poi.hslf.record
Class OutlineTextRefAtom
- java.lang.Object
-
- org.apache.poi.hslf.record.Record
-
- org.apache.poi.hslf.record.RecordAtom
-
- org.apache.poi.hslf.record.OutlineTextRefAtom
-
- All Implemented Interfaces:
GenericRecord
public final class OutlineTextRefAtom extends RecordAtom
OEPlaceholderAtom (3998).
What MSDN says aboutOutlineTextRefAtom: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.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedOutlineTextRefAtom()Create a new instance ofFontEntityAtomprotectedOutlineTextRefAtom(byte[] source, int start, int len)Build an instance ofOutlineTextRefAtomfrom on-disk data
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Supplier<?>>getGenericProperties()longgetRecordType()Returns the type (held as a little endian in bytes 3 and 4) that this class handlesintgetTextIndex()Return text's index within the SlideListWithText container (0 for title, 1..n for the nth body).voidsetTextIndex(int idx)Sets text's index within the SlideListWithText container (0 for title, 1..n for the nth body).voidwriteOut(OutputStream out)Write the contents of the record back, so it can be written to disk-
Methods inherited from class org.apache.poi.hslf.record.RecordAtom
getChildRecords, getMaxRecordLength, isAnAtom, setMaxRecordLength
-
Methods inherited from class org.apache.poi.hslf.record.Record
buildRecordAtOffset, createRecordForType, findChildRecords, getGenericChildren, getGenericRecordType, writeLittleEndian, writeLittleEndian
-
-
-
-
Method Detail
-
getRecordType
public long getRecordType()
Description copied from class:RecordReturns the type (held as a little endian in bytes 3 and 4) that this class handles- Specified by:
getRecordTypein classRecord
-
writeOut
public void writeOut(OutputStream out) throws IOException
Write the contents of the record back, so it can be written to disk- Specified by:
writeOutin classRecord- Throws:
IOException
-
setTextIndex
public void setTextIndex(int idx)
Sets text's index within the SlideListWithText container (0 for title, 1..n for the nth body).- Parameters:
idx- 0-based text's index
-
getTextIndex
public int getTextIndex()
Return text's index within the SlideListWithText container (0 for title, 1..n for the nth body).- Returns:
- idx text's index
-
-