Package org.apache.poi.hslf.record
Class Comment2000
java.lang.Object
org.apache.poi.hslf.record.Record
org.apache.poi.hslf.record.RecordContainer
org.apache.poi.hslf.record.Comment2000
This class represents a comment on a slide, in the format used by
PPT 2000/XP/etc. (PPT 97 uses plain Escher Text Boxes for comments)
- Author:
- Nick Burch
-
Field Summary
Fields inherited from class org.apache.poi.hslf.record.RecordContainer
_children
-
Constructor Summary
ConstructorsModifierConstructorDescriptionCreate a new Comment2000, with blank fieldsprotected
Comment2000
(byte[] source, int start, int len) Set things up, and find our more interesting children -
Method Summary
Modifier and TypeMethodDescriptionGet the Author of this commentGet the Author's Initials of this commentReturns the Comment2000Atom of this Commentlong
We are of type 1200getText()
Get the text of this commentvoid
Set the Author of this commentvoid
setAuthorInitials
(String initials) Set the Author's Initials of this commentvoid
Set the text of this commentvoid
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.RecordContainer
addChildAfter, addChildBefore, appendChildRecord, findFirstOfType, getChildRecords, handleParentAwareRecords, isAnAtom, moveChildBefore, moveChildrenAfter, moveChildrenBefore, removeChild, setChildRecord, writeOut
Methods inherited from class org.apache.poi.hslf.record.Record
buildRecordAtOffset, createRecordForType, findChildRecords, writeLittleEndian, writeLittleEndian
-
Constructor Details
-
Comment2000
protected Comment2000(byte[] source, int start, int len) Set things up, and find our more interesting children -
Comment2000
public Comment2000()Create a new Comment2000, with blank fields
-
-
Method Details
-
getComment2000Atom
Returns the Comment2000Atom of this Comment -
getAuthor
Get the Author of this comment -
setAuthor
Set the Author of this comment -
getAuthorInitials
Get the Author's Initials of this comment -
setAuthorInitials
Set the Author's Initials of this comment -
getText
Get the text of this comment -
setText
Set the text of this comment -
getRecordType
public long getRecordType()We are of type 1200- 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
-