| 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_AdjPoint2D complex type. |
|---|
| 32 | * |
|---|
| 33 | * <p>The following schema fragment specifies the expected content contained within this class. |
|---|
| 34 | * |
|---|
| 35 | * <pre> |
|---|
| 36 | * <complexType name="CT_AdjPoint2D"> |
|---|
| 37 | * <complexContent> |
|---|
| 38 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
|---|
| 39 | * <attribute name="x" use="required" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_AdjCoordinate" /> |
|---|
| 40 | * <attribute name="y" use="required" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_AdjCoordinate" /> |
|---|
| 41 | * </restriction> |
|---|
| 42 | * </complexContent> |
|---|
| 43 | * </complexType> |
|---|
| 44 | * </pre> |
|---|
| 45 | * |
|---|
| 46 | * |
|---|
| 47 | */ |
|---|
| 48 | @XmlAccessorType(XmlAccessType.FIELD) |
|---|
| 49 | @XmlType(name = "CT_AdjPoint2D") |
|---|
| 50 | public class CTAdjPoint2D { |
|---|
| 51 | |
|---|
| 52 | @XmlAttribute(required = true) |
|---|
| 53 | protected String x; |
|---|
| 54 | @XmlAttribute(required = true) |
|---|
| 55 | protected String y; |
|---|
| 56 | |
|---|
| 57 | /** |
|---|
| 58 | * Gets the value of the x property. |
|---|
| 59 | * |
|---|
| 60 | * @return |
|---|
| 61 | * possible object is |
|---|
| 62 | * {@link String } |
|---|
| 63 | * |
|---|
| 64 | */ |
|---|
| 65 | public String getX() { |
|---|
| 66 | return x; |
|---|
| 67 | } |
|---|
| 68 | |
|---|
| 69 | /** |
|---|
| 70 | * Sets the value of the x property. |
|---|
| 71 | * |
|---|
| 72 | * @param value |
|---|
| 73 | * allowed object is |
|---|
| 74 | * {@link String } |
|---|
| 75 | * |
|---|
| 76 | */ |
|---|
| 77 | public void setX(String value) { |
|---|
| 78 | this.x = value; |
|---|
| 79 | } |
|---|
| 80 | |
|---|
| 81 | /** |
|---|
| 82 | * Gets the value of the y property. |
|---|
| 83 | * |
|---|
| 84 | * @return |
|---|
| 85 | * possible object is |
|---|
| 86 | * {@link String } |
|---|
| 87 | * |
|---|
| 88 | */ |
|---|
| 89 | public String getY() { |
|---|
| 90 | return y; |
|---|
| 91 | } |
|---|
| 92 | |
|---|
| 93 | /** |
|---|
| 94 | * Sets the value of the y property. |
|---|
| 95 | * |
|---|
| 96 | * @param value |
|---|
| 97 | * allowed object is |
|---|
| 98 | * {@link String } |
|---|
| 99 | * |
|---|
| 100 | */ |
|---|
| 101 | public void setY(String value) { |
|---|
| 102 | this.y = value; |
|---|
| 103 | } |
|---|
| 104 | |
|---|
| 105 | } |
|---|