DocumentProperties
Overview
DocumentProperties is a class in Aspose.Slides FOSS for Java.
Inherits from: IDocumentProperties.
Represents properties of a presentation.
This class provides 67 methods for working with DocumentProperties objects in Java programs.
Available methods include: clearBuiltInProperties, clearCustomProperties, containsCustomProperty, getAppVersion, getApplicationTemplate, getAuthor, getCategory, getComments, getCompany, getContentStatus, getContentType, getCountOfCustomProperties, and 55 additional methods.
All public members are accessible to any Java application after installing the Aspose.Slides FOSS for Java package.
Properties: appVersion, applicationTemplate, author, category, comments, company, and 28 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
title | String | Read | Gets the title. |
subject | String | Read | Gets the subject. |
author | String | Read | Gets the author. |
keywords | String | Read | Gets the keywords. |
comments | String | Read | Gets the comments. |
category | String | Read | Gets the category. |
contentStatus | String | Read | Gets the content status. |
contentType | String | Read | Gets the content type. |
lastSavedBy | String | Read | Gets the last saved by. |
revisionNumber | int | Read | Gets the revision number. |
createdTime | LocalDateTime | Read | Gets the created time. |
lastSavedTime | LocalDateTime | Read | Gets the last saved time. |
lastPrinted | LocalDateTime | Read | Gets the last printed. |
appVersion | String | Read | Gets the app version. |
nameOfApplication | String | Read | Gets the name of application. |
company | String | Read | Gets the company. |
manager | String | Read | Gets the manager. |
presentationFormat | String | Read | Gets the presentation format. |
applicationTemplate | String | Read | Gets the application template. |
hyperlinkBase | String | Read | Gets the hyperlink base. |
totalEditingTime | Duration | Read | Gets the total editing time. |
sharedDoc | boolean | Read | Gets the shared doc. |
scaleCrop | boolean | Read | Gets the scale crop. |
linksUpToDate | boolean | Read | Gets the links up to date. |
hyperlinksChanged | boolean | Read | Gets the hyperlinks changed. |
slides | int | Read | Gets the slides. |
hiddenSlides | int | Read | Gets the hidden slides. |
notes | int | Read | Gets the notes. |
paragraphs | int | Read | Gets the paragraphs. |
words | int | Read | Gets the words. |
multimediaClips | int | Read | Gets the multimedia clips. |
headingPairs | List<IHeadingPair> | Read | Gets the heading pairs. |
titlesOfParts | List<String> | Read | Gets the titles of parts. |
countOfCustomProperties | int | Read | Gets the count of custom properties. |
Methods
| Signature | Description |
|---|---|
initInternal(pkg: OpcPackage, presentationRef: Presentation) | Initializes internal state with the given OPC package. |
getTitle() → String | Returns the title. |
setTitle(value: String) | Sets the title value. |
getSubject() → String | Returns the subject. |
setSubject(value: String) | Sets the subject value. |
getAuthor() → String | Returns the author. |
setAuthor(value: String) | Sets the author value. |
getKeywords() → String | Returns the keywords. |
setKeywords(value: String) | Sets the keywords value. |
getComments() → String | Returns the comments. |
setComments(value: String) | Sets the comments value. |
getCategory() → String | Returns the category. |
setCategory(value: String) | Sets the category value. |
getContentStatus() → String | Returns the content status. |
setContentStatus(value: String) | Sets the content status value. |
getContentType() → String | Returns the content type. |
setContentType(value: String) | Sets the content type value. |
getLastSavedBy() → String | Returns the last saved by. |
setLastSavedBy(value: String) | Sets the last saved by value. |
getRevisionNumber() → int | Returns the revision number. |
setRevisionNumber(value: int) | Sets the revision number value. |
getCreatedTime() → LocalDateTime | Returns the created time. |
setCreatedTime(value: LocalDateTime) | Sets the created time value. |
getLastSavedTime() → LocalDateTime | Returns the last saved time. |
setLastSavedTime(value: LocalDateTime) | Sets the last saved time value. |
getLastPrinted() → LocalDateTime | Returns the last printed. |
setLastPrinted(value: LocalDateTime) | Sets the last printed value. |
getAppVersion() → String | Returns the app version. |
getNameOfApplication() → String | Returns the name of application. |
setNameOfApplication(value: String) | Sets the name of application value. |
getCompany() → String | Returns the company. |
setCompany(value: String) | Sets the company value. |
getManager() → String | Returns the manager. |
setManager(value: String) | Sets the manager value. |
getPresentationFormat() → String | Returns the presentation format. |
setPresentationFormat(value: String) | Sets the presentation format value. |
getApplicationTemplate() → String | Returns the application template. |
setApplicationTemplate(value: String) | Sets the application template value. |
getHyperlinkBase() → String | Returns the hyperlink base. |
setHyperlinkBase(value: String) | Sets the hyperlink base value. |
getTotalEditingTime() → Duration | Returns the total editing time. |
setTotalEditingTime(value: Duration) | Sets the total editing time value. |
getSharedDoc() → boolean | Returns the shared doc. |
setSharedDoc(value: boolean) | Sets the shared doc value. |
getScaleCrop() → boolean | Returns the scale crop. |
setScaleCrop(value: boolean) | Sets the scale crop value. |
getLinksUpToDate() → boolean | Returns the links up to date. |
setLinksUpToDate(value: boolean) | Sets the links up to date value. |
getHyperlinksChanged() → boolean | Returns the hyperlinks changed. |
setHyperlinksChanged(value: boolean) | Sets the hyperlinks changed value. |
getSlides() → int | Returns the slides. |
getHiddenSlides() → int | Returns the hidden slides. |
getNotes() → int | Returns the notes. |
getParagraphs() → int | Returns the paragraphs. |
getWords() → int | Returns the words. |
getMultimediaClips() → int | Returns the multimedia clips. |
getHeadingPairs() → List<IHeadingPair> | Returns the heading pairs. |
getTitlesOfParts() → List<String> | Returns the titles of parts. |
getCountOfCustomProperties() → int | Returns the count of custom properties. |
getCustomPropertyValue(name: String, out: List<Object>) | |
setCustomPropertyValue(name: String, value: Object) | Sets the custom property value value. |
getCustomPropertyName(index: int) → String | |
removeCustomProperty(name: String) → boolean | |
containsCustomProperty(name: String) → boolean | |
clearCustomProperties() | |
clearBuiltInProperties() | |
save() | Serializes all loaded parts back to the package. |