ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
PHPExcel_Writer_Excel2007 Class Reference
+ Inheritance diagram for PHPExcel_Writer_Excel2007:
+ Collaboration diagram for PHPExcel_Writer_Excel2007:

Public Member Functions

 __construct (PHPExcel $pPHPExcel=null)
 Create a new PHPExcel_Writer_Excel2007. More...
 
 getWriterPart ($pPartName='')
 Get writer part. More...
 
 save ($pFilename=null)
 Save PHPExcel to file. More...
 
 getPHPExcel ()
 Get PHPExcel object. More...
 
 setPHPExcel (PHPExcel $pPHPExcel=null)
 Set PHPExcel object. More...
 
 getStringTable ()
 Get string table. More...
 
 getStyleHashTable ()
 Get PHPExcel_Style HashTable. More...
 
 getStylesConditionalHashTable ()
 Get PHPExcel_Style_Conditional HashTable. More...
 
 getFillHashTable ()
 Get PHPExcel_Style_Fill HashTable. More...
 
 getFontHashTable ()
 Get PHPExcel_Style_Font HashTable. More...
 
 getBordersHashTable ()
 Get PHPExcel_Style_Borders HashTable. More...
 
 getNumFmtHashTable ()
 Get PHPExcel_Style_NumberFormat HashTable. More...
 
 getDrawingHashTable ()
 Get PHPExcel_Worksheet_BaseDrawing HashTable. More...
 
 getOffice2003Compatibility ()
 Get Office2003 compatibility. More...
 
 setOffice2003Compatibility ($pValue=false)
 Set Office2003 compatibility. More...
 
- Public Member Functions inherited from PHPExcel_Writer_Abstract
 getIncludeCharts ()
 Write charts in workbook? If this is true, then the Writer will write definitions for any charts that exist in the PHPExcel object. More...
 
 setIncludeCharts ($pValue=FALSE)
 Set write charts in workbook Set to true, to advise the Writer to include any charts that exist in the PHPExcel object. More...
 
 getPreCalculateFormulas ()
 Get Pre-Calculate Formulas flag If this is true (the default), then the writer will recalculate all formulae in a workbook when saving, so that the pre-calculated values are immediately available to MS Excel or other office spreadsheet viewer when opening the file If false, then formulae are not calculated on save. More...
 
 setPreCalculateFormulas ($pValue=TRUE)
 Set Pre-Calculate Formulas Set to true (the default) to advise the Writer to calculate all formulae on save Set to false to prevent precalculation of formulae on save. More...
 
 getUseDiskCaching ()
 Get use disk caching where possible? More...
 
 setUseDiskCaching ($pValue=FALSE, $pDirectory=NULL)
 Set use disk caching where possible? More...
 
 getDiskCachingDirectory ()
 Get disk caching directory. More...
 
 save ($pFilename=NULL)
 Save PHPExcel to file. More...
 

Protected Attributes

 $_preCalculateFormulas = FALSE
 
- Protected Attributes inherited from PHPExcel_Writer_Abstract
 $_includeCharts = FALSE
 
 $_preCalculateFormulas = TRUE
 
 $_useDiskCaching = FALSE
 
 $_diskCachingDirectory = './'
 

Private Attributes

 $_office2003compatibility = false
 
 $_writerParts = array()
 
 $_spreadSheet
 
 $_stringTable = array()
 
 $_stylesConditionalHashTable
 
 $_styleHashTable
 
 $_fillHashTable
 
 $_fontHashTable
 
 $_bordersHashTable
 
 $_numFmtHashTable
 
 $_drawingHashTable
 

Detailed Description

Definition at line 36 of file Excel2007.php.

Constructor & Destructor Documentation

◆ __construct()

PHPExcel_Writer_Excel2007::__construct ( PHPExcel  $pPHPExcel = null)

Create a new PHPExcel_Writer_Excel2007.

@param      PHPExcel        $pPHPExcel

Definition at line 131 of file Excel2007.php.

