org.apache.poi.hslf.record
Class Comment2000

java.lang.Object
  extended by org.apache.poi.hslf.record.Record
      extended by org.apache.poi.hslf.record.RecordContainer
          extended by 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)

Author:
Nick Burch

Constructor Summary
Comment2000()
          Create a new Comment2000, with blank fields
 
Method Summary
 java.lang.String getAuthor()
          Get the Author of this comment
 java.lang.String getAuthorInitials()
          Get the Author's Initials of this comment
 Comment2000Atom getComment2000Atom()
          Returns the Comment2000Atom of this Comment
 long getRecordType()
          We are of type 1200
 java.lang.String getText()
          Get the text of this comment
 void setAuthor(java.lang.String author)
          Set the Author of this comment
 void setAuthorInitials(java.lang.String initials)
          Set the Author's Initials of this comment
 void setText(java.lang.String text)
          Set the text of this comment
 void 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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Comment2000

public Comment2000()
Create a new Comment2000, with blank fields

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 class Record

writeOut

public void writeOut(java.io.OutputStream out)
              throws java.io.IOException
Write the contents of the record back, so it can be written to disk

Specified by:
writeOut in class Record
Throws:
java.io.IOException