DocumentProperties

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

NameTypeAccessDescription
titleStringReadGets the title.
subjectStringReadGets the subject.
authorStringReadGets the author.
keywordsStringReadGets the keywords.
commentsStringReadGets the comments.
categoryStringReadGets the category.
contentStatusStringReadGets the content status.
contentTypeStringReadGets the content type.
lastSavedByStringReadGets the last saved by.
revisionNumberintReadGets the revision number.
createdTimeLocalDateTimeReadGets the created time.
lastSavedTimeLocalDateTimeReadGets the last saved time.
lastPrintedLocalDateTimeReadGets the last printed.
appVersionStringReadGets the app version.
nameOfApplicationStringReadGets the name of application.
companyStringReadGets the company.
managerStringReadGets the manager.
presentationFormatStringReadGets the presentation format.
applicationTemplateStringReadGets the application template.
hyperlinkBaseStringReadGets the hyperlink base.
totalEditingTimeDurationReadGets the total editing time.
sharedDocbooleanReadGets the shared doc.
scaleCropbooleanReadGets the scale crop.
linksUpToDatebooleanReadGets the links up to date.
hyperlinksChangedbooleanReadGets the hyperlinks changed.
slidesintReadGets the slides.
hiddenSlidesintReadGets the hidden slides.
notesintReadGets the notes.
paragraphsintReadGets the paragraphs.
wordsintReadGets the words.
multimediaClipsintReadGets the multimedia clips.
headingPairsList<IHeadingPair>ReadGets the heading pairs.
titlesOfPartsList<String>ReadGets the titles of parts.
countOfCustomPropertiesintReadGets the count of custom properties.

Methods

SignatureDescription
initInternal(pkg: OpcPackage, presentationRef: Presentation)Initializes internal state with the given OPC package.
getTitle()StringReturns the title.
setTitle(value: String)Sets the title value.
getSubject()StringReturns the subject.
setSubject(value: String)Sets the subject value.
getAuthor()StringReturns the author.
setAuthor(value: String)Sets the author value.
getKeywords()StringReturns the keywords.
setKeywords(value: String)Sets the keywords value.
getComments()StringReturns the comments.
setComments(value: String)Sets the comments value.
getCategory()StringReturns the category.
setCategory(value: String)Sets the category value.
getContentStatus()StringReturns the content status.
setContentStatus(value: String)Sets the content status value.
getContentType()StringReturns the content type.
setContentType(value: String)Sets the content type value.
getLastSavedBy()StringReturns the last saved by.
setLastSavedBy(value: String)Sets the last saved by value.
getRevisionNumber()intReturns the revision number.
setRevisionNumber(value: int)Sets the revision number value.
getCreatedTime()LocalDateTimeReturns the created time.
setCreatedTime(value: LocalDateTime)Sets the created time value.
getLastSavedTime()LocalDateTimeReturns the last saved time.
setLastSavedTime(value: LocalDateTime)Sets the last saved time value.
getLastPrinted()LocalDateTimeReturns the last printed.
setLastPrinted(value: LocalDateTime)Sets the last printed value.
getAppVersion()StringReturns the app version.
getNameOfApplication()StringReturns the name of application.
setNameOfApplication(value: String)Sets the name of application value.
getCompany()StringReturns the company.
setCompany(value: String)Sets the company value.
getManager()StringReturns the manager.
setManager(value: String)Sets the manager value.
getPresentationFormat()StringReturns the presentation format.
setPresentationFormat(value: String)Sets the presentation format value.
getApplicationTemplate()StringReturns the application template.
setApplicationTemplate(value: String)Sets the application template value.
getHyperlinkBase()StringReturns the hyperlink base.
setHyperlinkBase(value: String)Sets the hyperlink base value.
getTotalEditingTime()DurationReturns the total editing time.
setTotalEditingTime(value: Duration)Sets the total editing time value.
getSharedDoc()booleanReturns the shared doc.
setSharedDoc(value: boolean)Sets the shared doc value.
getScaleCrop()booleanReturns the scale crop.
setScaleCrop(value: boolean)Sets the scale crop value.
getLinksUpToDate()booleanReturns the links up to date.
setLinksUpToDate(value: boolean)Sets the links up to date value.
getHyperlinksChanged()booleanReturns the hyperlinks changed.
setHyperlinksChanged(value: boolean)Sets the hyperlinks changed value.
getSlides()intReturns the slides.
getHiddenSlides()intReturns the hidden slides.
getNotes()intReturns the notes.
getParagraphs()intReturns the paragraphs.
getWords()intReturns the words.
getMultimediaClips()intReturns the multimedia clips.
getHeadingPairs()List<IHeadingPair>Returns the heading pairs.
getTitlesOfParts()List<String>Returns the titles of parts.
getCountOfCustomProperties()intReturns 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.

See Also