132 {
133 // Assign PHPExcel
134 $this->setPHPExcel($pPHPExcel);
135
136 $writerPartsArray = array( 'stringtable' => 'PHPExcel_Writer_Excel2007_StringTable',
137 'contenttypes' => 'PHPExcel_Writer_Excel2007_ContentTypes',
138 'docprops' => 'PHPExcel_Writer_Excel2007_DocProps',
139 'rels' => 'PHPExcel_Writer_Excel2007_Rels',
140 'theme' => 'PHPExcel_Writer_Excel2007_Theme',
141 'style' => 'PHPExcel_Writer_Excel2007_Style',
142 'workbook' => 'PHPExcel_Writer_Excel2007_Workbook',
143 'worksheet' => 'PHPExcel_Writer_Excel2007_Worksheet',
144 'drawing' => 'PHPExcel_Writer_Excel2007_Drawing',
145 'comments' => 'PHPExcel_Writer_Excel2007_Comments',
146 'chart' => 'PHPExcel_Writer_Excel2007_Chart',
147 'relsvba' => 'PHPExcel_Writer_Excel2007_RelsVBA',
148 'relsribbonobjects' => 'PHPExcel_Writer_Excel2007_RelsRibbon'
149 );
150
151 // Initialise writer parts
152 // and Assign their parent IWriters
153 foreach ($writerPartsArray as $writer => $class) {
154 $this->_writerParts[$writer] = new $class($this);
155 }
156
157 $hashTablesArray = array( '_stylesConditionalHashTable', '_fillHashTable', '_fontHashTable',
158 '_bordersHashTable', '_numFmtHashTable', '_drawingHashTable',
159 '_styleHashTable'
160 );
161
162 // Set HashTable variables
163 foreach ($hashTablesArray as $tableName) {
164 $this->$tableName = new PHPExcel_HashTable();
165 }
166 }
setPHPExcel(PHPExcel $pPHPExcel=null)
Set PHPExcel object.
Definition: Excel2007.php:435

References setPHPExcel().

+ Here is the call graph for this function:

Member Function Documentation

◆ getBordersHashTable()

PHPExcel_Writer_Excel2007::getBordersHashTable ( )

Get PHPExcel_Style_Borders HashTable.

Returns
PHPExcel_HashTable

Definition at line 490 of file Excel2007.php.

490 {
492 }

References $_bordersHashTable.

◆ getDrawingHashTable()

PHPExcel_Writer_Excel2007::getDrawingHashTable ( )

Get PHPExcel_Worksheet_BaseDrawing HashTable.

Returns
PHPExcel_HashTable

Definition at line 508 of file Excel2007.php.

508 {
510 }

References $_drawingHashTable.

Referenced by save().

+ Here is the caller graph for this function:

◆ getFillHashTable()

PHPExcel_Writer_Excel2007::getFillHashTable ( )

Get PHPExcel_Style_Fill HashTable.

Returns
PHPExcel_HashTable

Definition at line 472 of file Excel2007.php.

472 {
474 }

References $_fillHashTable.

◆ getFontHashTable()

PHPExcel_Writer_Excel2007::getFontHashTable ( )

Get PHPExcel_Style_Font HashTable.

Returns
PHPExcel_HashTable

Definition at line 481 of file Excel2007.php.

481 {
483 }

References $_fontHashTable.

◆ getNumFmtHashTable()

PHPExcel_Writer_Excel2007::getNumFmtHashTable ( )

Get PHPExcel_Style_NumberFormat HashTable.

Returns
PHPExcel_HashTable

Definition at line 499 of file Excel2007.php.

499 {
501 }

References $_numFmtHashTable.

◆ getOffice2003Compatibility()

PHPExcel_Writer_Excel2007::getOffice2003Compatibility ( )

Get Office2003 compatibility.

Returns
boolean

Definition at line 517 of file Excel2007.php.

References $_office2003compatibility.

◆ getPHPExcel()

PHPExcel_Writer_Excel2007::getPHPExcel ( )

Get PHPExcel object.

