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_Callout complex type.

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

 <complexType name="CT_Callout">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attGroup ref="{urn:schemas-microsoft-com:vml}AG_Ext"/>
       <attribute name="on" type="{urn:schemas-microsoft-com:office:office}ST_TrueFalse" />
       <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="gap" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="angle" type="{urn:schemas-microsoft-com:office:office}ST_Angle" />
       <attribute name="dropauto" type="{urn:schemas-microsoft-com:office:office}ST_TrueFalse" />
       <attribute name="drop" type="{urn:schemas-microsoft-com:office:office}ST_CalloutDrop" />
       <attribute name="distance" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="lengthspecified" type="{urn:schemas-microsoft-com:office:office}ST_TrueFalse" default="f" />
       <attribute name="length" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="accentbar" type="{urn:schemas-microsoft-com:office:office}ST_TrueFalse" />
       <attribute name="textborder" type="{urn:schemas-microsoft-com:office:office}ST_TrueFalse" />
       <attribute name="minusx" type="{urn:schemas-microsoft-com:office:office}ST_TrueFalse" />
       <attribute name="minusy" type="{urn:schemas-microsoft-com:office:office}ST_TrueFalse" />
     </restriction>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "CT_Callout")
 public class CTCallout implements Child
 {
 
     @XmlAttribute(name = "on")
     protected STTrueFalse on;
     @XmlAttribute(name = "type")
     protected String type;
     @XmlAttribute(name = "gap")
     protected String gap;
     @XmlAttribute(name = "angle")
     protected String angle;
     @XmlAttribute(name = "dropauto")
     protected STTrueFalse dropauto;
     @XmlAttribute(name = "drop")
     protected String drop;
     @XmlAttribute(name = "distance")
     protected String distance;
     @XmlAttribute(name = "lengthspecified")
     protected STTrueFalse lengthspecified;
     @XmlAttribute(name = "length")
     protected String length;
     @XmlAttribute(name = "accentbar")
     protected STTrueFalse accentbar;
     @XmlAttribute(name = "textborder")
     protected STTrueFalse textborder;
     @XmlAttribute(name = "minusx")
     protected STTrueFalse minusx;
     @XmlAttribute(name = "minusy")
     protected STTrueFalse minusy;
     @XmlAttribute(name = "ext", namespace = "urn:schemas-microsoft-com:vml")
     protected STExt ext;
     @XmlTransient
     private Object parent;

    
Gets the value of the on property.

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

    
Sets the value of the on property.

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

    
Gets the value of the type property.

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

    
Sets the value of the type property.

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

    
Gets the value of the gap property.

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

    
Sets the value of the gap property.

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

    
Gets the value of the angle property.

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

    
Sets the value of the angle property.

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

    
Gets the value of the dropauto property.

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

    
Sets the value of the dropauto property.

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

    
Gets the value of the drop property.

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

    
Sets the value of the drop property.

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

    
Gets the value of the distance property.

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

    
Sets the value of the distance property.

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

    
Gets the value of the lengthspecified property.

Returns:
possible object is
    public STTrueFalse getLengthspecified() {
        if ( == null) {
            return .;
        } else {
            return ;
        }
    }

    
Sets the value of the lengthspecified property.

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

    
Gets the value of the length property.

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

    
Sets the value of the length property.

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

    
Gets the value of the accentbar property.

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

    
Sets the value of the accentbar property.

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

    
Gets the value of the textborder property.

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

    
Sets the value of the textborder property.

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

    
Gets the value of the minusx property.

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

    
Sets the value of the minusx property.

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

    
Gets the value of the minusy property.

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

    
Sets the value of the minusy property.

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