PHPExcel_Writer
[ class tree: PHPExcel_Writer ] [ index: PHPExcel_Writer ] [ all elements ]

Class: PHPExcel_Writer_HTML

Source Location: /PHPExcel/Writer/HTML.php

Class Overview


PHPExcel_Writer_HTML


Author(s):

Copyright:

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

Implements interfaces:

Variables

Methods



Class Details

[line 55]
PHPExcel_Writer_HTML

PHPExcel_Writer_HTML




Tags:

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


[ Top ]


Class Variables

$_imagesRoot =  '.'

[line 82]

Images root

Images root




Tags:

access:  private

Type:   string


[ Top ]

$_phpExcel =

[line 61]

PHPExcel object

PHPExcel object




Tags:

access:  private

Type:   PHPExcel


[ Top ]

$_preCalculateFormulas =  true

[line 75]

Pre-calculate formulas

Pre-calculate formulas




Tags:

access:  private

Type:   boolean


[ Top ]

$_sheetIndex =

[line 68]

Sheet index to write

Sheet index to write




Tags:

access:  private

Type:   int


[ Top ]



Class Methods


constructor __construct [line 89]

PHPExcel_Writer_HTML __construct( $phpExcel)

Create a new PHPExcel_Writer_HTML

Create a new PHPExcel_Writer_HTML




Tags:

access:  public


Parameters:

PHPExcel   $phpExcel   PHPExcel object

[ Top ]

method generateHTMLFooter [line 585]

void generateHTMLFooter( )

Generate HTML footer

Generate HTML footer




Tags:

access:  public


[ Top ]

method generateHTMLHeader [line 198]

string generateHTMLHeader( [boolean $pIncludeStyles = false])

Generate HTML header

Generate HTML header




Tags:

throws:  Exception
access:  public


Parameters:

boolean   $pIncludeStyles   Include styles?

[ Top ]

method generateSheetData [line 229]

string generateSheetData( )

Generate sheet data

Generate sheet data




Tags:

throws:  Exception
access:  public


[ Top ]

method generateStyles [line 343]

string generateStyles( [boolean $generateSurroundingHTML = true])

Generate CSS styles

Generate CSS styles




Tags:

throws:  Exception
access:  public


Parameters:

boolean   $generateSurroundingHTML   Generate surrounding HTML tags? (<style> and </style>)

[ Top ]

method getImagesRoot [line 803]

string getImagesRoot( )

Get images root

Get images root




Tags:

access:  public


[ Top ]

method getPreCalculateFormulas [line 785]

boolean getPreCalculateFormulas( )

Get Pre-Calculate Formulas

Get Pre-Calculate Formulas




Tags:

access:  public


[ Top ]

method getSheetIndex [line 171]

int getSheetIndex( )

Get sheet index

Get sheet index




Tags:

access:  public


[ Top ]

method save [line 101]

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

Save PHPExcel to file

Save PHPExcel to file




Tags:

throws:  Exception
access:  public



Implementation of:
PHPExcel_Writer_IWriter::save()
Save PHPExcel to file

Parameters:

string   $pFileName  
   $pFilename  

[ Top ]

method setImagesRoot [line 812]

void setImagesRoot( [string $pValue = '.'])

Set images root

Set images root




Tags:

access:  public


Parameters:

string   $pValue  

[ Top ]

method setPreCalculateFormulas [line 794]

void setPreCalculateFormulas( [boolean $pValue = true])

Set Pre-Calculate Formulas

Set Pre-Calculate Formulas




Tags:

access:  public


Parameters:

boolean   $pValue   Pre-Calculate Formulas?

[ Top ]

method setSheetIndex [line 180]

void setSheetIndex( [int $pValue = 0])

Set sheet index

Set sheet index




Tags:

access:  public


Parameters:

int   $pValue   Sheet index

[ Top ]

method writeAllSheets [line 187]

void writeAllSheets( )

Write all sheets (resets sheetIndex to NULL)