Returns
PHPExcel
Exceptions
PHPExcel_Writer_Exception

Definition at line 420 of file Excel2007.php.

420 {
421 if ($this->_spreadSheet !== null) {
422 return $this->_spreadSheet;
423 } else {
424 throw new PHPExcel_Writer_Exception("No PHPExcel assigned.");
425 }
426 }

References $_spreadSheet.

◆ getStringTable()

PHPExcel_Writer_Excel2007::getStringTable ( )

Get string table.

Returns
string[]

Definition at line 445 of file Excel2007.php.

445 {
446 return $this->_stringTable;
447 }

References $_stringTable.

◆ getStyleHashTable()

PHPExcel_Writer_Excel2007::getStyleHashTable ( )

Get PHPExcel_Style HashTable.

Returns
PHPExcel_HashTable

Definition at line 454 of file Excel2007.php.

454 {
456 }

References $_styleHashTable.

◆ getStylesConditionalHashTable()

PHPExcel_Writer_Excel2007::getStylesConditionalHashTable ( )

Get PHPExcel_Style_Conditional HashTable.

Returns
PHPExcel_HashTable

Definition at line 463 of file Excel2007.php.

References $_stylesConditionalHashTable.

◆ getWriterPart()

PHPExcel_Writer_Excel2007::getWriterPart (   $pPartName = '')

Get writer part.

Parameters
string$pPartNameWriter part name
Returns
PHPExcel_Writer_Excel2007_WriterPart

Definition at line 174 of file Excel2007.php.

174 {
175 if ($pPartName != '' && isset($this->_writerParts[strtolower($pPartName)])) {
176 return $this->_writerParts[strtolower($pPartName)];
177 } else {
178 return null;
179 }
180 }

Referenced by save().

+ Here is the caller graph for this function:

◆ save()

PHPExcel_Writer_Excel2007::save (   $pFilename = null)

Save PHPExcel to file.

Parameters
string$pFilename
Exceptions
PHPExcel_Writer_Exception

Implements PHPExcel_Writer_IWriter.

Definition at line 188 of file Excel2007.php.

