Source for file SpContainer.php
Documentation is available at SpContainer.php 
 * Copyright (c) 2006 - 2010 PHPExcel  
 * This library is free software; you can redistribute it and/or  
 * modify it under the terms of the GNU Lesser General Public  
 * License as published by the Free Software Foundation; either  
 * version 2.1 of the License, or (at your option) any later version.  
 * This library is distributed in the hope that it will be useful,  
 * but WITHOUT ANY WARRANTY; without even the implied warranty of  
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU  
 * Lesser General Public License for more details.  
 * You should have received a copy of the GNU Lesser General Public  
 * License along with this library; if not, write to the Free Software  
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA  
 * @package    PHPExcel_Shared_Escher  
 * @copyright  Copyright (c) 2006 - 2010 PHPExcel (http://www.codeplex.com/PHPExcel)  
 * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL  
 * @version    1.7.3c, 2010-06-01  
 * PHPExcel_Shared_Escher_DgContainer_SpgrContainer_SpContainer  
 * @package    PHPExcel_Shared_Escher  
 * @copyright  Copyright (c) 2006 - 2010 PHPExcel (http://www.codeplex.com/PHPExcel)  
     * Parent Shape Group Container  
     * @var PHPExcel_Shared_Escher_DgContainer_SpgrContainer   
     * Shape index (usually group shape has index 0, and the rest: 1,2,3...)  
     * Cell coordinates of upper-left corner of shape, e.g. 'A1'  
    private $_startCoordinates;  
     * Horizontal offset of upper-left corner of shape measured in 1/1024 of column width  
     * Vertical offset of upper-left corner of shape measured in 1/256 of row height  
     * Cell coordinates of bottom-right corner of shape, e.g. 'B2'  
    private $_endCoordinates;  
     * Horizontal offset of bottom-right corner of shape measured in 1/1024 of column width  
     * Vertical offset of bottom-right corner of shape measured in 1/256 of row height  
     * Set parent Shape Group Container  
     * @param PHPExcel_Shared_Escher_DgContainer_SpgrContainer $parent   
        $this->_parent =  $parent;  
     * Get the parent Shape Group Container  
     * @return PHPExcel_Shared_Escher_DgContainer_SpgrContainer   
     * Set whether this is a group shape  
    public function setSpgr($value =  false)  
     * Get whether this is a group shape  
     * Set an option for the Shape Group Container  
     * @param int $property The number specifies the option  
    public function setOPT($property, $value)  
        $this->_OPT[$property] =  $value;  
     * Get an option for the Shape Group Container  
     * @param int $property The number specifies the option  
    public function getOPT($property)  
        if (isset ($this->_OPT[$property])) {  
            return $this->_OPT[$property];  
     * Get the collection of options  
     * Set cell coordinates of upper-left corner of shape  
        $this->_startCoordinates =  $value;  
     * Get cell coordinates of upper-left corner of shape  
        return $this->_startCoordinates;  
     * Set offset in x-direction of upper-left corner of shape measured in 1/1024 of column width  
     * @param int $startOffsetX   
        $this->_startOffsetX =  $startOffsetX;  
     * Get offset in x-direction of upper-left corner of shape measured in 1/1024 of column width  
        return $this->_startOffsetX;  
     * Set offset in y-direction of upper-left corner of shape measured in 1/256 of row height  
     * @param int $startOffsetY   
        $this->_startOffsetY =  $startOffsetY;  
     * Get offset in y-direction of upper-left corner of shape measured in 1/256 of row height  
        return $this->_startOffsetY;  
     * Set cell coordinates of bottom-right corner of shape  
        $this->_endCoordinates =  $value;  
     * Get cell coordinates of bottom-right corner of shape  
        return $this->_endCoordinates;  
     * Set offset in x-direction of bottom-right corner of shape measured in 1/1024 of column width  
     * @param int $startOffsetX   
        $this->_endOffsetX =  $endOffsetX;  
     * Get offset in x-direction of bottom-right corner of shape measured in 1/1024 of column width  
        return $this->_endOffsetX;  
     * Set offset in y-direction of bottom-right corner of shape measured in 1/256 of row height  
        $this->_endOffsetY =  $endOffsetY;  
     * Get offset in y-direction of bottom-right corner of shape measured in 1/256 of row height  
        return $this->_endOffsetY;  
     * Get the nesting level of this spContainer. This is the number of spgrContainers between this spContainer and  
     * the dgContainer. A value of 1 = immediately within first spgrContainer  
     * Higher nesting level occurs if and only if spContainer is part of a shape group  
     * @return int Nesting level  
            $parent =  $parent->getParent();  
 
 
        
       |