AutoShape
概述
AutoShape 是一个类在Java的FOSS中. 继承人: GeometryShape, IAutoShape.
表示一个 AutoShape.
这个类提供了在Java程序中使用AutoShape对象的53种方法. 有的方法包括: AutoShape, GeometryShape, addTextFrame, asIPresentationComponent, getAdjustments, getAlternativeText, getAlternativeTextTitle, getAsIGeometryShape, getAsISlideComponent, getCNvPr, getConnectionSiteCount, getCustomData,另外还有40种方法. 所有公众成员在安装了Java的FOSS包后,可以访问任何 Java应用程序. 特性: adjustments, alternativeText, alternativeTextTitle, asIGeometryShape, asISlideComponent, cNvPr,另外还有28个.
属性
| 名称: | 类型 | Access | 描述情况 |
|---|---|---|---|
shapeType | ShapeType | 阅读 | {@inheritDoc} 除了基本类预设几何查找之外,还检查自定义几构图 ({@code <a:custGeom>). / |
textFrame | ITextFrame | 阅读 | 获取文本框。. |
textBox | boolean | 阅读 | 获取文本框。. |
asIGeometryShape | IGeometryShape | 阅读 | 获取 as i 几何形状。. |
fillFormat | IFillFormat | 阅读 | 没有任何其他方法. |
x | double | 阅读 | 获取 x。. |
y | double | 阅读 | 获取 y。. |
width | double | 阅读 | 获取宽度。. |
height | double | 阅读 | 获取高度。. |
rotation | double | 阅读 | 获取旋转。. |
shapeStyle | IShapeStyle | 阅读 | 获取形状样式。. |
adjustments | IAdjustValueCollection | 阅读 | 获取调整。. |
cNvPr | Element | 阅读 | 获取 c nv pr。. |
textHolder | boolean | 阅读 | 获取文本持有者。. |
placeholder | IPlaceholder | 阅读 | 获取占位符。. |
customData | ICustomData | 阅读 | 获取自定义数据。. |
rawFrame | IShapeFrame | 阅读 | 获取原始帧。. |
frame | IShapeFrame | 阅读 | 获取帧。. |
lineFormat | ILineFormat | 阅读 | 获取行格式。. |
threeDFormat | IThreeDFormat | 阅读 | 获取三维格式。. |
effectFormat | IEffectFormat | 阅读 | 获取效果格式。. |
hidden | boolean | 阅读 | 获取隐藏。. |
zOrderPosition | int | 阅读 | 获取 z order 位置。. |
connectionSiteCount | int | 阅读 | 获取连接站点计数。. |
alternativeText | String | 阅读 | 获取替代文本。. |
alternativeTextTitle | String | 阅读 | 获取替代文本标题。. |
name | String | 阅读 | 获取名称。. |
decorative | boolean | 阅读 | 获取装饰。. |
uniqueId | int | 阅读 | 获取唯一 id。. |
officeInteropShapeId | int | 阅读 | 获取 Office Interop 形状 ID。. |
grouped | boolean | 阅读 | 获取已分组的。. |
asISlideComponent | ISlideComponent | 阅读 | 获取 as i slide 组件。. |
slide | IBaseSlide | 阅读 | 获取幻灯片。. |
presentation | IPresentation | 阅读 | 获取表示。. |
方法
| Signature | 描述情况 |
|---|---|
AutoShape(xmlElement: Element, saveCallback: Runnable) | 创建一个AutoShape,由给定的XML元素支持. |
AutoShape() | 创建一个没有支持元素的 AutoShape. |
getShapeType() → ShapeType | {@inheritDoc} 除了基本类预设几何查找之外,还检查自定义几构图 ({@code <a:custGeom>). / |
setShapeType(value: ShapeType) | 在应用预设之前删除任何现有的自定义几何 ({@code <a:custGeom>}) 并清除现有 {@ code < a:prstGeon> } 的子女./ |
getTextFrame() → ITextFrame | 返回文本框架. |
isTextBox() → boolean | 如果设置文本框,则返回true. |
getAsIGeometryShape() → IGeometryShape | 返回了作为i的几何形状. |
addTextFrame(text: String) → ITextFrame | 将给定的文本添加一个新的文档框,并返回 ITextFrame |
getFillFormat() → IFillFormat | 没有任何其他方法. |
GeometryShape(xmlElement: Element, saveCallback: Runnable) | 创建一个GeometryShape,由给定的XML元素支持. |
setParentShapes(shapes: Iterable<IShape>) | 设置用于连接查找的兄弟形状集合. |
getX() → double | 返回了x的值. |
setX(x: double) | 设置 x 值。. |
getY() → double | 返回了y. |
setY(y: double) | 设置 y 值。. |
getWidth() → double | 返回宽度. |
setWidth(width: double) | 设置宽度值。. |
getHeight() → double | 返回高度. |
setHeight(height: double) | 设置高度值。. |
getRotation() → double | 返回旋转. |
setRotation(rotation: double) | 设置旋转值。. |
getShapeStyle() → IShapeStyle | 返回形状的风格. |
getAdjustments() → IAdjustValueCollection | 返回调整的结果. |
getCNvPr() → Element | 返回c nv pr. |
isTextHolder() → boolean | 如果设置了文本持有符,则返回true. |
getPlaceholder() → IPlaceholder | 返回位置记号. |
getCustomData() → ICustomData | 返回自定义数据. |
getRawFrame() → IShapeFrame | 返回原始. |
setRawFrame(value: IShapeFrame) | 设置原始帧值。. |
getFrame() → IShapeFrame | 返回了镜头. |
setFrame(value: IShapeFrame) | 设置帧值。. |
getLineFormat() → ILineFormat | 返回行格式. |
getThreeDFormat() → IThreeDFormat | 返回3d格式. |
getEffectFormat() → IEffectFormat | 返回效果格式. |
isHidden() → boolean | 如果设置了隐藏,则返回true. |
setHidden(value: boolean) | 设置隐藏值。. |
getZOrderPosition() → int | 返回z顺序位置. |
getConnectionSiteCount() → int | 返回连接站点数量. |
getAlternativeText() → String | 返回替代文本. |
setAlternativeText(value: String) | 设置替代文本值。. |
getAlternativeTextTitle() → String | 返回替代文本标题. |
setAlternativeTextTitle(value: String) | 设置替代文本标题值。. |
getName() → String | 返回名称. |
setName(value: String) | 设置 name 值。. |
isDecorative() → boolean | 如果设置了装饰值,则返回true. |
setDecorative(value: boolean) | 设置装饰值。. |
getUniqueId() → int | 返回唯一的ID. |
getOfficeInteropShapeId() → int | 返回办公室的交互器形状ID. |
isGrouped() → boolean | 如果设置了"组装",则返回true. |
getAsISlideComponent() → ISlideComponent | 返回了 as i 的滑动组件. |
getSlide() → IBaseSlide | 返回滑动. |
getPresentation() → IPresentation | 返回表现. |
asIPresentationComponent() → IPresentationComponent |