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 - 2010 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 - 2010 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 133]

PHPExcel_Writer_HTML __construct( $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 545]

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 1214]

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 822]

void generateHTMLFooter( )

Generate HTML footer



Tags:

access:  public


[ Top ]

method generateHTMLHeader [line 264]

string generateHTMLHeader( [boolean $pIncludeStyles = false])

Generate HTML header



Tags:

throws:  Exception
access:  public


Parameters:

boolean   $pIncludeStyles   Include styles?

[ Top ]

method generateNavigation [line 417]

string generateNavigation( )

Generate sheet tabs



Tags:

throws:  Exception
access:  public


[ Top ]

method generateSheetData [line 295]

string generateSheetData( )

Generate sheet data



Tags:

throws:  Exception
access:  public


[ Top ]

method generateStyles [line 504]

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 getImagesRoot [line 1150]

string getImagesRoot( )

Get images root



Tags:

access:  public


[ Top ]

method getPreCalculateFormulas [line 1130]

boolean getPreCalculateFormulas( )

Get Pre-Calculate Formulas



Tags:

access:  public


[ Top ]

method getSheetIndex [line 235]

int getSheetIndex( )

Get sheet index



Tags:

access:  public


[ Top ]

method getUseInlineCss [line 1170]

boolean getUseInlineCss( )

Get use inline CSS?



Tags:

access:  public


[ Top ]

method save [line 151]

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

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  
   $pFilename  

[ Top ]

method setImagesRoot [line 1160]

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

Set images root



Tags:

access:  public


Parameters:

string   $pValue  

[ Top ]

method setPreCalculateFormulas [line 1140]

PHPExcel_Writer_HTML setPreCalculateFormulas( [boolean $pValue = true])

Set Pre-Calculate Formulas



Tags:

access:  public


Parameters:

boolean   $pValue   Pre-Calculate Formulas?

[ Top ]

method setSheetIndex [line 245]

PHPExcel_Writer_HTML setSheetIndex( [int $pValue = 0])

Set sheet index



Tags:

access:  public


Parameters:

int   $pValue   Sheet index

[ Top ]

method setUseInlineCss [line 1180]

PHPExcel_Writer_HTML setUseInlineCss( [boolean $pValue = false])

Set use inline CSS?



Tags:

access:  public


Parameters:

boolean   $pValue  

[ Top ]

method writeAllSheets [line 253]

void writeAllSheets( )

Write all sheets (resets sheetIndex to NULL)



Tags:

access:  public


[ Top ]


Documentation generated on Tue, 01 Jun 2010 17:05:00 +0200 by phpDocumentor 1.4.3