Example #1
0
 /**
  * Create a new PHPPowerPoint_Slide_Drawing
  */
 public function __construct()
 {
     // Initialise values
     $this->_path = '';
     // Initialize parent
     parent::__construct();
 }
Example #2
0
 /**
  * Create a new PHPPowerPoint_Slide_MemoryDrawing
  */
 public function __construct()
 {
     // Initialise values
     $this->_imageResource = null;
     $this->_renderingFunction = self::RENDERING_DEFAULT;
     $this->_mimeType = self::MIMETYPE_DEFAULT;
     $this->_uniqueName = md5(rand(0, 9999) . time() . rand(0, 9999));
     // Initialize parent
     parent::__construct();
 }
Example #3
0
 /**
  * Create a new PHPPowerPoint_Slide_MemoryDrawing
  */
 public function __construct()
 {
     // Initialize
     $this->_title = new PHPPowerPoint_Shape_Chart_Title();
     $this->_legend = new PHPPowerPoint_Shape_Chart_Legend();
     $this->_plotArea = new PHPPowerPoint_Shape_Chart_PlotArea();
     $this->_view3D = new PHPPowerPoint_Shape_Chart_View3D();
     // Initialize parent
     parent::__construct();
 }
Example #4
0
 /**
  * Create a new PHPPowerPoint_Shape_Table instance
  *
  * @param int $columns Number of columns
  */
 public function __construct($columns = 1)
 {
     // Initialise variables
     $this->_rows = array();
     $this->_columnCount = $columns;
     // Initialize parent
     parent::__construct();
     // No resize proportional
     $this->_resizeProportional = false;
 }