PhpOffice\PhpPresentation\Shape\Chart::hasIncludedSpreadsheet PHP Method

hasIncludedSpreadsheet() public method

Include spreadsheet for editing data? Requires PHPExcel in the same folder as PhpPresentation
public hasIncludedSpreadsheet ( ) : boolean
return boolean
    public function hasIncludedSpreadsheet()
    {
        return $this->includeSpreadsheet;
    }

Usage Example

Example #1
0
 public function testIncludeSpreadsheet()
 {
     $object = new Chart();
     $this->assertFalse($object->hasIncludedSpreadsheet());
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Chart', $object->setIncludeSpreadsheet());
     $this->assertFalse($object->hasIncludedSpreadsheet());
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Chart', $object->setIncludeSpreadsheet(false));
     $this->assertFalse($object->hasIncludedSpreadsheet());
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Chart', $object->setIncludeSpreadsheet(true));
     $this->assertTrue($object->hasIncludedSpreadsheet());
 }
All Usage Examples Of PhpOffice\PhpPresentation\Shape\Chart::hasIncludedSpreadsheet