SummaryInformation
| Modifier and Type | Field and Description |
|---|---|
| public static final String | DEFAULT_STREAM_NAME
The document name a document summary information stream usually has in a POIFS filesystem. |
| public static final ClassID[] | FORMAT_ID
The DocumentSummaryInformation's first and second sections' format ID. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | DocumentSummaryInformation(final PropertySet
A property set which should be created from a
document summary information stream. ps)Creates a |
| public | DocumentSummaryInformation(final InputStream
Holds the data making out the property set
stream. stream)Creates a |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public int | Returns: the Application versionGets the version of the Application which wrote the Property set, stored with the two high order bytes having the major version number, and the two low order bytes the minor version number. |
| public int | Returns: The byteCount valueReturns the byte count or 0 if the |
| public String | |
| public int | Returns: The character count ornullReturns the character count including whitespace, or 0 if the
|
| public String | |
| public String | Returns: the content status of the fileGets the content status of the file (or |
| public String | |
| public CustomProperties | |
| public byte[] | Returns: The doc parts valueReturns the doc parts (or |
| public String | Returns: the document verionGets the document version as a string, which is normally unset and empty
(or |
| public byte[] | Returns: The heading pair valueReturns the heading pair (or |
| public int | Returns: The hidden count valueReturns the hidden count or 0 if the |
| public boolean | Returns: true, if the hyperlinks should be updated on document loadGet if the User Defined Property Set has been updated outside of the Application. |
| public String | Returns: the document languageGets the document language, which is normally unset and empty (or |
| public int | Returns: The line count valueReturns the line count or 0 if the |
| public boolean | |
| public String | |
| public int | Returns: The mmclip count valueReturns the mmclip count or 0 if the |
| public int | Returns: The note count valueReturns the note count or 0 if the |
| public int | Returns: The par count valueReturns the par count or 0 if the |
| public String | Returns: The presentation format valueReturns the presentation format (or
|
| public PropertyIDMap | getPropertySetIDMap()
Overrides org. The id to name mapping of the properties in this set. |
| public boolean | Returns: The scale valueReturns |
| public int | Returns: The slide count valueReturns the slide count or 0 if the |
| public byte[] | Returns: the VBA digital signatureReturns the VBA digital signature for the VBA project
embedded in the document (or |
| private void | notYetImplemented(final String
text telling was leaves to be implemented, e.g.
"Reading byte arrays". msg)Throws an |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | removeHyperlinksChanged()
Removes the flag for if the User Defined Property Set has been updated outside of the Application. |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | setApplicationVersion(int
the Application version version)Sets the Application version, which must be a 4 byte int with the two high order bytes having the major version number, and the two low order bytes the minor version number. |
| public void | |
| public void | |
| public void | setCharCountWithSpaces(int
The character count to set. count)Sets the character count including whitespace |
| public void | |
| public void | |
| public void | |
| public void | setCustomProperties(final CustomProperties
The custom properties customProperties)Sets the custom properties. |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | setHyperlinksChanged(boolean
true, if the User Defined Property Set has been updated changed)Set the flag for if the User Defined Property Set has been updated outside of the Application. |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | setPresentationFormat(final String
The presentation format to set. presentationFormat)Sets the presentation format. |
| public void | |
| public void | |
| public void | setVBADigitalSignature(byte[]
VBA Digital Signature for the project signature)Sets the VBA digital signature for the VBA project embedded in the document. |
| DEFAULT_STREAM_NAME | back to summary |
|---|---|
| public static final String DEFAULT_STREAM_NAME The document name a document summary information stream usually has in a POIFS filesystem. | |
| FORMAT_ID | back to summary |
|---|---|
| public static final ClassID[] FORMAT_ID The DocumentSummaryInformation's first and second sections' format ID. | |
| DocumentSummaryInformation | back to summary |
|---|---|
| public DocumentSummaryInformation() Creates an empty | |
| DocumentSummaryInformation | back to summary |
|---|---|
| public DocumentSummaryInformation(final PropertySet ps) throws UnexpectedPropertySetTypeException Creates a
| |
| DocumentSummaryInformation | back to summary |
|---|---|
| public DocumentSummaryInformation(final InputStream stream) throws NoPropertySetStreamException, IOException Creates a The constructor reads the first few bytes from the stream and determines whether it is really a property set stream. If it is, it parses the rest of the stream. If it is not, it resets the stream to its beginning in order to let other components mess around with the data and throws an exception.
| |
| ensureSection2 | back to summary |
|---|---|
| private void ensureSection2() Creates section 2 if it is not already present. | |
| getApplicationVersion | back to summary |
|---|---|
| public int getApplicationVersion() Gets the version of the Application which wrote the Property set, stored with the two high order bytes having the major version number, and the two low order bytes the minor version number. This will be 0 if no version is set.
| |
| getByteCount | back to summary |
|---|---|
| public int getByteCount() Returns the byte count or 0 if the
| |
| getCategory | back to summary |
|---|---|
| public String getCategory() Returns the category (or
| |
| getCharCountWithSpaces | back to summary |
|---|---|
| public int getCharCountWithSpaces() Returns the character count including whitespace, or 0 if the
This is the whitespace-including version of
| |
| getCompany | back to summary |
|---|---|
| public String getCompany() Returns the company (or
| |
| getContentStatus | back to summary |
|---|---|
| public String getContentStatus() Gets the content status of the file (or
| |
| getContentType | back to summary |
|---|---|
| public String getContentType() Gets the content type of the file (or
| |
| getCustomProperties | back to summary |
|---|---|
| public CustomProperties getCustomProperties() Gets the custom properties.
| |
| getDocparts | back to summary |
|---|---|
| public byte[] getDocparts() Returns the doc parts (or
| |
| getDocumentVersion | back to summary |
|---|---|
| public String getDocumentVersion() Gets the document version as a string, which is normally unset and empty
(or
| |
| getHeadingPair | back to summary |
|---|---|
| public byte[] getHeadingPair() Returns the heading pair (or
| |
| getHiddenCount | back to summary |
|---|---|
| public int getHiddenCount() Returns the hidden count or 0 if the
| |
| getHyperlinksChanged | back to summary |
|---|---|
| public boolean getHyperlinksChanged() Get if the User Defined Property Set has been updated outside of the Application. If it has (true), the hyperlinks should be updated on document load.
| |
| getLanguage | back to summary |
|---|---|
| public String getLanguage() Gets the document language, which is normally unset and empty (or
| |
| getLineCount | back to summary |
|---|---|
| public int getLineCount() Returns the line count or 0 if the
| |
| getLinksDirty | back to summary |
|---|---|
| public boolean getLinksDirty() Returns
| |
| getManager | back to summary |
|---|---|
| public String getManager() Returns the manager (or
| |
| getMMClipCount | back to summary |
|---|---|
| public int getMMClipCount() Returns the mmclip count or 0 if the
| |
| getNoteCount | back to summary |
|---|---|
| public int getNoteCount() Returns the note count or 0 if the
| |
| getParCount | back to summary |
|---|---|
| public int getParCount() Returns the par count or 0 if the
| |
| getPresentationFormat | back to summary |
|---|---|
| public String getPresentationFormat() Returns the presentation format (or
| |
| getPropertySetIDMap | back to summary |
|---|---|
| public PropertyIDMap getPropertySetIDMap() Overrides org. Doc from org. The id to name mapping of the properties in this set.
| |
| getScale | back to summary |
|---|---|
| public boolean getScale() Returns
| |
| getSlideCount | back to summary |
|---|---|
| public int getSlideCount() Returns the slide count or 0 if the
| |
| getVBADigitalSignature | back to summary |
|---|---|
| public byte[] getVBADigitalSignature() Returns the VBA digital signature for the VBA project
embedded in the document (or
| |
| notYetImplemented | back to summary |
|---|---|
| private void notYetImplemented(final String msg) Throws an
| |
| removeApplicationVersion | back to summary |
|---|---|
| public void removeApplicationVersion() Removes the Application Version | |
| removeByteCount | back to summary |
|---|---|
| public void removeByteCount() Removes the byte count. | |
| removeCategory | back to summary |
|---|---|
| public void removeCategory() Removes the category. | |
| removeCharCountWithSpaces | back to summary |
|---|---|
| public void removeCharCountWithSpaces() Removes the character count | |
| removeCompany | back to summary |
|---|---|
| public void removeCompany() Removes the company. | |
| removeContentStatus | back to summary |
|---|---|
| public void removeContentStatus() Removes the content status of the file | |
| removeContentType | back to summary |
|---|---|
| public void removeContentType() Removes the content type of the file | |
| removeCustomProperties | back to summary |
|---|---|
| public void removeCustomProperties() Removes the custom properties. | |
| removeDocparts | back to summary |
|---|---|
| public void removeDocparts() Removes the doc parts. | |
| removeDocumentVersion | back to summary |
|---|---|
| public void removeDocumentVersion() Removes the document version string | |
| removeHeadingPair | back to summary |
|---|---|
| public void removeHeadingPair() Removes the heading pair. | |
| removeHiddenCount | back to summary |
|---|---|
| public void removeHiddenCount() Removes the hidden count. | |
| removeHyperlinksChanged | back to summary |
|---|---|
| public void removeHyperlinksChanged() Removes the flag for if the User Defined Property Set has been updated outside of the Application. | |
| removeLanguage | back to summary |
|---|---|
| public void removeLanguage() Removes the document language | |
| removeLineCount | back to summary |
|---|---|
| public void removeLineCount() Removes the line count. | |
| removeLinksDirty | back to summary |
|---|---|
| public void removeLinksDirty() Removes the links dirty. | |
| removeManager | back to summary |
|---|---|
| public void removeManager() Removes the manager. | |
| removeMMClipCount | back to summary |
|---|---|
| public void removeMMClipCount() Removes the mmclip count. | |
| removeNoteCount | back to summary |
|---|---|
| public void removeNoteCount() Removes the noteCount. | |
| removeParCount | back to summary |
|---|---|
| public void removeParCount() Removes the par count. | |
| removePresentationFormat | back to summary |
|---|---|
| public void removePresentationFormat() Removes the presentation format. | |
| removeScale | back to summary |
|---|---|
| public void removeScale() Removes the scale. | |
| removeSlideCount | back to summary |
|---|---|
| public void removeSlideCount() Removes the slide count. | |
| removeVBADigitalSignature | back to summary |
|---|---|
| public void removeVBADigitalSignature() Removes the VBA Digital Signature | |
| setApplicationVersion | back to summary |
|---|---|
| public void setApplicationVersion(int version) Sets the Application version, which must be a 4 byte int with the two high order bytes having the major version number, and the two low order bytes the minor version number.
| |
| setByteCount | back to summary |
|---|---|
| public void setByteCount(final int byteCount) Sets the byte count.
| |
| setCategory | back to summary |
|---|---|
| public void setCategory(final String category) Sets the category.
| |
| setCharCountWithSpaces | back to summary |
|---|---|
| public void setCharCountWithSpaces(int count) Sets the character count including whitespace
| |
| setCompany | back to summary |
|---|---|
| public void setCompany(final String company) Sets the company.
| |
| setContentStatus | back to summary |
|---|---|
| public void setContentStatus(String status) Sets the content status of the file
| |
| setContentType | back to summary |
|---|---|
| public void setContentType(String type) Sets the content type of the file
| |
| setCustomProperties | back to summary |
|---|---|
| public void setCustomProperties(final CustomProperties customProperties) Sets the custom properties.
| |
| setDocparts | back to summary |
|---|---|
| public void setDocparts(final byte[] docparts) Sets the doc parts.
| |
| setDocumentVersion | back to summary |
|---|---|
| public void setDocumentVersion(String version) Sets the document version string
| |
| setHeadingPair | back to summary |
|---|---|
| public void setHeadingPair(final byte[] headingPair) Sets the heading pair.
| |
| setHiddenCount | back to summary |
|---|---|
| public void setHiddenCount(final int hiddenCount) Sets the hidden count.
| |
| setHyperlinksChanged | back to summary |
|---|---|
| public void setHyperlinksChanged(boolean changed) Set the flag for if the User Defined Property Set has been updated outside of the Application.
| |
| setLanguage | back to summary |
|---|---|
| public void setLanguage(String language) Set the document language
| |
| setLineCount | back to summary |
|---|---|
| public void setLineCount(final int lineCount) Sets the line count.
| |
| setLinksDirty | back to summary |
|---|---|
| public void setLinksDirty(final boolean linksDirty) Sets the linksDirty.
| |
| setManager | back to summary |
|---|---|
| public void setManager(final String manager) Sets the manager.
| |
| setMMClipCount | back to summary |
|---|---|
| public void setMMClipCount(final int mmClipCount) Sets the mmclip count.
| |
| setNoteCount | back to summary |
|---|---|
| public void setNoteCount(final int noteCount) Sets the note count.
| |
| setParCount | back to summary |
|---|---|
| public void setParCount(final int parCount) Sets the par count.
| |
| setPresentationFormat | back to summary |
|---|---|
| public void setPresentationFormat(final String presentationFormat) Sets the presentation format.
| |
| setScale | back to summary |
|---|---|
| public void setScale(final boolean scale) Sets the scale.
| |
| setSlideCount | back to summary |
|---|---|
| public void setSlideCount(final int slideCount) Sets the slideCount.
| |
| setVBADigitalSignature | back to summary |
|---|---|
| public void setVBADigitalSignature(byte[] signature) Sets the VBA digital signature for the VBA project embedded in the document.
| |