189 {
190 if ($this->_spreadSheet !== NULL) {
191 // garbage collect
192 $this->_spreadSheet->garbageCollect();
193
194 // If $pFilename is php://output or php://stdout, make it a temporary file...
195 $originalFilename = $pFilename;
196 if (strtolower($pFilename) == 'php://output' || strtolower($pFilename) == 'php://stdout') {
197 $pFilename = @tempnam(PHPExcel_Shared_File::sys_get_temp_dir(), 'phpxltmp');
198 if ($pFilename == '') {
199 $pFilename = $originalFilename;
200 }
201 }
202
203 $saveDebugLog = PHPExcel_Calculation::getInstance($this->_spreadSheet)->getDebugLog()->getWriteDebugLog();
204 PHPExcel_Calculation::getInstance($this->_spreadSheet)->getDebugLog()->setWriteDebugLog(FALSE);
207
208 // Create string lookup table
209 $this->_stringTable = array();
210 for ($i = 0; $i < $this->_spreadSheet->getSheetCount(); ++$i) {
211 $this->_stringTable = $this->getWriterPart('StringTable')->createStringTable($this->_spreadSheet->getSheet($i), $this->_stringTable);
212 }
213
214 // Create styles dictionaries
215 $this->_styleHashTable->addFromSource( $this->getWriterPart('Style')->allStyles($this->_spreadSheet) );
216 $this->_stylesConditionalHashTable->addFromSource( $this->getWriterPart('Style')->allConditionalStyles($this->_spreadSheet) );
217 $this->_fillHashTable->addFromSource( $this->getWriterPart('Style')->allFills($this->_spreadSheet) );
218 $this->_fontHashTable->addFromSource( $this->getWriterPart('Style')->allFonts($this->_spreadSheet) );
219 $this->_bordersHashTable->addFromSource( $this->getWriterPart('Style')->allBorders($this->_spreadSheet) );
220 $this->_numFmtHashTable->addFromSource( $this->getWriterPart('Style')->allNumberFormats($this->_spreadSheet) );
221
222 // Create drawing dictionary
223 $this->_drawingHashTable->addFromSource( $this->getWriterPart('Drawing')->allDrawings($this->_spreadSheet) );
224
225 // Create new ZIP file and open it for writing
226 $zipClass = PHPExcel_Settings::getZipClass();
227 $objZip = new $zipClass();
228
229 // Retrieve OVERWRITE and CREATE constants from the instantiated zip class
230 // This method of accessing constant values from a dynamic class should work with all appropriate versions of PHP
231 $ro = new ReflectionObject($objZip);
232 $zipOverWrite = $ro->getConstant('OVERWRITE');
233 $zipCreate = $ro->getConstant('CREATE');
234
235 if (file_exists($pFilename)) {
236 unlink($pFilename);
237 }
238 // Try opening the ZIP file
239 if ($objZip->open($pFilename, $zipOverWrite) !== true) {
240 if ($objZip->open($pFilename, $zipCreate) !== true) {
241 throw new PHPExcel_Writer_Exception("Could not open " . $pFilename . " for writing.");
242 }
243 }
244
245 // Add [Content_Types].xml to ZIP file
246 $objZip->addFromString('[Content_Types].xml', $this->getWriterPart('ContentTypes')->writeContentTypes($this->_spreadSheet, $this->_includeCharts));
247
248 //if hasMacros, add the vbaProject.bin file, Certificate file(if exists)
249 if($this->_spreadSheet->hasMacros()){
250 $macrosCode=$this->_spreadSheet->getMacrosCode();
251 if(!is_null($macrosCode)){// we have the code ?
252 $objZip->addFromString('xl/vbaProject.bin', $macrosCode);//allways in 'xl', allways named vbaProject.bin
253 if($this->_spreadSheet->hasMacrosCertificate()){//signed macros ?
254 // Yes : add the certificate file and the related rels file
255 $objZip->addFromString('xl/vbaProjectSignature.bin', $this->_spreadSheet->getMacrosCertificate());
256 $objZip->addFromString('xl/_rels/vbaProject.bin.rels',
257 $this->getWriterPart('RelsVBA')->writeVBARelationships($this->_spreadSheet));
258 }
259 }
260 }
261 //a custom UI in this workbook ? add it ("base" xml and additional objects (pictures) and rels)
262 if($this->_spreadSheet->hasRibbon()){
263 $tmpRibbonTarget=$this->_spreadSheet->getRibbonXMLData('target');
264 $objZip->addFromString($tmpRibbonTarget, $this->_spreadSheet->getRibbonXMLData('data'));
265 if($this->_spreadSheet->hasRibbonBinObjects()){
266 $tmpRootPath=dirname($tmpRibbonTarget).'/';
267 $ribbonBinObjects=$this->_spreadSheet->getRibbonBinObjects('data');//the files to write
268 foreach($ribbonBinObjects as $aPath=>$aContent){
269 $objZip->addFromString($tmpRootPath.$aPath, $aContent);
270 }
271 //the rels for files
272 $objZip->addFromString($tmpRootPath.'_rels/'.basename($tmpRibbonTarget).'.rels',
273 $this->getWriterPart('RelsRibbonObjects')->writeRibbonRelationships($this->_spreadSheet));
274 }
275 }
276
277 // Add relationships to ZIP file
278 $objZip->addFromString('_rels/.rels', $this->getWriterPart('Rels')->writeRelationships($this->_spreadSheet));
279 $objZip->addFromString('xl/_rels/workbook.xml.rels', $this->getWriterPart('Rels')->writeWorkbookRelationships($this->_spreadSheet));
280
281 // Add document properties to ZIP file
282 $objZip->addFromString('docProps/app.xml', $this->getWriterPart('DocProps')->writeDocPropsApp($this->_spreadSheet));
283 $objZip->addFromString('docProps/core.xml', $this->getWriterPart('DocProps')->writeDocPropsCore($this->_spreadSheet));
284 $customPropertiesPart = $this->getWriterPart('DocProps')->writeDocPropsCustom($this->_spreadSheet);
285 if ($customPropertiesPart !== NULL) {
286 $objZip->addFromString('docProps/custom.xml', $customPropertiesPart);
287 }
288
289 // Add theme to ZIP file
290 $objZip->addFromString('xl/theme/theme1.xml', $this->getWriterPart('Theme')->writeTheme($this->_spreadSheet));
291
292 // Add string table to ZIP file
293 $objZip->addFromString('xl/sharedStrings.xml', $this->getWriterPart('StringTable')->writeStringTable($this->_stringTable));
294
295 // Add styles to ZIP file
296 $objZip->addFromString('xl/styles.xml', $this->getWriterPart('Style')->writeStyles($this->_spreadSheet));
297
298 // Add workbook to ZIP file
299 $objZip->addFromString('xl/workbook.xml', $this->getWriterPart('Workbook')->writeWorkbook($this->_spreadSheet, $this->_preCalculateFormulas));
300
301 $chartCount = 0;
302 // Add worksheets
303 for ($i = 0; $i < $this->_spreadSheet->getSheetCount(); ++$i) {
304 $objZip->addFromString('xl/worksheets/sheet' . ($i + 1) . '.xml', $this->getWriterPart('Worksheet')->writeWorksheet($this->_spreadSheet->getSheet($i), $this->_stringTable, $this->_includeCharts));
305 if ($this->_includeCharts) {
306 $charts = $this->_spreadSheet->getSheet($i)->getChartCollection();
307 if (count($charts) > 0) {
308 foreach($charts as $chart) {
309 $objZip->addFromString('xl/charts/chart' . ($chartCount + 1) . '.xml', $this->getWriterPart('Chart')->writeChart($chart));
310 $chartCount++;
311 }
312 }
313 }
314 }
315
316 $chartRef1 = $chartRef2 = 0;
317 // Add worksheet relationships (drawings, ...)
318 for ($i = 0; $i < $this->_spreadSheet->getSheetCount(); ++$i) {
319
320 // Add relationships
321 $objZip->addFromString('xl/worksheets/_rels/sheet' . ($i + 1) . '.xml.rels', $this->getWriterPart('Rels')->writeWorksheetRelationships($this->_spreadSheet->getSheet($i), ($i + 1), $this->_includeCharts));
322
323 $drawings = $this->_spreadSheet->getSheet($i)->getDrawingCollection();
324 $drawingCount = count($drawings);
325 if ($this->_includeCharts) {
326 $chartCount = $this->_spreadSheet->getSheet($i)->getChartCount();
327 }
328
329 // Add drawing and image relationship parts
330 if (($drawingCount > 0) || ($chartCount > 0)) {
331 // Drawing relationships
332 $objZip->addFromString('xl/drawings/_rels/drawing' . ($i + 1) . '.xml.rels', $this->getWriterPart('Rels')->writeDrawingRelationships($this->_spreadSheet->getSheet($i),$chartRef1, $this->_includeCharts));
333
334 // Drawings
335 $objZip->addFromString('xl/drawings/drawing' . ($i + 1) . '.xml', $this->getWriterPart('Drawing')->writeDrawings($this->_spreadSheet->getSheet($i),$chartRef2,$this->_includeCharts));
336 }
337
338 // Add comment relationship parts
339 if (count($this->_spreadSheet->getSheet($i)->getComments()) > 0) {
340 // VML Comments
341 $objZip->addFromString('xl/drawings/vmlDrawing' . ($i + 1) . '.vml', $this->getWriterPart('Comments')->writeVMLComments($this->_spreadSheet->getSheet($i)));
342
343 // Comments
344 $objZip->addFromString('xl/comments' . ($i + 1) . '.xml', $this->getWriterPart('Comments')->writeComments($this->_spreadSheet->getSheet($i)));
345 }
346
347 // Add header/footer relationship parts
348 if (count($this->_spreadSheet->getSheet($i)->getHeaderFooter()->getImages()) > 0) {
349 // VML Drawings
350 $objZip->addFromString('xl/drawings/vmlDrawingHF' . ($i + 1) . '.vml', $this->getWriterPart('Drawing')->writeVMLHeaderFooterImages($this->_spreadSheet->getSheet($i)));
351
352 // VML Drawing relationships
353 $objZip->addFromString('xl/drawings/_rels/vmlDrawingHF' . ($i + 1) . '.vml.rels', $this->getWriterPart('Rels')->writeHeaderFooterDrawingRelationships($this->_spreadSheet->getSheet($i)));
354
355 // Media
356 foreach ($this->_spreadSheet->getSheet($i)->getHeaderFooter()->getImages() as $image) {
357 $objZip->addFromString('xl/media/' . $image->getIndexedFilename(), file_get_contents($image->getPath()));
358 }
359 }
360 }
361
362 // Add media
363 for ($i = 0; $i < $this->getDrawingHashTable()->count(); ++$i) {
364 if ($this->getDrawingHashTable()->getByIndex($i) instanceof PHPExcel_Worksheet_Drawing) {
365 $imageContents = null;
366 $imagePath = $this->getDrawingHashTable()->getByIndex($i)->getPath();
367 if (strpos($imagePath, 'zip://') !== false) {
368 $imagePath = substr($imagePath, 6);
369 $imagePathSplitted = explode('#', $imagePath);
370
371 $imageZip = new ZipArchive();
372 $imageZip->open($imagePathSplitted[0]);
373 $imageContents = $imageZip->getFromName($imagePathSplitted[1]);
374 $imageZip->close();
375 unset($imageZip);
376 } else {
377 $imageContents = file_get_contents($imagePath);
378 }
379
380 $objZip->addFromString('xl/media/' . str_replace(' ', '_', $this->getDrawingHashTable()->getByIndex($i)->getIndexedFilename()), $imageContents);
381 } else if ($this->getDrawingHashTable()->getByIndex($i) instanceof PHPExcel_Worksheet_MemoryDrawing) {
382 ob_start();
383 call_user_func(
384 $this->getDrawingHashTable()->getByIndex($i)->getRenderingFunction(),
385 $this->getDrawingHashTable()->getByIndex($i)->getImageResource()
386 );
387 $imageContents = ob_get_contents();
388 ob_end_clean();
389
390 $objZip->addFromString('xl/media/' . str_replace(' ', '_', $this->getDrawingHashTable()->getByIndex($i)->getIndexedFilename()), $imageContents);
391 }
392 }
393
395 PHPExcel_Calculation::getInstance($this->_spreadSheet)->getDebugLog()->setWriteDebugLog($saveDebugLog);
396
397 // Close file
398 if ($objZip->close() === false) {
399 throw new PHPExcel_Writer_Exception("Could not close zip file $pFilename.");
400 }
401
402 // If a temporary file was used, copy it to the correct file stream
403 if ($originalFilename != $pFilename) {
404 if (copy($pFilename, $originalFilename) === false) {
405 throw new PHPExcel_Writer_Exception("Could not copy temporary zip file $pFilename to $originalFilename.");
406 }
407 @unlink($pFilename);
408 }
409 } else {
410 throw new PHPExcel_Writer_Exception("PHPExcel object unassigned.");
411 }
412 }
static setReturnDateType($returnDateType)
Definition: Functions.php:155
static getInstance(PHPExcel $workbook=NULL)
Get an instance of this class.
static getZipClass()
Return the name of the Zip handler Class that PHPExcel is configured to use (PCLZip or ZipArchive) or...
Definition: Settings.php:141
static sys_get_temp_dir()
Get the systems temporary directory.
Definition: File.php:135
getWriterPart($pPartName='')
Get writer part.
Definition: Excel2007.php:174
getDrawingHashTable()
Get PHPExcel_Worksheet_BaseDrawing HashTable.
Definition: Excel2007.php:508
$i
Definition: disco.tpl.php:19

