|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractMap
java.util.HashMap
org.apache.poi.hpsf.wellknown.PropertyIDMap
This is a dictionary which maps property ID values to property ID strings.
The methods getSummaryInformationProperties()
and getDocumentSummaryInformationProperties()
return singleton PropertyIDMap
s. An application that wants to extend these maps
should treat them as unmodifiable, copy them and modifiy the
copies.
FIXME: Make the singletons
unmodifiable. However, since this requires to use a HashMap
delegate instead of extending HashMap
and thus requires a
lot of stupid typing. I won't do that for the time being.
Field Summary | |
static int |
PID_APPNAME
|
static int |
PID_AUTHOR
|
static int |
PID_BYTECOUNT
Number of bytes. |
static int |
PID_CATEGORY
The entry is a string denoting the category the file belongs to, e.g. |
static int |
PID_CHARCOUNT
|
static int |
PID_CODEPAGE
The entry denotes a code page. |
static int |
PID_COMMENTS
|
static int |
PID_COMPANY
This entry contains the company name. |
static int |
PID_CREATE_DTM
|
static int |
PID_DICTIONARY
The entry is a dictionary. |
static int |
PID_DOCPARTS
This entry contains the names of document parts (word: names of the documents in the master document, excel: sheet names, power point: slide titles, binder: document names). |
static int |
PID_EDITTIME
|
static int |
PID_HEADINGPAIR
This entry denotes an internally used property. |
static int |
PID_HIDDENCOUNT
Number of hidden slides. |
static int |
PID_KEYWORDS
|
static int |
PID_LASTAUTHOR
|
static int |
PID_LASTPRINTED
|
static int |
PID_LASTSAVE_DTM
|
static int |
PID_LINECOUNT
Number of lines. |
static int |
PID_LINKSDIRTY
If this entry is -1 the links are dirty and should be re-evaluated. |
static int |
PID_MANAGER
This entry contains the name of the project manager. |
static int |
PID_MMCLIPCOUNT
Number of multimedia clips, e.g. |
static int |
PID_NOTECOUNT
Number of slides with notes. |
static int |
PID_PAGECOUNT
|
static int |
PID_PARCOUNT
Number of paragraphs. |
static int |
PID_PRESFORMAT
Target format for power point presentation, e.g. |
static int |
PID_REVNUMBER
|
static int |
PID_SCALE
This entry is set to -1 when scaling of the thumbnail is desired. |
static int |
PID_SECURITY
|
static int |
PID_SLIDECOUNT
Number of slides in a power point presentation. |
static int |
PID_SUBJECT
|
static int |
PID_TEMPLATE
|
static int |
PID_THUMBNAIL
|
static int |
PID_TITLE
|
static int |
PID_WORDCOUNT
|
Constructor Summary | |
PropertyIDMap(int initialCapacity,
float loadFactor)
Creates a PropertyIDMap . |
Method Summary | |
java.lang.Object |
get(int id)
Gets the ID string for an ID from the PropertyIDMap . |
static PropertyIDMap |
getDocumentSummaryInformationProperties()
Returns the Document Summary Information properties singleton. |
static PropertyIDMap |
getSummaryInformationProperties()
Returns the Summary Information properties singleton. |
static void |
main(java.lang.String[] args)
For the most basic testing. |
java.lang.Object |
put(int id,
java.lang.String idString)
Puts a ID string for an ID into the PropertyIDMap . |
Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
Methods inherited from class java.util.AbstractMap |
equals, hashCode, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
equals, hashCode |
Field Detail |
public static final int PID_TITLE
public static final int PID_SUBJECT
public static final int PID_AUTHOR
public static final int PID_KEYWORDS
public static final int PID_COMMENTS
public static final int PID_TEMPLATE
public static final int PID_LASTAUTHOR
public static final int PID_REVNUMBER
public static final int PID_EDITTIME
public static final int PID_LASTPRINTED
public static final int PID_CREATE_DTM
public static final int PID_LASTSAVE_DTM
public static final int PID_PAGECOUNT
public static final int PID_WORDCOUNT
public static final int PID_CHARCOUNT
public static final int PID_THUMBNAIL
public static final int PID_APPNAME
public static final int PID_SECURITY
public static final int PID_DICTIONARY
The entry is a dictionary.
public static final int PID_CODEPAGE
The entry denotes a code page.
public static final int PID_CATEGORY
The entry is a string denoting the category the file belongs to, e.g. review, memo, etc. This is useful to find documents of same type.
public static final int PID_PRESFORMAT
Target format for power point presentation, e.g. 35mm, printer, video etc.
public static final int PID_BYTECOUNT
Number of bytes.
public static final int PID_LINECOUNT
Number of lines.
public static final int PID_PARCOUNT
Number of paragraphs.
public static final int PID_SLIDECOUNT
Number of slides in a power point presentation.
public static final int PID_NOTECOUNT
Number of slides with notes.
public static final int PID_HIDDENCOUNT
Number of hidden slides.
public static final int PID_MMCLIPCOUNT
Number of multimedia clips, e.g. sound or video.
public static final int PID_SCALE
This entry is set to -1 when scaling of the thumbnail is desired. Otherwise the thumbnail should be cropped.
public static final int PID_HEADINGPAIR
This entry denotes an internally used property. It is a vector of variants consisting of pairs of a string (VT_LPSTR) and a number (VT_I4). The string is a heading name, and the number tells how many document parts are under that heading.
public static final int PID_DOCPARTS
This entry contains the names of document parts (word: names of the documents in the master document, excel: sheet names, power point: slide titles, binder: document names).
public static final int PID_MANAGER
This entry contains the name of the project manager.
public static final int PID_COMPANY
This entry contains the company name.
public static final int PID_LINKSDIRTY
If this entry is -1 the links are dirty and should be re-evaluated.
Constructor Detail |
public PropertyIDMap(int initialCapacity, float loadFactor)
Creates a PropertyIDMap
.
Method Detail |
public java.lang.Object put(int id, java.lang.String idString)
Puts a ID string for an ID into the PropertyIDMap
.
id
- The ID.idString
- The ID string.
Map
interface, this method
returns the previous value associated with the specified
id, or null
if there was no mapping for
key.public java.lang.Object get(int id)
Gets the ID string for an ID from the PropertyIDMap
.
id
- The ID.
public static PropertyIDMap getSummaryInformationProperties()
Returns the Summary Information properties singleton.
public static PropertyIDMap getDocumentSummaryInformationProperties()
Returns the Document Summary Information properties singleton.
public static void main(java.lang.String[] args)
For the most basic testing.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |