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 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel)

Implements interfaces:

Variables

Methods


Child classes:

PHPExcel_Writer_PDF
PHPExcel_Writer_PDF

Class Details

[line 36]
PHPExcel_Writer_HTML



Tags:

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


[ Top ]


Class Variables

$_isPdf =  false

[line 126]

Is the current writer creating PDF?



Tags:

access:  protected

Type:   boolean


[ Top ]

$_phpExcel =

[line 42]

PHPExcel object



Tags:

access:  protected

Type:   PHPExcel


[ Top ]



Class Methods


constructor __construct [line 140]

PHPExcel_Writer_HTML __construct( PHPExcel $phpExcel)

Create a new PHPExcel_Writer_HTML



Tags:

access:  public


Overridden in child classes as:

PHPExcel_Writer_PDF::__construct()
Create a new PHPExcel_Writer_PDF

Parameters:

PHPExcel   $phpExcel   PHPExcel object

[ Top ]

method buildCSS [line 603]

array buildCSS( [boolean $generateSurroundingHTML = true])

Build CSS styles



Tags:

throws:  Exception
access:  public


Parameters:

boolean   $generateSurroundingHTML   Generate surrounding HTML style? (html { })

[ Top ]

method formatColor [line 1256]

string formatColor( string $pValue, string $pFormat)

Add color to formatted string as inline style



Tags:

access:  public


Parameters:

string   $pValue   Plain formatted value without color
string   $pFormat   Format code

[ Top ]

method generateHTMLFooter [line 878]

void generateHTMLFooter( )

Generate HTML footer



Tags:

access:  public


[ Top ]

method generateHTMLHeader [line 305]

string generateHTMLHeader( [boolean $pIncludeStyles = false])

Generate HTML header



Tags:

throws:  Exception
access:  public


Parameters:

boolean   $pIncludeStyles   Include styles?

[ Top ]

method generateNavigation [line 475]

string generateNavigation( )

Generate sheet tabs



Tags:

throws:  Exception
access:  public


[ Top ]

method generateSheetData [line 356]

string generateSheetData( )

Generate sheet data



Tags:

throws:  Exception
access:  public


[ Top ]

method generateStyles [line 562]

string generateStyles( [boolean $generateSurroundingHTML = true])

Generate CSS styles



Tags:

throws:  Exception
access:  public


Parameters:

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

[ Top ]

method getGenerateSheetNavigationBlock [line 275]

boolean getGenerateSheetNavigationBlock( )

Get sheet index



Tags:

access:  public


[ Top ]

method getImagesRoot [line 1214]

string getImagesRoot( )

Get images root



Tags:

access:  public


[ Top ]

method getPreCalculateFormulas [line 1194]

boolean getPreCalculateFormulas( )

Get Pre-Calculate Formulas



Tags:

access:  public


[ Top ]

method getSheetIndex [line 255]

int getSheetIndex( )

Get sheet index



Tags:

access:  public


[ Top ]

method getUseInlineCss [line 1234]

boolean getUseInlineCss( )

Get use inline CSS?



Tags:

access:  public


[ Top ]

method save [line 151]

void save( [string $pFilename = null])

Save PHPExcel to file



Tags:

throws:  Exception
access:  public


Overridden in child classes as:

PHPExcel_Writer_PDF::save()
Save PHPExcel to file


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

Parameters:

string   $pFilename  

[ Top ]

method setGenerateSheetNavigationBlock [line 285]

PHPExcel_Writer_HTML setGenerateSheetNavigationBlock( [boolean $pValue = true])

Set sheet index



Tags:

access:  public


Parameters:

boolean   $pValue   Flag indicating whether the sheet navigation block should be generated or not

[ Top ]

method setImagesRoot [line 1224]

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

Set images root



Tags:

access:  public


Parameters:

string   $pValue  

[ Top ]

method setPreCalculateFormulas [line 1204]

PHPExcel_Writer_HTML setPreCalculateFormulas( [boolean $pValue = true])

Set Pre-Calculate Formulas



Tags:

access:  public


Parameters:

boolean   $pValue   Pre-Calculate Formulas?

[ Top ]

method setSheetIndex [line 265]

PHPExcel_Writer_HTML setSheetIndex( [int $pValue = 0])

Set sheet index



Tags:

access:  public


Parameters:

int   $pValue   Sheet index

[ Top ]

method setUseInlineCss [line 1244]

PHPExcel_Writer_HTML setUseInlineCss( [boolean $pValue = false])

Set use inline CSS?



Tags:

access:  public


Parameters:

boolean   $pValue  

[ Top ]

method writeAllSheets [line 293]

void writeAllSheets( )

Write all sheets (resets sheetIndex to NULL)



Tags:

access:  public


[ Top ]


Documentation generated on Sat, 19 May 2012 14:37:29 +0200 by phpDocumentor 1.4.4