public class PropertyIDMap extends HashMap
This is a dictionary which maps property ID values to property ID strings.
The methods getSummaryInformationProperties() and getDocumentSummaryInformationProperties() return singleton PropertyIDMaps. An application that wants to extend these maps
 should treat them as unmodifiable, copy them and modifiy the
 copies.
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier and Type | Field and Description | 
|---|---|
| static int | PID_APPNAMEID of the property that denotes the application that created the
 document | 
| static int | PID_AUTHORID of the property that denotes the document's author | 
| static int | PID_BYTECOUNTNumber of bytes. | 
| static int | PID_CATEGORYThe entry is a string denoting the category the file belongs
 to, e.g. | 
| static int | PID_CHARCOUNTID of the property that denotes the number of characters in the
 document | 
| static int | PID_CODEPAGEThe entry denotes a code page. | 
| static int | PID_COMMENTSID of the property that denotes the document's comments | 
| static int | PID_COMPANYThis entry contains the company name. | 
| static int | PID_CREATE_DTMID of the property that denotes the date and time the document was
 created. | 
| static int | PID_DICTIONARYThe entry is a dictionary. | 
| static int | PID_DOCPARTSThis 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_EDITTIMEID of the property that denotes the document's edit time | 
| static int | PID_HEADINGPAIRThis entry denotes an internally used property. | 
| static int | PID_HIDDENCOUNTNumber of hidden slides. | 
| static int | PID_KEYWORDSID of the property that denotes the document's keywords | 
| static int | PID_LASTAUTHORID of the property that denotes the document's last author | 
| static int | PID_LASTPRINTEDID of the property that denotes the date and time the document was
 last printed | 
| static int | PID_LASTSAVE_DTMID of the property that denotes the date and time the document was
 saved | 
| static int | PID_LINECOUNTNumber of lines. | 
| static int | PID_LINKSDIRTYIf this entry is -1 the links are dirty and should be
 re-evaluated. | 
| static int | PID_MANAGERThis entry contains the name of the project manager. | 
| static int | PID_MAXThe highest well-known property ID. | 
| static int | PID_MMCLIPCOUNTNumber of multimedia clips, e.g. | 
| static int | PID_NOTECOUNTNumber of slides with notes. | 
| static int | PID_PAGECOUNTID of the property that denotes the number of pages in the
 document | 
| static int | PID_PARCOUNTNumber of paragraphs. | 
| static int | PID_PRESFORMATTarget format for power point presentation, e.g. | 
| static int | PID_REVNUMBERID of the property that denotes the document's revision number | 
| static int | PID_SCALEThis entry is set to -1 when scaling of the thumbnail is
 desired. | 
| static int | PID_SECURITYID of the property that denotes whether read/write access to the
 document is allowed or whether is should be opened as read-only. | 
| static int | PID_SLIDECOUNTNumber of slides in a power point presentation. | 
| static int | PID_SUBJECTID of the property that denotes the document's subject | 
| static int | PID_TEMPLATEID of the property that denotes the document's template | 
| static int | PID_THUMBNAILID of the property that denotes the document's thumbnail | 
| static int | PID_TITLEID of the property that denotes the document's title | 
| static int | PID_WORDCOUNTID of the property that denotes the number of words in the
 document | 
| Constructor and Description | 
|---|
| PropertyIDMap(int initialCapacity,
             float loadFactor)Creates a  PropertyIDMap. | 
| PropertyIDMap(Map map)Creates a  PropertyIDMapbacked by another map. | 
| Modifier and Type | Method and Description | 
|---|---|
| Object | get(long id)Gets the ID string for an ID from the  PropertyIDMap. | 
| static PropertyIDMap | getDocumentSummaryInformationProperties()Returns the Document Summary Information properties
 singleton. | 
| static PropertyIDMap | getSummaryInformationProperties() | 
| static void | main(String[] args)For the most basic testing. | 
| Object | put(long id,
   String idString)Puts a ID string for an ID into the  PropertyIDMap. | 
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, valuesequals, hashCode, toStringpublic static final int PID_TITLE
ID of the property that denotes the document's title
public static final int PID_SUBJECT
ID of the property that denotes the document's subject
public static final int PID_AUTHOR
ID of the property that denotes the document's author
public static final int PID_KEYWORDS
ID of the property that denotes the document's keywords
public static final int PID_COMMENTS
ID of the property that denotes the document's comments
public static final int PID_TEMPLATE
ID of the property that denotes the document's template
public static final int PID_LASTAUTHOR
ID of the property that denotes the document's last author
public static final int PID_REVNUMBER
ID of the property that denotes the document's revision number
public static final int PID_EDITTIME
ID of the property that denotes the document's edit time
public static final int PID_LASTPRINTED
ID of the property that denotes the date and time the document was last printed
public static final int PID_CREATE_DTM
ID of the property that denotes the date and time the document was created.
public static final int PID_LASTSAVE_DTM
ID of the property that denotes the date and time the document was saved
public static final int PID_PAGECOUNT
ID of the property that denotes the number of pages in the document
public static final int PID_WORDCOUNT
ID of the property that denotes the number of words in the document
public static final int PID_CHARCOUNT
ID of the property that denotes the number of characters in the document
public static final int PID_THUMBNAIL
ID of the property that denotes the document's thumbnail
public static final int PID_APPNAME
ID of the property that denotes the application that created the document
public static final int PID_SECURITY
ID of the property that denotes whether read/write access to the document is allowed or whether is should be opened as read-only. It can have the following values:
| Value | Description | 
|---|---|
| 0 | No restriction | 
| 2 | Read-only recommended | 
| 4 | Read-only enforced | 
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.
public static final int PID_MAX
The highest well-known property ID. Applications are free to use higher values for custom purposes.
public PropertyIDMap(int initialCapacity,
             float loadFactor)
Creates a PropertyIDMap.
public PropertyIDMap(Map map)
Creates a PropertyIDMap backed by another map.
map - The instance to be created is backed by this map.public Object put(long id, 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 Object get(long id)
Gets the ID string for an ID from the PropertyIDMap.
id - The ID.public static PropertyIDMap getSummaryInformationProperties()
public static PropertyIDMap getDocumentSummaryInformationProperties()
Returns the Document Summary Information properties singleton.
public static void main(String[] args)
For the most basic testing.
args - The command-line argumentsCopyright © 2014 Open Microscopy Environment