/* * Copyright 2007-2013, Plutext Pty Ltd. * * This file is part of docx4j. docx4j is licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package org.docx4j.wml; import javax.xml.bind.Unmarshaller; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlTransient; import javax.xml.bind.annotation.XmlType; import org.jvnet.jaxb2_commons.ppp.Child; /** * <p>Java class for CT_TblPrExBase complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="CT_TblPrExBase"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="tblW" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_TblWidth" minOccurs="0"/> * <element name="jc" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Jc" minOccurs="0"/> * <element name="tblCellSpacing" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_TblWidth" minOccurs="0"/> * <element name="tblInd" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_TblWidth" minOccurs="0"/> * <element name="tblBorders" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_TblBorders" minOccurs="0"/> * <element name="shd" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Shd" minOccurs="0"/> * <element name="tblLayout" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_TblLayoutType" minOccurs="0"/> * <element name="tblCellMar" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_TblCellMar" minOccurs="0"/> * <element name="tblLook" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_TblLook" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "CT_TblPrExBase", propOrder = { "tblW", "jc", "tblCellSpacing", "tblInd", "tblBorders", "shd", "tblLayout", "tblCellMar", "tblLook", "tblCaption" }) public class CTTblPrExBase implements Child { protected TblWidth tblW; protected Jc jc; protected TblWidth tblCellSpacing; protected TblWidth tblInd; protected TblBorders tblBorders; protected CTShd shd; protected CTTblLayoutType tblLayout; protected CTTblCellMar tblCellMar; protected CTTblLook tblLook; protected CTString tblCaption; @XmlTransient private Object parent; /** * Gets the value of the tblW property. * * @return * possible object is * {@link TblWidth } * */ public TblWidth getTblW() { return tblW; } /** * Sets the value of the tblW property. * * @param value * allowed object is * {@link TblWidth } * */ public void setTblW(TblWidth value) { this.tblW = value; } /** * Gets the value of the jc property. * * @return * possible object is * {@link Jc } * */ public Jc getJc() { return jc; } /** * Sets the value of the jc property. * * @param value * allowed object is * {@link Jc } * */ public void setJc(Jc value) { this.jc = value; } /** * Gets the value of the tblCellSpacing property. * * @return * possible object is * {@link TblWidth } * */ public TblWidth getTblCellSpacing() { return tblCellSpacing; } /** * Sets the value of the tblCellSpacing property. * * @param value * allowed object is * {@link TblWidth } * */ public void setTblCellSpacing(TblWidth value) { this.tblCellSpacing = value; } /** * Gets the value of the tblInd property. * * @return * possible object is * {@link TblWidth } * */ public TblWidth getTblInd() { return tblInd; } /** * Sets the value of the tblInd property. * * @param value * allowed object is * {@link TblWidth } * */ public void setTblInd(TblWidth value) { this.tblInd = value; } /** * Gets the value of the tblBorders property. * * @return * possible object is * {@link TblBorders } * */ public TblBorders getTblBorders() { return tblBorders; } /** * Sets the value of the tblBorders property. * * @param value * allowed object is * {@link TblBorders } * */ public void setTblBorders(TblBorders value) { this.tblBorders = value; } /** * Gets the value of the shd property. * * @return * possible object is * {@link CTShd } * */ public CTShd getShd() { return shd; } /** * Sets the value of the shd property. * * @param value * allowed object is * {@link CTShd } * */ public void setShd(CTShd value) { this.shd = value; } /** * Gets the value of the tblLayout property. * * @return * possible object is * {@link CTTblLayoutType } * */ public CTTblLayoutType getTblLayout() { return tblLayout; } /** * Sets the value of the tblLayout property. * * @param value * allowed object is * {@link CTTblLayoutType } * */ public void setTblLayout(CTTblLayoutType value) { this.tblLayout = value; } /** * Gets the value of the tblCellMar property. * * @return * possible object is * {@link CTTblCellMar } * */ public CTTblCellMar getTblCellMar() { return tblCellMar; } /** * Sets the value of the tblCellMar property. * * @param value * allowed object is * {@link CTTblCellMar } * */ public void setTblCellMar(CTTblCellMar value) { this.tblCellMar = value; } /** * Gets the value of the tblLook property. * * @return * possible object is * {@link CTTblLook } * */ public CTTblLook getTblLook() { return tblLook; } /** * Sets the value of the tblLook property. * * @param value * allowed object is * {@link CTTblLook } * */ public void setTblLook(CTTblLook value) { this.tblLook = value; } /** * Gets the value of the tblCaption property. * * @return * possible object is * {@link CTString } * */ public CTString getTblCaption() { return tblCaption; } /** * Sets the value of the tblCaption property. * * @param value * allowed object is * {@link CTString } * */ public void setTblCaption(CTString value) { this.tblCaption = value; } /** * Gets the parent object in the object tree representing the unmarshalled xml document. * * @return * The parent object. */ public Object getParent() { return this.parent; } public void setParent(Object parent) { this.parent = parent; } /** * This method is invoked by the JAXB implementation on each instance when unmarshalling completes. * * @param parent * The parent object in the object tree. * @param unmarshaller * The unmarshaller that generated the instance. */ public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) { setParent(parent); } }