public class Border extends OFDElement
10 表 43
proxy| 限定符和类型 | 方法和说明 |
|---|---|
BorderColor |
getBorderColor()
【可选】
获取 边框颜色
有关边框颜色描述见 8.3.2 基本颜色
默认为黑色
|
Double |
getDashOffset()
【可选 属性】
获取 边框虚线重复样式开始的位置
边框的起点位置为左上角,绕行方向为顺时针
默认值为 0
|
ST_Array |
getDashPattern()
【属性 可选】
获取 边框虚线重复样式
边框的起点位置为左上角,绕行方向为顺时针
|
Double |
getHorizonalCornerRadius()
【可选 属性】
获取 边框水平角半径
默认值为 0
|
Double |
getLineWidth()
【可选 属性】
获取 边框线宽
如果为 0 则表示边框不进行绘制
默认值为 0.353 mm
|
Double |
getVerticalCornerRadius()
【可选 属性】
获取 边框垂直角半径
默认值为 0
|
Border |
setBorderColor(CT_Color borderColor)
【可选】
设置 边框颜色
有关边框颜色描述见 8.3.2 基本颜色
默认为黑色
|
Border |
setDashOffset(Double dashOffset)
【可选 属性】
设置 边框虚线重复样式开始的位置
边框的起点位置为左上角,绕行方向为顺时针
默认值为 0
|
Border |
setDashPattern(ST_Array dashPattern)
【属性 可选】
设置 边框虚线重复样式
边框的起点位置为左上角,绕行方向为顺时针
|
Border |
setHorizonalCornerRadius(Double horizonalCornerRadius)
【可选 属性】
设置 边框水平角半径
默认值为 0
|
Border |
setLineWidth(Double lineWidth)
【可选 属性】
设置 边框线宽
如果为 0 则表示边框不进行绘制
默认值为 0.353 mm
|
Border |
setVerticalCornerRadius(Double verticalCornerRadius)
【可选 属性】
设置 边框垂直角半径
默认值为 0
|
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 Border setLineWidth(Double lineWidth)
如果为 0 则表示边框不进行绘制
默认值为 0.353 mm
lineWidth - 边框线宽public Double getLineWidth()
如果为 0 则表示边框不进行绘制
默认值为 0.353 mm
public Border setHorizonalCornerRadius(Double horizonalCornerRadius)
默认值为 0
horizonalCornerRadius - 边框水平角半径public Double getHorizonalCornerRadius()
默认值为 0
public Border setVerticalCornerRadius(Double verticalCornerRadius)
默认值为 0
verticalCornerRadius - 边框垂直角半径public Double getVerticalCornerRadius()
默认值为 0
public Border setDashOffset(Double dashOffset)
边框的起点位置为左上角,绕行方向为顺时针
默认值为 0
dashOffset - 边框虚线重复样式开始的位置public Double getDashOffset()
边框的起点位置为左上角,绕行方向为顺时针
默认值为 0
public Border setDashPattern(ST_Array dashPattern)
边框的起点位置为左上角,绕行方向为顺时针
dashPattern - 边框虚线重复样式public ST_Array getDashPattern()
边框的起点位置为左上角,绕行方向为顺时针
public Border setBorderColor(CT_Color borderColor)
有关边框颜色描述见 8.3.2 基本颜色
默认为黑色
borderColor - 边框颜色public BorderColor getBorderColor()
有关边框颜色描述见 8.3.2 基本颜色
默认为黑色
Copyright © 2021. All rights reserved.