| 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.wml; |
|---|
| 23 | |
|---|
| 24 | import java.math.BigInteger; |
|---|
| 25 | import javax.xml.bind.Unmarshaller; |
|---|
| 26 | import javax.xml.bind.annotation.XmlAccessType; |
|---|
| 27 | import javax.xml.bind.annotation.XmlAccessorType; |
|---|
| 28 | import javax.xml.bind.annotation.XmlAttribute; |
|---|
| 29 | import javax.xml.bind.annotation.XmlTransient; |
|---|
| 30 | import javax.xml.bind.annotation.XmlType; |
|---|
| 31 | import org.jvnet.jaxb2_commons.ppp.Child; |
|---|
| 32 | |
|---|
| 33 | |
|---|
| 34 | /** |
|---|
| 35 | * <p>Java class for CT_TblPrBase complex type. |
|---|
| 36 | * |
|---|
| 37 | * <p>The following schema fragment specifies the expected content contained within this class. |
|---|
| 38 | * |
|---|
| 39 | * <pre> |
|---|
| 40 | * <complexType name="CT_TblPrBase"> |
|---|
| 41 | * <complexContent> |
|---|
| 42 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
|---|
| 43 | * <sequence> |
|---|
| 44 | * <element name="tblStyle" minOccurs="0"> |
|---|
| 45 | * <complexType> |
|---|
| 46 | * <complexContent> |
|---|
| 47 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
|---|
| 48 | * <attribute name="val" type="{http://www.w3.org/2001/XMLSchema}string" /> |
|---|
| 49 | * </restriction> |
|---|
| 50 | * </complexContent> |
|---|
| 51 | * </complexType> |
|---|
| 52 | * </element> |
|---|
| 53 | * <element name="tblpPr" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_TblPPr" minOccurs="0"/> |
|---|
| 54 | * <element name="tblOverlap" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_TblOverlap" minOccurs="0"/> |
|---|
| 55 | * <element name="bidiVisual" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}BooleanDefaultTrue" minOccurs="0"/> |
|---|
| 56 | * <element name="tblStyleRowBandSize" minOccurs="0"> |
|---|
| 57 | * <complexType> |
|---|
| 58 | * <complexContent> |
|---|
| 59 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
|---|
| 60 | * <attribute name="val" use="required"> |
|---|
| 61 | * <simpleType> |
|---|
| 62 | * <restriction base="{http://www.w3.org/2001/XMLSchema}integer"> |
|---|
| 63 | * </restriction> |
|---|
| 64 | * </simpleType> |
|---|
| 65 | * </attribute> |
|---|
| 66 | * </restriction> |
|---|
| 67 | * </complexContent> |
|---|
| 68 | * </complexType> |
|---|
| 69 | * </element> |
|---|
| 70 | * <element name="tblStyleColBandSize" minOccurs="0"> |
|---|
| 71 | * <complexType> |
|---|
| 72 | * <complexContent> |
|---|
| 73 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
|---|
| 74 | * <attribute name="val" use="required"> |
|---|
| 75 | * <simpleType> |
|---|
| 76 | * <restriction base="{http://www.w3.org/2001/XMLSchema}integer"> |
|---|
| 77 | * </restriction> |
|---|
| 78 | * </simpleType> |
|---|
| 79 | * </attribute> |
|---|
| 80 | * </restriction> |
|---|
| 81 | * </complexContent> |
|---|
| 82 | * </complexType> |
|---|
| 83 | * </element> |
|---|
| 84 | * <element name="tblW" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_TblWidth" minOccurs="0"/> |
|---|
| 85 | * <element name="jc" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Jc" minOccurs="0"/> |
|---|
| 86 | * <element name="tblCellSpacing" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_TblWidth" minOccurs="0"/> |
|---|
| 87 | * <element name="tblInd" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_TblWidth" minOccurs="0"/> |
|---|
| 88 | * <element name="tblBorders" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_TblBorders" minOccurs="0"/> |
|---|
| 89 | * <element name="shd" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Shd" minOccurs="0"/> |
|---|
| 90 | * <element name="tblLayout" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_TblLayoutType" minOccurs="0"/> |
|---|
| 91 | * <element name="tblCellMar" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_TblCellMar" minOccurs="0"/> |
|---|
| 92 | * <element name="tblLook" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_ShortHexNumber" minOccurs="0"/> |
|---|
| 93 | * </sequence> |
|---|
| 94 | * </restriction> |
|---|
| 95 | * </complexContent> |
|---|
| 96 | * </complexType> |
|---|
| 97 | * </pre> |
|---|
| 98 | * |
|---|
| 99 | * |
|---|
| 100 | */ |
|---|
| 101 | @XmlAccessorType(XmlAccessType.FIELD) |
|---|
| 102 | @XmlType(name = "CT_TblPrBase", propOrder = { |
|---|
| 103 | "tblStyle", |
|---|
| 104 | "tblpPr", |
|---|
| 105 | "tblOverlap", |
|---|
| 106 | "bidiVisual", |
|---|
| 107 | "tblStyleRowBandSize", |
|---|
| 108 | "tblStyleColBandSize", |
|---|
| 109 | "tblW", |
|---|
| 110 | "jc", |
|---|
| 111 | "tblCellSpacing", |
|---|
| 112 | "tblInd", |
|---|
| 113 | "tblBorders", |
|---|
| 114 | "shd", |
|---|
| 115 | "tblLayout", |
|---|
| 116 | "tblCellMar", |
|---|
| 117 | "tblLook" |
|---|
| 118 | }) |
|---|
| 119 | public class CTTblPrBase |
|---|
| 120 | implements Child |
|---|
| 121 | { |
|---|
| 122 | |
|---|
| 123 | protected CTTblPrBase.TblStyle tblStyle; |
|---|
| 124 | protected CTTblPPr tblpPr; |
|---|
| 125 | protected CTTblOverlap tblOverlap; |
|---|
| 126 | protected BooleanDefaultTrue bidiVisual; |
|---|
| 127 | protected CTTblPrBase.TblStyleRowBandSize tblStyleRowBandSize; |
|---|
| 128 | protected CTTblPrBase.TblStyleColBandSize tblStyleColBandSize; |
|---|
| 129 | protected TblWidth tblW; |
|---|
| 130 | protected Jc jc; |
|---|
| 131 | protected TblWidth tblCellSpacing; |
|---|
| 132 | protected TblWidth tblInd; |
|---|
| 133 | protected TblBorders tblBorders; |
|---|
| 134 | protected CTShd shd; |
|---|
| 135 | protected CTTblLayoutType tblLayout; |
|---|
| 136 | protected CTTblCellMar tblCellMar; |
|---|
| 137 | protected CTShortHexNumber tblLook; |
|---|
| 138 | @XmlTransient |
|---|
| 139 | private Object parent; |
|---|
| 140 | |
|---|
| 141 | /** |
|---|
| 142 | * Gets the value of the tblStyle property. |
|---|
| 143 | * |
|---|
| 144 | * @return |
|---|
| 145 | * possible object is |
|---|
| 146 | * {@link CTTblPrBase.TblStyle } |
|---|
| 147 | * |
|---|
| 148 | */ |
|---|
| 149 | public CTTblPrBase.TblStyle getTblStyle() { |
|---|
| 150 | return tblStyle; |
|---|
| 151 | } |
|---|
| 152 | |
|---|
| 153 | /** |
|---|
| 154 | * Sets the value of the tblStyle property. |
|---|
| 155 | * |
|---|
| 156 | * @param value |
|---|
| 157 | * allowed object is |
|---|
| 158 | * {@link CTTblPrBase.TblStyle } |
|---|
| 159 | * |
|---|
| 160 | */ |
|---|
| 161 | public void setTblStyle(CTTblPrBase.TblStyle value) { |
|---|
| 162 | this.tblStyle = value; |
|---|
| 163 | } |
|---|
| 164 | |
|---|
| 165 | /** |
|---|
| 166 | * Gets the value of the tblpPr property. |
|---|
| 167 | * |
|---|
| 168 | * @return |
|---|
| 169 | * possible object is |
|---|
| 170 | * {@link CTTblPPr } |
|---|
| 171 | * |
|---|
| 172 | */ |
|---|
| 173 | public CTTblPPr getTblpPr() { |
|---|
| 174 | return tblpPr; |
|---|
| 175 | } |
|---|
| 176 | |
|---|
| 177 | /** |
|---|
| 178 | * Sets the value of the tblpPr property. |
|---|
| 179 | * |
|---|
| 180 | * @param value |
|---|
| 181 | * allowed object is |
|---|
| 182 | * {@link CTTblPPr } |
|---|
| 183 | * |
|---|
| 184 | */ |
|---|
| 185 | public void setTblpPr(CTTblPPr value) { |
|---|
| 186 | this.tblpPr = value; |
|---|
| 187 | } |
|---|
| 188 | |
|---|
| 189 | /** |
|---|
| 190 | * Gets the value of the tblOverlap property. |
|---|
| 191 | * |
|---|
| 192 | * @return |
|---|
| 193 | * possible object is |
|---|
| 194 | * {@link CTTblOverlap } |
|---|
| 195 | * |
|---|
| 196 | */ |
|---|
| 197 | public CTTblOverlap getTblOverlap() { |
|---|
| 198 | return tblOverlap; |
|---|
| 199 | } |
|---|
| 200 | |
|---|
| 201 | /** |
|---|
| 202 | * Sets the value of the tblOverlap property. |
|---|
| 203 | * |
|---|
| 204 | * @param value |
|---|
| 205 | * allowed object is |
|---|
| 206 | * {@link CTTblOverlap } |
|---|
| 207 | * |
|---|
| 208 | */ |
|---|
| 209 | public void setTblOverlap(CTTblOverlap value) { |
|---|
| 210 | this.tblOverlap = value; |
|---|
| 211 | } |
|---|
| 212 | |
|---|
| 213 | /** |
|---|
| 214 | * Gets the value of the bidiVisual property. |
|---|
| 215 | * |
|---|
| 216 | * @return |
|---|
| 217 | * possible object is |
|---|
| 218 | * {@link BooleanDefaultTrue } |
|---|
| 219 | * |
|---|
| 220 | */ |
|---|
| 221 | public BooleanDefaultTrue getBidiVisual() { |
|---|
| 222 | return bidiVisual; |
|---|
| 223 | } |
|---|
| 224 | |
|---|
| 225 | /** |
|---|
| 226 | * Sets the value of the bidiVisual property. |
|---|
| 227 | * |
|---|
| 228 | * @param value |
|---|
| 229 | * allowed object is |
|---|
| 230 | * {@link BooleanDefaultTrue } |
|---|
| 231 | * |
|---|
| 232 | */ |
|---|
| 233 | public void setBidiVisual(BooleanDefaultTrue value) { |
|---|
| 234 | this.bidiVisual = value; |
|---|
| 235 | } |
|---|
| 236 | |
|---|
| 237 | /** |
|---|
| 238 | * Gets the value of the tblStyleRowBandSize property. |
|---|
| 239 | * |
|---|
| 240 | * @return |
|---|
| 241 | * possible object is |
|---|
| 242 | * {@link CTTblPrBase.TblStyleRowBandSize } |
|---|
| 243 | * |
|---|
| 244 | */ |
|---|
| 245 | public CTTblPrBase.TblStyleRowBandSize getTblStyleRowBandSize() { |
|---|
| 246 | return tblStyleRowBandSize; |
|---|
| 247 | } |
|---|
| 248 | |
|---|
| 249 | /** |
|---|
| 250 | * Sets the value of the tblStyleRowBandSize property. |
|---|
| 251 | * |
|---|
| 252 | * @param value |
|---|
| 253 | * allowed object is |
|---|
| 254 | * {@link CTTblPrBase.TblStyleRowBandSize } |
|---|
| 255 | * |
|---|
| 256 | */ |
|---|
| 257 | public void setTblStyleRowBandSize(CTTblPrBase.TblStyleRowBandSize value) { |
|---|
| 258 | this.tblStyleRowBandSize = value; |
|---|
| 259 | } |
|---|
| 260 | |
|---|
| 261 | /** |
|---|
| 262 | * Gets the value of the tblStyleColBandSize property. |
|---|
| 263 | * |
|---|
| 264 | * @return |
|---|
| 265 | * possible object is |
|---|
| 266 | * {@link CTTblPrBase.TblStyleColBandSize } |
|---|
| 267 | * |
|---|
| 268 | */ |
|---|
| 269 | public CTTblPrBase.TblStyleColBandSize getTblStyleColBandSize() { |
|---|
| 270 | return tblStyleColBandSize; |
|---|
| 271 | } |
|---|
| 272 | |
|---|
| 273 | /** |
|---|
| 274 | * Sets the value of the tblStyleColBandSize property. |
|---|
| 275 | * |
|---|
| 276 | * @param value |
|---|
| 277 | * allowed object is |
|---|
| 278 | * {@link CTTblPrBase.TblStyleColBandSize } |
|---|
| 279 | * |
|---|
| 280 | */ |
|---|
| 281 | public void setTblStyleColBandSize(CTTblPrBase.TblStyleColBandSize value) { |
|---|
| 282 | this.tblStyleColBandSize = value; |
|---|
| 283 | } |
|---|
| 284 | |
|---|
| 285 | /** |
|---|
| 286 | * Gets the value of the tblW property. |
|---|
| 287 | * |
|---|
| 288 | * @return |
|---|
| 289 | * possible object is |
|---|
| 290 | * {@link TblWidth } |
|---|
| 291 | * |
|---|
| 292 | */ |
|---|
| 293 | public TblWidth getTblW() { |
|---|
| 294 | return tblW; |
|---|
| 295 | } |
|---|
| 296 | |
|---|
| 297 | /** |
|---|
| 298 | * Sets the value of the tblW property. |
|---|
| 299 | * |
|---|
| 300 | * @param value |
|---|
| 301 | * allowed object is |
|---|
| 302 | * {@link TblWidth } |
|---|
| 303 | * |
|---|
| 304 | */ |
|---|
| 305 | public void setTblW(TblWidth value) { |
|---|
| 306 | this.tblW = value; |
|---|
| 307 | } |
|---|
| 308 | |
|---|
| 309 | /** |
|---|
| 310 | * Gets the value of the jc property. |
|---|
| 311 | * |
|---|
| 312 | * @return |
|---|
| 313 | * possible object is |
|---|
| 314 | * {@link Jc } |
|---|
| 315 | * |
|---|
| 316 | */ |
|---|
| 317 | public Jc getJc() { |
|---|
| 318 | return jc; |
|---|
| 319 | } |
|---|
| 320 | |
|---|
| 321 | /** |
|---|
| 322 | * Sets the value of the jc property. |
|---|
| 323 | * |
|---|
| 324 | * @param value |
|---|
| 325 | * allowed object is |
|---|
| 326 | * {@link Jc } |
|---|
| 327 | * |
|---|
| 328 | */ |
|---|
| 329 | public void setJc(Jc value) { |
|---|
| 330 | this.jc = value; |
|---|
| 331 | } |
|---|
| 332 | |
|---|
| 333 | /** |
|---|
| 334 | * Gets the value of the tblCellSpacing property. |
|---|
| 335 | * |
|---|
| 336 | * @return |
|---|
| 337 | * possible object is |
|---|
| 338 | * {@link TblWidth } |
|---|
| 339 | * |
|---|
| 340 | */ |
|---|
| 341 | public TblWidth getTblCellSpacing() { |
|---|
| 342 | return tblCellSpacing; |
|---|
| 343 | } |
|---|
| 344 | |
|---|
| 345 | /** |
|---|
| 346 | * Sets the value of the tblCellSpacing property. |
|---|
| 347 | * |
|---|
| 348 | * @param value |
|---|
| 349 | * allowed object is |
|---|
| 350 | * {@link TblWidth } |
|---|
| 351 | * |
|---|
| 352 | */ |
|---|
| 353 | public void setTblCellSpacing(TblWidth value) { |
|---|
| 354 | this.tblCellSpacing = value; |
|---|
| 355 | } |
|---|
| 356 | |
|---|
| 357 | /** |
|---|
| 358 | * Gets the value of the tblInd property. |
|---|
| 359 | * |
|---|
| 360 | * @return |
|---|
| 361 | * possible object is |
|---|
| 362 | * {@link TblWidth } |
|---|
| 363 | * |
|---|
| 364 | */ |
|---|
| 365 | public TblWidth getTblInd() { |
|---|
| 366 | return tblInd; |
|---|
| 367 | } |
|---|
| 368 | |
|---|
| 369 | /** |
|---|
| 370 | * Sets the value of the tblInd property. |
|---|
| 371 | * |
|---|
| 372 | * @param value |
|---|
| 373 | * allowed object is |
|---|
| 374 | * {@link TblWidth } |
|---|
| 375 | * |
|---|
| 376 | */ |
|---|
| 377 | public void setTblInd(TblWidth value) { |
|---|
| 378 | this.tblInd = value; |
|---|
| 379 | } |
|---|
| 380 | |
|---|
| 381 | /** |
|---|
| 382 | * Gets the value of the tblBorders property. |
|---|
| 383 | * |
|---|
| 384 | * @return |
|---|
| 385 | * possible object is |
|---|
| 386 | * {@link TblBorders } |
|---|
| 387 | * |
|---|
| 388 | */ |
|---|
| 389 | public TblBorders getTblBorders() { |
|---|
| 390 | return tblBorders; |
|---|
| 391 | } |
|---|
| 392 | |
|---|
| 393 | /** |
|---|
| 394 | * Sets the value of the tblBorders property. |
|---|
| 395 | * |
|---|
| 396 | * @param value |
|---|
| 397 | * allowed object is |
|---|
| 398 | * {@link TblBorders } |
|---|
| 399 | * |
|---|
| 400 | */ |
|---|
| 401 | public void setTblBorders(TblBorders value) { |
|---|
| 402 | this.tblBorders = value; |
|---|
| 403 | } |
|---|
| 404 | |
|---|
| 405 | /** |
|---|
| 406 | * Gets the value of the shd property. |
|---|
| 407 | * |
|---|
| 408 | * @return |
|---|
| 409 | * possible object is |
|---|
| 410 | * {@link CTShd } |
|---|
| 411 | * |
|---|
| 412 | */ |
|---|
| 413 | public CTShd getShd() { |
|---|
| 414 | return shd; |
|---|
| 415 | } |
|---|
| 416 | |
|---|
| 417 | /** |
|---|
| 418 | * Sets the value of the shd property. |
|---|
| 419 | * |
|---|
| 420 | * @param value |
|---|
| 421 | * allowed object is |
|---|
| 422 | * {@link CTShd } |
|---|
| 423 | * |
|---|
| 424 | */ |
|---|
| 425 | public void setShd(CTShd value) { |
|---|
| 426 | this.shd = value; |
|---|
| 427 | } |
|---|
| 428 | |
|---|
| 429 | /** |
|---|
| 430 | * Gets the value of the tblLayout property. |
|---|
| 431 | * |
|---|
| 432 | * @return |
|---|
| 433 | * possible object is |
|---|
| 434 | * {@link CTTblLayoutType } |
|---|
| 435 | * |
|---|
| 436 | */ |
|---|
| 437 | public CTTblLayoutType getTblLayout() { |
|---|
| 438 | return tblLayout; |
|---|
| 439 | } |
|---|
| 440 | |
|---|
| 441 | /** |
|---|
| 442 | * Sets the value of the tblLayout property. |
|---|
| 443 | * |
|---|
| 444 | * @param value |
|---|
| 445 | * allowed object is |
|---|
| 446 | * {@link CTTblLayoutType } |
|---|
| 447 | * |
|---|
| 448 | */ |
|---|
| 449 | public void setTblLayout(CTTblLayoutType value) { |
|---|
| 450 | this.tblLayout = value; |
|---|
| 451 | } |
|---|
| 452 | |
|---|
| 453 | /** |
|---|
| 454 | * Gets the value of the tblCellMar property. |
|---|
| 455 | * |
|---|
| 456 | * @return |
|---|
| 457 | * possible object is |
|---|
| 458 | * {@link CTTblCellMar } |
|---|
| 459 | * |
|---|
| 460 | */ |
|---|
| 461 | public CTTblCellMar getTblCellMar() { |
|---|
| 462 | return tblCellMar; |
|---|
| 463 | } |
|---|
| 464 | |
|---|
| 465 | /** |
|---|
| 466 | * Sets the value of the tblCellMar property. |
|---|
| 467 | * |
|---|
| 468 | * @param value |
|---|
| 469 | * allowed object is |
|---|
| 470 | * {@link CTTblCellMar } |
|---|
| 471 | * |
|---|
| 472 | */ |
|---|
| 473 | public void setTblCellMar(CTTblCellMar value) { |
|---|
| 474 | this.tblCellMar = value; |
|---|
| 475 | } |
|---|
| 476 | |
|---|
| 477 | /** |
|---|
| 478 | * Gets the value of the tblLook property. |
|---|
| 479 | * |
|---|
| 480 | * @return |
|---|
| 481 | * possible object is |
|---|
| 482 | * {@link CTShortHexNumber } |
|---|
| 483 | * |
|---|
| 484 | */ |
|---|
| 485 | public CTShortHexNumber getTblLook() { |
|---|
| 486 | return tblLook; |
|---|
| 487 | } |
|---|
| 488 | |
|---|
| 489 | /** |
|---|
| 490 | * Sets the value of the tblLook property. |
|---|
| 491 | * |
|---|
| 492 | * @param value |
|---|
| 493 | * allowed object is |
|---|
| 494 | * {@link CTShortHexNumber } |
|---|
| 495 | * |
|---|
| 496 | */ |
|---|
| 497 | public void setTblLook(CTShortHexNumber value) { |
|---|
| 498 | this.tblLook = value; |
|---|
| 499 | } |
|---|
| 500 | |
|---|
| 501 | /** |
|---|
| 502 | * Gets the parent object in the object tree representing the unmarshalled xml document. |
|---|
| 503 | * |
|---|
| 504 | * @return |
|---|
| 505 | * The parent object. |
|---|
| 506 | */ |
|---|
| 507 | public Object getParent() { |
|---|
| 508 | return this.parent; |
|---|
| 509 | } |
|---|
| 510 | |
|---|
| 511 | public void setParent(Object parent) { |
|---|
| 512 | this.parent = parent; |
|---|
| 513 | } |
|---|
| 514 | |
|---|
| 515 | /** |
|---|
| 516 | * This method is invoked by the JAXB implementation on each instance when unmarshalling completes. |
|---|
| 517 | * |
|---|
| 518 | * @param parent |
|---|
| 519 | * The parent object in the object tree. |
|---|
| 520 | * @param unmarshaller |
|---|
| 521 | * The unmarshaller that generated the instance. |
|---|
| 522 | */ |
|---|
| 523 | public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) { |
|---|
| 524 | setParent(parent); |
|---|
| 525 | } |
|---|
| 526 | |
|---|
| 527 | |
|---|
| 528 | /** |
|---|
| 529 | * <p>Java class for anonymous complex type. |
|---|
| 530 | * |
|---|
| 531 | * <p>The following schema fragment specifies the expected content contained within this class. |
|---|
| 532 | * |
|---|
| 533 | * <pre> |
|---|
| 534 | * <complexType> |
|---|
| 535 | * <complexContent> |
|---|
| 536 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
|---|
| 537 | * <attribute name="val" type="{http://www.w3.org/2001/XMLSchema}string" /> |
|---|
| 538 | * </restriction> |
|---|
| 539 | * </complexContent> |
|---|
| 540 | * </complexType> |
|---|
| 541 | * </pre> |
|---|
| 542 | * |
|---|
| 543 | * |
|---|
| 544 | */ |
|---|
| 545 | @XmlAccessorType(XmlAccessType.FIELD) |
|---|
| 546 | @XmlType(name = "") |
|---|
| 547 | public static class TblStyle |
|---|
| 548 | implements Child |
|---|
| 549 | { |
|---|
| 550 | |
|---|
| 551 | @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main") |
|---|
| 552 | protected String val; |
|---|
| 553 | @XmlTransient |
|---|
| 554 | private Object parent; |
|---|
| 555 | |
|---|
| 556 | /** |
|---|
| 557 | * Gets the value of the val property. |
|---|
| 558 | * |
|---|
| 559 | * @return |
|---|
| 560 | * possible object is |
|---|
| 561 | * {@link String } |
|---|
| 562 | * |
|---|
| 563 | */ |
|---|
| 564 | public String getVal() { |
|---|
| 565 | return val; |
|---|
| 566 | } |
|---|
| 567 | |
|---|
| 568 | /** |
|---|
| 569 | * Sets the value of the val property. |
|---|
| 570 | * |
|---|
| 571 | * @param value |
|---|
| 572 | * allowed object is |
|---|
| 573 | * {@link String } |
|---|
| 574 | * |
|---|
| 575 | */ |
|---|
| 576 | public void setVal(String value) { |
|---|
| 577 | this.val = value; |
|---|
| 578 | } |
|---|
| 579 | |
|---|
| 580 | /** |
|---|
| 581 | * Gets the parent object in the object tree representing the unmarshalled xml document. |
|---|
| 582 | * |
|---|
| 583 | * @return |
|---|
| 584 | * The parent object. |
|---|
| 585 | */ |
|---|
| 586 | public Object getParent() { |
|---|
| 587 | return this.parent; |
|---|
| 588 | } |
|---|
| 589 | |
|---|
| 590 | public void setParent(Object parent) { |
|---|
| 591 | this.parent = parent; |
|---|
| 592 | } |
|---|
| 593 | |
|---|
| 594 | /** |
|---|
| 595 | * This method is invoked by the JAXB implementation on each instance when unmarshalling completes. |
|---|
| 596 | * |
|---|
| 597 | * @param parent |
|---|
| 598 | * The parent object in the object tree. |
|---|
| 599 | * @param unmarshaller |
|---|
| 600 | * The unmarshaller that generated the instance. |
|---|
| 601 | */ |
|---|
| 602 | public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) { |
|---|
| 603 | setParent(parent); |
|---|
| 604 | } |
|---|
| 605 | |
|---|
| 606 | } |
|---|
| 607 | |
|---|
| 608 | |
|---|
| 609 | /** |
|---|
| 610 | * <p>Java class for anonymous complex type. |
|---|
| 611 | * |
|---|
| 612 | * <p>The following schema fragment specifies the expected content contained within this class. |
|---|
| 613 | * |
|---|
| 614 | * <pre> |
|---|
| 615 | * <complexType> |
|---|
| 616 | * <complexContent> |
|---|
| 617 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
|---|
| 618 | * <attribute name="val" use="required"> |
|---|
| 619 | * <simpleType> |
|---|
| 620 | * <restriction base="{http://www.w3.org/2001/XMLSchema}integer"> |
|---|
| 621 | * </restriction> |
|---|
| 622 | * </simpleType> |
|---|
| 623 | * </attribute> |
|---|
| 624 | * </restriction> |
|---|
| 625 | * </complexContent> |
|---|
| 626 | * </complexType> |
|---|
| 627 | * </pre> |
|---|
| 628 | * |
|---|
| 629 | * |
|---|
| 630 | */ |
|---|
| 631 | @XmlAccessorType(XmlAccessType.FIELD) |
|---|
| 632 | @XmlType(name = "") |
|---|
| 633 | public static class TblStyleColBandSize |
|---|
| 634 | implements Child |
|---|
| 635 | { |
|---|
| 636 | |
|---|
| 637 | @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", required = true) |
|---|
| 638 | protected BigInteger val; |
|---|
| 639 | @XmlTransient |
|---|
| 640 | private Object parent; |
|---|
| 641 | |
|---|
| 642 | /** |
|---|
| 643 | * Gets the value of the val property. |
|---|
| 644 | * |
|---|
| 645 | * @return |
|---|
| 646 | * possible object is |
|---|
| 647 | * {@link BigInteger } |
|---|
| 648 | * |
|---|
| 649 | */ |
|---|
| 650 | public BigInteger getVal() { |
|---|
| 651 | return val; |
|---|
| 652 | } |
|---|
| 653 | |
|---|
| 654 | /** |
|---|
| 655 | * Sets the value of the val property. |
|---|
| 656 | * |
|---|
| 657 | * @param value |
|---|
| 658 | * allowed object is |
|---|
| 659 | * {@link BigInteger } |
|---|
| 660 | * |
|---|
| 661 | */ |
|---|
| 662 | public void setVal(BigInteger value) { |
|---|
| 663 | this.val = value; |
|---|
| 664 | } |
|---|
| 665 | |
|---|
| 666 | /** |
|---|
| 667 | * Gets the parent object in the object tree representing the unmarshalled xml document. |
|---|
| 668 | * |
|---|
| 669 | * @return |
|---|
| 670 | * The parent object. |
|---|
| 671 | */ |
|---|
| 672 | public Object getParent() { |
|---|
| 673 | return this.parent; |
|---|
| 674 | } |
|---|
| 675 | |
|---|
| 676 | public void setParent(Object parent) { |
|---|
| 677 | this.parent = parent; |
|---|
| 678 | } |
|---|
| 679 | |
|---|
| 680 | /** |
|---|
| 681 | * This method is invoked by the JAXB implementation on each instance when unmarshalling completes. |
|---|
| 682 | * |
|---|
| 683 | * @param parent |
|---|
| 684 | * The parent object in the object tree. |
|---|
| 685 | * @param unmarshaller |
|---|
| 686 | * The unmarshaller that generated the instance. |
|---|
| 687 | */ |
|---|
| 688 | public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) { |
|---|
| 689 | setParent(parent); |
|---|
| 690 | } |
|---|
| 691 | |
|---|
| 692 | } |
|---|
| 693 | |
|---|
| 694 | |
|---|
| 695 | /** |
|---|
| 696 | * <p>Java class for anonymous complex type. |
|---|
| 697 | * |
|---|
| 698 | * <p>The following schema fragment specifies the expected content contained within this class. |
|---|
| 699 | * |
|---|
| 700 | * <pre> |
|---|
| 701 | * <complexType> |
|---|
| 702 | * <complexContent> |
|---|
| 703 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
|---|
| 704 | * <attribute name="val" use="required"> |
|---|
| 705 | * <simpleType> |
|---|
| 706 | * <restriction base="{http://www.w3.org/2001/XMLSchema}integer"> |
|---|
| 707 | * </restriction> |
|---|
| 708 | * </simpleType> |
|---|
| 709 | * </attribute> |
|---|
| 710 | * </restriction> |
|---|
| 711 | * </complexContent> |
|---|
| 712 | * </complexType> |
|---|
| 713 | * </pre> |
|---|
| 714 | * |
|---|
| 715 | * |
|---|
| 716 | */ |
|---|
| 717 | @XmlAccessorType(XmlAccessType.FIELD) |
|---|
| 718 | @XmlType(name = "") |
|---|
| 719 | public static class TblStyleRowBandSize |
|---|
| 720 | implements Child |
|---|
| 721 | { |
|---|
| 722 | |
|---|
| 723 | @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", required = true) |
|---|
| 724 | protected BigInteger val; |
|---|
| 725 | @XmlTransient |
|---|
| 726 | private Object parent; |
|---|
| 727 | |
|---|
| 728 | /** |
|---|
| 729 | * Gets the value of the val property. |
|---|
| 730 | * |
|---|
| 731 | * @return |
|---|
| 732 | * possible object is |
|---|
| 733 | * {@link BigInteger } |
|---|
| 734 | * |
|---|
| 735 | */ |
|---|
| 736 | public BigInteger getVal() { |
|---|
| 737 | return val; |
|---|
| 738 | } |
|---|
| 739 | |
|---|
| 740 | /** |
|---|
| 741 | * Sets the value of the val property. |
|---|
| 742 | * |
|---|
| 743 | * @param value |
|---|
| 744 | * allowed object is |
|---|
| 745 | * {@link BigInteger } |
|---|
| 746 | * |
|---|
| 747 | */ |
|---|
| 748 | public void setVal(BigInteger value) { |
|---|
| 749 | this.val = value; |
|---|
| 750 | } |
|---|
| 751 | |
|---|
| 752 | /** |
|---|
| 753 | * Gets the parent object in the object tree representing the unmarshalled xml document. |
|---|
| 754 | * |
|---|
| 755 | * @return |
|---|
| 756 | * The parent object. |
|---|
| 757 | */ |
|---|
| 758 | public Object getParent() { |
|---|
| 759 | return this.parent; |
|---|
| 760 | } |
|---|
| 761 | |
|---|
| 762 | public void setParent(Object parent) { |
|---|
| 763 | this.parent = parent; |
|---|
| 764 | } |
|---|
| 765 | |
|---|
| 766 | /** |
|---|
| 767 | * This method is invoked by the JAXB implementation on each instance when unmarshalling completes. |
|---|
| 768 | * |
|---|
| 769 | * @param parent |
|---|
| 770 | * The parent object in the object tree. |
|---|
| 771 | * @param unmarshaller |
|---|
| 772 | * The unmarshaller that generated the instance. |
|---|
| 773 | */ |
|---|
| 774 | public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) { |
|---|
| 775 | setParent(parent); |
|---|
| 776 | } |
|---|
| 777 | |
|---|
| 778 | } |
|---|
| 779 | |
|---|
| 780 | } |
|---|