References $chart, $i, getDrawingHashTable(), PHPExcel_Calculation\getInstance(), PHPExcel_Calculation_Functions\getReturnDateType(), getWriterPart(), PHPExcel_Settings\getZipClass(), PHPExcel_Calculation_Functions\RETURNDATE_EXCEL, PHPExcel_Calculation_Functions\setReturnDateType(), and PHPExcel_Shared_File\sys_get_temp_dir().

+ Here is the call graph for this function:

◆ setOffice2003Compatibility()

PHPExcel_Writer_Excel2007::setOffice2003Compatibility (   $pValue = false)

Set Office2003 compatibility.

Parameters
boolean$pValueOffice2003 compatibility?
Returns
PHPExcel_Writer_Excel2007

Definition at line 527 of file Excel2007.php.

527 {
528 $this->_office2003compatibility = $pValue;
529 return $this;
530 }

◆ setPHPExcel()

PHPExcel_Writer_Excel2007::setPHPExcel ( PHPExcel  $pPHPExcel = null)

Set PHPExcel object.

Parameters
PHPExcel$pPHPExcelPHPExcel object
Exceptions
PHPExcel_Writer_Exception
Returns
PHPExcel_Writer_Excel2007

Definition at line 435 of file Excel2007.php.

435 {
436 $this->_spreadSheet = $pPHPExcel;
437 return $this;
438 }

