| 1 | /* |
|---|
| 2 | * Copyright 2007-2008, Plutext Pty Ltd. |
|---|
| 3 | * |
|---|
| 4 | * This file is part of docx4j. |
|---|
| 5 | |
|---|
| 6 | docx4j is licensed under the Apache License, Version 2.0 (the "License"); |
|---|
| 7 | you may not use this file except in compliance with the License. |
|---|
| 8 | |
|---|
| 9 | You may obtain a copy of the License at |
|---|
| 10 | |
|---|
| 11 | http://www.apache.org/licenses/LICENSE-2.0 |
|---|
| 12 | |
|---|
| 13 | Unless required by applicable law or agreed to in writing, software |
|---|
| 14 | distributed under the License is distributed on an "AS IS" BASIS, |
|---|
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|---|
| 16 | See the License for the specific language governing permissions and |
|---|
| 17 | limitations under the License. |
|---|
| 18 | |
|---|
| 19 | */ |
|---|
| 20 | |
|---|
| 21 | |
|---|
| 22 | package org.docx4j.dml; |
|---|
| 23 | |
|---|
| 24 | import javax.xml.bind.annotation.XmlAccessType; |
|---|
| 25 | import javax.xml.bind.annotation.XmlAccessorType; |
|---|
| 26 | import javax.xml.bind.annotation.XmlElement; |
|---|
| 27 | import javax.xml.bind.annotation.XmlType; |
|---|
| 28 | |
|---|
| 29 | |
|---|
| 30 | /** |
|---|
| 31 | * <p>Java class for CT_GvmlTextShape complex type. |
|---|
| 32 | * |
|---|
| 33 | * <p>The following schema fragment specifies the expected content contained within this class. |
|---|
| 34 | * |
|---|
| 35 | * <pre> |
|---|
| 36 | * <complexType name="CT_GvmlTextShape"> |
|---|
| 37 | * <complexContent> |
|---|
| 38 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
|---|
| 39 | * <sequence> |
|---|
| 40 | * <element name="txBody" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_TextBody"/> |
|---|
| 41 | * <choice> |
|---|
| 42 | * <element name="useSpRect" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_GvmlUseShapeRectangle"/> |
|---|
| 43 | * <element name="xfrm" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_Transform2D"/> |
|---|
| 44 | * </choice> |
|---|
| 45 | * <element name="extLst" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_OfficeArtExtensionList" minOccurs="0"/> |
|---|
| 46 | * </sequence> |
|---|
| 47 | * </restriction> |
|---|
| 48 | * </complexContent> |
|---|
| 49 | * </complexType> |
|---|
| 50 | * </pre> |
|---|
| 51 | * |
|---|
| 52 | * |
|---|
| 53 | */ |
|---|
| 54 | @XmlAccessorType(XmlAccessType.FIELD) |
|---|
| 55 | @XmlType(name = "CT_GvmlTextShape", propOrder = { |
|---|
| 56 | "txBody", |
|---|
| 57 | "useSpRect", |
|---|
| 58 | "xfrm", |
|---|
| 59 | "extLst" |
|---|
| 60 | }) |
|---|
| 61 | public class CTGvmlTextShape { |
|---|
| 62 | |
|---|
| 63 | @XmlElement(required = true) |
|---|
| 64 | protected CTTextBody txBody; |
|---|
| 65 | protected CTGvmlUseShapeRectangle useSpRect; |
|---|
| 66 | protected CTTransform2D xfrm; |
|---|
| 67 | protected CTOfficeArtExtensionList extLst; |
|---|
| 68 | |
|---|
| 69 | /** |
|---|
| 70 | * Gets the value of the txBody property. |
|---|
| 71 | * |
|---|
| 72 | * @return |
|---|
| 73 | * possible object is |
|---|
| 74 | * {@link CTTextBody } |
|---|
| 75 | * |
|---|
| 76 | */ |
|---|
| 77 | public CTTextBody getTxBody() { |
|---|
| 78 | return txBody; |
|---|
| 79 | } |
|---|
| 80 | |
|---|
| 81 | /** |
|---|
| 82 | * Sets the value of the txBody property. |
|---|
| 83 | * |
|---|
| 84 | * @param value |
|---|
| 85 | * allowed object is |
|---|
| 86 | * {@link CTTextBody } |
|---|
| 87 | * |
|---|
| 88 | */ |
|---|
| 89 | public void setTxBody(CTTextBody value) { |
|---|
| 90 | this.txBody = value; |
|---|
| 91 | } |
|---|
| 92 | |
|---|
| 93 | /** |
|---|
| 94 | * Gets the value of the useSpRect property. |
|---|
| 95 | * |
|---|
| 96 | * @return |
|---|
| 97 | * possible object is |
|---|
| 98 | * {@link CTGvmlUseShapeRectangle } |
|---|
| 99 | * |
|---|
| 100 | */ |
|---|
| 101 | public CTGvmlUseShapeRectangle getUseSpRect() { |
|---|
| 102 | return useSpRect; |
|---|
| 103 | } |
|---|
| 104 | |
|---|
| 105 | /** |
|---|
| 106 | * Sets the value of the useSpRect property. |
|---|
| 107 | * |
|---|
| 108 | * @param value |
|---|
| 109 | * allowed object is |
|---|
| 110 | * {@link CTGvmlUseShapeRectangle } |
|---|
| 111 | * |
|---|
| 112 | */ |
|---|
| 113 | public void setUseSpRect(CTGvmlUseShapeRectangle value) { |
|---|
| 114 | this.useSpRect = value; |
|---|
| 115 | } |
|---|
| 116 | |
|---|
| 117 | /** |
|---|
| 118 | * Gets the value of the xfrm property. |
|---|
| 119 | * |
|---|
| 120 | * @return |
|---|
| 121 | * possible object is |
|---|
| 122 | * {@link CTTransform2D } |
|---|
| 123 | * |
|---|
| 124 | */ |
|---|
| 125 | public CTTransform2D getXfrm() { |
|---|
| 126 | return xfrm; |
|---|
| 127 | } |
|---|
| 128 | |
|---|
| 129 | /** |
|---|
| 130 | * Sets the value of the xfrm property. |
|---|
| 131 | * |
|---|
| 132 | * @param value |
|---|
| 133 | * allowed object is |
|---|
| 134 | * {@link CTTransform2D } |
|---|
| 135 | * |
|---|
| 136 | */ |
|---|
| 137 | public void setXfrm(CTTransform2D value) { |
|---|
| 138 | this.xfrm = value; |
|---|
| 139 | } |
|---|
| 140 | |
|---|
| 141 | /** |
|---|
| 142 | * Gets the value of the extLst property. |
|---|
| 143 | * |
|---|
| 144 | * @return |
|---|
| 145 | * possible object is |
|---|
| 146 | * {@link CTOfficeArtExtensionList } |
|---|
| 147 | * |
|---|
| 148 | */ |
|---|
| 149 | public CTOfficeArtExtensionList getExtLst() { |
|---|
| 150 | return extLst; |
|---|
| 151 | } |
|---|
| 152 | |
|---|
| 153 | /** |
|---|
| 154 | * Sets the value of the extLst property. |
|---|
| 155 | * |
|---|
| 156 | * @param value |
|---|
| 157 | * allowed object is |
|---|
| 158 | * {@link CTOfficeArtExtensionList } |
|---|
| 159 | * |
|---|
| 160 | */ |
|---|
| 161 | public void setExtLst(CTOfficeArtExtensionList value) { |
|---|
| 162 | this.extLst = value; |
|---|
| 163 | } |
|---|
| 164 | |
|---|
| 165 | } |
|---|