| 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 java.util.ArrayList; |
|---|
| 26 | import java.util.List; |
|---|
| 27 | import javax.xml.bind.Unmarshaller; |
|---|
| 28 | import javax.xml.bind.annotation.XmlAccessType; |
|---|
| 29 | import javax.xml.bind.annotation.XmlAccessorType; |
|---|
| 30 | import javax.xml.bind.annotation.XmlAttribute; |
|---|
| 31 | import javax.xml.bind.annotation.XmlRootElement; |
|---|
| 32 | import javax.xml.bind.annotation.XmlTransient; |
|---|
| 33 | import javax.xml.bind.annotation.XmlType; |
|---|
| 34 | import org.jvnet.jaxb2_commons.ppp.Child; |
|---|
| 35 | |
|---|
| 36 | |
|---|
| 37 | /** |
|---|
| 38 | * <p>Java class for anonymous complex type. |
|---|
| 39 | * |
|---|
| 40 | * <p>The following schema fragment specifies the expected content contained within this class. |
|---|
| 41 | * |
|---|
| 42 | * <pre> |
|---|
| 43 | * <complexType> |
|---|
| 44 | * <complexContent> |
|---|
| 45 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
|---|
| 46 | * <sequence> |
|---|
| 47 | * <element name="name" minOccurs="0"> |
|---|
| 48 | * <complexType> |
|---|
| 49 | * <complexContent> |
|---|
| 50 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
|---|
| 51 | * <attribute name="val" type="{http://www.w3.org/2001/XMLSchema}string" /> |
|---|
| 52 | * </restriction> |
|---|
| 53 | * </complexContent> |
|---|
| 54 | * </complexType> |
|---|
| 55 | * </element> |
|---|
| 56 | * <element name="aliases" minOccurs="0"> |
|---|
| 57 | * <complexType> |
|---|
| 58 | * <complexContent> |
|---|
| 59 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
|---|
| 60 | * <attribute name="val" type="{http://www.w3.org/2001/XMLSchema}string" /> |
|---|
| 61 | * </restriction> |
|---|
| 62 | * </complexContent> |
|---|
| 63 | * </complexType> |
|---|
| 64 | * </element> |
|---|
| 65 | * <element name="basedOn" minOccurs="0"> |
|---|
| 66 | * <complexType> |
|---|
| 67 | * <complexContent> |
|---|
| 68 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
|---|
| 69 | * <attribute name="val" type="{http://www.w3.org/2001/XMLSchema}string" /> |
|---|
| 70 | * </restriction> |
|---|
| 71 | * </complexContent> |
|---|
| 72 | * </complexType> |
|---|
| 73 | * </element> |
|---|
| 74 | * <element name="next" minOccurs="0"> |
|---|
| 75 | * <complexType> |
|---|
| 76 | * <complexContent> |
|---|
| 77 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
|---|
| 78 | * <attribute name="val" type="{http://www.w3.org/2001/XMLSchema}string" /> |
|---|
| 79 | * </restriction> |
|---|
| 80 | * </complexContent> |
|---|
| 81 | * </complexType> |
|---|
| 82 | * </element> |
|---|
| 83 | * <element name="link" minOccurs="0"> |
|---|
| 84 | * <complexType> |
|---|
| 85 | * <complexContent> |
|---|
| 86 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
|---|
| 87 | * <attribute name="val" type="{http://www.w3.org/2001/XMLSchema}string" /> |
|---|
| 88 | * </restriction> |
|---|
| 89 | * </complexContent> |
|---|
| 90 | * </complexType> |
|---|
| 91 | * </element> |
|---|
| 92 | * <element name="autoRedefine" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}BooleanDefaultTrue" minOccurs="0"/> |
|---|
| 93 | * <element name="hidden" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}BooleanDefaultTrue" minOccurs="0"/> |
|---|
| 94 | * <element name="uiPriority" minOccurs="0"> |
|---|
| 95 | * <complexType> |
|---|
| 96 | * <complexContent> |
|---|
| 97 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
|---|
| 98 | * <attribute name="val" use="required"> |
|---|
| 99 | * <simpleType> |
|---|
| 100 | * <restriction base="{http://www.w3.org/2001/XMLSchema}integer"> |
|---|
| 101 | * </restriction> |
|---|
| 102 | * </simpleType> |
|---|
| 103 | * </attribute> |
|---|
| 104 | * </restriction> |
|---|
| 105 | * </complexContent> |
|---|
| 106 | * </complexType> |
|---|
| 107 | * </element> |
|---|
| 108 | * <element name="semiHidden" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}BooleanDefaultTrue" minOccurs="0"/> |
|---|
| 109 | * <element name="unhideWhenUsed" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}BooleanDefaultTrue" minOccurs="0"/> |
|---|
| 110 | * <element name="qFormat" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}BooleanDefaultTrue" minOccurs="0"/> |
|---|
| 111 | * <element name="locked" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}BooleanDefaultTrue" minOccurs="0"/> |
|---|
| 112 | * <element name="personal" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}BooleanDefaultTrue" minOccurs="0"/> |
|---|
| 113 | * <element name="personalCompose" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}BooleanDefaultTrue" minOccurs="0"/> |
|---|
| 114 | * <element name="personalReply" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}BooleanDefaultTrue" minOccurs="0"/> |
|---|
| 115 | * <element name="rsid" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_LongHexNumber" minOccurs="0"/> |
|---|
| 116 | * <element name="pPr" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_PPr" minOccurs="0"/> |
|---|
| 117 | * <element name="rPr" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_RPr" minOccurs="0"/> |
|---|
| 118 | * <element name="tblPr" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_TblPrBase" minOccurs="0"/> |
|---|
| 119 | * <element name="trPr" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_TrPr" minOccurs="0"/> |
|---|
| 120 | * <element name="tcPr" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_TcPr" minOccurs="0"/> |
|---|
| 121 | * <element name="tblStylePr" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_TblStylePr" maxOccurs="unbounded" minOccurs="0"/> |
|---|
| 122 | * </sequence> |
|---|
| 123 | * <attribute name="type"> |
|---|
| 124 | * <simpleType> |
|---|
| 125 | * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> |
|---|
| 126 | * <enumeration value="paragraph"/> |
|---|
| 127 | * <enumeration value="character"/> |
|---|
| 128 | * <enumeration value="table"/> |
|---|
| 129 | * <enumeration value="numbering"/> |
|---|
| 130 | * </restriction> |
|---|
| 131 | * </simpleType> |
|---|
| 132 | * </attribute> |
|---|
| 133 | * <attribute name="styleId" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_String" /> |
|---|
| 134 | * <attribute name="default" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> |
|---|
| 135 | * <attribute name="customStyle" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> |
|---|
| 136 | * </restriction> |
|---|
| 137 | * </complexContent> |
|---|
| 138 | * </complexType> |
|---|
| 139 | * </pre> |
|---|
| 140 | * |
|---|
| 141 | * |
|---|
| 142 | */ |
|---|
| 143 | @XmlAccessorType(XmlAccessType.FIELD) |
|---|
| 144 | @XmlType(name = "", propOrder = { |
|---|
| 145 | "name", |
|---|
| 146 | "aliases", |
|---|
| 147 | "basedOn", |
|---|
| 148 | "next", |
|---|
| 149 | "link", |
|---|
| 150 | "autoRedefine", |
|---|
| 151 | "hidden", |
|---|
| 152 | "uiPriority", |
|---|
| 153 | "semiHidden", |
|---|
| 154 | "unhideWhenUsed", |
|---|
| 155 | "qFormat", |
|---|
| 156 | "locked", |
|---|
| 157 | "personal", |
|---|
| 158 | "personalCompose", |
|---|
| 159 | "personalReply", |
|---|
| 160 | "rsid", |
|---|
| 161 | "pPr", |
|---|
| 162 | "rPr", |
|---|
| 163 | "tblPr", |
|---|
| 164 | "trPr", |
|---|
| 165 | "tcPr", |
|---|
| 166 | "tblStylePr" |
|---|
| 167 | }) |
|---|
| 168 | @XmlRootElement(name = "style") |
|---|
| 169 | public class Style |
|---|
| 170 | implements Child |
|---|
| 171 | { |
|---|
| 172 | |
|---|
| 173 | protected Style.Name name; |
|---|
| 174 | protected Style.Aliases aliases; |
|---|
| 175 | protected Style.BasedOn basedOn; |
|---|
| 176 | protected Style.Next next; |
|---|
| 177 | protected Style.Link link; |
|---|
| 178 | protected BooleanDefaultTrue autoRedefine; |
|---|
| 179 | protected BooleanDefaultTrue hidden; |
|---|
| 180 | protected Style.UiPriority uiPriority; |
|---|
| 181 | protected BooleanDefaultTrue semiHidden; |
|---|
| 182 | protected BooleanDefaultTrue unhideWhenUsed; |
|---|
| 183 | protected BooleanDefaultTrue qFormat; |
|---|
| 184 | protected BooleanDefaultTrue locked; |
|---|
| 185 | protected BooleanDefaultTrue personal; |
|---|
| 186 | protected BooleanDefaultTrue personalCompose; |
|---|
| 187 | protected BooleanDefaultTrue personalReply; |
|---|
| 188 | protected CTLongHexNumber rsid; |
|---|
| 189 | protected PPr pPr; |
|---|
| 190 | protected RPr rPr; |
|---|
| 191 | protected CTTblPrBase tblPr; |
|---|
| 192 | protected TrPr trPr; |
|---|
| 193 | protected TcPr tcPr; |
|---|
| 194 | protected List<CTTblStylePr> tblStylePr; |
|---|
| 195 | @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main") |
|---|
| 196 | protected String type; |
|---|
| 197 | @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main") |
|---|
| 198 | protected String styleId; |
|---|
| 199 | @XmlAttribute(name = "default", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main") |
|---|
| 200 | protected Boolean _default; |
|---|
| 201 | @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main") |
|---|
| 202 | protected Boolean customStyle; |
|---|
| 203 | @XmlTransient |
|---|
| 204 | private Object parent; |
|---|
| 205 | |
|---|
| 206 | /** |
|---|
| 207 | * Gets the value of the name property. |
|---|
| 208 | * |
|---|
| 209 | * @return |
|---|
| 210 | * possible object is |
|---|
| 211 | * {@link Style.Name } |
|---|
| 212 | * |
|---|
| 213 | */ |
|---|
| 214 | public Style.Name getName() { |
|---|
| 215 | return name; |
|---|
| 216 | } |
|---|
| 217 | |
|---|
| 218 | /** |
|---|
| 219 | * Sets the value of the name property. |
|---|
| 220 | * |
|---|
| 221 | * @param value |
|---|
| 222 | * allowed object is |
|---|
| 223 | * {@link Style.Name } |
|---|
| 224 | * |
|---|
| 225 | */ |
|---|
| 226 | public void setName(Style.Name value) { |
|---|
| 227 | this.name = value; |
|---|
| 228 | } |
|---|
| 229 | |
|---|
| 230 | /** |
|---|
| 231 | * Gets the value of the aliases property. |
|---|
| 232 | * |
|---|
| 233 | * @return |
|---|
| 234 | * possible object is |
|---|
| 235 | * {@link Style.Aliases } |
|---|
| 236 | * |
|---|
| 237 | */ |
|---|
| 238 | public Style.Aliases getAliases() { |
|---|
| 239 | return aliases; |
|---|
| 240 | } |
|---|
| 241 | |
|---|
| 242 | /** |
|---|
| 243 | * Sets the value of the aliases property. |
|---|
| 244 | * |
|---|
| 245 | * @param value |
|---|
| 246 | * allowed object is |
|---|
| 247 | * {@link Style.Aliases } |
|---|
| 248 | * |
|---|
| 249 | */ |
|---|
| 250 | public void setAliases(Style.Aliases value) { |
|---|
| 251 | this.aliases = value; |
|---|
| 252 | } |
|---|
| 253 | |
|---|
| 254 | /** |
|---|
| 255 | * Gets the value of the basedOn property. |
|---|
| 256 | * |
|---|
| 257 | * @return |
|---|
| 258 | * possible object is |
|---|
| 259 | * {@link Style.BasedOn } |
|---|
| 260 | * |
|---|
| 261 | */ |
|---|
| 262 | public Style.BasedOn getBasedOn() { |
|---|
| 263 | return basedOn; |
|---|
| 264 | } |
|---|
| 265 | |
|---|
| 266 | /** |
|---|
| 267 | * Sets the value of the basedOn property. |
|---|
| 268 | * |
|---|
| 269 | * @param value |
|---|
| 270 | * allowed object is |
|---|
| 271 | * {@link Style.BasedOn } |
|---|
| 272 | * |
|---|
| 273 | */ |
|---|
| 274 | public void setBasedOn(Style.BasedOn value) { |
|---|
| 275 | this.basedOn = value; |
|---|
| 276 | } |
|---|
| 277 | |
|---|
| 278 | /** |
|---|
| 279 | * Gets the value of the next property. |
|---|
| 280 | * |
|---|
| 281 | * @return |
|---|
| 282 | * possible object is |
|---|
| 283 | * {@link Style.Next } |
|---|
| 284 | * |
|---|
| 285 | */ |
|---|
| 286 | public Style.Next getNext() { |
|---|
| 287 | return next; |
|---|
| 288 | } |
|---|
| 289 | |
|---|
| 290 | /** |
|---|
| 291 | * Sets the value of the next property. |
|---|
| 292 | * |
|---|
| 293 | * @param value |
|---|
| 294 | * allowed object is |
|---|
| 295 | * {@link Style.Next } |
|---|
| 296 | * |
|---|
| 297 | */ |
|---|
| 298 | public void setNext(Style.Next value) { |
|---|
| 299 | this.next = value; |
|---|
| 300 | } |
|---|
| 301 | |
|---|
| 302 | /** |
|---|
| 303 | * Gets the value of the link property. |
|---|
| 304 | * |
|---|
| 305 | * @return |
|---|
| 306 | * possible object is |
|---|
| 307 | * {@link Style.Link } |
|---|
| 308 | * |
|---|
| 309 | */ |
|---|
| 310 | public Style.Link getLink() { |
|---|
| 311 | return link; |
|---|
| 312 | } |
|---|
| 313 | |
|---|
| 314 | /** |
|---|
| 315 | * Sets the value of the link property. |
|---|
| 316 | * |
|---|
| 317 | * @param value |
|---|
| 318 | * allowed object is |
|---|
| 319 | * {@link Style.Link } |
|---|
| 320 | * |
|---|
| 321 | */ |
|---|
| 322 | public void setLink(Style.Link value) { |
|---|
| 323 | this.link = value; |
|---|
| 324 | } |
|---|
| 325 | |
|---|
| 326 | /** |
|---|
| 327 | * Gets the value of the autoRedefine property. |
|---|
| 328 | * |
|---|
| 329 | * @return |
|---|
| 330 | * possible object is |
|---|
| 331 | * {@link BooleanDefaultTrue } |
|---|
| 332 | * |
|---|
| 333 | */ |
|---|
| 334 | public BooleanDefaultTrue getAutoRedefine() { |
|---|
| 335 | return autoRedefine; |
|---|
| 336 | } |
|---|
| 337 | |
|---|
| 338 | /** |
|---|
| 339 | * Sets the value of the autoRedefine property. |
|---|
| 340 | * |
|---|
| 341 | * @param value |
|---|
| 342 | * allowed object is |
|---|
| 343 | * {@link BooleanDefaultTrue } |
|---|
| 344 | * |
|---|
| 345 | */ |
|---|
| 346 | public void setAutoRedefine(BooleanDefaultTrue value) { |
|---|
| 347 | this.autoRedefine = value; |
|---|
| 348 | } |
|---|
| 349 | |
|---|
| 350 | /** |
|---|
| 351 | * Gets the value of the hidden property. |
|---|
| 352 | * |
|---|
| 353 | * @return |
|---|
| 354 | * possible object is |
|---|
| 355 | * {@link BooleanDefaultTrue } |
|---|
| 356 | * |
|---|
| 357 | */ |
|---|
| 358 | public BooleanDefaultTrue getHidden() { |
|---|
| 359 | return hidden; |
|---|
| 360 | } |
|---|
| 361 | |
|---|
| 362 | /** |
|---|
| 363 | * Sets the value of the hidden property. |
|---|
| 364 | * |
|---|
| 365 | * @param value |
|---|
| 366 | * allowed object is |
|---|
| 367 | * {@link BooleanDefaultTrue } |
|---|
| 368 | * |
|---|
| 369 | */ |
|---|
| 370 | public void setHidden(BooleanDefaultTrue value) { |
|---|
| 371 | this.hidden = value; |
|---|
| 372 | } |
|---|
| 373 | |
|---|
| 374 | /** |
|---|
| 375 | * Gets the value of the uiPriority property. |
|---|
| 376 | * |
|---|
| 377 | * @return |
|---|
| 378 | * possible object is |
|---|
| 379 | * {@link Style.UiPriority } |
|---|
| 380 | * |
|---|
| 381 | */ |
|---|
| 382 | public Style.UiPriority getUiPriority() { |
|---|
| 383 | return uiPriority; |
|---|
| 384 | } |
|---|
| 385 | |
|---|
| 386 | /** |
|---|
| 387 | * Sets the value of the uiPriority property. |
|---|
| 388 | * |
|---|
| 389 | * @param value |
|---|
| 390 | * allowed object is |
|---|
| 391 | * {@link Style.UiPriority } |
|---|
| 392 | * |
|---|
| 393 | */ |
|---|
| 394 | public void setUiPriority(Style.UiPriority value) { |
|---|
| 395 | this.uiPriority = value; |
|---|
| 396 | } |
|---|
| 397 | |
|---|
| 398 | /** |
|---|
| 399 | * Gets the value of the semiHidden property. |
|---|
| 400 | * |
|---|
| 401 | * @return |
|---|
| 402 | * possible object is |
|---|
| 403 | * {@link BooleanDefaultTrue } |
|---|
| 404 | * |
|---|
| 405 | */ |
|---|
| 406 | public BooleanDefaultTrue getSemiHidden() { |
|---|
| 407 | return semiHidden; |
|---|
| 408 | } |
|---|
| 409 | |
|---|
| 410 | /** |
|---|
| 411 | * Sets the value of the semiHidden property. |
|---|
| 412 | * |
|---|
| 413 | * @param value |
|---|
| 414 | * allowed object is |
|---|
| 415 | * {@link BooleanDefaultTrue } |
|---|
| 416 | * |
|---|
| 417 | */ |
|---|
| 418 | public void setSemiHidden(BooleanDefaultTrue value) { |
|---|
| 419 | this.semiHidden = value; |
|---|
| 420 | } |
|---|
| 421 | |
|---|
| 422 | /** |
|---|
| 423 | * Gets the value of the unhideWhenUsed property. |
|---|
| 424 | * |
|---|
| 425 | * @return |
|---|
| 426 | * possible object is |
|---|
| 427 | * {@link BooleanDefaultTrue } |
|---|
| 428 | * |
|---|
| 429 | */ |
|---|
| 430 | public BooleanDefaultTrue getUnhideWhenUsed() { |
|---|
| 431 | return unhideWhenUsed; |
|---|
| 432 | } |
|---|
| 433 | |
|---|
| 434 | /** |
|---|
| 435 | * Sets the value of the unhideWhenUsed property. |
|---|
| 436 | * |
|---|
| 437 | * @param value |
|---|
| 438 | * allowed object is |
|---|
| 439 | * {@link BooleanDefaultTrue } |
|---|
| 440 | * |
|---|
| 441 | */ |
|---|
| 442 | public void setUnhideWhenUsed(BooleanDefaultTrue value) { |
|---|
| 443 | this.unhideWhenUsed = value; |
|---|
| 444 | } |
|---|
| 445 | |
|---|
| 446 | /** |
|---|
| 447 | * Gets the value of the qFormat property. |
|---|
| 448 | * |
|---|
| 449 | * @return |
|---|
| 450 | * possible object is |
|---|
| 451 | * {@link BooleanDefaultTrue } |
|---|
| 452 | * |
|---|
| 453 | */ |
|---|
| 454 | public BooleanDefaultTrue getQFormat() { |
|---|
| 455 | return qFormat; |
|---|
| 456 | } |
|---|
| 457 | |
|---|
| 458 | /** |
|---|
| 459 | * Sets the value of the qFormat property. |
|---|
| 460 | * |
|---|
| 461 | * @param value |
|---|
| 462 | * allowed object is |
|---|
| 463 | * {@link BooleanDefaultTrue } |
|---|
| 464 | * |
|---|
| 465 | */ |
|---|
| 466 | public void setQFormat(BooleanDefaultTrue value) { |
|---|
| 467 | this.qFormat = value; |
|---|
| 468 | } |
|---|
| 469 | |
|---|
| 470 | /** |
|---|
| 471 | * Gets the value of the locked property. |
|---|
| 472 | * |
|---|
| 473 | * @return |
|---|
| 474 | * possible object is |
|---|
| 475 | * {@link BooleanDefaultTrue } |
|---|
| 476 | * |
|---|
| 477 | */ |
|---|
| 478 | public BooleanDefaultTrue getLocked() { |
|---|
| 479 | return locked; |
|---|
| 480 | } |
|---|
| 481 | |
|---|
| 482 | /** |
|---|
| 483 | * Sets the value of the locked property. |
|---|
| 484 | * |
|---|
| 485 | * @param value |
|---|
| 486 | * allowed object is |
|---|
| 487 | * {@link BooleanDefaultTrue } |
|---|
| 488 | * |
|---|
| 489 | */ |
|---|
| 490 | public void setLocked(BooleanDefaultTrue value) { |
|---|
| 491 | this.locked = value; |
|---|
| 492 | } |
|---|
| 493 | |
|---|
| 494 | /** |
|---|
| 495 | * Gets the value of the personal property. |
|---|
| 496 | * |
|---|
| 497 | * @return |
|---|
| 498 | * possible object is |
|---|
| 499 | * {@link BooleanDefaultTrue } |
|---|
| 500 | * |
|---|
| 501 | */ |
|---|
| 502 | public BooleanDefaultTrue getPersonal() { |
|---|
| 503 | return personal; |
|---|
| 504 | } |
|---|
| 505 | |
|---|
| 506 | /** |
|---|
| 507 | * Sets the value of the personal property. |
|---|
| 508 | * |
|---|
| 509 | * @param value |
|---|
| 510 | * allowed object is |
|---|
| 511 | * {@link BooleanDefaultTrue } |
|---|
| 512 | * |
|---|
| 513 | */ |
|---|
| 514 | public void setPersonal(BooleanDefaultTrue value) { |
|---|
| 515 | this.personal = value; |
|---|
| 516 | } |
|---|
| 517 | |
|---|
| 518 | /** |
|---|
| 519 | * Gets the value of the personalCompose property. |
|---|
| 520 | * |
|---|
| 521 | * @return |
|---|
| 522 | * possible object is |
|---|
| 523 | * {@link BooleanDefaultTrue } |
|---|
| 524 | * |
|---|
| 525 | */ |
|---|
| 526 | public BooleanDefaultTrue getPersonalCompose() { |
|---|
| 527 | return personalCompose; |
|---|
| 528 | } |
|---|
| 529 | |
|---|
| 530 | /** |
|---|
| 531 | * Sets the value of the personalCompose property. |
|---|
| 532 | * |
|---|
| 533 | * @param value |
|---|
| 534 | * allowed object is |
|---|
| 535 | * {@link BooleanDefaultTrue } |
|---|
| 536 | * |
|---|
| 537 | */ |
|---|
| 538 | public void setPersonalCompose(BooleanDefaultTrue value) { |
|---|
| 539 | this.personalCompose = value; |
|---|
| 540 | } |
|---|
| 541 | |
|---|
| 542 | /** |
|---|
| 543 | * Gets the value of the personalReply property. |
|---|
| 544 | * |
|---|
| 545 | * @return |
|---|
| 546 | * possible object is |
|---|
| 547 | * {@link BooleanDefaultTrue } |
|---|
| 548 | * |
|---|
| 549 | */ |
|---|
| 550 | public BooleanDefaultTrue getPersonalReply() { |
|---|
| 551 | return personalReply; |
|---|
| 552 | } |
|---|
| 553 | |
|---|
| 554 | /** |
|---|
| 555 | * Sets the value of the personalReply property. |
|---|
| 556 | * |
|---|
| 557 | * @param value |
|---|
| 558 | * allowed object is |
|---|
| 559 | * {@link BooleanDefaultTrue } |
|---|
| 560 | * |
|---|
| 561 | */ |
|---|
| 562 | public void setPersonalReply(BooleanDefaultTrue value) { |
|---|
| 563 | this.personalReply = value; |
|---|
| 564 | } |
|---|
| 565 | |
|---|
| 566 | /** |
|---|
| 567 | * Gets the value of the rsid property. |
|---|
| 568 | * |
|---|
| 569 | * @return |
|---|
| 570 | * possible object is |
|---|
| 571 | * {@link CTLongHexNumber } |
|---|
| 572 | * |
|---|
| 573 | */ |
|---|
| 574 | public CTLongHexNumber getRsid() { |
|---|
| 575 | return rsid; |
|---|
| 576 | } |
|---|
| 577 | |
|---|
| 578 | /** |
|---|
| 579 | * Sets the value of the rsid property. |
|---|
| 580 | * |
|---|
| 581 | * @param value |
|---|
| 582 | * allowed object is |
|---|
| 583 | * {@link CTLongHexNumber } |
|---|
| 584 | * |
|---|
| 585 | */ |
|---|
| 586 | public void setRsid(CTLongHexNumber value) { |
|---|
| 587 | this.rsid = value; |
|---|
| 588 | } |
|---|
| 589 | |
|---|
| 590 | /** |
|---|
| 591 | * Gets the value of the pPr property. |
|---|
| 592 | * |
|---|
| 593 | * @return |
|---|
| 594 | * possible object is |
|---|
| 595 | * {@link PPr } |
|---|
| 596 | * |
|---|
| 597 | */ |
|---|
| 598 | public PPr getPPr() { |
|---|
| 599 | return pPr; |
|---|
| 600 | } |
|---|
| 601 | |
|---|
| 602 | /** |
|---|
| 603 | * Sets the value of the pPr property. |
|---|
| 604 | * |
|---|
| 605 | * @param value |
|---|
| 606 | * allowed object is |
|---|
| 607 | * {@link PPr } |
|---|
| 608 | * |
|---|
| 609 | */ |
|---|
| 610 | public void setPPr(PPr value) { |
|---|
| 611 | this.pPr = value; |
|---|
| 612 | } |
|---|
| 613 | |
|---|
| 614 | /** |
|---|
| 615 | * Gets the value of the rPr property. |
|---|
| 616 | * |
|---|
| 617 | * @return |
|---|
| 618 | * possible object is |
|---|
| 619 | * {@link RPr } |
|---|
| 620 | * |
|---|
| 621 | */ |
|---|
| 622 | public RPr getRPr() { |
|---|
| 623 | return rPr; |
|---|
| 624 | } |
|---|
| 625 | |
|---|
| 626 | /** |
|---|
| 627 | * Sets the value of the rPr property. |
|---|
| 628 | * |
|---|
| 629 | * @param value |
|---|
| 630 | * allowed object is |
|---|
| 631 | * {@link RPr } |
|---|
| 632 | * |
|---|
| 633 | */ |
|---|
| 634 | public void setRPr(RPr value) { |
|---|
| 635 | this.rPr = value; |
|---|
| 636 | } |
|---|
| 637 | |
|---|
| 638 | /** |
|---|
| 639 | * Gets the value of the tblPr property. |
|---|
| 640 | * |
|---|
| 641 | * @return |
|---|
| 642 | * possible object is |
|---|
| 643 | * {@link CTTblPrBase } |
|---|
| 644 | * |
|---|
| 645 | */ |
|---|
| 646 | public CTTblPrBase getTblPr() { |
|---|
| 647 | return tblPr; |
|---|
| 648 | } |
|---|
| 649 | |
|---|
| 650 | /** |
|---|
| 651 | * Sets the value of the tblPr property. |
|---|
| 652 | * |
|---|
| 653 | * @param value |
|---|
| 654 | * allowed object is |
|---|
| 655 | * {@link CTTblPrBase } |
|---|
| 656 | * |
|---|
| 657 | */ |
|---|
| 658 | public void setTblPr(CTTblPrBase value) { |
|---|
| 659 | this.tblPr = value; |
|---|
| 660 | } |
|---|
| 661 | |
|---|
| 662 | /** |
|---|
| 663 | * Gets the value of the trPr property. |
|---|
| 664 | * |
|---|
| 665 | * @return |
|---|
| 666 | * possible object is |
|---|
| 667 | * {@link TrPr } |
|---|
| 668 | * |
|---|
| 669 | */ |
|---|
| 670 | public TrPr getTrPr() { |
|---|
| 671 | return trPr; |
|---|
| 672 | } |
|---|
| 673 | |
|---|
| 674 | /** |
|---|
| 675 | * Sets the value of the trPr property. |
|---|
| 676 | * |
|---|
| 677 | * @param value |
|---|
| 678 | * allowed object is |
|---|
| 679 | * {@link TrPr } |
|---|
| 680 | * |
|---|
| 681 | */ |
|---|
| 682 | public void setTrPr(TrPr value) { |
|---|
| 683 | this.trPr = value; |
|---|
| 684 | } |
|---|
| 685 | |
|---|
| 686 | /** |
|---|
| 687 | * Gets the value of the tcPr property. |
|---|
| 688 | * |
|---|
| 689 | * @return |
|---|
| 690 | * possible object is |
|---|
| 691 | * {@link TcPr } |
|---|
| 692 | * |
|---|
| 693 | */ |
|---|
| 694 | public TcPr getTcPr() { |
|---|
| 695 | return tcPr; |
|---|
| 696 | } |
|---|
| 697 | |
|---|
| 698 | /** |
|---|
| 699 | * Sets the value of the tcPr property. |
|---|
| 700 | * |
|---|
| 701 | * @param value |
|---|
| 702 | * allowed object is |
|---|
| 703 | * {@link TcPr } |
|---|
| 704 | * |
|---|
| 705 | */ |
|---|
| 706 | public void setTcPr(TcPr value) { |
|---|
| 707 | this.tcPr = value; |
|---|
| 708 | } |
|---|
| 709 | |
|---|
| 710 | /** |
|---|
| 711 | * Gets the value of the tblStylePr property. |
|---|
| 712 | * |
|---|
| 713 | * <p> |
|---|
| 714 | * This accessor method returns a reference to the live list, |
|---|
| 715 | * not a snapshot. Therefore any modification you make to the |
|---|
| 716 | * returned list will be present inside the JAXB object. |
|---|
| 717 | * This is why there is not a <CODE>set</CODE> method for the tblStylePr property. |
|---|
| 718 | * |
|---|
| 719 | * <p> |
|---|
| 720 | * For example, to add a new item, do as follows: |
|---|
| 721 | * <pre> |
|---|
| 722 | * getTblStylePr().add(newItem); |
|---|
| 723 | * </pre> |
|---|
| 724 | * |
|---|
| 725 | * |
|---|
| 726 | * <p> |
|---|
| 727 | * Objects of the following type(s) are allowed in the list |
|---|
| 728 | * {@link CTTblStylePr } |
|---|
| 729 | * |
|---|
| 730 | * |
|---|
| 731 | */ |
|---|
| 732 | public List<CTTblStylePr> getTblStylePr() { |
|---|
| 733 | if (tblStylePr == null) { |
|---|
| 734 | tblStylePr = new ArrayList<CTTblStylePr>(); |
|---|
| 735 | } |
|---|
| 736 | return this.tblStylePr; |
|---|
| 737 | } |
|---|
| 738 | |
|---|
| 739 | /** |
|---|
| 740 | * Gets the value of the type property. |
|---|
| 741 | * |
|---|
| 742 | * @return |
|---|
| 743 | * possible object is |
|---|
| 744 | * {@link String } |
|---|
| 745 | * |
|---|
| 746 | */ |
|---|
| 747 | public String getType() { |
|---|
| 748 | return type; |
|---|
| 749 | } |
|---|
| 750 | |
|---|
| 751 | /** |
|---|
| 752 | * Sets the value of the type property. |
|---|
| 753 | * |
|---|
| 754 | * @param value |
|---|
| 755 | * allowed object is |
|---|
| 756 | * {@link String } |
|---|
| 757 | * |
|---|
| 758 | */ |
|---|
| 759 | public void setType(String value) { |
|---|
| 760 | this.type = value; |
|---|
| 761 | } |
|---|
| 762 | |
|---|
| 763 | /** |
|---|
| 764 | * Gets the value of the styleId property. |
|---|
| 765 | * |
|---|
| 766 | * @return |
|---|
| 767 | * possible object is |
|---|
| 768 | * {@link String } |
|---|
| 769 | * |
|---|
| 770 | */ |
|---|
| 771 | public String getStyleId() { |
|---|
| 772 | return styleId; |
|---|
| 773 | } |
|---|
| 774 | |
|---|
| 775 | /** |
|---|
| 776 | * Sets the value of the styleId property. |
|---|
| 777 | * |
|---|
| 778 | * @param value |
|---|
| 779 | * allowed object is |
|---|
| 780 | * {@link String } |
|---|
| 781 | * |
|---|
| 782 | */ |
|---|
| 783 | public void setStyleId(String value) { |
|---|
| 784 | this.styleId = value; |
|---|
| 785 | } |
|---|
| 786 | |
|---|
| 787 | /** |
|---|
| 788 | * Gets the value of the default property. |
|---|
| 789 | * |
|---|
| 790 | * @return |
|---|
| 791 | * possible object is |
|---|
| 792 | * {@link Boolean } |
|---|
| 793 | * |
|---|
| 794 | */ |
|---|
| 795 | public boolean isDefault() { |
|---|
| 796 | if (_default == null) { |
|---|
| 797 | return false; |
|---|
| 798 | } else { |
|---|
| 799 | return _default; |
|---|
| 800 | } |
|---|
| 801 | } |
|---|
| 802 | |
|---|
| 803 | /** |
|---|
| 804 | * Sets the value of the default property. |
|---|
| 805 | * |
|---|
| 806 | * @param value |
|---|
| 807 | * allowed object is |
|---|
| 808 | * {@link Boolean } |
|---|
| 809 | * |
|---|
| 810 | */ |
|---|
| 811 | public void setDefault(Boolean value) { |
|---|
| 812 | this._default = value; |
|---|
| 813 | } |
|---|
| 814 | |
|---|
| 815 | /** |
|---|
| 816 | * Gets the value of the customStyle property. |
|---|
| 817 | * |
|---|
| 818 | * @return |
|---|
| 819 | * possible object is |
|---|
| 820 | * {@link Boolean } |
|---|
| 821 | * |
|---|
| 822 | */ |
|---|
| 823 | public boolean isCustomStyle() { |
|---|
| 824 | if (customStyle == null) { |
|---|
| 825 | return true; |
|---|
| 826 | } else { |
|---|
| 827 | return customStyle; |
|---|
| 828 | } |
|---|
| 829 | } |
|---|
| 830 | |
|---|
| 831 | /** |
|---|
| 832 | * Sets the value of the customStyle property. |
|---|
| 833 | * |
|---|
| 834 | * @param value |
|---|
| 835 | * allowed object is |
|---|
| 836 | * {@link Boolean } |
|---|
| 837 | * |
|---|
| 838 | */ |
|---|
| 839 | public void setCustomStyle(Boolean value) { |
|---|
| 840 | this.customStyle = value; |
|---|
| 841 | } |
|---|
| 842 | |
|---|
| 843 | /** |
|---|
| 844 | * Gets the parent object in the object tree representing the unmarshalled xml document. |
|---|
| 845 | * |
|---|
| 846 | * @return |
|---|
| 847 | * The parent object. |
|---|
| 848 | */ |
|---|
| 849 | public Object getParent() { |
|---|
| 850 | return this.parent; |
|---|
| 851 | } |
|---|
| 852 | |
|---|
| 853 | public void setParent(Object parent) { |
|---|
| 854 | this.parent = parent; |
|---|
| 855 | } |
|---|
| 856 | |
|---|
| 857 | /** |
|---|
| 858 | * This method is invoked by the JAXB implementation on each instance when unmarshalling completes. |
|---|
| 859 | * |
|---|
| 860 | * @param parent |
|---|
| 861 | * The parent object in the object tree. |
|---|
| 862 | * @param unmarshaller |
|---|
| 863 | * The unmarshaller that generated the instance. |
|---|
| 864 | */ |
|---|
| 865 | public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) { |
|---|
| 866 | setParent(parent); |
|---|
| 867 | } |
|---|
| 868 | |
|---|
| 869 | |
|---|
| 870 | /** |
|---|
| 871 | * <p>Java class for anonymous complex type. |
|---|
| 872 | * |
|---|
| 873 | * <p>The following schema fragment specifies the expected content contained within this class. |
|---|
| 874 | * |
|---|
| 875 | * <pre> |
|---|
| 876 | * <complexType> |
|---|
| 877 | * <complexContent> |
|---|
| 878 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
|---|
| 879 | * <attribute name="val" type="{http://www.w3.org/2001/XMLSchema}string" /> |
|---|
| 880 | * </restriction> |
|---|
| 881 | * </complexContent> |
|---|
| 882 | * </complexType> |
|---|
| 883 | * </pre> |
|---|
| 884 | * |
|---|
| 885 | * |
|---|
| 886 | */ |
|---|
| 887 | @XmlAccessorType(XmlAccessType.FIELD) |
|---|
| 888 | @XmlType(name = "") |
|---|
| 889 | public static class Aliases |
|---|
| 890 | implements Child |
|---|
| 891 | { |
|---|
| 892 | |
|---|
| 893 | @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main") |
|---|
| 894 | protected String val; |
|---|
| 895 | @XmlTransient |
|---|
| 896 | private Object parent; |
|---|
| 897 | |
|---|
| 898 | /** |
|---|
| 899 | * Gets the value of the val property. |
|---|
| 900 | * |
|---|
| 901 | * @return |
|---|
| 902 | * possible object is |
|---|
| 903 | * {@link String } |
|---|
| 904 | * |
|---|
| 905 | */ |
|---|
| 906 | public String getVal() { |
|---|
| 907 | return val; |
|---|
| 908 | } |
|---|
| 909 | |
|---|
| 910 | /** |
|---|
| 911 | * Sets the value of the val property. |
|---|
| 912 | * |
|---|
| 913 | * @param value |
|---|
| 914 | * allowed object is |
|---|
| 915 | * {@link String } |
|---|
| 916 | * |
|---|
| 917 | */ |
|---|
| 918 | public void setVal(String value) { |
|---|
| 919 | this.val = value; |
|---|
| 920 | } |
|---|
| 921 | |
|---|
| 922 | /** |
|---|
| 923 | * Gets the parent object in the object tree representing the unmarshalled xml document. |
|---|
| 924 | * |
|---|
| 925 | * @return |
|---|
| 926 | * The parent object. |
|---|
| 927 | */ |
|---|
| 928 | public Object getParent() { |
|---|
| 929 | return this.parent; |
|---|
| 930 | } |
|---|
| 931 | |
|---|
| 932 | public void setParent(Object parent) { |
|---|
| 933 | this.parent = parent; |
|---|
| 934 | } |
|---|
| 935 | |
|---|
| 936 | /** |
|---|
| 937 | * This method is invoked by the JAXB implementation on each instance when unmarshalling completes. |
|---|
| 938 | * |
|---|
| 939 | * @param parent |
|---|
| 940 | * The parent object in the object tree. |
|---|
| 941 | * @param unmarshaller |
|---|
| 942 | * The unmarshaller that generated the instance. |
|---|
| 943 | */ |
|---|
| 944 | public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) { |
|---|
| 945 | setParent(parent); |
|---|
| 946 | } |
|---|
| 947 | |
|---|
| 948 | } |
|---|
| 949 | |
|---|
| 950 | |
|---|
| 951 | /** |
|---|
| 952 | * <p>Java class for anonymous complex type. |
|---|
| 953 | * |
|---|
| 954 | * <p>The following schema fragment specifies the expected content contained within this class. |
|---|
| 955 | * |
|---|
| 956 | * <pre> |
|---|
| 957 | * <complexType> |
|---|
| 958 | * <complexContent> |
|---|
| 959 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
|---|
| 960 | * <attribute name="val" type="{http://www.w3.org/2001/XMLSchema}string" /> |
|---|
| 961 | * </restriction> |
|---|
| 962 | * </complexContent> |
|---|
| 963 | * </complexType> |
|---|
| 964 | * </pre> |
|---|
| 965 | * |
|---|
| 966 | * |
|---|
| 967 | */ |
|---|
| 968 | @XmlAccessorType(XmlAccessType.FIELD) |
|---|
| 969 | @XmlType(name = "") |
|---|
| 970 | public static class BasedOn |
|---|
| 971 | implements Child |
|---|
| 972 | { |
|---|
| 973 | |
|---|
| 974 | @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main") |
|---|
| 975 | protected String val; |
|---|
| 976 | @XmlTransient |
|---|
| 977 | private Object parent; |
|---|
| 978 | |
|---|
| 979 | /** |
|---|
| 980 | * Gets the value of the val property. |
|---|
| 981 | * |
|---|
| 982 | * @return |
|---|
| 983 | * possible object is |
|---|
| 984 | * {@link String } |
|---|
| 985 | * |
|---|
| 986 | */ |
|---|
| 987 | public String getVal() { |
|---|
| 988 | return val; |
|---|
| 989 | } |
|---|
| 990 | |
|---|
| 991 | /** |
|---|
| 992 | * Sets the value of the val property. |
|---|
| 993 | * |
|---|
| 994 | * @param value |
|---|
| 995 | * allowed object is |
|---|
| 996 | * {@link String } |
|---|
| 997 | * |
|---|
| 998 | */ |
|---|
| 999 | public void setVal(String value) { |
|---|
| 1000 | this.val = value; |
|---|
| 1001 | } |
|---|
| 1002 | |
|---|
| 1003 | /** |
|---|
| 1004 | * Gets the parent object in the object tree representing the unmarshalled xml document. |
|---|
| 1005 | * |
|---|
| 1006 | * @return |
|---|
| 1007 | * The parent object. |
|---|
| 1008 | */ |
|---|
| 1009 | public Object getParent() { |
|---|
| 1010 | return this.parent; |
|---|
| 1011 | } |
|---|
| 1012 | |
|---|
| 1013 | public void setParent(Object parent) { |
|---|
| 1014 | this.parent = parent; |
|---|
| 1015 | } |
|---|
| 1016 | |
|---|
| 1017 | /** |
|---|
| 1018 | * This method is invoked by the JAXB implementation on each instance when unmarshalling completes. |
|---|
| 1019 | * |
|---|
| 1020 | * @param parent |
|---|
| 1021 | * The parent object in the object tree. |
|---|
| 1022 | * @param unmarshaller |
|---|
| 1023 | * The unmarshaller that generated the instance. |
|---|
| 1024 | */ |
|---|
| 1025 | public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) { |
|---|
| 1026 | setParent(parent); |
|---|
| 1027 | } |
|---|
| 1028 | |
|---|
| 1029 | } |
|---|
| 1030 | |
|---|
| 1031 | |
|---|
| 1032 | /** |
|---|
| 1033 | * <p>Java class for anonymous complex type. |
|---|
| 1034 | * |
|---|
| 1035 | * <p>The following schema fragment specifies the expected content contained within this class. |
|---|
| 1036 | * |
|---|
| 1037 | * <pre> |
|---|
| 1038 | * <complexType> |
|---|
| 1039 | * <complexContent> |
|---|
| 1040 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
|---|
| 1041 | * <attribute name="val" type="{http://www.w3.org/2001/XMLSchema}string" /> |
|---|
| 1042 | * </restriction> |
|---|
| 1043 | * </complexContent> |
|---|
| 1044 | * </complexType> |
|---|
| 1045 | * </pre> |
|---|
| 1046 | * |
|---|
| 1047 | * |
|---|
| 1048 | */ |
|---|
| 1049 | @XmlAccessorType(XmlAccessType.FIELD) |
|---|
| 1050 | @XmlType(name = "") |
|---|
| 1051 | public static class Link |
|---|
| 1052 | implements Child |
|---|
| 1053 | { |
|---|
| 1054 | |
|---|
| 1055 | @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main") |
|---|
| 1056 | protected String val; |
|---|
| 1057 | @XmlTransient |
|---|
| 1058 | private Object parent; |
|---|
| 1059 | |
|---|
| 1060 | /** |
|---|
| 1061 | * Gets the value of the val property. |
|---|
| 1062 | * |
|---|
| 1063 | * @return |
|---|
| 1064 | * possible object is |
|---|
| 1065 | * {@link String } |
|---|
| 1066 | * |
|---|
| 1067 | */ |
|---|
| 1068 | public String getVal() { |
|---|
| 1069 | return val; |
|---|
| 1070 | } |
|---|
| 1071 | |
|---|
| 1072 | /** |
|---|
| 1073 | * Sets the value of the val property. |
|---|
| 1074 | * |
|---|
| 1075 | * @param value |
|---|
| 1076 | * allowed object is |
|---|
| 1077 | * {@link String } |
|---|
| 1078 | * |
|---|
| 1079 | */ |
|---|
| 1080 | public void setVal(String value) { |
|---|
| 1081 | this.val = value; |
|---|
| 1082 | } |
|---|
| 1083 | |
|---|
| 1084 | /** |
|---|
| 1085 | * Gets the parent object in the object tree representing the unmarshalled xml document. |
|---|
| 1086 | * |
|---|
| 1087 | * @return |
|---|
| 1088 | * The parent object. |
|---|
| 1089 | */ |
|---|
| 1090 | public Object getParent() { |
|---|
| 1091 | return this.parent; |
|---|
| 1092 | } |
|---|
| 1093 | |
|---|
| 1094 | public void setParent(Object parent) { |
|---|
| 1095 | this.parent = parent; |
|---|
| 1096 | } |
|---|
| 1097 | |
|---|
| 1098 | /** |
|---|
| 1099 | * This method is invoked by the JAXB implementation on each instance when unmarshalling completes. |
|---|
| 1100 | * |
|---|
| 1101 | * @param parent |
|---|
| 1102 | * The parent object in the object tree. |
|---|
| 1103 | * @param unmarshaller |
|---|
| 1104 | * The unmarshaller that generated the instance. |
|---|
| 1105 | */ |
|---|
| 1106 | public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) { |
|---|
| 1107 | setParent(parent); |
|---|
| 1108 | } |
|---|
| 1109 | |
|---|
| 1110 | } |
|---|
| 1111 | |
|---|
| 1112 | |
|---|
| 1113 | /** |
|---|
| 1114 | * <p>Java class for anonymous complex type. |
|---|
| 1115 | * |
|---|
| 1116 | * <p>The following schema fragment specifies the expected content contained within this class. |
|---|
| 1117 | * |
|---|
| 1118 | * <pre> |
|---|
| 1119 | * <complexType> |
|---|
| 1120 | * <complexContent> |
|---|
| 1121 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
|---|
| 1122 | * <attribute name="val" type="{http://www.w3.org/2001/XMLSchema}string" /> |
|---|
| 1123 | * </restriction> |
|---|
| 1124 | * </complexContent> |
|---|
| 1125 | * </complexType> |
|---|
| 1126 | * </pre> |
|---|
| 1127 | * |
|---|
| 1128 | * |
|---|
| 1129 | */ |
|---|
| 1130 | @XmlAccessorType(XmlAccessType.FIELD) |
|---|
| 1131 | @XmlType(name = "") |
|---|
| 1132 | public static class Name |
|---|
| 1133 | implements Child |
|---|
| 1134 | { |
|---|
| 1135 | |
|---|
| 1136 | @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main") |
|---|
| 1137 | protected String val; |
|---|
| 1138 | @XmlTransient |
|---|
| 1139 | private Object parent; |
|---|
| 1140 | |
|---|
| 1141 | /** |
|---|
| 1142 | * Gets the value of the val property. |
|---|
| 1143 | * |
|---|
| 1144 | * @return |
|---|
| 1145 | * possible object is |
|---|
| 1146 | * {@link String } |
|---|
| 1147 | * |
|---|
| 1148 | */ |
|---|
| 1149 | public String getVal() { |
|---|
| 1150 | return val; |
|---|
| 1151 | } |
|---|
| 1152 | |
|---|
| 1153 | /** |
|---|
| 1154 | * Sets the value of the val property. |
|---|
| 1155 | * |
|---|
| 1156 | * @param value |
|---|
| 1157 | * allowed object is |
|---|
| 1158 | * {@link String } |
|---|
| 1159 | * |
|---|
| 1160 | */ |
|---|
| 1161 | public void setVal(String value) { |
|---|
| 1162 | this.val = value; |
|---|
| 1163 | } |
|---|
| 1164 | |
|---|
| 1165 | /** |
|---|
| 1166 | * Gets the parent object in the object tree representing the unmarshalled xml document. |
|---|
| 1167 | * |
|---|
| 1168 | * @return |
|---|
| 1169 | * The parent object. |
|---|
| 1170 | */ |
|---|
| 1171 | public Object getParent() { |
|---|
| 1172 | return this.parent; |
|---|
| 1173 | } |
|---|
| 1174 | |
|---|
| 1175 | public void setParent(Object parent) { |
|---|
| 1176 | this.parent = parent; |
|---|
| 1177 | } |
|---|
| 1178 | |
|---|
| 1179 | /** |
|---|
| 1180 | * This method is invoked by the JAXB implementation on each instance when unmarshalling completes. |
|---|
| 1181 | * |
|---|
| 1182 | * @param parent |
|---|
| 1183 | * The parent object in the object tree. |
|---|
| 1184 | * @param unmarshaller |
|---|
| 1185 | * The unmarshaller that generated the instance. |
|---|
| 1186 | */ |
|---|
| 1187 | public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) { |
|---|
| 1188 | setParent(parent); |
|---|
| 1189 | } |
|---|
| 1190 | |
|---|
| 1191 | } |
|---|
| 1192 | |
|---|
| 1193 | |
|---|
| 1194 | /** |
|---|
| 1195 | * <p>Java class for anonymous complex type. |
|---|
| 1196 | * |
|---|
| 1197 | * <p>The following schema fragment specifies the expected content contained within this class. |
|---|
| 1198 | * |
|---|
| 1199 | * <pre> |
|---|
| 1200 | * <complexType> |
|---|
| 1201 | * <complexContent> |
|---|
| 1202 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
|---|
| 1203 | * <attribute name="val" type="{http://www.w3.org/2001/XMLSchema}string" /> |
|---|
| 1204 | * </restriction> |
|---|
| 1205 | * </complexContent> |
|---|
| 1206 | * </complexType> |
|---|
| 1207 | * </pre> |
|---|
| 1208 | * |
|---|
| 1209 | * |
|---|
| 1210 | */ |
|---|
| 1211 | @XmlAccessorType(XmlAccessType.FIELD) |
|---|
| 1212 | @XmlType(name = "") |
|---|
| 1213 | public static class Next |
|---|
| 1214 | implements Child |
|---|
| 1215 | { |
|---|
| 1216 | |
|---|
| 1217 | @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main") |
|---|
| 1218 | protected String val; |
|---|
| 1219 | @XmlTransient |
|---|
| 1220 | private Object parent; |
|---|
| 1221 | |
|---|
| 1222 | /** |
|---|
| 1223 | * Gets the value of the val property. |
|---|
| 1224 | * |
|---|
| 1225 | * @return |
|---|
| 1226 | * possible object is |
|---|
| 1227 | * {@link String } |
|---|
| 1228 | * |
|---|
| 1229 | */ |
|---|
| 1230 | public String getVal() { |
|---|
| 1231 | return val; |
|---|
| 1232 | } |
|---|
| 1233 | |
|---|
| 1234 | /** |
|---|
| 1235 | * Sets the value of the val property. |
|---|
| 1236 | * |
|---|
| 1237 | * @param value |
|---|
| 1238 | * allowed object is |
|---|
| 1239 | * {@link String } |
|---|
| 1240 | * |
|---|
| 1241 | */ |
|---|
| 1242 | public void setVal(String value) { |
|---|
| 1243 | this.val = value; |
|---|
| 1244 | } |
|---|
| 1245 | |
|---|
| 1246 | /** |
|---|
| 1247 | * Gets the parent object in the object tree representing the unmarshalled xml document. |
|---|
| 1248 | * |
|---|
| 1249 | * @return |
|---|
| 1250 | * The parent object. |
|---|
| 1251 | */ |
|---|
| 1252 | public Object getParent() { |
|---|
| 1253 | return this.parent; |
|---|
| 1254 | } |
|---|
| 1255 | |
|---|
| 1256 | public void setParent(Object parent) { |
|---|
| 1257 | this.parent = parent; |
|---|
| 1258 | } |
|---|
| 1259 | |
|---|
| 1260 | /** |
|---|
| 1261 | * This method is invoked by the JAXB implementation on each instance when unmarshalling completes. |
|---|
| 1262 | * |
|---|
| 1263 | * @param parent |
|---|
| 1264 | * The parent object in the object tree. |
|---|
| 1265 | * @param unmarshaller |
|---|
| 1266 | * The unmarshaller that generated the instance. |
|---|
| 1267 | */ |
|---|
| 1268 | public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) { |
|---|
| 1269 | setParent(parent); |
|---|
| 1270 | } |
|---|
| 1271 | |
|---|
| 1272 | } |
|---|
| 1273 | |
|---|
| 1274 | |
|---|
| 1275 | /** |
|---|
| 1276 | * <p>Java class for anonymous complex type. |
|---|
| 1277 | * |
|---|
| 1278 | * <p>The following schema fragment specifies the expected content contained within this class. |
|---|
| 1279 | * |
|---|
| 1280 | * <pre> |
|---|
| 1281 | * <complexType> |
|---|
| 1282 | * <complexContent> |
|---|
| 1283 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
|---|
| 1284 | * <attribute name="val" use="required"> |
|---|
| 1285 | * <simpleType> |
|---|
| 1286 | * <restriction base="{http://www.w3.org/2001/XMLSchema}integer"> |
|---|
| 1287 | * </restriction> |
|---|
| 1288 | * </simpleType> |
|---|
| 1289 | * </attribute> |
|---|
| 1290 | * </restriction> |
|---|
| 1291 | * </complexContent> |
|---|
| 1292 | * </complexType> |
|---|
| 1293 | * </pre> |
|---|
| 1294 | * |
|---|
| 1295 | * |
|---|
| 1296 | */ |
|---|
| 1297 | @XmlAccessorType(XmlAccessType.FIELD) |
|---|
| 1298 | @XmlType(name = "") |
|---|
| 1299 | public static class UiPriority |
|---|
| 1300 | implements Child |
|---|
| 1301 | { |
|---|
| 1302 | |
|---|
| 1303 | @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", required = true) |
|---|
| 1304 | protected BigInteger val; |
|---|
| 1305 | @XmlTransient |
|---|
| 1306 | private Object parent; |
|---|
| 1307 | |
|---|
| 1308 | /** |
|---|
| 1309 | * Gets the value of the val property. |
|---|
| 1310 | * |
|---|
| 1311 | * @return |
|---|
| 1312 | * possible object is |
|---|
| 1313 | * {@link BigInteger } |
|---|
| 1314 | * |
|---|
| 1315 | */ |
|---|
| 1316 | public BigInteger getVal() { |
|---|
| 1317 | return val; |
|---|
| 1318 | } |
|---|
| 1319 | |
|---|
| 1320 | /** |
|---|
| 1321 | * Sets the value of the val property. |
|---|
| 1322 | * |
|---|
| 1323 | * @param value |
|---|
| 1324 | * allowed object is |
|---|
| 1325 | * {@link BigInteger } |
|---|
| 1326 | * |
|---|
| 1327 | */ |
|---|
| 1328 | public void setVal(BigInteger value) { |
|---|
| 1329 | this.val = value; |
|---|
| 1330 | } |
|---|
| 1331 | |
|---|
| 1332 | /** |
|---|
| 1333 | * Gets the parent object in the object tree representing the unmarshalled xml document. |
|---|
| 1334 | * |
|---|
| 1335 | * @return |
|---|
| 1336 | * The parent object. |
|---|
| 1337 | */ |
|---|
| 1338 | public Object getParent() { |
|---|
| 1339 | return this.parent; |
|---|
| 1340 | } |
|---|
| 1341 | |
|---|
| 1342 | public void setParent(Object parent) { |
|---|
| 1343 | this.parent = parent; |
|---|
| 1344 | } |
|---|
| 1345 | |
|---|
| 1346 | /** |
|---|
| 1347 | * This method is invoked by the JAXB implementation on each instance when unmarshalling completes. |
|---|
| 1348 | * |
|---|
| 1349 | * @param parent |
|---|
| 1350 | * The parent object in the object tree. |
|---|
| 1351 | * @param unmarshaller |
|---|
| 1352 | * The unmarshaller that generated the instance. |
|---|
| 1353 | */ |
|---|
| 1354 | public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) { |
|---|
| 1355 | setParent(parent); |
|---|
| 1356 | } |
|---|
| 1357 | |
|---|
| 1358 | } |
|---|
| 1359 | |
|---|
| 1360 | } |
|---|