Referenced by __construct().

+ Here is the caller graph for this function:

Field Documentation

◆ $_bordersHashTable

PHPExcel_Writer_Excel2007::$_bordersHashTable
private

Definition at line 110 of file Excel2007.php.

Referenced by getBordersHashTable().

◆ $_drawingHashTable

PHPExcel_Writer_Excel2007::$_drawingHashTable
private

Definition at line 124 of file Excel2007.php.

Referenced by getDrawingHashTable().

◆ $_fillHashTable

PHPExcel_Writer_Excel2007::$_fillHashTable
private

Definition at line 96 of file Excel2007.php.

Referenced by getFillHashTable().

◆ $_fontHashTable

PHPExcel_Writer_Excel2007::$_fontHashTable
private

Definition at line 103 of file Excel2007.php.

Referenced by getFontHashTable().

◆ $_numFmtHashTable

PHPExcel_Writer_Excel2007::$_numFmtHashTable
private

Definition at line 117 of file Excel2007.php.

Referenced by getNumFmtHashTable().

◆ $_office2003compatibility

PHPExcel_Writer_Excel2007::$_office2003compatibility = false
private

Definition at line 54 of file Excel2007.php.

Referenced by getOffice2003Compatibility().

◆ $_preCalculateFormulas

PHPExcel_Writer_Excel2007::$_preCalculateFormulas = FALSE
protected
Pre-calculate formulas
Forces PHPExcel to recalculate all formulae in a workbook when saving, so that the pre-calculated values are
   immediately available to MS Excel or other office spreadsheet viewer when opening the file

Overrides the default TRUE for this specific writer for performance reasons

@var boolean

Definition at line 47 of file Excel2007.php.

◆ $_spreadSheet

PHPExcel_Writer_Excel2007::$_spreadSheet
private

Definition at line 68 of file Excel2007.php.

Referenced by getPHPExcel().

◆ $_stringTable

PHPExcel_Writer_Excel2007::$_stringTable = array()
private

Definition at line 75 of file Excel2007.php.

Referenced by getStringTable().

◆ $_styleHashTable

PHPExcel_Writer_Excel2007::$_styleHashTable
private

Definition at line 89 of file Excel2007.php.

Referenced by getStyleHashTable().

◆ $_stylesConditionalHashTable

PHPExcel_Writer_Excel2007::$_stylesConditionalHashTable
private

Definition at line 82 of file Excel2007.php.

Referenced by getStylesConditionalHashTable().

◆ $_writerParts

PHPExcel_Writer_Excel2007::$_writerParts = array()
private

Definition at line 61 of file Excel2007.php.


The documentation for this class was generated from the following file: