| 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_TableCellProperties complex type. |
|---|
| 32 | * |
|---|
| 33 | * <p>The following schema fragment specifies the expected content contained within this class. |
|---|
| 34 | * |
|---|
| 35 | * <pre> |
|---|
| 36 | * <complexType name="CT_TableCellProperties"> |
|---|
| 37 | * <complexContent> |
|---|
| 38 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
|---|
| 39 | * <sequence> |
|---|
| 40 | * <element name="lnL" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_LineProperties" minOccurs="0"/> |
|---|
| 41 | * <element name="lnR" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_LineProperties" minOccurs="0"/> |
|---|
| 42 | * <element name="lnT" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_LineProperties" minOccurs="0"/> |
|---|
| 43 | * <element name="lnB" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_LineProperties" minOccurs="0"/> |
|---|
| 44 | * <element name="lnTlToBr" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_LineProperties" minOccurs="0"/> |
|---|
| 45 | * <element name="lnBlToTr" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_LineProperties" minOccurs="0"/> |
|---|
| 46 | * <element name="cell3D" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_Cell3D" minOccurs="0"/> |
|---|
| 47 | * <group ref="{http://schemas.openxmlformats.org/drawingml/2006/main}EG_FillProperties" minOccurs="0"/> |
|---|
| 48 | * <element name="extLst" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_OfficeArtExtensionList" minOccurs="0"/> |
|---|
| 49 | * </sequence> |
|---|
| 50 | * <attribute name="marL" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_Coordinate32" default="91440" /> |
|---|
| 51 | * <attribute name="marR" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_Coordinate32" default="91440" /> |
|---|
| 52 | * <attribute name="marT" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_Coordinate32" default="45720" /> |
|---|
| 53 | * <attribute name="marB" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_Coordinate32" default="45720" /> |
|---|
| 54 | * <attribute name="vert" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_TextVerticalType" default="horz" /> |
|---|
| 55 | * <attribute name="anchor" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_TextAnchoringType" default="t" /> |
|---|
| 56 | * <attribute name="anchorCtr" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> |
|---|
| 57 | * <attribute name="horzOverflow" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_TextHorzOverflowType" default="clip" /> |
|---|
| 58 | * </restriction> |
|---|
| 59 | * </complexContent> |
|---|
| 60 | * </complexType> |
|---|
| 61 | * </pre> |
|---|
| 62 | * |
|---|
| 63 | * |
|---|
| 64 | */ |
|---|
| 65 | @XmlAccessorType(XmlAccessType.FIELD) |
|---|
| 66 | @XmlType(name = "CT_TableCellProperties", propOrder = { |
|---|
| 67 | "lnL", |
|---|
| 68 | "lnR", |
|---|
| 69 | "lnT", |
|---|
| 70 | "lnB", |
|---|
| 71 | "lnTlToBr", |
|---|
| 72 | "lnBlToTr", |
|---|
| 73 | "cell3D", |
|---|
| 74 | "noFill", |
|---|
| 75 | "solidFill", |
|---|
| 76 | "gradFill", |
|---|
| 77 | "blipFill", |
|---|
| 78 | "pattFill", |
|---|
| 79 | "grpFill", |
|---|
| 80 | "extLst" |
|---|
| 81 | }) |
|---|
| 82 | public class CTTableCellProperties { |
|---|
| 83 | |
|---|
| 84 | protected CTLineProperties lnL; |
|---|
| 85 | protected CTLineProperties lnR; |
|---|
| 86 | protected CTLineProperties lnT; |
|---|
| 87 | protected CTLineProperties lnB; |
|---|
| 88 | protected CTLineProperties lnTlToBr; |
|---|
| 89 | protected CTLineProperties lnBlToTr; |
|---|
| 90 | protected CTCell3D cell3D; |
|---|
| 91 | protected CTNoFillProperties noFill; |
|---|
| 92 | protected CTSolidColorFillProperties solidFill; |
|---|
| 93 | protected CTGradientFillProperties gradFill; |
|---|
| 94 | protected CTBlipFillProperties blipFill; |
|---|
| 95 | protected CTPatternFillProperties pattFill; |
|---|
| 96 | protected CTGroupFillProperties grpFill; |
|---|
| 97 | protected CTOfficeArtExtensionList extLst; |
|---|
| 98 | @XmlAttribute |
|---|
| 99 | protected Integer marL; |
|---|
| 100 | @XmlAttribute |
|---|
| 101 | protected Integer marR; |
|---|
| 102 | @XmlAttribute |
|---|
| 103 | protected Integer marT; |
|---|
| 104 | @XmlAttribute |
|---|
| 105 | protected Integer marB; |
|---|
| 106 | @XmlAttribute |
|---|
| 107 | protected STTextVerticalType vert; |
|---|
| 108 | @XmlAttribute |
|---|
| 109 | protected STTextAnchoringType anchor; |
|---|
| 110 | @XmlAttribute |
|---|
| 111 | protected Boolean anchorCtr; |
|---|
| 112 | @XmlAttribute |
|---|
| 113 | protected STTextHorzOverflowType horzOverflow; |
|---|
| 114 | |
|---|
| 115 | /** |
|---|
| 116 | * Gets the value of the lnL property. |
|---|
| 117 | * |
|---|
| 118 | * @return |
|---|
| 119 | * possible object is |
|---|
| 120 | * {@link CTLineProperties } |
|---|
| 121 | * |
|---|
| 122 | */ |
|---|
| 123 | public CTLineProperties getLnL() { |
|---|
| 124 | return lnL; |
|---|
| 125 | } |
|---|
| 126 | |
|---|
| 127 | /** |
|---|
| 128 | * Sets the value of the lnL property. |
|---|
| 129 | * |
|---|
| 130 | * @param value |
|---|
| 131 | * allowed object is |
|---|
| 132 | * {@link CTLineProperties } |
|---|
| 133 | * |
|---|
| 134 | */ |
|---|
| 135 | public void setLnL(CTLineProperties value) { |
|---|
| 136 | this.lnL = value; |
|---|
| 137 | } |
|---|
| 138 | |
|---|
| 139 | /** |
|---|
| 140 | * Gets the value of the lnR property. |
|---|
| 141 | * |
|---|
| 142 | * @return |
|---|
| 143 | * possible object is |
|---|
| 144 | * {@link CTLineProperties } |
|---|
| 145 | * |
|---|
| 146 | */ |
|---|
| 147 | public CTLineProperties getLnR() { |
|---|
| 148 | return lnR; |
|---|
| 149 | } |
|---|
| 150 | |
|---|
| 151 | /** |
|---|
| 152 | * Sets the value of the lnR property. |
|---|
| 153 | * |
|---|
| 154 | * @param value |
|---|
| 155 | * allowed object is |
|---|
| 156 | * {@link CTLineProperties } |
|---|
| 157 | * |
|---|
| 158 | */ |
|---|
| 159 | public void setLnR(CTLineProperties value) { |
|---|
| 160 | this.lnR = value; |
|---|
| 161 | } |
|---|
| 162 | |
|---|
| 163 | /** |
|---|
| 164 | * Gets the value of the lnT property. |
|---|
| 165 | * |
|---|
| 166 | * @return |
|---|
| 167 | * possible object is |
|---|
| 168 | * {@link CTLineProperties } |
|---|
| 169 | * |
|---|
| 170 | */ |
|---|
| 171 | public CTLineProperties getLnT() { |
|---|
| 172 | return lnT; |
|---|
| 173 | } |
|---|
| 174 | |
|---|
| 175 | /** |
|---|
| 176 | * Sets the value of the lnT property. |
|---|
| 177 | * |
|---|
| 178 | * @param value |
|---|
| 179 | * allowed object is |
|---|
| 180 | * {@link CTLineProperties } |
|---|
| 181 | * |
|---|
| 182 | */ |
|---|
| 183 | public void setLnT(CTLineProperties value) { |
|---|
| 184 | this.lnT = value; |
|---|
| 185 | } |
|---|
| 186 | |
|---|
| 187 | /** |
|---|
| 188 | * Gets the value of the lnB property. |
|---|
| 189 | * |
|---|
| 190 | * @return |
|---|
| 191 | * possible object is |
|---|
| 192 | * {@link CTLineProperties } |
|---|
| 193 | * |
|---|
| 194 | */ |
|---|
| 195 | public CTLineProperties getLnB() { |
|---|
| 196 | return lnB; |
|---|
| 197 | } |
|---|
| 198 | |
|---|
| 199 | /** |
|---|
| 200 | * Sets the value of the lnB property. |
|---|
| 201 | * |
|---|
| 202 | * @param value |
|---|
| 203 | * allowed object is |
|---|
| 204 | * {@link CTLineProperties } |
|---|
| 205 | * |
|---|
| 206 | */ |
|---|
| 207 | public void setLnB(CTLineProperties value) { |
|---|
| 208 | this.lnB = value; |
|---|
| 209 | } |
|---|
| 210 | |
|---|
| 211 | /** |
|---|
| 212 | * Gets the value of the lnTlToBr property. |
|---|
| 213 | * |
|---|
| 214 | * @return |
|---|
| 215 | * possible object is |
|---|
| 216 | * {@link CTLineProperties } |
|---|
| 217 | * |
|---|
| 218 | */ |
|---|
| 219 | public CTLineProperties getLnTlToBr() { |
|---|
| 220 | return lnTlToBr; |
|---|
| 221 | } |
|---|
| 222 | |
|---|
| 223 | /** |
|---|
| 224 | * Sets the value of the lnTlToBr property. |
|---|
| 225 | * |
|---|
| 226 | * @param value |
|---|
| 227 | * allowed object is |
|---|
| 228 | * {@link CTLineProperties } |
|---|
| 229 | * |
|---|
| 230 | */ |
|---|
| 231 | public void setLnTlToBr(CTLineProperties value) { |
|---|
| 232 | this.lnTlToBr = value; |
|---|
| 233 | } |
|---|
| 234 | |
|---|
| 235 | /** |
|---|
| 236 | * Gets the value of the lnBlToTr property. |
|---|
| 237 | * |
|---|
| 238 | * @return |
|---|
| 239 | * possible object is |
|---|
| 240 | * {@link CTLineProperties } |
|---|
| 241 | * |
|---|
| 242 | */ |
|---|
| 243 | public CTLineProperties getLnBlToTr() { |
|---|
| 244 | return lnBlToTr; |
|---|
| 245 | } |
|---|
| 246 | |
|---|
| 247 | /** |
|---|
| 248 | * Sets the value of the lnBlToTr property. |
|---|
| 249 | * |
|---|
| 250 | * @param value |
|---|
| 251 | * allowed object is |
|---|
| 252 | * {@link CTLineProperties } |
|---|
| 253 | * |
|---|
| 254 | */ |
|---|
| 255 | public void setLnBlToTr(CTLineProperties value) { |
|---|
| 256 | this.lnBlToTr = value; |
|---|
| 257 | } |
|---|
| 258 | |
|---|
| 259 | /** |
|---|
| 260 | * Gets the value of the cell3D property. |
|---|
| 261 | * |
|---|
| 262 | * @return |
|---|
| 263 | * possible object is |
|---|
| 264 | * {@link CTCell3D } |
|---|
| 265 | * |
|---|
| 266 | */ |
|---|
| 267 | public CTCell3D getCell3D() { |
|---|
| 268 | return cell3D; |
|---|
| 269 | } |
|---|
| 270 | |
|---|
| 271 | /** |
|---|
| 272 | * Sets the value of the cell3D property. |
|---|
| 273 | * |
|---|
| 274 | * @param value |
|---|
| 275 | * allowed object is |
|---|
| 276 | * {@link CTCell3D } |
|---|
| 277 | * |
|---|
| 278 | */ |
|---|
| 279 | public void setCell3D(CTCell3D value) { |
|---|
| 280 | this.cell3D = value; |
|---|
| 281 | } |
|---|
| 282 | |
|---|
| 283 | /** |
|---|
| 284 | * Gets the value of the noFill property. |
|---|
| 285 | * |
|---|
| 286 | * @return |
|---|
| 287 | * possible object is |
|---|
| 288 | * {@link CTNoFillProperties } |
|---|
| 289 | * |
|---|
| 290 | */ |
|---|
| 291 | public CTNoFillProperties getNoFill() { |
|---|
| 292 | return noFill; |
|---|
| 293 | } |
|---|
| 294 | |
|---|
| 295 | /** |
|---|
| 296 | * Sets the value of the noFill property. |
|---|
| 297 | * |
|---|
| 298 | * @param value |
|---|
| 299 | * allowed object is |
|---|
| 300 | * {@link CTNoFillProperties } |
|---|
| 301 | * |
|---|
| 302 | */ |
|---|
| 303 | public void setNoFill(CTNoFillProperties value) { |
|---|
| 304 | this.noFill = value; |
|---|
| 305 | } |
|---|
| 306 | |
|---|
| 307 | /** |
|---|
| 308 | * Gets the value of the solidFill property. |
|---|
| 309 | * |
|---|
| 310 | * @return |
|---|
| 311 | * possible object is |
|---|
| 312 | * {@link CTSolidColorFillProperties } |
|---|
| 313 | * |
|---|
| 314 | */ |
|---|
| 315 | public CTSolidColorFillProperties getSolidFill() { |
|---|
| 316 | return solidFill; |
|---|
| 317 | } |
|---|
| 318 | |
|---|
| 319 | /** |
|---|
| 320 | * Sets the value of the solidFill property. |
|---|
| 321 | * |
|---|
| 322 | * @param value |
|---|
| 323 | * allowed object is |
|---|
| 324 | * {@link CTSolidColorFillProperties } |
|---|
| 325 | * |
|---|
| 326 | */ |
|---|
| 327 | public void setSolidFill(CTSolidColorFillProperties value) { |
|---|
| 328 | this.solidFill = value; |
|---|
| 329 | } |
|---|
| 330 | |
|---|
| 331 | /** |
|---|
| 332 | * Gets the value of the gradFill property. |
|---|
| 333 | * |
|---|
| 334 | * @return |
|---|
| 335 | * possible object is |
|---|
| 336 | * {@link CTGradientFillProperties } |
|---|
| 337 | * |
|---|
| 338 | */ |
|---|
| 339 | public CTGradientFillProperties getGradFill() { |
|---|
| 340 | return gradFill; |
|---|
| 341 | } |
|---|
| 342 | |
|---|
| 343 | /** |
|---|
| 344 | * Sets the value of the gradFill property. |
|---|
| 345 | * |
|---|
| 346 | * @param value |
|---|
| 347 | * allowed object is |
|---|
| 348 | * {@link CTGradientFillProperties } |
|---|
| 349 | * |
|---|
| 350 | */ |
|---|
| 351 | public void setGradFill(CTGradientFillProperties value) { |
|---|
| 352 | this.gradFill = value; |
|---|
| 353 | } |
|---|
| 354 | |
|---|
| 355 | /** |
|---|
| 356 | * Gets the value of the blipFill property. |
|---|
| 357 | * |
|---|
| 358 | * @return |
|---|
| 359 | * possible object is |
|---|
| 360 | * {@link CTBlipFillProperties } |
|---|
| 361 | * |
|---|
| 362 | */ |
|---|
| 363 | public CTBlipFillProperties getBlipFill() { |
|---|
| 364 | return blipFill; |
|---|
| 365 | } |
|---|
| 366 | |
|---|
| 367 | /** |
|---|
| 368 | * Sets the value of the blipFill property. |
|---|
| 369 | * |
|---|
| 370 | * @param value |
|---|
| 371 | * allowed object is |
|---|
| 372 | * {@link CTBlipFillProperties } |
|---|
| 373 | * |
|---|
| 374 | */ |
|---|
| 375 | public void setBlipFill(CTBlipFillProperties value) { |
|---|
| 376 | this.blipFill = value; |
|---|
| 377 | } |
|---|
| 378 | |
|---|
| 379 | /** |
|---|
| 380 | * Gets the value of the pattFill property. |
|---|
| 381 | * |
|---|
| 382 | * @return |
|---|
| 383 | * possible object is |
|---|
| 384 | * {@link CTPatternFillProperties } |
|---|
| 385 | * |
|---|
| 386 | */ |
|---|
| 387 | public CTPatternFillProperties getPattFill() { |
|---|
| 388 | return pattFill; |
|---|
| 389 | } |
|---|
| 390 | |
|---|
| 391 | /** |
|---|
| 392 | * Sets the value of the pattFill property. |
|---|
| 393 | * |
|---|
| 394 | * @param value |
|---|
| 395 | * allowed object is |
|---|
| 396 | * {@link CTPatternFillProperties } |
|---|
| 397 | * |
|---|
| 398 | */ |
|---|
| 399 | public void setPattFill(CTPatternFillProperties value) { |
|---|
| 400 | this.pattFill = value; |
|---|
| 401 | } |
|---|
| 402 | |
|---|
| 403 | /** |
|---|
| 404 | * Gets the value of the grpFill property. |
|---|
| 405 | * |
|---|
| 406 | * @return |
|---|
| 407 | * possible object is |
|---|
| 408 | * {@link CTGroupFillProperties } |
|---|
| 409 | * |
|---|
| 410 | */ |
|---|
| 411 | public CTGroupFillProperties getGrpFill() { |
|---|
| 412 | return grpFill; |
|---|
| 413 | } |
|---|
| 414 | |
|---|
| 415 | /** |
|---|
| 416 | * Sets the value of the grpFill property. |
|---|
| 417 | * |
|---|
| 418 | * @param value |
|---|
| 419 | * allowed object is |
|---|
| 420 | * {@link CTGroupFillProperties } |
|---|
| 421 | * |
|---|
| 422 | */ |
|---|
| 423 | public void setGrpFill(CTGroupFillProperties value) { |
|---|
| 424 | this.grpFill = value; |
|---|
| 425 | } |
|---|
| 426 | |
|---|
| 427 | /** |
|---|
| 428 | * Gets the value of the extLst property. |
|---|
| 429 | * |
|---|
| 430 | * @return |
|---|
| 431 | * possible object is |
|---|
| 432 | * {@link CTOfficeArtExtensionList } |
|---|
| 433 | * |
|---|
| 434 | */ |
|---|
| 435 | public CTOfficeArtExtensionList getExtLst() { |
|---|
| 436 | return extLst; |
|---|
| 437 | } |
|---|
| 438 | |
|---|
| 439 | /** |
|---|
| 440 | * Sets the value of the extLst property. |
|---|
| 441 | * |
|---|
| 442 | * @param value |
|---|
| 443 | * allowed object is |
|---|
| 444 | * {@link CTOfficeArtExtensionList } |
|---|
| 445 | * |
|---|
| 446 | */ |
|---|
| 447 | public void setExtLst(CTOfficeArtExtensionList value) { |
|---|
| 448 | this.extLst = value; |
|---|
| 449 | } |
|---|
| 450 | |
|---|
| 451 | /** |
|---|
| 452 | * Gets the value of the marL property. |
|---|
| 453 | * |
|---|
| 454 | * @return |
|---|
| 455 | * possible object is |
|---|
| 456 | * {@link Integer } |
|---|
| 457 | * |
|---|
| 458 | */ |
|---|
| 459 | public int getMarL() { |
|---|
| 460 | if (marL == null) { |
|---|
| 461 | return 91440; |
|---|
| 462 | } else { |
|---|
| 463 | return marL; |
|---|
| 464 | } |
|---|
| 465 | } |
|---|
| 466 | |
|---|
| 467 | /** |
|---|
| 468 | * Sets the value of the marL property. |
|---|
| 469 | * |
|---|
| 470 | * @param value |
|---|
| 471 | * allowed object is |
|---|
| 472 | * {@link Integer } |
|---|
| 473 | * |
|---|
| 474 | */ |
|---|
| 475 | public void setMarL(Integer value) { |
|---|
| 476 | this.marL = value; |
|---|
| 477 | } |
|---|
| 478 | |
|---|
| 479 | /** |
|---|
| 480 | * Gets the value of the marR property. |
|---|
| 481 | * |
|---|
| 482 | * @return |
|---|
| 483 | * possible object is |
|---|
| 484 | * {@link Integer } |
|---|
| 485 | * |
|---|
| 486 | */ |
|---|
| 487 | public int getMarR() { |
|---|
| 488 | if (marR == null) { |
|---|
| 489 | return 91440; |
|---|
| 490 | } else { |
|---|
| 491 | return marR; |
|---|
| 492 | } |
|---|
| 493 | } |
|---|
| 494 | |
|---|
| 495 | /** |
|---|
| 496 | * Sets the value of the marR property. |
|---|
| 497 | * |
|---|
| 498 | * @param value |
|---|
| 499 | * allowed object is |
|---|
| 500 | * {@link Integer } |
|---|
| 501 | * |
|---|
| 502 | */ |
|---|
| 503 | public void setMarR(Integer value) { |
|---|
| 504 | this.marR = value; |
|---|
| 505 | } |
|---|
| 506 | |
|---|
| 507 | /** |
|---|
| 508 | * Gets the value of the marT property. |
|---|
| 509 | * |
|---|
| 510 | * @return |
|---|
| 511 | * possible object is |
|---|
| 512 | * {@link Integer } |
|---|
| 513 | * |
|---|
| 514 | */ |
|---|
| 515 | public int getMarT() { |
|---|
| 516 | if (marT == null) { |
|---|
| 517 | return 45720; |
|---|
| 518 | } else { |
|---|
| 519 | return marT; |
|---|
| 520 | } |
|---|
| 521 | } |
|---|
| 522 | |
|---|
| 523 | /** |
|---|
| 524 | * Sets the value of the marT property. |
|---|
| 525 | * |
|---|
| 526 | * @param value |
|---|
| 527 | * allowed object is |
|---|
| 528 | * {@link Integer } |
|---|
| 529 | * |
|---|
| 530 | */ |
|---|
| 531 | public void setMarT(Integer value) { |
|---|
| 532 | this.marT = value; |
|---|
| 533 | } |
|---|
| 534 | |
|---|
| 535 | /** |
|---|
| 536 | * Gets the value of the marB property. |
|---|
| 537 | * |
|---|
| 538 | * @return |
|---|
| 539 | * possible object is |
|---|
| 540 | * {@link Integer } |
|---|
| 541 | * |
|---|
| 542 | */ |
|---|
| 543 | public int getMarB() { |
|---|
| 544 | if (marB == null) { |
|---|
| 545 | return 45720; |
|---|
| 546 | } else { |
|---|
| 547 | return marB; |
|---|
| 548 | } |
|---|
| 549 | } |
|---|
| 550 | |
|---|
| 551 | /** |
|---|
| 552 | * Sets the value of the marB property. |
|---|
| 553 | * |
|---|
| 554 | * @param value |
|---|
| 555 | * allowed object is |
|---|
| 556 | * {@link Integer } |
|---|
| 557 | * |
|---|
| 558 | */ |
|---|
| 559 | public void setMarB(Integer value) { |
|---|
| 560 | this.marB = value; |
|---|
| 561 | } |
|---|
| 562 | |
|---|
| 563 | /** |
|---|
| 564 | * Gets the value of the vert property. |
|---|
| 565 | * |
|---|
| 566 | * @return |
|---|
| 567 | * possible object is |
|---|
| 568 | * {@link STTextVerticalType } |
|---|
| 569 | * |
|---|
| 570 | */ |
|---|
| 571 | public STTextVerticalType getVert() { |
|---|
| 572 | if (vert == null) { |
|---|
| 573 | return STTextVerticalType.HORZ; |
|---|
| 574 | } else { |
|---|
| 575 | return vert; |
|---|
| 576 | } |
|---|
| 577 | } |
|---|
| 578 | |
|---|
| 579 | /** |
|---|
| 580 | * Sets the value of the vert property. |
|---|
| 581 | * |
|---|
| 582 | * @param value |
|---|
| 583 | * allowed object is |
|---|
| 584 | * {@link STTextVerticalType } |
|---|
| 585 | * |
|---|
| 586 | */ |
|---|
| 587 | public void setVert(STTextVerticalType value) { |
|---|
| 588 | this.vert = value; |
|---|
| 589 | } |
|---|
| 590 | |
|---|
| 591 | /** |
|---|
| 592 | * Gets the value of the anchor property. |
|---|
| 593 | * |
|---|
| 594 | * @return |
|---|
| 595 | * possible object is |
|---|
| 596 | * {@link STTextAnchoringType } |
|---|
| 597 | * |
|---|
| 598 | */ |
|---|
| 599 | public STTextAnchoringType getAnchor() { |
|---|
| 600 | if (anchor == null) { |
|---|
| 601 | return STTextAnchoringType.T; |
|---|
| 602 | } else { |
|---|
| 603 | return anchor; |
|---|
| 604 | } |
|---|
| 605 | } |
|---|
| 606 | |
|---|
| 607 | /** |
|---|
| 608 | * Sets the value of the anchor property. |
|---|
| 609 | * |
|---|
| 610 | * @param value |
|---|
| 611 | * allowed object is |
|---|
| 612 | * {@link STTextAnchoringType } |
|---|
| 613 | * |
|---|
| 614 | */ |
|---|
| 615 | public void setAnchor(STTextAnchoringType value) { |
|---|
| 616 | this.anchor = value; |
|---|
| 617 | } |
|---|
| 618 | |
|---|
| 619 | /** |
|---|
| 620 | * Gets the value of the anchorCtr property. |
|---|
| 621 | * |
|---|
| 622 | * @return |
|---|
| 623 | * possible object is |
|---|
| 624 | * {@link Boolean } |
|---|
| 625 | * |
|---|
| 626 | */ |
|---|
| 627 | public boolean isAnchorCtr() { |
|---|
| 628 | if (anchorCtr == null) { |
|---|
| 629 | return false; |
|---|
| 630 | } else { |
|---|
| 631 | return anchorCtr; |
|---|
| 632 | } |
|---|
| 633 | } |
|---|
| 634 | |
|---|
| 635 | /** |
|---|
| 636 | * Sets the value of the anchorCtr property. |
|---|
| 637 | * |
|---|
| 638 | * @param value |
|---|
| 639 | * allowed object is |
|---|
| 640 | * {@link Boolean } |
|---|
| 641 | * |
|---|
| 642 | */ |
|---|
| 643 | public void setAnchorCtr(Boolean value) { |
|---|
| 644 | this.anchorCtr = value; |
|---|
| 645 | } |
|---|
| 646 | |
|---|
| 647 | /** |
|---|
| 648 | * Gets the value of the horzOverflow property. |
|---|
| 649 | * |
|---|
| 650 | * @return |
|---|
| 651 | * possible object is |
|---|
| 652 | * {@link STTextHorzOverflowType } |
|---|
| 653 | * |
|---|
| 654 | */ |
|---|
| 655 | public STTextHorzOverflowType getHorzOverflow() { |
|---|
| 656 | if (horzOverflow == null) { |
|---|
| 657 | return STTextHorzOverflowType.CLIP; |
|---|
| 658 | } else { |
|---|
| 659 | return horzOverflow; |
|---|
| 660 | } |
|---|
| 661 | } |
|---|
| 662 | |
|---|
| 663 | /** |
|---|
| 664 | * Sets the value of the horzOverflow property. |
|---|
| 665 | * |
|---|
| 666 | * @param value |
|---|
| 667 | * allowed object is |
|---|
| 668 | * {@link STTextHorzOverflowType } |
|---|
| 669 | * |
|---|
| 670 | */ |
|---|
| 671 | public void setHorzOverflow(STTextHorzOverflowType value) { |
|---|
| 672 | this.horzOverflow = value; |
|---|
| 673 | } |
|---|
| 674 | |
|---|
| 675 | } |
|---|