public class Document extends OFDElement
————《GB/T 33190-2016》 图 5
proxy| 限定符和类型 | 方法和说明 |
|---|---|
Actions |
getActions()
【可选】
获取 文档关联的动作序列
当存在多个 Action 对象时,所有动作依次执行
|
ST_Loc |
getAnnotations()
【可选】
获取 指向注释列表的文件
有关注释描述见第 15 章
|
ST_Loc |
getAttachments()
【可选】
获取 指向附件列表文件
有关附件描述见第 20 章
|
Bookmarks |
getBookmarks()
【可选】
获取 文档的书签集,包含一组书签
7.5 文档根节点 表 5 文档根节点属性
|
CT_CommonData |
getCommonData()
【必选】
获取 文档公共数据
定义了页面区域、公共资源
|
ST_Loc |
getCustomTags()
【可选】
获取 指向自定义标引列表文件
有关自定义标引描述见第 16 章
|
ST_Loc |
getExtensions()
【可选】
设置 指向扩展列表文件
有关扩展列表文件见第 17 章
|
Outlines |
getOutlines()
【可选】
获取 大纲
|
Pages |
getPages()
【必选】
获取 页树
有关页树的描述键 7.6
|
CT_Permission |
getPermission()
【可选】
获取 文档的权限声明
|
CT_VPreferences |
getVPreferences()
【可选】
获取 文档的视图首选项
|
Document |
setActions(Actions actions)
【可选】
设置 文档关联的动作序列
当存在多个 Action 对象时,所有动作依次执行
|
Document |
setAnnotations(ST_Loc annotations)
【可选】
设置 指向注释列表的文件
有关注释描述见第 15 章
|
Document |
setAttachments(ST_Loc attachments)
【可选】
设置 指向附件列表文件
有关附件描述见第 20 章
|
Document |
setBookmarks(Bookmarks bookmarks)
【可选】
设置 文档的书签集,包含一组书签
7.5 文档根节点 表 5 文档根节点属性
|
Document |
setCommonData(CT_CommonData commonData)
【必选】
设置 文档公共数据
定义了页面区域、公共资源
|
Document |
setCustomTags(ST_Loc customTags)
【可选】
设置 指向自定义标引列表文件
有关自定义标引描述见第 16 章
|
Document |
setExtensions(ST_Loc extensions)
【可选】
设置 指向扩展列表文件
有关扩展列表文件见第 17 章
|
Document |
setOutlines(Outlines outlines)
【可选】
设置 大纲
|
Document |
setPages(Pages pages)
【必选】
设置 页树
有关页树的描述键 7.6
|
Document |
setPermissions(CT_Permission permission)
【可选】
设置 文档的权限声明
|
Document |
setVPreferences(CT_VPreferences vPreferences)
【可选】
设置 文档的视图首选项
|
addOFDEntity, getElements, getInstance, getObjID, getOFDElement, getOFDElement, getOFDElements, getOFDElementText, getQualifiedName, removeAll, removeAttr, removeOFDElemByNames, set, setObjID, setObjID, setOFDEntity, setOFDNameaccept, add, add, add, add, add, add, add, add, add, addAttribute, addAttribute, addCDATA, addComment, addElement, addElement, addElement, addEntity, additionalNamespaces, addNamespace, addProcessingInstruction, addProcessingInstruction, addText, appendAttributes, appendContent, asXML, asXPathResult, attribute, attribute, attribute, attributeCount, attributeIterator, attributes, attributeValue, attributeValue, attributeValue, attributeValue, clearContent, clone, content, createCopy, createCopy, createCopy, createXPath, declaredNamespaces, detach, element, element, elementByID, elementIterator, elementIterator, elementIterator, elements, elements, elements, elementText, elementText, elementTextTrim, elementTextTrim, equals, getData, getDocument, getName, getNamespace, getNamespaceForPrefix, getNamespaceForURI, getNamespacePrefix, getNamespacesForURI, getNamespaceURI, getNodeType, getNodeTypeName, getParent, getPath, getPath, getProxy, getQName, getQName, getStringValue, getText, getTextTrim, getUniquePath, getUniquePath, getXPathResult, hasContent, hasMixedContent, indexOf, isReadOnly, isRootElement, isTextOnly, matches, node, nodeCount, nodeIterator, normalize, numberValueOf, processingInstruction, processingInstructions, processingInstructions, remove, remove, remove, remove, remove, remove, remove, remove, remove, removeProcessingInstruction, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setAttributes, setAttributeValue, setAttributeValue, setContent, setData, setDocument, setName, setParent, setProcessingInstructions, setProxy, setQName, setText, supportsParent, valueOf, writepublic Document setCommonData(CT_CommonData commonData)
定义了页面区域、公共资源
commonData - 文档公共数据public CT_CommonData getCommonData()
定义了页面区域、公共资源
public Pages getPages()
有关页树的描述键 7.6
public Outlines getOutlines()
public Document setPermissions(CT_Permission permission)
permission - 文档的权限声明public CT_Permission getPermission()
public Document setActions(Actions actions)
当存在多个 Action 对象时,所有动作依次执行
actions - 文档关联的动作序列public Actions getActions()
当存在多个 Action 对象时,所有动作依次执行
public Document setVPreferences(CT_VPreferences vPreferences)
vPreferences - 文档的视图首选项public CT_VPreferences getVPreferences()
public Document setBookmarks(Bookmarks bookmarks)
7.5 文档根节点 表 5 文档根节点属性
bookmarks - 文档的书签集public Bookmarks getBookmarks()
7.5 文档根节点 表 5 文档根节点属性
public Document setAnnotations(ST_Loc annotations)
有关注释描述见第 15 章
annotations - 指向注释列表的文件路径public ST_Loc getAnnotations()
有关注释描述见第 15 章
public Document setCustomTags(ST_Loc customTags)
有关自定义标引描述见第 16 章
customTags - 指向自定义标引列表文件路径public ST_Loc getCustomTags()
有关自定义标引描述见第 16 章
public Document setAttachments(ST_Loc attachments)
有关附件描述见第 20 章
attachments - 指向附件列表文件路径public ST_Loc getAttachments()
有关附件描述见第 20 章
public Document setExtensions(ST_Loc extensions)
有关扩展列表文件见第 17 章
extensions - 指向扩展列表文件路径public ST_Loc getExtensions()
有关扩展列表文件见第 17 章
Copyright © 2021. All rights reserved.