Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   *  Copyright 2007-2008, 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.vml.officedrawing;
 

Java class for CT_Diagram complex type.

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

 <complexType name="CT_Diagram">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="relationtable" type="{urn:schemas-microsoft-com:office:office}CT_RelationTable" minOccurs="0"/>
       </sequence>
       <attGroup ref="{urn:schemas-microsoft-com:vml}AG_Ext"/>
       <attribute name="dgmstyle" type="{http://www.w3.org/2001/XMLSchema}integer" />
       <attribute name="autoformat" type="{urn:schemas-microsoft-com:office:office}ST_TrueFalse" />
       <attribute name="reverse" type="{urn:schemas-microsoft-com:office:office}ST_TrueFalse" />
       <attribute name="autolayout" type="{urn:schemas-microsoft-com:office:office}ST_TrueFalse" />
       <attribute name="dgmscalex" type="{http://www.w3.org/2001/XMLSchema}integer" />
       <attribute name="dgmscaley" type="{http://www.w3.org/2001/XMLSchema}integer" />
       <attribute name="dgmfontsize" type="{http://www.w3.org/2001/XMLSchema}integer" />
       <attribute name="constrainbounds" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="dgmbasetextscale" type="{http://www.w3.org/2001/XMLSchema}integer" />
     </restriction>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "CT_Diagram", propOrder = {
     "relationtable"
 })
 public class CTDiagram implements Child
 {
 
     protected CTRelationTable relationtable;
     @XmlAttribute(name = "dgmstyle")
     protected BigInteger dgmstyle;
     @XmlAttribute(name = "autoformat")
     protected STTrueFalse autoformat;
     @XmlAttribute(name = "reverse")
     protected STTrueFalse reverse;
     @XmlAttribute(name = "autolayout")
     protected STTrueFalse autolayout;
     @XmlAttribute(name = "dgmscalex")
     protected BigInteger dgmscalex;
     @XmlAttribute(name = "dgmscaley")
     protected BigInteger dgmscaley;
     @XmlAttribute(name = "dgmfontsize")
     protected BigInteger dgmfontsize;
     @XmlAttribute(name = "constrainbounds")
     protected String constrainbounds;
     @XmlAttribute(name = "dgmbasetextscale")
     protected BigInteger dgmbasetextscale;
     @XmlAttribute(name = "ext", namespace = "urn:schemas-microsoft-com:vml")
     protected STExt ext;
     @XmlTransient
     private Object parent;

    
Gets the value of the relationtable property.

Returns:
possible object is
    public CTRelationTable getRelationtable() {
        return ;
    }

    
Sets the value of the relationtable property.

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

    
Gets the value of the dgmstyle property.

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

    
Sets the value of the dgmstyle property.

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

    
Gets the value of the autoformat property.

Returns:
possible object is
    public STTrueFalse getAutoformat() {
        return ;
    }

    
Sets the value of the autoformat property.

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

    
Gets the value of the reverse property.

Returns:
possible object is
    public STTrueFalse getReverse() {
        return ;
    }

    
Sets the value of the reverse property.

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

    
Gets the value of the autolayout property.

Returns:
possible object is
    public STTrueFalse getAutolayout() {
        return ;
    }

    
Sets the value of the autolayout property.

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

    
Gets the value of the dgmscalex property.

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

    
Sets the value of the dgmscalex property.

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

    
Gets the value of the dgmscaley property.

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

    
Sets the value of the dgmscaley property.

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

    
Gets the value of the dgmfontsize property.

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

    
Sets the value of the dgmfontsize property.

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

    
Gets the value of the constrainbounds property.

Returns:
possible object is
    public String getConstrainbounds() {
        return ;
    }

    
Sets the value of the constrainbounds property.

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

    
Gets the value of the dgmbasetextscale property.

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

    
Sets the value of the dgmbasetextscale property.

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

    
Gets the value of the ext property.

Returns:
possible object is
    public STExt getExt() {
        return ;
    }

    
Sets the value of the ext property.

Parameters:
value allowed object is
    public void setExt(STExt 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