文档属性
概述
DocumentProperties 是 Aspose.Cells FOSS for Java 中的一个类。
表示工作簿的文档属性(docProps/core.xml 和 docProps/app.xml)。
属性
| 名称 | 类型 | 访问 | 描述 |
|---|---|---|---|
title | String | Read | 返回标题。 |
subject | String | Read | 返回主题。 |
author | String | Read | 映射到 core.xml 中的 dc:creator。 |
keywords | String | Read | 返回关键字。 |
comments | String | Read | 映射到 core.xml 中的 dc:description。 |
category | String | Read | 返回类别。 |
company | String | Read | 返回公司。 |
manager | String | Read | 返回经理。 |
方法
| 签名 | 描述 |
|---|---|
getTitle() → String | 返回标题。 |
setTitle(value: String) | 设置标题。 |
getSubject() → String | 返回主题。 |
setSubject(value: String) | 设置主题。 |
getAuthor() → String | 映射到 core.xml 中的 dc:creator。 |
setAuthor(value: String) | 设置作者。 |
getKeywords() → String | 返回关键字。 |
setKeywords(value: String) | 设置关键字。 |
getComments() → String | 映射到 core.xml 中的 dc:description。 |
setComments(value: String) | 设置评论。 |
getCategory() → String | 返回类别。 |
setCategory(value: String) | 设置类别。 |
getCompany() → String | 返回公司。 |
setCompany(value: String) | 设置公司。 |
getManager() → String | 返回经理。 |
setManager(value: String) | 设置经理。 |