public class Annot extends OFDElement
15.2 图 81 表 61
proxy| 限定符和类型 | 方法和说明 |
|---|---|
Annot |
addParameter(String name,
String parameter)
【可选】
增加 注释参数
|
Appearance |
getAppearance()
【必选】
获取 注释的静态显示效果
使用页面块定义来描述
|
String |
getCreator()
【必选 属性】
获取 注释创建者
|
ST_ID |
getID()
【必选 属性】
获取 注释的标识
|
LocalDate |
getLastModDate()
【必选 属性】
获取 最近一次修改的时间
|
Boolean |
getNoRotate()
【可选 属性】
获取 对象的 Remark 信息是否不随页面旋转而旋转
默认值为 false
|
Boolean |
getNoZoom()
【可选 属性】
获取 对象的 Remark 信息是否不随页面缩放而同步缩放
默认值为 false
|
Map<String,String> |
getParameters()
【可选】
获取 一组注释参数
|
Boolean |
getPrint()
【可选 属性】
设置 对象的Remark 信息是否随页面一起打印
默认值为 true
|
Boolean |
getReadOnly()
【可选 属性】
获取 对象的 Remark 信息是否不能被用户更改
默认值为 true
|
String |
getRemark()
【可选】
获取 注释说明内容
|
String |
getSubtype()
【可选 属性】
获取 注释子类型
|
AnnotType |
getType()
【必选 属性】
获取 注释类型
具体取值见
AnnotType |
boolean |
getVisible()
【可选 属性】
获取 表示该注释对象是否显示
默认值为 true
|
Annot |
setAppearance(Appearance appearance)
【必选】
设置 注释的静态显示效果
使用页面块定义来描述
|
Annot |
setCreator(String creator)
【必选 属性】
设置 注释创建者
|
Annot |
setID(ST_ID id)
【必选 属性】
设置 注释的标识
|
Annot |
setLastModDate(LocalDate lastModDate)
【必选 属性】
设置 最近一次修改的时间
|
Annot |
setNoRotate(Boolean noRotate)
【可选 属性】
设置 对象的 Remark 信息是否不随页面旋转而旋转
默认值为 false
|
Annot |
setNoZoom(Boolean noZoom)
【可选 属性】
设置 对象的 Remark 信息是否不随页面缩放而同步缩放
默认值为 false
|
Annot |
setPrint(Boolean print)
【可选 属性】
设置 对象的Remark 信息是否随页面一起打印
默认值为 true
|
Annot |
setReadOnly(Boolean readOnly)
【可选 属性】
设置 对象的 Remark 信息是否不能被用户更改
默认值为 true
|
Annot |
setRemark(String remark)
【可选】
设置 注释说明内容
|
Annot |
setSubtype(String subtype)
【可选 属性】
设置 注释子类型
|
Annot |
setType(AnnotType type)
【必选 属性】
设置 注释类型
具体取值见
AnnotType |
Annot |
setVisible(boolean visible)
【可选 属性】
设置 表示该注释对象是否显示
默认值为 true
|
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 ST_ID getID()
public Annot setType(AnnotType type)
具体取值见AnnotType
type - 注释类型public String getCreator()
public Annot setLastModDate(LocalDate lastModDate)
lastModDate - 最近一次修改的时间public LocalDate getLastModDate()
public String getSubtype()
public Annot setVisible(boolean visible)
默认值为 true
visible - 表示该注释对象是否显示,默认值为 truepublic boolean getVisible()
默认值为 true
public Annot setPrint(Boolean print)
默认值为 true
print - 对象的Remark 信息是否随页面一起打印public Boolean getPrint()
默认值为 true
public Annot setNoZoom(Boolean noZoom)
默认值为 false
noZoom - 对象的 Remark 信息是否不随页面缩放而同步缩放public Boolean getNoZoom()
默认值为 false
public Annot setNoRotate(Boolean noRotate)
默认值为 false
noRotate - 对象的 Remark 信息是否不随页面旋转而旋转public Boolean getNoRotate()
默认值为 false
public Annot setReadOnly(Boolean readOnly)
默认值为 true
readOnly - 对象的 Remark 信息是否不能被用户更改public Boolean getReadOnly()
默认值为 true
public String getRemark()
public Annot addParameter(String name, String parameter)
name - 键名parameter - 值public Annot setAppearance(Appearance appearance)
使用页面块定义来描述
appearance - 注释的静态显示效果public Appearance getAppearance()
使用页面块定义来描述
Copyright © 2021. All rights reserved.