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
-
public final class Comment2000 extends RecordContainer
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 Constructor Description Comment2000()
Create a new Comment2000, with blank fields
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAuthor()
Get the Author of this commentjava.lang.String
getAuthorInitials()
Get the Author's Initials of this commentComment2000Atom
getComment2000Atom()
Returns the Comment2000Atom of this Commentlong
getRecordType()
We are of type 1200java.lang.String
getText()
Get the text of this commentvoid
setAuthor(java.lang.String author)
Set the Author of this commentvoid
setAuthorInitials(java.lang.String initials)
Set the Author's Initials of this commentvoid
setText(java.lang.String text)
Set the text of this commentvoid
writeOut(java.io.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.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
-
-
-
-
Method Detail
-
getComment2000Atom
public Comment2000Atom getComment2000Atom()
Returns the Comment2000Atom of this Comment
-
getAuthor
public java.lang.String getAuthor()
Get the Author of this comment
-
setAuthor
public void setAuthor(java.lang.String author)
Set the Author of this comment
-
getAuthorInitials
public java.lang.String getAuthorInitials()
Get the Author's Initials of this comment
-
setAuthorInitials
public void setAuthorInitials(java.lang.String initials)
Set the Author's Initials of this comment
-
getText
public java.lang.String getText()
Get the text of this comment
-
setText
public void setText(java.lang.String text)
Set the text of this comment
-
getRecordType
public long getRecordType()
We are of type 1200- Specified by:
getRecordType
in classRecord
-
-