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.dml.spreadsheetdrawing;
 

Java class for CT_TwoCellAnchor complex type.

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

 <complexType name="CT_TwoCellAnchor">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="from" type="{http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing}CT_Marker"/>
         <element name="to" type="{http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing}CT_Marker"/>
         <group ref="{http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing}EG_ObjectChoices"/>
         <element name="clientData" type="{http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing}CT_AnchorClientData"/>
       </sequence>
       <attribute name="editAs" type="{http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing}ST_EditAs" default="twoCell" />
     </restriction>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "CT_TwoCellAnchor", propOrder = {
     "from",
     "to",
     "sp",
     "grpSp",
     "graphicFrame",
     "cxnSp",
     "pic",
     "clientData"
 })
 public class CTTwoCellAnchor {
 
     @XmlElement(required = true)
     protected CTMarker from;
     @XmlElement(required = true)
     protected CTMarker to;
     protected CTShape sp;
     protected CTGroupShape grpSp;
     protected CTGraphicalObjectFrame graphicFrame;
     protected CTConnector cxnSp;
     protected CTPicture pic;
     @XmlElement(required = true)
     protected CTAnchorClientData clientData;
     @XmlAttribute
     protected STEditAs editAs;

    
Gets the value of the from property.

Returns:
possible object is
 
     public CTMarker getFrom() {
         return ;
     }

    
Sets the value of the from property.

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

    
Gets the value of the to property.

Returns:
possible object is
    public CTMarker getTo() {
        return ;
    }

    
Sets the value of the to property.

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

    
Gets the value of the sp property.

Returns:
possible object is
    public CTShape getSp() {
        return ;
    }

    
Sets the value of the sp property.

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

    
Gets the value of the grpSp property.

Returns:
possible object is
    public CTGroupShape getGrpSp() {
        return ;
    }

    
Sets the value of the grpSp property.

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

    
Gets the value of the graphicFrame property.

Returns:
possible object is
        return ;
    }

    
Sets the value of the graphicFrame property.

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

    
Gets the value of the cxnSp property.

Returns:
possible object is
    public CTConnector getCxnSp() {
        return ;
    }

    
Sets the value of the cxnSp property.

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

    
Gets the value of the pic property.

Returns:
possible object is
    public CTPicture getPic() {
        return ;
    }

    
Sets the value of the pic property.

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

    
Gets the value of the clientData property.

Returns:
possible object is
    public CTAnchorClientData getClientData() {
        return ;
    }

    
Sets the value of the clientData property.

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

    
Gets the value of the editAs property.

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

    
Sets the value of the editAs property.

Parameters:
value allowed object is
    public void setEditAs(STEditAs value) {
        this. = value;
    }
New to GrepCode? Check out our FAQ X