Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   *  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; 
 
 

Java class for CT_TblPPr complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="CT_TblPPr">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="leftFromText" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_TwipsMeasure" />
       <attribute name="rightFromText" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_TwipsMeasure" />
       <attribute name="topFromText" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_TwipsMeasure" />
       <attribute name="bottomFromText" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_TwipsMeasure" />
       <attribute name="vertAnchor" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_VAnchor" />
       <attribute name="horzAnchor" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_HAnchor" />
       <attribute name="tblpXSpec" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_XAlign" />
       <attribute name="tblpX" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_SignedTwipsMeasure" />
       <attribute name="tblpYSpec" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_YAlign" />
       <attribute name="tblpY" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_SignedTwipsMeasure" />
     </restriction>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "CT_TblPPr")
 public class CTTblPPr implements Child
 {
 
     @XmlAttribute(name = "leftFromText", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
     protected BigInteger leftFromText;
     @XmlAttribute(name = "rightFromText", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
     protected BigInteger rightFromText;
     @XmlAttribute(name = "topFromText", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
     protected BigInteger topFromText;
     @XmlAttribute(name = "bottomFromText", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
     protected BigInteger bottomFromText;
     @XmlAttribute(name = "vertAnchor", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
     protected STVAnchor vertAnchor;
     @XmlAttribute(name = "horzAnchor", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
     protected STHAnchor horzAnchor;
     @XmlAttribute(name = "tblpXSpec", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
     protected STXAlign tblpXSpec;
     @XmlAttribute(name = "tblpX", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
     protected BigInteger tblpX;
     @XmlAttribute(name = "tblpYSpec", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
     protected STYAlign tblpYSpec;
     @XmlAttribute(name = "tblpY", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
     protected BigInteger tblpY;
     @XmlTransient
     private Object parent;

    
Gets the value of the leftFromText property.

Returns:
possible object is
 
     public BigInteger getLeftFromText() {
         return ;
     }

    
Sets the value of the leftFromText property.

Parameters:
value allowed object is
    public void setLeftFromText(BigInteger value) {
        this. = value;
    }

    
Gets the value of the rightFromText property.

Returns:
possible object is
    public BigInteger getRightFromText() {
        return ;
    }

    
Sets the value of the rightFromText property.

Parameters:
value allowed object is
    public void setRightFromText(BigInteger value) {
        this. = value;
    }

    
Gets the value of the topFromText property.

Returns:
possible object is
    public BigInteger getTopFromText() {
        return ;
    }

    
Sets the value of the topFromText property.

Parameters:
value allowed object is
    public void setTopFromText(BigInteger value) {
        this. = value;
    }

    
Gets the value of the bottomFromText property.

Returns:
possible object is
    public BigInteger getBottomFromText() {
        return ;
    }

    
Sets the value of the bottomFromText property.

Parameters:
value allowed object is
    public void setBottomFromText(BigInteger value) {
        this. = value;
    }

    
Gets the value of the vertAnchor property.

Returns:
possible object is
    public STVAnchor getVertAnchor() {
        return ;
    }

    
Sets the value of the vertAnchor property.

Parameters:
value allowed object is
    public void setVertAnchor(STVAnchor value) {
        this. = value;
    }

    
Gets the value of the horzAnchor property.

Returns:
possible object is
    public STHAnchor getHorzAnchor() {
        return ;
    }

    
Sets the value of the horzAnchor property.

Parameters:
value allowed object is
    public void setHorzAnchor(STHAnchor value) {
        this. = value;
    }

    
Gets the value of the tblpXSpec property.

Returns:
possible object is
    public STXAlign getTblpXSpec() {
        return ;
    }

    
Sets the value of the tblpXSpec property.

Parameters:
value allowed object is
    public void setTblpXSpec(STXAlign value) {
        this. = value;
    }

    
Gets the value of the tblpX property.

Returns:
possible object is
    public BigInteger getTblpX() {
        return ;
    }

    
Sets the value of the tblpX property.

Parameters:
value allowed object is
    public void setTblpX(BigInteger value) {
        this. = value;
    }

    
Gets the value of the tblpYSpec property.

Returns:
possible object is
    public STYAlign getTblpYSpec() {
        return ;
    }

    
Sets the value of the tblpYSpec property.

Parameters:
value allowed object is
    public void setTblpYSpec(STYAlign value) {
        this. = value;
    }

    
Gets the value of the tblpY property.

Returns:
possible object is
    public BigInteger getTblpY() {
        return ;
    }

    
Sets the value of the tblpY property.

Parameters:
value allowed object is
    public void setTblpY(BigInteger value) {
        this. = value;
    }

    
Gets the parent object in the object tree representing the unmarshalled xml document.

Returns:
The parent object.
    public Object getParent() {
        return this.;
    }
    public void setParent(Object parent) {
        this. = parent;
    }

    
This method is invoked by the JAXB implementation on each instance when unmarshalling completes.

Parameters:
parent The parent object in the object tree.
unmarshaller The unmarshaller that generated the instance.
    public void afterUnmarshal(Unmarshaller unmarshallerObject parent) {
        setParent(parent);
    }
New to GrepCode? Check out our FAQ X