| Method from org.apache.poi.hpsf.SummaryInformation Detail: |
public String getApplicationName() {
return (String) getProperty(PropertyIDMap.PID_APPNAME);
}
|
public String getAuthor() {
return (String) getProperty(PropertyIDMap.PID_AUTHOR);
}
|
public int getCharCount() {
return getPropertyIntValue(PropertyIDMap.PID_CHARCOUNT);
}
|
public String getComments() {
return (String) getProperty(PropertyIDMap.PID_COMMENTS);
}
|
public Date getCreateDateTime() {
return (Date) getProperty(PropertyIDMap.PID_CREATE_DTM);
}
|
public long getEditTime() {
final Date d = (Date) getProperty(PropertyIDMap.PID_EDITTIME);
if (d == null)
return 0;
else
return Util.dateToFileTime(d);
}
|
public String getKeywords() {
return (String) getProperty(PropertyIDMap.PID_KEYWORDS);
}
|
public String getLastAuthor() {
return (String) getProperty(PropertyIDMap.PID_LASTAUTHOR);
}
|
public Date getLastPrinted() {
return (Date) getProperty(PropertyIDMap.PID_LASTPRINTED);
}
|
public Date getLastSaveDateTime() {
return (Date) getProperty(PropertyIDMap.PID_LASTSAVE_DTM);
}
|
public int getPageCount() {
return getPropertyIntValue(PropertyIDMap.PID_PAGECOUNT);
}
|
public String getRevNumber() {
return (String) getProperty(PropertyIDMap.PID_REVNUMBER);
}
|
public int getSecurity() {
return getPropertyIntValue(PropertyIDMap.PID_SECURITY);
}
|
public String getSubject() {
return (String) getProperty(PropertyIDMap.PID_SUBJECT);
}
|
public String getTemplate() {
return (String) getProperty(PropertyIDMap.PID_TEMPLATE);
}
|
public byte[] getThumbnail() {
return (byte[]) getProperty(PropertyIDMap.PID_THUMBNAIL);
}
Returns the thumbnail (or null) when this
method is implemented. Please note that the return type is likely to
change!
Hint to developers: Drew Varner <Drew.Varner
-at- sc.edu> said that this is an image in WMF or Clipboard (BMP?)
format. However, we won't do any conversion into any image type but
instead just return a byte array.
|
public String getTitle() {
return (String) getProperty(PropertyIDMap.PID_TITLE);
}
|
public int getWordCount() {
return getPropertyIntValue(PropertyIDMap.PID_WORDCOUNT);
}
|
public void removeApplicationName() {
final MutableSection s = (MutableSection) getFirstSection();
s.removeProperty(PropertyIDMap.PID_APPNAME);
}
|
public void removeAuthor() {
final MutableSection s = (MutableSection) getFirstSection();
s.removeProperty(PropertyIDMap.PID_AUTHOR);
}
|
public void removeCharCount() {
final MutableSection s = (MutableSection) getFirstSection();
s.removeProperty(PropertyIDMap.PID_CHARCOUNT);
}
|
public void removeComments() {
final MutableSection s = (MutableSection) getFirstSection();
s.removeProperty(PropertyIDMap.PID_COMMENTS);
}
|
public void removeCreateDateTime() {
final MutableSection s = (MutableSection) getFirstSection();
s.removeProperty(PropertyIDMap.PID_CREATE_DTM);
}
|
public void removeEditTime() {
final MutableSection s = (MutableSection) getFirstSection();
s.removeProperty(PropertyIDMap.PID_EDITTIME);
}
|
public void removeKeywords() {
final MutableSection s = (MutableSection) getFirstSection();
s.removeProperty(PropertyIDMap.PID_KEYWORDS);
}
|
public void removeLastAuthor() {
final MutableSection s = (MutableSection) getFirstSection();
s.removeProperty(PropertyIDMap.PID_LASTAUTHOR);
}
|
public void removeLastPrinted() {
final MutableSection s = (MutableSection) getFirstSection();
s.removeProperty(PropertyIDMap.PID_LASTPRINTED);
}
|
public void removeLastSaveDateTime() {
final MutableSection s = (MutableSection) getFirstSection();
s.removeProperty(PropertyIDMap.PID_LASTSAVE_DTM);
}
|
public void removePageCount() {
final MutableSection s = (MutableSection) getFirstSection();
s.removeProperty(PropertyIDMap.PID_PAGECOUNT);
}
|
public void removeRevNumber() {
final MutableSection s = (MutableSection) getFirstSection();
s.removeProperty(PropertyIDMap.PID_REVNUMBER);
}
|
public void removeSecurity() {
final MutableSection s = (MutableSection) getFirstSection();
s.removeProperty(PropertyIDMap.PID_SECURITY);
}
|
public void removeSubject() {
final MutableSection s = (MutableSection) getFirstSection();
s.removeProperty(PropertyIDMap.PID_SUBJECT);
}
|
public void removeTemplate() {
final MutableSection s = (MutableSection) getFirstSection();
s.removeProperty(PropertyIDMap.PID_TEMPLATE);
}
|
public void removeThumbnail() {
final MutableSection s = (MutableSection) getFirstSection();
s.removeProperty(PropertyIDMap.PID_THUMBNAIL);
}
|
public void removeTitle() {
final MutableSection s = (MutableSection) getFirstSection();
s.removeProperty(PropertyIDMap.PID_TITLE);
}
|
public void removeWordCount() {
final MutableSection s = (MutableSection) getFirstSection();
s.removeProperty(PropertyIDMap.PID_WORDCOUNT);
}
|
public void setApplicationName(String applicationName) {
final MutableSection s = (MutableSection) getFirstSection();
s.setProperty(PropertyIDMap.PID_APPNAME, applicationName);
}
|
public void setAuthor(String author) {
final MutableSection s = (MutableSection) getFirstSection();
s.setProperty(PropertyIDMap.PID_AUTHOR, author);
}
|
public void setCharCount(int charCount) {
final MutableSection s = (MutableSection) getFirstSection();
s.setProperty(PropertyIDMap.PID_CHARCOUNT, charCount);
}
|
public void setComments(String comments) {
final MutableSection s = (MutableSection) getFirstSection();
s.setProperty(PropertyIDMap.PID_COMMENTS, comments);
}
|
public void setCreateDateTime(Date createDateTime) {
final MutableSection s = (MutableSection) getFirstSection();
s.setProperty(PropertyIDMap.PID_CREATE_DTM, Variant.VT_FILETIME,
createDateTime);
}
|
public void setEditTime(long time) {
final Date d = Util.filetimeToDate(time);
final MutableSection s = (MutableSection) getFirstSection();
s.setProperty(PropertyIDMap.PID_EDITTIME, Variant.VT_FILETIME, d);
}
|
public void setKeywords(String keywords) {
final MutableSection s = (MutableSection) getFirstSection();
s.setProperty(PropertyIDMap.PID_KEYWORDS, keywords);
}
|
public void setLastAuthor(String lastAuthor) {
final MutableSection s = (MutableSection) getFirstSection();
s.setProperty(PropertyIDMap.PID_LASTAUTHOR, lastAuthor);
}
|
public void setLastPrinted(Date lastPrinted) {
final MutableSection s = (MutableSection) getFirstSection();
s.setProperty(PropertyIDMap.PID_LASTPRINTED, Variant.VT_FILETIME,
lastPrinted);
}
|
public void setLastSaveDateTime(Date time) {
final MutableSection s = (MutableSection) getFirstSection();
s
.setProperty(PropertyIDMap.PID_LASTSAVE_DTM,
Variant.VT_FILETIME, time);
}
|
public void setPageCount(int pageCount) {
final MutableSection s = (MutableSection) getFirstSection();
s.setProperty(PropertyIDMap.PID_PAGECOUNT, pageCount);
}
|
public void setRevNumber(String revNumber) {
final MutableSection s = (MutableSection) getFirstSection();
s.setProperty(PropertyIDMap.PID_REVNUMBER, revNumber);
}
|
public void setSecurity(int security) {
final MutableSection s = (MutableSection) getFirstSection();
s.setProperty(PropertyIDMap.PID_SECURITY, security);
}
|
public void setSubject(String subject) {
final MutableSection s = (MutableSection) getFirstSection();
s.setProperty(PropertyIDMap.PID_SUBJECT, subject);
}
|
public void setTemplate(String template) {
final MutableSection s = (MutableSection) getFirstSection();
s.setProperty(PropertyIDMap.PID_TEMPLATE, template);
}
|
public void setThumbnail(byte[] thumbnail) {
final MutableSection s = (MutableSection) getFirstSection();
s.setProperty(PropertyIDMap.PID_THUMBNAIL, /* FIXME: */
Variant.VT_LPSTR, thumbnail);
}
|
public void setTitle(String title) {
final MutableSection s = (MutableSection) getFirstSection();
s.setProperty(PropertyIDMap.PID_TITLE, title);
}
|
public void setWordCount(int wordCount) {
final MutableSection s = (MutableSection) getFirstSection();
s.setProperty(PropertyIDMap.PID_WORDCOUNT, wordCount);
}
|