ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5
ilExcelWriterWrapper Class Reference

Class ilExcelWriterWrapper. More...

+ Inheritance diagram for ilExcelWriterWrapper:
+ Collaboration diagram for ilExcelWriterWrapper:

Public Member Functions

 addWorksheet ($name='')
 
- Public Member Functions inherited from Spreadsheet_Excel_Writer
 Spreadsheet_Excel_Writer ($filename='')
 The constructor. More...
 
 send ($filename)
 Send HTTP headers for the Excel file. More...
 
- Public Member Functions inherited from Spreadsheet_Excel_Writer_Workbook
 Spreadsheet_Excel_Writer_Workbook ($filename)
 Class constructor. More...
 
 close ()
 Calls finalization methods. More...
 
 sheets ()
 An accessor for the _worksheets[] array Returns an array of the worksheet objects in a workbook It actually calls to worksheets() More...
 
 worksheets ()
 An accessor for the _worksheets[] array. More...
 
 setVersion ($version)
 Sets the BIFF version. More...
 
 setCountry ($code)
 Set the country identifier for the workbook. More...
 
addWorksheet ($name='')
 Add a new worksheet to the Excel workbook. More...
 
addFormat ($properties=array())
 Add a new format to the Excel workbook. More...
 
addValidator ()
 Create new validator. More...
 
 setCustomColor ($index, $red, $green, $blue)
 Change the RGB components of the elements in the colour palette. More...
 
 _setPaletteXl97 ()
 Sets the colour palette to the Excel 97+ default. More...
 
 _storeWorkbook ()
 Assemble worksheets into a workbook and send the BIFF data to an OLE storage. More...
 
 _storeOLEFile ()
 Store the workbook in an OLE container. More...
 
 _calcSheetOffsets ()
 Calculate offsets for Worksheet BOF records. More...
 
 _storeAllFonts ()
 Store the Excel FONT records. More...
 
 _storeAllNumFormats ()
 Store user defined numerical formats i.e. More...
 
 _storeAllXfs ()
 Write all XF records. More...
 
 _storeAllStyles ()
 Write all STYLE records. More...
 
 _storeExterns ()
 Write the EXTERNCOUNT and EXTERNSHEET records. More...
 
 _storeNames ()
 Write the NAME record to define the print area and the repeat rows and cols. More...
 
 _storeCodepage ()
 Stores the CODEPAGE biff record. More...
 
 _storeWindow1 ()
 Write Excel BIFF WINDOW1 record. More...
 
 _storeBoundsheet ($sheetname, $offset)
 Writes Excel BIFF BOUNDSHEET record. More...
 
 _storeSupbookInternal ()
 Write Internal SUPBOOK record. More...
 
 _storeExternsheetBiff8 ()
 Writes the Excel BIFF EXTERNSHEET record. More...
 
 _storeStyle ()
 Write Excel BIFF STYLE records. More...
 
 _storeNumFormat ($format, $ifmt)
 Writes Excel FORMAT record for non "built-in" numerical formats. More...
 
 _storeDatemode ()
 Write DATEMODE record to indicate the date system in use (1904 or 1900). More...
 
 _storeExterncount ($cxals)
 Write BIFF record EXTERNCOUNT to indicate the number of external sheet references in the workbook. More...
 
 _storeExternsheet ($sheetname)
 Writes the Excel BIFF EXTERNSHEET record. More...
 
 _storeNameShort ($index, $type, $rowmin, $rowmax, $colmin, $colmax)
 Store the NAME record in the short format that is used for storing the print area, repeat rows only and repeat columns only. More...
 
 _storeNameLong ($index, $type, $rowmin, $rowmax, $colmin, $colmax)
 Store the NAME record in the long format that is used for storing the repeat rows and columns when both are specified. More...
 
 _storeCountry ()
 Stores the COUNTRY record for localization. More...
 
 _storePalette ()
 Stores the PALETTE biff record. More...
 
 _calculateSharedStringsSizes ()
 Calculate Handling of the SST continue blocks is complicated by the need to include an additional continuation byte depending on whether the string is split between blocks or whether it starts at the beginning of the block. More...
 
 _storeSharedStringsTable ()
 Write all of the workbooks strings into an indexed array. More...
 
