Ejemplo n.º 1
0
 /**
  * Returns the Document Summary Information properties singleton.
  *
  * @return The Document Summary Information properties singleton.
  */
 public static PropertyIDMap getDocumentSummaryInformationProperties() {
   if (documentSummaryInformationProperties == null) {
     PropertyIDMap m = new PropertyIDMap(17, (float) 1.0);
     m.put(PID_DICTIONARY, "PID_DICTIONARY");
     m.put(PID_CODEPAGE, "PID_CODEPAGE");
     m.put(PID_CATEGORY, "PID_CATEGORY");
     m.put(PID_PRESFORMAT, "PID_PRESFORMAT");
     m.put(PID_BYTECOUNT, "PID_BYTECOUNT");
     m.put(PID_LINECOUNT, "PID_LINECOUNT");
     m.put(PID_PARCOUNT, "PID_PARCOUNT");
     m.put(PID_SLIDECOUNT, "PID_SLIDECOUNT");
     m.put(PID_NOTECOUNT, "PID_NOTECOUNT");
     m.put(PID_HIDDENCOUNT, "PID_HIDDENCOUNT");
     m.put(PID_MMCLIPCOUNT, "PID_MMCLIPCOUNT");
     m.put(PID_SCALE, "PID_SCALE");
     m.put(PID_HEADINGPAIR, "PID_HEADINGPAIR");
     m.put(PID_DOCPARTS, "PID_DOCPARTS");
     m.put(PID_MANAGER, "PID_MANAGER");
     m.put(PID_COMPANY, "PID_COMPANY");
     m.put(PID_LINKSDIRTY, "PID_LINKSDIRTY");
     documentSummaryInformationProperties = new PropertyIDMap(Collections.unmodifiableMap(m));
   }
   return documentSummaryInformationProperties;
 }
Ejemplo n.º 2
0
 /** @return the Summary Information properties singleton */
 public static PropertyIDMap getSummaryInformationProperties() {
   if (summaryInformationProperties == null) {
     PropertyIDMap m = new PropertyIDMap(18, (float) 1.0);
     m.put(PID_TITLE, "PID_TITLE");
     m.put(PID_SUBJECT, "PID_SUBJECT");
     m.put(PID_AUTHOR, "PID_AUTHOR");
     m.put(PID_KEYWORDS, "PID_KEYWORDS");
     m.put(PID_COMMENTS, "PID_COMMENTS");
     m.put(PID_TEMPLATE, "PID_TEMPLATE");
     m.put(PID_LASTAUTHOR, "PID_LASTAUTHOR");
     m.put(PID_REVNUMBER, "PID_REVNUMBER");
     m.put(PID_EDITTIME, "PID_EDITTIME");
     m.put(PID_LASTPRINTED, "PID_LASTPRINTED");
     m.put(PID_CREATE_DTM, "PID_CREATE_DTM");
     m.put(PID_LASTSAVE_DTM, "PID_LASTSAVE_DTM");
     m.put(PID_PAGECOUNT, "PID_PAGECOUNT");
     m.put(PID_WORDCOUNT, "PID_WORDCOUNT");
     m.put(PID_CHARCOUNT, "PID_CHARCOUNT");
     m.put(PID_THUMBNAIL, "PID_THUMBNAIL");
     m.put(PID_APPNAME, "PID_APPNAME");
     m.put(PID_SECURITY, "PID_SECURITY");
     summaryInformationProperties = new PropertyIDMap(Collections.unmodifiableMap(m));
   }
   return summaryInformationProperties;
 }