|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.poi.hslf.record.Record
org.apache.poi.hslf.record.RecordAtom
org.apache.poi.hslf.record.Comment2000Atom
public final class Comment2000Atom
An atomic record containing information about a comment.
Method Summary | |
---|---|
java.util.Date |
getDate()
Gets the date the comment was made. |
int |
getNumber()
Gets the comment number (note - each user normally has their own count). |
long |
getRecordType()
Gets the record type. |
int |
getXOffset()
Gets the X offset of the comment on the page. |
int |
getYOffset()
Gets the Y offset of the comment on the page. |
void |
setDate(java.util.Date date)
Sets the date the comment was made. |
void |
setNumber(int number)
Sets the comment number (note - each user normally has their own count). |
void |
setXOffset(int xOffset)
Sets the X offset of the comment on the page. |
void |
setYOffset(int yOffset)
Sets the Y offset of the comment on the page. |
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.RecordAtom |
---|
getChildRecords, isAnAtom |
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 |
Method Detail |
---|
public int getNumber()
public void setNumber(int number)
number
- the comment number.public java.util.Date getDate()
public void setDate(java.util.Date date)
date
- the comment date.public int getXOffset()
public void setXOffset(int xOffset)
xOffset
- the X offset.public int getYOffset()
public void setYOffset(int yOffset)
yOffset
- the Y offset.public long getRecordType()
getRecordType
in class Record
public void writeOut(java.io.OutputStream out) throws java.io.IOException
writeOut
in class Record
out
- the output stream to write to.
java.io.IOException
- if an error occurs.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |