| 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_ShapeLocking complex type. |
|---|
| 32 | * |
|---|
| 33 | * <p>The following schema fragment specifies the expected content contained within this class. |
|---|
| 34 | * |
|---|
| 35 | * <pre> |
|---|
| 36 | * <complexType name="CT_ShapeLocking"> |
|---|
| 37 | * <complexContent> |
|---|
| 38 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
|---|
| 39 | * <sequence> |
|---|
| 40 | * <element name="extLst" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_OfficeArtExtensionList" minOccurs="0"/> |
|---|
| 41 | * </sequence> |
|---|
| 42 | * <attGroup ref="{http://schemas.openxmlformats.org/drawingml/2006/main}AG_Locking"/> |
|---|
| 43 | * <attribute name="noTextEdit" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> |
|---|
| 44 | * </restriction> |
|---|
| 45 | * </complexContent> |
|---|
| 46 | * </complexType> |
|---|
| 47 | * </pre> |
|---|
| 48 | * |
|---|
| 49 | * |
|---|
| 50 | */ |
|---|
| 51 | @XmlAccessorType(XmlAccessType.FIELD) |
|---|
| 52 | @XmlType(name = "CT_ShapeLocking", propOrder = { |
|---|
| 53 | "extLst" |
|---|
| 54 | }) |
|---|
| 55 | public class CTShapeLocking { |
|---|
| 56 | |
|---|
| 57 | protected CTOfficeArtExtensionList extLst; |
|---|
| 58 | @XmlAttribute |
|---|
| 59 | protected Boolean noTextEdit; |
|---|
| 60 | @XmlAttribute |
|---|
| 61 | protected Boolean noGrp; |
|---|
| 62 | @XmlAttribute |
|---|
| 63 | protected Boolean noSelect; |
|---|
| 64 | @XmlAttribute |
|---|
| 65 | protected Boolean noRot; |
|---|
| 66 | @XmlAttribute |
|---|
| 67 | protected Boolean noChangeAspect; |
|---|
| 68 | @XmlAttribute |
|---|
| 69 | protected Boolean noMove; |
|---|
| 70 | @XmlAttribute |
|---|
| 71 | protected Boolean noResize; |
|---|
| 72 | @XmlAttribute |
|---|
| 73 | protected Boolean noEditPoints; |
|---|
| 74 | @XmlAttribute |
|---|
| 75 | protected Boolean noAdjustHandles; |
|---|
| 76 | @XmlAttribute |
|---|
| 77 | protected Boolean noChangeArrowheads; |
|---|
| 78 | @XmlAttribute |
|---|
| 79 | protected Boolean noChangeShapeType; |
|---|
| 80 | |
|---|
| 81 | /** |
|---|
| 82 | * Gets the value of the extLst property. |
|---|
| 83 | * |
|---|
| 84 | * @return |
|---|
| 85 | * possible object is |
|---|
| 86 | * {@link CTOfficeArtExtensionList } |
|---|
| 87 | * |
|---|
| 88 | */ |
|---|
| 89 | public CTOfficeArtExtensionList getExtLst() { |
|---|
| 90 | return extLst; |
|---|
| 91 | } |
|---|
| 92 | |
|---|
| 93 | /** |
|---|
| 94 | * Sets the value of the extLst property. |
|---|
| 95 | * |
|---|
| 96 | * @param value |
|---|
| 97 | * allowed object is |
|---|
| 98 | * {@link CTOfficeArtExtensionList } |
|---|
| 99 | * |
|---|
| 100 | */ |
|---|
| 101 | public void setExtLst(CTOfficeArtExtensionList value) { |
|---|
| 102 | this.extLst = value; |
|---|
| 103 | } |
|---|
| 104 | |
|---|
| 105 | /** |
|---|
| 106 | * Gets the value of the noTextEdit property. |
|---|
| 107 | * |
|---|
| 108 | * @return |
|---|
| 109 | * possible object is |
|---|
| 110 | * {@link Boolean } |
|---|
| 111 | * |
|---|
| 112 | */ |
|---|
| 113 | public boolean isNoTextEdit() { |
|---|
| 114 | if (noTextEdit == null) { |
|---|
| 115 | return false; |
|---|
| 116 | } else { |
|---|
| 117 | return noTextEdit; |
|---|
| 118 | } |
|---|
| 119 | } |
|---|
| 120 | |
|---|
| 121 | /** |
|---|
| 122 | * Sets the value of the noTextEdit property. |
|---|
| 123 | * |
|---|
| 124 | * @param value |
|---|
| 125 | * allowed object is |
|---|
| 126 | * {@link Boolean } |
|---|
| 127 | * |
|---|
| 128 | */ |
|---|
| 129 | public void setNoTextEdit(Boolean value) { |
|---|
| 130 | this.noTextEdit = value; |
|---|
| 131 | } |
|---|
| 132 | |
|---|
| 133 | /** |
|---|
| 134 | * Gets the value of the noGrp property. |
|---|
| 135 | * |
|---|
| 136 | * @return |
|---|
| 137 | * possible object is |
|---|
| 138 | * {@link Boolean } |
|---|
| 139 | * |
|---|
| 140 | */ |
|---|
| 141 | public boolean isNoGrp() { |
|---|
| 142 | if (noGrp == null) { |
|---|
| 143 | return false; |
|---|
| 144 | } else { |
|---|
| 145 | return noGrp; |
|---|
| 146 | } |
|---|
| 147 | } |
|---|
| 148 | |
|---|
| 149 | /** |
|---|
| 150 | * Sets the value of the noGrp property. |
|---|
| 151 | * |
|---|
| 152 | * @param value |
|---|
| 153 | * allowed object is |
|---|
| 154 | * {@link Boolean } |
|---|
| 155 | * |
|---|
| 156 | */ |
|---|
| 157 | public void setNoGrp(Boolean value) { |
|---|
| 158 | this.noGrp = value; |
|---|
| 159 | } |
|---|
| 160 | |
|---|
| 161 | /** |
|---|
| 162 | * Gets the value of the noSelect property. |
|---|
| 163 | * |
|---|
| 164 | * @return |
|---|
| 165 | * possible object is |
|---|
| 166 | * {@link Boolean } |
|---|
| 167 | * |
|---|
| 168 | */ |
|---|
| 169 | public boolean isNoSelect() { |
|---|
| 170 | if (noSelect == null) { |
|---|
| 171 | return false; |
|---|
| 172 | } else { |
|---|
| 173 | return noSelect; |
|---|
| 174 | } |
|---|
| 175 | } |
|---|
| 176 | |
|---|
| 177 | /** |
|---|
| 178 | * Sets the value of the noSelect property. |
|---|
| 179 | * |
|---|
| 180 | * @param value |
|---|
| 181 | * allowed object is |
|---|
| 182 | * {@link Boolean } |
|---|
| 183 | * |
|---|
| 184 | */ |
|---|
| 185 | public void setNoSelect(Boolean value) { |
|---|
| 186 | this.noSelect = value; |
|---|
| 187 | } |
|---|
| 188 | |
|---|
| 189 | /** |
|---|
| 190 | * Gets the value of the noRot property. |
|---|
| 191 | * |
|---|
| 192 | * @return |
|---|
| 193 | * possible object is |
|---|
| 194 | * {@link Boolean } |
|---|
| 195 | * |
|---|
| 196 | */ |
|---|
| 197 | public boolean isNoRot() { |
|---|
| 198 | if (noRot == null) { |
|---|
| 199 | return false; |
|---|
| 200 | } else { |
|---|
| 201 | return noRot; |
|---|
| 202 | } |
|---|
| 203 | } |
|---|
| 204 | |
|---|
| 205 | /** |
|---|
| 206 | * Sets the value of the noRot property. |
|---|
| 207 | * |
|---|
| 208 | * @param value |
|---|
| 209 | * allowed object is |
|---|
| 210 | * {@link Boolean } |
|---|
| 211 | * |
|---|
| 212 | */ |
|---|
| 213 | public void setNoRot(Boolean value) { |
|---|
| 214 | this.noRot = value; |
|---|
| 215 | } |
|---|
| 216 | |
|---|
| 217 | /** |
|---|
| 218 | * Gets the value of the noChangeAspect property. |
|---|
| 219 | * |
|---|
| 220 | * @return |
|---|
| 221 | * possible object is |
|---|
| 222 | * {@link Boolean } |
|---|
| 223 | * |
|---|
| 224 | */ |
|---|
| 225 | public boolean isNoChangeAspect() { |
|---|
| 226 | if (noChangeAspect == null) { |
|---|
| 227 | return false; |
|---|
| 228 | } else { |
|---|
| 229 | return noChangeAspect; |
|---|
| 230 | } |
|---|
| 231 | } |
|---|
| 232 | |
|---|
| 233 | /** |
|---|
| 234 | * Sets the value of the noChangeAspect property. |
|---|
| 235 | * |
|---|
| 236 | * @param value |
|---|
| 237 | * allowed object is |
|---|
| 238 | * {@link Boolean } |
|---|
| 239 | * |
|---|
| 240 | */ |
|---|
| 241 | public void setNoChangeAspect(Boolean value) { |
|---|
| 242 | this.noChangeAspect = value; |
|---|
| 243 | } |
|---|
| 244 | |
|---|
| 245 | /** |
|---|
| 246 | * Gets the value of the noMove property. |
|---|
| 247 | * |
|---|
| 248 | * @return |
|---|
| 249 | * possible object is |
|---|
| 250 | * {@link Boolean } |
|---|
| 251 | * |
|---|
| 252 | */ |
|---|
| 253 | public boolean isNoMove() { |
|---|
| 254 | if (noMove == null) { |
|---|
| 255 | return false; |
|---|
| 256 | } else { |
|---|
| 257 | return noMove; |
|---|
| 258 | } |
|---|
| 259 | } |
|---|
| 260 | |
|---|
| 261 | /** |
|---|
| 262 | * Sets the value of the noMove property. |
|---|
| 263 | * |
|---|
| 264 | * @param value |
|---|
| 265 | * allowed object is |
|---|
| 266 | * {@link Boolean } |
|---|
| 267 | * |
|---|
| 268 | */ |
|---|
| 269 | public void setNoMove(Boolean value) { |
|---|
| 270 | this.noMove = value; |
|---|
| 271 | } |
|---|
| 272 | |
|---|
| 273 | /** |
|---|
| 274 | * Gets the value of the noResize property. |
|---|
| 275 | * |
|---|
| 276 | * @return |
|---|
| 277 | * possible object is |
|---|
| 278 | * {@link Boolean } |
|---|
| 279 | * |
|---|
| 280 | */ |
|---|
| 281 | public boolean isNoResize() { |
|---|
| 282 | if (noResize == null) { |
|---|
| 283 | return false; |
|---|
| 284 | } else { |
|---|
| 285 | return noResize; |
|---|
| 286 | } |
|---|
| 287 | } |
|---|
| 288 | |
|---|
| 289 | /** |
|---|
| 290 | * Sets the value of the noResize property. |
|---|
| 291 | * |
|---|
| 292 | * @param value |
|---|
| 293 | * allowed object is |
|---|
| 294 | * {@link Boolean } |
|---|
| 295 | * |
|---|
| 296 | */ |
|---|
| 297 | public void setNoResize(Boolean value) { |
|---|
| 298 | this.noResize = value; |
|---|
| 299 | } |
|---|
| 300 | |
|---|
| 301 | /** |
|---|
| 302 | * Gets the value of the noEditPoints property. |
|---|
| 303 | * |
|---|
| 304 | * @return |
|---|
| 305 | * possible object is |
|---|
| 306 | * {@link Boolean } |
|---|
| 307 | * |
|---|
| 308 | */ |
|---|
| 309 | public boolean isNoEditPoints() { |
|---|
| 310 | if (noEditPoints == null) { |
|---|
| 311 | return false; |
|---|
| 312 | } else { |
|---|
| 313 | return noEditPoints; |
|---|
| 314 | } |
|---|
| 315 | } |
|---|
| 316 | |
|---|
| 317 | /** |
|---|
| 318 | * Sets the value of the noEditPoints property. |
|---|
| 319 | * |
|---|
| 320 | * @param value |
|---|
| 321 | * allowed object is |
|---|
| 322 | * {@link Boolean } |
|---|
| 323 | * |
|---|
| 324 | */ |
|---|
| 325 | public void setNoEditPoints(Boolean value) { |
|---|
| 326 | this.noEditPoints = value; |
|---|
| 327 | } |
|---|
| 328 | |
|---|
| 329 | /** |
|---|
| 330 | * Gets the value of the noAdjustHandles property. |
|---|
| 331 | * |
|---|
| 332 | * @return |
|---|
| 333 | * possible object is |
|---|
| 334 | * {@link Boolean } |
|---|
| 335 | * |
|---|
| 336 | */ |
|---|
| 337 | public boolean isNoAdjustHandles() { |
|---|
| 338 | if (noAdjustHandles == null) { |
|---|
| 339 | return false; |
|---|
| 340 | } else { |
|---|
| 341 | return noAdjustHandles; |
|---|
| 342 | } |
|---|
| 343 | } |
|---|
| 344 | |
|---|
| 345 | /** |
|---|
| 346 | * Sets the value of the noAdjustHandles property. |
|---|
| 347 | * |
|---|
| 348 | * @param value |
|---|
| 349 | * allowed object is |
|---|
| 350 | * {@link Boolean } |
|---|
| 351 | * |
|---|
| 352 | */ |
|---|
| 353 | public void setNoAdjustHandles(Boolean value) { |
|---|
| 354 | this.noAdjustHandles = value; |
|---|
| 355 | } |
|---|
| 356 | |
|---|
| 357 | /** |
|---|
| 358 | * Gets the value of the noChangeArrowheads property. |
|---|
| 359 | * |
|---|
| 360 | * @return |
|---|
| 361 | * possible object is |
|---|
| 362 | * {@link Boolean } |
|---|
| 363 | * |
|---|
| 364 | */ |
|---|
| 365 | public boolean isNoChangeArrowheads() { |
|---|
| 366 | if (noChangeArrowheads == null) { |
|---|
| 367 | return false; |
|---|
| 368 | } else { |
|---|
| 369 | return noChangeArrowheads; |
|---|
| 370 | } |
|---|
| 371 | } |
|---|
| 372 | |
|---|
| 373 | /** |
|---|
| 374 | * Sets the value of the noChangeArrowheads property. |
|---|
| 375 | * |
|---|
| 376 | * @param value |
|---|
| 377 | * allowed object is |
|---|
| 378 | * {@link Boolean } |
|---|
| 379 | * |
|---|
| 380 | */ |
|---|
| 381 | public void setNoChangeArrowheads(Boolean value) { |
|---|
| 382 | this.noChangeArrowheads = value; |
|---|
| 383 | } |
|---|
| 384 | |
|---|
| 385 | /** |
|---|
| 386 | * Gets the value of the noChangeShapeType property. |
|---|
| 387 | * |
|---|
| 388 | * @return |
|---|
| 389 | * possible object is |
|---|
| 390 | * {@link Boolean } |
|---|
| 391 | * |
|---|
| 392 | */ |
|---|
| 393 | public boolean isNoChangeShapeType() { |
|---|
| 394 | if (noChangeShapeType == null) { |
|---|
| 395 | return false; |
|---|
| 396 | } else { |
|---|
| 397 | return noChangeShapeType; |
|---|
| 398 | } |
|---|
| 399 | } |
|---|
| 400 | |
|---|
| 401 | /** |
|---|
| 402 | * Sets the value of the noChangeShapeType property. |
|---|
| 403 | * |
|---|
| 404 | * @param value |
|---|
| 405 | * allowed object is |
|---|
| 406 | * {@link Boolean } |
|---|
| 407 | * |
|---|
| 408 | */ |
|---|
| 409 | public void setNoChangeShapeType(Boolean value) { |
|---|
| 410 | this.noChangeShapeType = value; |
|---|
| 411 | } |
|---|
| 412 | |
|---|
| 413 | } |
|---|