| 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.XmlAttribute; |
|---|
| 27 | import javax.xml.bind.annotation.XmlType; |
|---|
| 28 | |
|---|
| 29 | |
|---|
| 30 | /** |
|---|
| 31 | * <p>Java class for CT_TransformEffect complex type. |
|---|
| 32 | * |
|---|
| 33 | * <p>The following schema fragment specifies the expected content contained within this class. |
|---|
| 34 | * |
|---|
| 35 | * <pre> |
|---|
| 36 | * <complexType name="CT_TransformEffect"> |
|---|
| 37 | * <complexContent> |
|---|
| 38 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
|---|
| 39 | * <attribute name="sx" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_Percentage" default="100000" /> |
|---|
| 40 | * <attribute name="sy" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_Percentage" default="100000" /> |
|---|
| 41 | * <attribute name="kx" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_FixedAngle" default="0" /> |
|---|
| 42 | * <attribute name="ky" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_FixedAngle" default="0" /> |
|---|
| 43 | * <attribute name="tx" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_Coordinate" default="0" /> |
|---|
| 44 | * <attribute name="ty" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_Coordinate" default="0" /> |
|---|
| 45 | * </restriction> |
|---|
| 46 | * </complexContent> |
|---|
| 47 | * </complexType> |
|---|
| 48 | * </pre> |
|---|
| 49 | * |
|---|
| 50 | * |
|---|
| 51 | */ |
|---|
| 52 | @XmlAccessorType(XmlAccessType.FIELD) |
|---|
| 53 | @XmlType(name = "CT_TransformEffect") |
|---|
| 54 | public class CTTransformEffect { |
|---|
| 55 | |
|---|
| 56 | @XmlAttribute |
|---|
| 57 | protected Integer sx; |
|---|
| 58 | @XmlAttribute |
|---|
| 59 | protected Integer sy; |
|---|
| 60 | @XmlAttribute |
|---|
| 61 | protected Integer kx; |
|---|
| 62 | @XmlAttribute |
|---|
| 63 | protected Integer ky; |
|---|
| 64 | @XmlAttribute |
|---|
| 65 | protected Long tx; |
|---|
| 66 | @XmlAttribute |
|---|
| 67 | protected Long ty; |
|---|
| 68 | |
|---|
| 69 | /** |
|---|
| 70 | * Gets the value of the sx property. |
|---|
| 71 | * |
|---|
| 72 | * @return |
|---|
| 73 | * possible object is |
|---|
| 74 | * {@link Integer } |
|---|
| 75 | * |
|---|
| 76 | */ |
|---|
| 77 | public int getSx() { |
|---|
| 78 | if (sx == null) { |
|---|
| 79 | return 100000; |
|---|
| 80 | } else { |
|---|
| 81 | return sx; |
|---|
| 82 | } |
|---|
| 83 | } |
|---|
| 84 | |
|---|
| 85 | /** |
|---|
| 86 | * Sets the value of the sx property. |
|---|
| 87 | * |
|---|
| 88 | * @param value |
|---|
| 89 | * allowed object is |
|---|
| 90 | * {@link Integer } |
|---|
| 91 | * |
|---|
| 92 | */ |
|---|
| 93 | public void setSx(Integer value) { |
|---|
| 94 | this.sx = value; |
|---|
| 95 | } |
|---|
| 96 | |
|---|
| 97 | /** |
|---|
| 98 | * Gets the value of the sy property. |
|---|
| 99 | * |
|---|
| 100 | * @return |
|---|
| 101 | * possible object is |
|---|
| 102 | * {@link Integer } |
|---|
| 103 | * |
|---|
| 104 | */ |
|---|
| 105 | public int getSy() { |
|---|
| 106 | if (sy == null) { |
|---|
| 107 | return 100000; |
|---|
| 108 | } else { |
|---|
| 109 | return sy; |
|---|
| 110 | } |
|---|
| 111 | } |
|---|
| 112 | |
|---|
| 113 | /** |
|---|
| 114 | * Sets the value of the sy property. |
|---|
| 115 | * |
|---|
| 116 | * @param value |
|---|
| 117 | * allowed object is |
|---|
| 118 | * {@link Integer } |
|---|
| 119 | * |
|---|
| 120 | */ |
|---|
| 121 | public void setSy(Integer value) { |
|---|
| 122 | this.sy = value; |
|---|
| 123 | } |
|---|
| 124 | |
|---|
| 125 | /** |
|---|
| 126 | * Gets the value of the kx property. |
|---|
| 127 | * |
|---|
| 128 | * @return |
|---|
| 129 | * possible object is |
|---|
| 130 | * {@link Integer } |
|---|
| 131 | * |
|---|
| 132 | */ |
|---|
| 133 | public int getKx() { |
|---|
| 134 | if (kx == null) { |
|---|
| 135 | return 0; |
|---|
| 136 | } else { |
|---|
| 137 | return kx; |
|---|
| 138 | } |
|---|
| 139 | } |
|---|
| 140 | |
|---|
| 141 | /** |
|---|
| 142 | * Sets the value of the kx property. |
|---|
| 143 | * |
|---|
| 144 | * @param value |
|---|
| 145 | * allowed object is |
|---|
| 146 | * {@link Integer } |
|---|
| 147 | * |
|---|
| 148 | */ |
|---|
| 149 | public void setKx(Integer value) { |
|---|
| 150 | this.kx = value; |
|---|
| 151 | } |
|---|
| 152 | |
|---|
| 153 | /** |
|---|
| 154 | * Gets the value of the ky property. |
|---|
| 155 | * |
|---|
| 156 | * @return |
|---|
| 157 | * possible object is |
|---|
| 158 | * {@link Integer } |
|---|
| 159 | * |
|---|
| 160 | */ |
|---|
| 161 | public int getKy() { |
|---|
| 162 | if (ky == null) { |
|---|
| 163 | return 0; |
|---|
| 164 | } else { |
|---|
| 165 | return ky; |
|---|
| 166 | } |
|---|
| 167 | } |
|---|
| 168 | |
|---|
| 169 | /** |
|---|
| 170 | * Sets the value of the ky property. |
|---|
| 171 | * |
|---|
| 172 | * @param value |
|---|
| 173 | * allowed object is |
|---|
| 174 | * {@link Integer } |
|---|
| 175 | * |
|---|
| 176 | */ |
|---|
| 177 | public void setKy(Integer value) { |
|---|
| 178 | this.ky = value; |
|---|
| 179 | } |
|---|
| 180 | |
|---|
| 181 | /** |
|---|
| 182 | * Gets the value of the tx property. |
|---|
| 183 | * |
|---|
| 184 | * @return |
|---|
| 185 | * possible object is |
|---|
| 186 | * {@link Long } |
|---|
| 187 | * |
|---|
| 188 | */ |
|---|
| 189 | public long getTx() { |
|---|
| 190 | if (tx == null) { |
|---|
| 191 | return 0L; |
|---|
| 192 | } else { |
|---|
| 193 | return tx; |
|---|
| 194 | } |
|---|
| 195 | } |
|---|
| 196 | |
|---|
| 197 | /** |
|---|
| 198 | * Sets the value of the tx property. |
|---|
| 199 | * |
|---|
| 200 | * @param value |
|---|
| 201 | * allowed object is |
|---|
| 202 | * {@link Long } |
|---|
| 203 | * |
|---|
| 204 | */ |
|---|
| 205 | public void setTx(Long value) { |
|---|
| 206 | this.tx = value; |
|---|
| 207 | } |
|---|
| 208 | |
|---|
| 209 | /** |
|---|
| 210 | * Gets the value of the ty property. |
|---|
| 211 | * |
|---|
| 212 | * @return |
|---|
| 213 | * possible object is |
|---|
| 214 | * {@link Long } |
|---|
| 215 | * |
|---|
| 216 | */ |
|---|
| 217 | public long getTy() { |
|---|
| 218 | if (ty == null) { |
|---|
| 219 | return 0L; |
|---|
| 220 | } else { |
|---|
| 221 | return ty; |
|---|
| 222 | } |
|---|
| 223 | } |
|---|
| 224 | |
|---|
| 225 | /** |
|---|
| 226 | * Sets the value of the ty property. |
|---|
| 227 | * |
|---|
| 228 | * @param value |
|---|
| 229 | * allowed object is |
|---|
| 230 | * {@link Long } |
|---|
| 231 | * |
|---|
| 232 | */ |
|---|
| 233 | public void setTy(Long value) { |
|---|
| 234 | this.ty = value; |
|---|
| 235 | } |
|---|
| 236 | |
|---|
| 237 | } |
|---|