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
- All Implemented Interfaces:
GenericRecord
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)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the Author of this commentGet the Author's Initials of this commentReturns the Comment2000Atom of this CommentlongWe are of type 1200getText()Get the text of this commentvoidSet the Author of this commentvoidsetAuthorInitials(String initials) Set the Author's Initials of this commentvoidSet the text of this commentvoidwriteOut(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, getGenericProperties, handleParentAwareRecords, isAnAtom, removeChild, setChildRecord, writeOutMethods inherited from class org.apache.poi.hslf.record.Record
buildRecordAtOffset, createRecordForType, findChildRecords, getGenericChildren, getGenericRecordType, writeLittleEndian, writeLittleEndian
-
Constructor Details
-
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:
getRecordTypein classRecord
-
writeOut
Write the contents of the record back, so it can be written to disk- Specified by:
writeOutin classRecord- Throws:
IOException
-