- Public Member Functions inherited from Spreadsheet_Excel_Writer_BIFFwriter
 Spreadsheet_Excel_Writer_BIFFwriter ()
 Constructor. More...
 
 _setByteOrder ()
 Determine the byte order and store it as class data to avoid recalculating it for each call to new(). More...
 
 _prepend ($data)
 General storage function. More...
 
 _append ($data)
 General storage function. More...
 
 _storeBof ($type)
 Writes Excel BOF record to indicate the beginning of a stream or sub-stream in the BIFF file. More...
 
 _storeEof ()
 Writes Excel EOF record to indicate the end of a BIFF stream. More...
 
 _addContinue ($data)
 Excel limits the size of BIFF records. More...
 
 setTempDir ($dir)
 Sets the temp dir used for storing the OLE file. More...
 
- Public Member Functions inherited from PEAR
 PEAR ($error_class=null)
 Constructor. More...
 
 _PEAR ()
 Destructor (the emulated type of...). More...
 
getStaticProperty ($class, $var)
 If you have a class that's mostly/entirely static, and you need static properties, you can use this method to simulate them. More...
 
 registerShutdownFunc ($func, $args=array())
 Use this function to register a shutdown method for static classes. More...
 
 isError ($data, $code=null)
 Tell whether a value is a PEAR error. More...
 
 setErrorHandling ($mode=null, $options=null)
 Sets how errors generated by this object should be handled. More...
 
 expectError ($code=' *')
 This method is used to tell which errors you expect to get. More...
 
 popExpect ()
 This method pops one element off the expected error codes stack. More...
 
 _checkDelExpect ($error_code)
 This method checks unsets an error code if available. More...
 
 delExpect ($error_code)
 This method deletes all occurences of the specified element from the expected error codes stack. More...
 
raiseError ($message=null, $code=null, $mode=null, $options=null, $userinfo=null, $error_class=null, $skipmsg=false)
 This method is a wrapper that returns an instance of the configured error class with this object's default error handling applied. More...
 
throwError ($message=null, $code=null, $userinfo=null)
 Simpler form of raiseError with fewer options. More...
 
 staticPushErrorHandling ($mode, $options=null)
 
 staticPopErrorHandling ()
 
 pushErrorHandling ($mode, $options=null)
 Push a new error handler on top of the error handler options stack. More...
 
 popErrorHandling ()
 Pop the last error handler used. More...
 
 loadExtension ($ext)
 OS independant PHP extension load. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from Spreadsheet_Excel_Writer
 rowcolToCell ($row, $col)
 Utility function for writing formulas Converts a cell's coordinates to the A1 format. More...
 
- Data Fields inherited from Spreadsheet_Excel_Writer_Workbook
 $_filename
 
 $_parser
 
 $_1904
 
 $_activesheet
 
 $_firstsheet
 
 $_selected
 
 $_xf_index
 
 $_fileclosed
 
 $_biffsize
 
 $_sheetname
 
 $_tmp_format
 
 $_worksheets
 
 $_sheetnames
 
 $_formats
 
 $_palette
 
 $_url_format
 
 $_codepage
 
 $_country_code
 
 $_string_sizeinfo_size
 
- Data Fields inherited from Spreadsheet_Excel_Writer_BIFFwriter
 $_BIFF_version = 0x0500
 
 $_byte_order
 
 $_data
 
 $_datasize
 
 $_limit
 
 $_tmp_dir
 
- Data Fields inherited from PEAR
 $_debug = false
 
 $_default_error_mode = null
 
 $_default_error_options = null
 
 $_default_error_handler = ''
 
 $_error_class = 'PEAR_Error'
 
 $_expected_errors = array()
 

Detailed Description

Class ilExcelWriterWrapper.

Author
Jörg Lützenkirchen luetz.nosp@m.enki.nosp@m.rchen.nosp@m.@lei.nosp@m.fos.c.nosp@m.om
Version
Id
class.ilExcelWriterAdapter.php 23143 2010-03-09 12:15:33Z smeyer

Definition at line 15 of file class.ilExcelWriterWrapper.php.

Member Function Documentation

◆ addWorksheet()

ilExcelWriterWrapper::addWorksheet (   $name = '')

Definition at line 17 of file class.ilExcelWriterWrapper.php.

18  {
19  $worksheet = parent::addWorksheet($name);
20 
21  // we need this to make utf8 work properly (in combination with version 8)
22  $worksheet->setInputEncoding("UTF-8");
23 
24  return $worksheet;
25  }

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