示例#1
0
 /**
  * Create a new PHPPowerPoint_Style_Borders
  */
 public function __construct()
 {
     // Initialise values
     $this->_left = new PHPPowerPoint_Style_Border();
     $this->_right = new PHPPowerPoint_Style_Border();
     $this->_top = new PHPPowerPoint_Style_Border();
     $this->_bottom = new PHPPowerPoint_Style_Border();
     $this->_diagonalUp = new PHPPowerPoint_Style_Border();
     $this->_diagonalUp->setLineStyle(PHPPowerPoint_Style_Border::LINE_NONE);
     $this->_diagonalDown = new PHPPowerPoint_Style_Border();
     $this->_diagonalDown->setLineStyle(PHPPowerPoint_Style_Border::LINE_NONE);
 }
示例#2
0
 /**
  * Create a new PHPPowerPoint_Shape
  */
 public function __construct()
 {
     // Initialise values
     $this->_slide = null;
     $this->_offsetX = 0;
     $this->_offsetY = 0;
     $this->_width = 0;
     $this->_height = 0;
     $this->_rotation = 0;
     $this->_fill = new PHPPowerPoint_Style_Fill();
     $this->_border = new PHPPowerPoint_Style_Border();
     $this->_shadow = new PHPPowerPoint_Shape_Shadow();
     $this->_border->setLineStyle(PHPPowerPoint_Style_Border::LINE_NONE);
 }