Docs For Class PHPExcel_Writer_Excel2007

PHPExcel_Writer_Excel2007

# Class: PHPExcel_Writer_Excel2007

Source Location: /PHPExcel/Writer/Excel2007.php

### Class Overview

PHPExcel_Writer_Excel2007

#### Author(s):

#### Copyright:

- Copyright (c) 2006 - 2011 PHPExcel (http://www.codeplex.com/PHPExcel)

Implements interfaces:

- PHPExcel_Writer_IWriter

### Methods

- __construct
- getBordersHashTable
- getDiskCachingDirectory
- getDrawingHashTable
- getFillHashTable
- getFontHashTable
- getNumFmtHashTable
- getOffice2003Compatibility
- getPHPExcel
- getPreCalculateFormulas
- getStringTable
- getStylesConditionalHashTable
- getUseDiskCaching
- getWriterPart
- save
- setOffice2003Compatibility
- setPHPExcel
- setPreCalculateFormulas
- setUseDiskCaching

### Class Details

[line 36]
PHPExcel_Writer_Excel2007

#### Tags:

copyright: | Copyright (c) 2006 - 2011 PHPExcel (http://www.codeplex.com/PHPExcel)

[ Top ]

### Class Methods

### constructor __construct [line 134]

`PHPExcel_Writer_Excel2007 __construct( [ $pPHPExcel = null])`

Create a new PHPExcel_Writer_Excel2007

#### Tags:

access: | public

#### Parameters:

PHPExcel | $pPHPExcel |

[ Top ]

### method getBordersHashTable [line 428]

`PHPExcel_HashTable getBordersHashTable( )`

Get PHPExcel_Style_Borders HashTable

#### Tags:

access: | public

[ Top ]

### method getDiskCachingDirectory [line 523]

`string getDiskCachingDirectory( )`

Get disk caching directory

#### Tags:

access: | public

[ Top ]

### method getDrawingHashTable [line 446]

`PHPExcel_HashTable getDrawingHashTable( )`

Get PHPExcel_Worksheet_BaseDrawing HashTable

#### Tags:

access: | public

[ Top ]

### method getFillHashTable [line 410]

`PHPExcel_HashTable getFillHashTable( )`

Get PHPExcel_Style_Fill HashTable

#### Tags:

access: | public

[ Top ]

### method getFontHashTable [line 419]

`PHPExcel_HashTable getFontHashTable( )`

Get PHPExcel_Style_Font HashTable

#### Tags:

access: | public

[ Top ]

### method getNumFmtHashTable [line 437]

`PHPExcel_HashTable getNumFmtHashTable( )`

Get PHPExcel_Style_NumberFormat HashTable

#### Tags:

access: | public

[ Top ]

### method getOffice2003Compatibility [line 473]

`boolean getOffice2003Compatibility( )`

Get Office2003 compatibility

#### Tags:

access: | public

[ Top ]

### method getPHPExcel [line 367]

`PHPExcel getPHPExcel( )`

Get PHPExcel object

#### Tags:

throws: | Exception
access: | public

[ Top ]

### method getPreCalculateFormulas [line 455]

`boolean getPreCalculateFormulas( )`

Get Pre-Calculate Formulas

#### Tags:

access: | public

[ Top ]

### method getStringTable [line 392]

`string[] getStringTable( )`

Get string table

#### Tags:

access: | public

[ Top ]

### method getStylesConditionalHashTable [line 401]

`PHPExcel_HashTable getStylesConditionalHashTable( )`

Get PHPExcel_Style_Conditional HashTable

#### Tags:

access: | public

[ Top ]

### method getUseDiskCaching [line 493]

`boolean getUseDiskCaching( )`

Get use disk caching where possible?

#### Tags:

access: | public

[ Top ]

### method getWriterPart [line 173]

`PHPExcel_Writer_Excel2007_WriterPart getWriterPart( [string $pPartName = ''])`

Get writer part

#### Tags:

access: | public

#### Parameters:

string | $pPartName | Writer part name

[ Top ]

### method save [line 187]

`void save( [ $pFilename = null], string $pFileName)`

Save PHPExcel to file

#### Tags:

throws: | Exception
access: | public

#### Parameters:

string | $pFileName |
| $pFilename |

[ Top ]

### method setOffice2003Compatibility [line 483]

`PHPExcel_Writer_Excel2007 setOffice2003Compatibility( [boolean $pValue = false])`

Set Pre-Calculate Formulas

#### Tags:

access: | public

#### Parameters:

boolean | $pValue | Office2003 compatibility?

[ Top ]

### method setPHPExcel [line 382]

`PHPExcel_Writer_Excel2007 setPHPExcel( [ $pPHPExcel = null])`

Set PHPExcel object

#### Tags:

throws: | Exception
access: | public

#### Parameters:

PHPExcel | $pPHPExcel | PHPExcel object

[ Top ]

### method setPreCalculateFormulas [line 464]

`void setPreCalculateFormulas( [boolean $pValue = true])`

Set Pre-Calculate Formulas

#### Tags:

access: | public

#### Parameters:

boolean | $pValue | Pre-Calculate Formulas?

[ Top ]

### method setUseDiskCaching [line 505]

`PHPExcel_Writer_Excel2007 setUseDiskCaching( [boolean $pValue = false], [string $pDirectory = null])`

Set use disk caching where possible?

#### Tags:

throws: | Exception Exception when directory does not exist
access: | public

#### Parameters:

boolean | $pValue |
string | $pDirectory | Disk caching directory

[ Top ]

Documentation generated on Sun, 27 Feb 2011 16:31:29 -0800 by phpDocumentor 1.4.3