DocumentProperties
概述
DocumentProperties 是 Aspose.Slides FOSS 中用于 Java 的类。继承自:IDocumentProperties。
表示演示文稿的属性。
此类提供 67 个用于在 Java 程序中处理 DocumentProperties 对象的方法。可用的方法包括:clearBuiltInProperties、clearCustomProperties、containsCustomProperty、getAppVersion、getApplicationTemplate、getAuthor、getCategory、getComments、getCompany、getContentStatus、getContentType、getCountOfCustomProperties,以及另外 55 个方法。所有公共成员在安装了 Aspose.Slides FOSS for Java 包后,可供任何 Java 应用程序访问。属性包括:appVersion、applicationTemplate、author、category、comments、company,以及另外 28 项。
属性
| 名称 | 类型 | 访问 | 描述 |
|---|---|---|---|
title | String | 读取 | 获取标题。 |
subject | String | 读取 | 获取主题。 |
author | String | 读取 | 获取作者。 |
keywords | String | 读取 | 获取关键字。 |
comments | String | 读取 | 获取注释。 |
category | String | 读取 | 获取类别。 |
contentStatus | String | 读取 | 获取内容状态。 |
contentType | String | 读取 | 获取内容类型。 |
lastSavedBy | String | 读取 | 获取最后保存者。 |
revisionNumber | int | 读取 | 获取修订号。 |
createdTime | LocalDateTime | 读取 | 获取创建时间。 |
lastSavedTime | LocalDateTime | 读取 | 获取上次保存的时间。 |
lastPrinted | LocalDateTime | 读取 | 获取最后打印时间。 |
appVersion | String | 读取 | 获取应用程序版本。 |
nameOfApplication | String | 读取 | 获取应用程序的名称。 |
company | String | 读取 | 获取公司。 |
manager | String | 读取 | 获取管理器。 |
presentationFormat | String | 读取 | 获取演示格式。 |
applicationTemplate | String | 读取 | 获取应用程序模板。 |
hyperlinkBase | String | 读取 | 获取超链接基准。 |
totalEditingTime | Duration | 读取 | 获取总编辑时间。 |
sharedDoc | boolean | 读取 | 获取共享文档。 |
scaleCrop | boolean | 读取 | 获取比例裁剪。 |
linksUpToDate | boolean | 读取 | 获取链接的最新状态。 |
hyperlinksChanged | boolean | 读取 | 获取已更改的超链接。 |
slides | int | 读取 | 获取幻灯片。 |
hiddenSlides | int | 读取 | 获取隐藏的幻灯片。 |
notes | int | 读取 | 获取备注。 |
paragraphs | int | 读取 | 获取段落。 |
words | int | 读取 | 获取单词。 |
multimediaClips | int | 读取 | 获取多媒体剪辑。 |
headingPairs | List<IHeadingPair> | 读取 | 获取标题对。 |
titlesOfParts | List<String> | 读取 | 获取部件的标题。 |
countOfCustomProperties | int | 读取 | 获取自定义属性的计数。 |
方法
| 签名 | 描述 |
|---|---|
initInternal(pkg: OpcPackage, presentationRef: Presentation) | 使用给定的 OPC 包初始化内部状态。 |
getTitle() → String | 返回标题。 |
setTitle(value: String) | 设置标题值。 |
getSubject() → String | 返回主题。 |
setSubject(value: String) | 设置主题值。 |
getAuthor() → String | 返回作者。 |
setAuthor(value: String) | 设置作者值。 |
getKeywords() → String | 返回关键词。 |
setKeywords(value: String) | 设置关键字的值。 |
getComments() → String | 返回评论。 |
setComments(value: String) | 设置注释的值。 |
getCategory() → String | 返回类别。 |
setCategory(value: String) | 设置类别值。 |
getContentStatus() → String | 返回内容状态。 |
setContentStatus(value: String) | 设置内容状态值。 |
getContentType() → String | 返回内容类型。 |
setContentType(value: String) | 设置内容类型值。 |
getLastSavedBy() → String | 返回最后保存者。 |
setLastSavedBy(value: String) | 设置最后保存者的值。 |
getRevisionNumber() → int | 返回修订号。 |
setRevisionNumber(value: int) | 设置修订号的值。 |
getCreatedTime() → LocalDateTime | 返回创建时间。 |
setCreatedTime(value: LocalDateTime) | 设置创建时间值。 |
getLastSavedTime() → LocalDateTime | 返回最后保存的时间。 |
setLastSavedTime(value: LocalDateTime) | 设置最后保存的时间值。 |
getLastPrinted() → LocalDateTime | 返回最后打印。 |
setLastPrinted(value: LocalDateTime) | 设置最后打印的值。 |
getAppVersion() → String | 返回应用程序版本。 |
getNameOfApplication() → String | 返回应用程序的名称。 |
setNameOfApplication(value: String) | 设置应用程序值的名称。 |
getCompany() → String | 返回公司。 |
setCompany(value: String) | 设置公司值。 |
getManager() → String | 返回管理器。 |
setManager(value: String) | 设置 manager 值。 |
getPresentationFormat() → String | 返回呈现格式。 |
setPresentationFormat(value: String) | 设置演示文稿格式值。 |
getApplicationTemplate() → String | 返回应用程序模板。 |
setApplicationTemplate(value: String) | 设置应用程序模板值。 |
getHyperlinkBase() → String | 返回超链接基地址。 |
setHyperlinkBase(value: String) | 设置超链接基值。 |
getTotalEditingTime() → Duration | 返回编辑总时长。 |
setTotalEditingTime(value: Duration) | 设置总编辑时间值。 |
getSharedDoc() → boolean | 返回共享文档。 |
setSharedDoc(value: boolean) | 设置共享文档值。 |
getScaleCrop() → boolean | 返回比例裁剪。 |
setScaleCrop(value: boolean) | 设置比例裁剪值。 |
getLinksUpToDate() → boolean | 返回最新的链接。 |
setLinksUpToDate(value: boolean) | 设置链接的最新值。 |
getHyperlinksChanged() → boolean | 返回已更改的超链接。 |
setHyperlinksChanged(value: boolean) | 设置已更改的超链接值。 |
getSlides() → int | 返回幻灯片。 |
getHiddenSlides() → int | 返回隐藏的幻灯片。 |
getNotes() → int | 返回笔记。 |
getParagraphs() → int | 返回段落。 |
getWords() → int | 返回单词。 |
getMultimediaClips() → int | 返回多媒体剪辑。 |
getHeadingPairs() → List<IHeadingPair> | 返回标题对。 |
getTitlesOfParts() → List<String> | 返回部件的标题。 |
getCountOfCustomProperties() → int | 返回自定义属性的数量。 |
getCustomPropertyValue(name: String, out: List<Object>) | |
setCustomPropertyValue(name: String, value: Object) | 设置自定义属性值。 |
getCustomPropertyName(index: int) → String | |
removeCustomProperty(name: String) → boolean | |
containsCustomProperty(name: String) → boolean | |
clearCustomProperties() | |
clearBuiltInProperties() | |
save() | 将所有已加载的部分序列化回包中。 |