PresentationInfo
PresentationInfo class
Information about presentation file
checkPassword
| Name | Description |
|---|---|
| checkPassword (String) | Checks whether a password is correct for a presentation protected with open password. |
Parameters:
| Name | Type | Description |
|---|---|---|
| password | String | The password to check. When the password is null or empty, this method returns false. |
Returns: boolean
Exception
| Error | Condition |
|---|---|
| NotSupportedException | if format is not supported to check passwords. |
checkWriteProtection
| Name | Description |
|---|---|
| checkWriteProtection (String) | Checks whether a password to modify is correct for a write protected presentation. |
Parameters:
| Name | Type | Description |
|---|---|---|
| password | String | The password to check. 1. You should check the ( #isWriteProtected) property before calling this method. 2. When password is null or empty, this method returns false. |
Returns: boolean
Exception
| Error | Condition |
|---|---|
| InvalidOperationException | If a presentation is protected by a password to open or format does not support write protection |
getLoadFormat
| Name | Description |
|---|---|
| getLoadFormat () | Gets format of the binded presentation. Read-only LoadFormat. |
Returns: int
isEncrypted
| Name | Description |
|---|---|
| isEncrypted () | Gets True if binded presentation is encrypted, otherwise False. Read-only boolean. |
Returns: boolean
isPasswordProtected
| Name | Description |
|---|---|
| isPasswordProtected () | Gets a value that indicates whether a binded presentation is protected by a password to open. |
Returns: boolean
isWriteProtected
| Name | Description |
|---|---|
| isWriteProtected () | Gets a value that indicates whether a binded presentation is write protected. If the presentation is protected by a password to open, the property value equals NotDefined. |
Returns: byte
readDocumentProperties
| Name | Description |
|---|---|
| readDocumentProperties () | Gets document properties of binded presentation. |
Returns: DocumentProperties
updateDocumentProperties
| Name | Description |
|---|---|
| updateDocumentProperties (DocumentProperties) | Updates properties of binded presentation. |
Returns: void
writeBindedPresentation
| Name | Description |
|---|---|
| writeBindedPresentation (OutputStream) | Writes binded presentation to stream. |
Parameters:
| Name | Type | Description |
|---|---|---|
| stream | OutputStream | The stream must be seekable and writable. |
Returns: void
writeBindedPresentation
| Name | Description |
|---|---|
| writeBindedPresentation (String) | Writes binded presentation to file. |
Parameters:
| Name | Type | Description |
|---|---|---|
| file | String | Presentation file. |
Returns: void