Write all sheets (resets sheetIndex to NULL)




Tags:

access:  public


[ Top ]

method _createCSSStyle [line 461]

string _createCSSStyle( $pStyle)

Create CSS style

Create CSS style




Tags:

access:  private


Parameters:

PHPExcel_Style   $pStyle   PHPExcel_Style

[ Top ]

method _createCSSStyleAlignment [line 483]

string _createCSSStyleAlignment( $pStyle)

Create CSS style (PHPExcel_Style_Alignment)

Create CSS style (PHPExcel_Style_Alignment)




Tags:

access:  private


Parameters:

PHPExcel_Style_Alignment   $pStyle   PHPExcel_Style_Alignment

[ Top ]

method _createCSSStyleBorder [line 554]

string _createCSSStyleBorder( $pStyle)

Create CSS style (PHPExcel_Style_Border)

Create CSS style (PHPExcel_Style_Border)




Tags:

access:  private


Parameters:

PHPExcel_Style_Border   $pStyle   PHPExcel_Style_Border

[ Top ]

method _createCSSStyleBorders [line 534]

string _createCSSStyleBorders( $pStyle)

Create CSS style (PHPExcel_Style_Borders)

Create CSS style (PHPExcel_Style_Borders)




Tags:

access:  private


Parameters:

PHPExcel_Style_Borders   $pStyle   PHPExcel_Style_Borders

[ Top ]

method _createCSSStyleFill [line 571]

string _createCSSStyleFill( $pStyle)

Create CSS style (PHPExcel_Style_Fill)

Create CSS style (PHPExcel_Style_Fill)




Tags:

access:  private


Parameters:

PHPExcel_Style_Fill   $pStyle   PHPExcel_Style_Fill

[ Top ]

method _createCSSStyleFont [line 501]

string _createCSSStyleFont( $pStyle)

Create CSS style (PHPExcel_Style_Font)

Create CSS style (PHPExcel_Style_Font)




Tags:

access:  private


Parameters:

PHPExcel_Style_Font   $pStyle   PHPExcel_Style_Font

[ Top ]

method _generateRow [line 634]

string _generateRow( $pSheet, [array $pValues = null], [int $pRow = 0])

Generate row

Generate row




Tags:

throws:  Exception
access:  private


Parameters:

PHPExcel_Worksheet   $pSheet   PHPExcel_Worksheet
array   $pValues   Array containing cells in a row
int   $pRow   Row number

[ Top ]

method _generateTableFooter [line 616]

void _generateTableFooter( )

Generate table footer

Generate table footer




Tags:

throws:  Exception
access:  private


[ Top ]

method _generateTableHeader [line 602]

string _generateTableHeader( [string $pIdentifier = ''])

Generate table header

Generate table header




Tags:

throws:  Exception
access:  private


Parameters:

string   $pIdentifier   Identifier for the table

[ Top ]

method _mapBorderStyle [line 156]

void _mapBorderStyle( $borderStyle)

Map border style

Map border style




Tags:

access:  private


Parameters:

   $borderStyle  

[ Top ]

method _mapHAlign [line 142]

void _mapHAlign( $hAlign)

Map HAlign

Map HAlign




Tags:

access:  private


Parameters:

   $hAlign  

[ Top ]

method _mapVAlign [line 129]

void _mapVAlign( $vAlign)

Map VAlign

Map VAlign




Tags:

access:  private


Parameters:

   $vAlign  

[ Top ]

method _writeImageTagInCell [line 300]

string _writeImageTagInCell( $pSheet, string $coordinates)

Generate image tag in cell

Generate image tag in cell




Tags:

throws:  Exception
access:  private


Parameters:

PHPExcel_Worksheet   $pSheet   PHPExcel_Worksheet
string   $coordinates   Cell coordinates

[ Top ]


Documentation generated on Mon, 05 Jan 2009 20:37:58 +0100 by phpDocumentor 1.4.1