public class CT_Attachment extends OFDElement
20.2 附件 图 92 表 73
NSStrictModeproxy| 构造器和说明 |
|---|
CT_Attachment() |
CT_Attachment(org.dom4j.Element proxy) |
addOFDEntity, getElements, getInstance, getObjID, getOFDElement, getOFDElement, getOFDElements, getOFDElementText, getQualifiedName, removeAll, removeAttr, removeOFDElemByNames, set, setObjID, 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 CT_Attachment(org.dom4j.Element proxy)
public CT_Attachment()
public CT_Attachment setID(String id)
id - 附件标识public String getID()
public CT_Attachment setAttachmentName(String attachmentName)
attachmentName - 附件名称public String getAttachmentName()
public CT_Attachment setFormat(String format)
format - 附件格式public String getFormat()
@Deprecated public CT_Attachment setCreationDate(LocalDate creationDate)
creationDate - 创建时间public CT_Attachment setCreationDate(LocalDateTime creationDate)
creationDate - 创建时间@Deprecated public LocalDate getCreationDate()
public LocalDateTime getCreationDateTime()
@Deprecated public CT_Attachment setModDate(LocalDate modDate)
modDate - 修改时间public CT_Attachment setModDate(LocalDateTime modDate)
modDate - 修改时间@Deprecated public LocalDate getModDate()
getModDateTime()public LocalDateTime getModDateTime()
public CT_Attachment setSize(Double size)
以KB为单位
size - 附件大小,以KB为单位public Double getSize()
以KB为单位
public CT_Attachment setVisible(Boolean visible)
默认值为 true
visible - 附件是否可见public Boolean getVisible()
默认值为 true
public CT_Attachment setUsage(String usage)
默认值为 none
usage - 附件用途public String getUsage()
默认值为 none
public CT_Attachment setFileLoc(ST_Loc fileLoc)
fileLoc - 附件内容在包内的路径public ST_Loc getFileLoc()
Copyright © 2025. All rights reserved.