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