public class CT_AreaHolderBlock
extends org.ofdrw.core.OFDElement
该元素用于存储和表示文档生成者在文档中预置的绘制区域占位符。
| 构造器和说明 |
|---|
CT_AreaHolderBlock() |
CT_AreaHolderBlock(org.dom4j.Element proxy) |
CT_AreaHolderBlock(String areaName)
创建 区域占位区块
|
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getAreaName()
【必选 属性】
获取 区域名称
|
org.ofdrw.core.basicType.ST_Box |
getBoundary()
【必选 属性】
获取 区域外接矩形
区域占位区块在页面中的位置和大小。
|
org.ofdrw.core.basicType.ST_Loc |
getFontFile()
【必选】
获取 页面文件
|
org.ofdrw.core.basicType.ST_RefID |
getPageBlockID()
【必选 属性】
获取 页块引用
通过该ID在页面中定位容器元素。
|
CT_AreaHolderBlock |
setAreaName(String areaName)
【必选 属性】
设置 区域名称
|
CT_AreaHolderBlock |
setBoundary(org.ofdrw.core.basicType.ST_Box boundary)
【必选 属性】
设置 区域外接矩形
区域占位区块在页面中的位置和大小。
|
CT_AreaHolderBlock |
setFontFile(String absPath)
【必选】
设置 页面文件
|
CT_AreaHolderBlock |
setPageBlockID(org.ofdrw.core.basicType.ST_RefID pageBlockID)
【必选 属性】
设置 页块引用
通过该ID在页面中定位容器元素。
|
CT_AreaHolderBlock |
setPageFile(org.ofdrw.core.basicType.ST_Loc pageLoc)
【必选】
设置 页面文件
|
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_AreaHolderBlock(org.dom4j.Element proxy)
public CT_AreaHolderBlock()
public CT_AreaHolderBlock(String areaName)
areaName - 区域名称public CT_AreaHolderBlock setAreaName(String areaName)
areaName - 区域名称public String getAreaName()
public CT_AreaHolderBlock setPageBlockID(org.ofdrw.core.basicType.ST_RefID pageBlockID)
通过该ID在页面中定位容器元素。
pageBlockID - 页块引用public org.ofdrw.core.basicType.ST_RefID getPageBlockID()
通过该ID在页面中定位容器元素。
public CT_AreaHolderBlock setBoundary(org.ofdrw.core.basicType.ST_Box boundary)
区域占位区块在页面中的位置和大小。
boundary - 区域外接矩形public org.ofdrw.core.basicType.ST_Box getBoundary()
区域占位区块在页面中的位置和大小。
public CT_AreaHolderBlock setPageFile(org.ofdrw.core.basicType.ST_Loc pageLoc)
pageLoc - 页面文件路径,占位区域块所在页面的在OFD容器中的绝对路径。public CT_AreaHolderBlock setFontFile(String absPath)
absPath - 页面文件路径,占位区域块所在页面的在OFD容器中的绝对路径。public org.ofdrw.core.basicType.ST_Loc getFontFile()
Copyright © 2024. All rights reserved.