Skip to content

Commit

Permalink
Add option to insert images in excel files
Browse files Browse the repository at this point in the history
  • Loading branch information
Dídac Rios committed Nov 17, 2014
1 parent 22a2a74 commit 2be3c5d
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Factory.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,22 @@ public function createPHPExcelObject($filename = null)
return call_user_func(array($this->phpExcelIO, 'load'), $filename);
}

/**
* Create a worksheet drawing
*
* @param
*
*
* @return \PHPExcel_Worksheet_Drawing
*/
public function createPHPExcelWorksheetDrawing()
{
$Object = new \PHPExcel_Worksheet_Drawing();

return $Object;
}


/**
* Create a writer given the PHPExcelObject and the type,
* the type coul be one of PHPExcel_IOFactory::$_autoResolveClasses
Expand Down

0 comments on commit 2be3c5d

Please sign in to comment.