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
OEPlaceholderAtom (3998).
What MSDN says about
What MSDN says about
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.
- Author:
- Yegor Kozlov
-
Field Summary
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Create a new instance ofFontEntityAtom
protected
OutlineTextRefAtom
(byte[] source, int start, int len) Build an instance ofOutlineTextRefAtom
from on-disk data -
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the type (held as a little endian in bytes 3 and 4) that this class handlesint
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
(OutputStream out) Write the contents of the record back, so it can be written to diskMethods inherited from class org.apache.poi.hslf.record.RecordAtom
getChildRecords, isAnAtom
Methods inherited from class org.apache.poi.hslf.record.Record
buildRecordAtOffset, createRecordForType, findChildRecords, writeLittleEndian, writeLittleEndian
-
Constructor Details
-
OutlineTextRefAtom
protected OutlineTextRefAtom(byte[] source, int start, int len) Build an instance ofOutlineTextRefAtom
from on-disk data -
OutlineTextRefAtom
protected OutlineTextRefAtom()Create a new instance ofFontEntityAtom
-
-
Method Details
-
getRecordType
public long getRecordType()Description copied from class:Record
Returns the type (held as a little endian in bytes 3 and 4) that this class handles- Specified by:
getRecordType
in classRecord
-
writeOut
Write the contents of the record back, so it can be written to disk- Specified by:
writeOut
in 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
-