作者:empty 出版社:empty |
The up-to-date F.A.Q.page for PHP Excel can be found onhttp://www.codeplex.com/PHPExcel/Wii/View.aspx?titleFAQEreferingTitle-RequirementsThere seems to be a problem with character encoding.It is necessary to use UTF-8 encoding for all texts in PHP Excel, If the script uses different encodingthen it is possible to convert the texts with PHP's iconv) function.PHP complains about Zip Archive not being foundMake sure you meet all requirements, especially php_zip extension should be enabled.Excel 2007 can not open the file generated by PHP Excel_Writer_2007on Windows“Excel found unreadable content in .xls x.Do you want to recover the contents of this workbook?If you trust the source of this workbook, click Yes.”Some versions of the php_zip extension on Windows contain an error when creating ZIP files.Theversionthatcanbefoundonhttp://snaps.php.net/win3z/php5.2-win32-latest.zipshouldworkatall times.
PHP Excel implements an autoloader or“lazy loader , which means that it is not necessary toInclude every file within PHP Excel.It is only necessary to include the initial PHP Excel class fle,then the autoloader will include other class files as and when required, so only those files that areactually required by your script will be loaded into PHP memory.The main benefit of this is that itIf your own scripts already define an autoload function, then this maybe overwritten by thePHP Excel's architecture is builtin away that it can serve as an in-memory spreadsheet.This meansthat, if one would want to create a web based view of a spreadsheet which commun t cates withJust like desktop spreadsheet software, PHP Excel represents a spreadsheet containing one or moreOn its own, PHP Excel does not provide the functionality to read from or write to a persistedspreadsheet(on disk or in a database) , To provide that functionality, readers and writers can be
Software requirements.
Installation instructions.
Gettingstarted.
Useful links and tools.
Spreadsheet in memory.
Readers and writers.
Fluent interfaces.
4.5.1,Setting a cell value by coordinate.
PHP Excel
PHP Excel
PHP Excel Developer Documentation
Architecture.
3.1.Schematic al.
32.Lazy Loader.
Creating a spreadsheet.
4.1.The PHP Excel class.
4.2.Configuration Settings.
Open XML/Spreadsheet M.
Frequentlyaskedquestions.
Tutorials.
Cell Caching.
Language/Locale.
Retrieving a cell by coordinate.
Setting a cell value by column and row.
Retrieving a cell by column and row.
Looping cells.
Using value binders to facilitate data entry
Clearing a Workbook from memory.
Worksheets.
Accessing cells.
4.6.PHP Excel recipes.
4.6.1.Setting a spreadsheet's metadata.
4.6.2.Setting a spreadsheet's active sheet.
4.6.3.Write a date into a cell.
4.6.4.Write a formula into a celt.
4.6.5.Locale Settings for Formulae.
wrte a new in e character nina cell(ALT+Enter) .
Explicitly set a cell's datatype.
Change a cell into aci kable URL.
Setting a worksheet's page orientation and siz
Page Setup:Scaling options.
Page margins.
Center a page horizontally/vertically.
Setting the printheader and footer of a worksheet.
Setting printing breaks on a row or column.
Show/hide gridlines when printing.
Setting rows/columns to repeat at top/left.
Spe city printing area.
Formatting cells.
Number formats.
Alg nment and wrap text.
Setting the default style of a workbook
Styling cell borders.
Conditional formatting a cell.
Add a comment to a celt.
Apply autofilter to a range of cells.
Setting security on a spreadsheet.
ECU Ce Plex m
come ntwascmalndwthSpiePDF for NET
Setting data validation on a cell.
Setting a column'swidth.
Show/hide a column.
Group/outline a column.
Setting a row's height.
Show/hide a row.
Group/outline a row.
Merge/unmerge cells.
Inserting rows/columns.
Add a drawing to a worksheet.
Add richtext to a cell.
Define a named range.
Redirect output to a client's webbrowser