Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   *  Copyright 2010-2013, Plutext Pty Ltd.
   *   
   *  This file is part of xlsx4j, a component 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.xlsx4j.sml;
 

Java class for CT_ControlPr complex type.

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

 <complexType name="CT_ControlPr">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="anchor" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ObjectAnchor"/>
       </sequence>
       <attribute name="locked" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
       <attribute name="defaultSize" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
       <attribute name="print" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
       <attribute name="disabled" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="recalcAlways" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="uiObject" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="autoFill" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
       <attribute name="autoLine" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
       <attribute name="autoPict" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
       <attribute name="macro" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Formula" />
       <attribute name="altText" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
       <attribute name="linkedCell" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Formula" />
       <attribute name="listFillRange" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Formula" />
       <attribute name="cf" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" default="pict" />
       <attribute ref="{http://schemas.openxmlformats.org/officeDocument/2006/relationships}id"/>
     </restriction>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "CT_ControlPr", propOrder = {
     "anchor"
 })
 public class CTControlPr implements Child
 {
 
     @XmlElement(required = true)
     protected CTObjectAnchor anchor;
     @XmlAttribute(name = "locked")
     protected Boolean locked;
     @XmlAttribute(name = "defaultSize")
     protected Boolean defaultSize;
     @XmlAttribute(name = "print")
     protected Boolean print;
     @XmlAttribute(name = "disabled")
     protected Boolean disabled;
     @XmlAttribute(name = "recalcAlways")
     protected Boolean recalcAlways;
     @XmlAttribute(name = "uiObject")
     protected Boolean uiObject;
     @XmlAttribute(name = "autoFill")
     protected Boolean autoFill;
     @XmlAttribute(name = "autoLine")
     protected Boolean autoLine;
     @XmlAttribute(name = "autoPict")
     protected Boolean autoPict;
     @XmlAttribute(name = "macro")
     protected String macro;
     @XmlAttribute(name = "altText")
     protected String altText;
     @XmlAttribute(name = "linkedCell")
     protected String linkedCell;
     @XmlAttribute(name = "listFillRange")
    protected String listFillRange;
    @XmlAttribute(name = "cf")
    protected String cf;
    @XmlAttribute(name = "id", namespace = "http://schemas.openxmlformats.org/officeDocument/2006/relationships")
    protected String id;
    private Object parent;

    
Gets the value of the anchor property.

Returns:
possible object is
    public CTObjectAnchor getAnchor() {
        return ;
    }

    
Sets the value of the anchor property.

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

    
Gets the value of the locked property.

Returns:
possible object is
    public boolean isLocked() {
        if ( == null) {
            return true;
        } else {
            return ;
        }
    }

    
Sets the value of the locked property.

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

    
Gets the value of the defaultSize property.

Returns:
possible object is
    public boolean isDefaultSize() {
        if ( == null) {
            return true;
        } else {
            return ;
        }
    }

    
Sets the value of the defaultSize property.

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

    
Gets the value of the print property.

Returns:
possible object is
    public boolean isPrint() {
        if ( == null) {
            return true;
        } else {
            return ;
        }
    }

    
Sets the value of the print property.

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

    
Gets the value of the disabled property.

Returns:
possible object is
    public boolean isDisabled() {
        if ( == null) {
            return false;
        } else {
            return ;
        }
    }

    
Sets the value of the disabled property.

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

    
Gets the value of the recalcAlways property.

Returns:
possible object is
    public boolean isRecalcAlways() {
        if ( == null) {
            return false;
        } else {
            return ;
        }
    }

    
Sets the value of the recalcAlways property.

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

    
Gets the value of the uiObject property.

Returns:
possible object is
    public boolean isUiObject() {
        if ( == null) {
            return false;
        } else {
            return ;
        }
    }

    
Sets the value of the uiObject property.

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

    
Gets the value of the autoFill property.

Returns:
possible object is
    public boolean isAutoFill() {
        if ( == null) {
            return true;
        } else {
            return ;
        }
    }

    
Sets the value of the autoFill property.

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

    
Gets the value of the autoLine property.

Returns:
possible object is
    public boolean isAutoLine() {
        if ( == null) {
            return true;
        } else {
            return ;
        }
    }

    
Sets the value of the autoLine property.

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

    
Gets the value of the autoPict property.

Returns:
possible object is
    public boolean isAutoPict() {
        if ( == null) {
            return true;
        } else {
            return ;
        }
    }

    
Sets the value of the autoPict property.

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

    
Gets the value of the macro property.

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

    
Sets the value of the macro property.

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

    
Gets the value of the altText property.

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

    
Sets the value of the altText property.

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

    
Gets the value of the linkedCell property.

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

    
Sets the value of the linkedCell property.

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

    
Gets the value of the listFillRange property.

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

    
Sets the value of the listFillRange property.

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

    
Gets the value of the cf property.

Returns:
possible object is
    public String getCf() {
        if ( == null) {
            return "pict";
        } else {
            return ;
        }
    }

    
Sets the value of the cf property.

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

    
Gets the value of the id property.

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

    
Sets the value of the id property.

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