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

Class: PHPExcel_Writer_PDF

Source Location: /PHPExcel/Writer/PDF.php

Class Overview

PHPExcel_Writer_HTML
   |
   --PHPExcel_Writer_PDF

PHPExcel_Writer_PDF


Author(s):

Copyright:

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

Implements interfaces:

Methods


Inherited Variables

Inherited Methods


Class Details

[line 40]
PHPExcel_Writer_PDF



Tags:

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


[ Top ]


Class Methods


constructor __construct [line 150]

PHPExcel_Writer_PDF __construct( PHPExcel $phpExcel)

Create a new PHPExcel_Writer_PDF



Tags:

access:  public


Overrides PHPExcel_Writer_HTML::__construct() (Create a new PHPExcel_Writer_HTML)

Parameters:

PHPExcel   $phpExcel   PHPExcel object

[ Top ]

method getOrientation [line 195]

string getOrientation( )

Get Orientation



Tags:

access:  public


[ Top ]

method getPaperSize [line 175]

int getPaperSize( )

Get Paper Size



Tags:

access:  public


[ Top ]

method getTempDir [line 309]

string getTempDir( )

Get temporary storage directory



Tags:

access:  public


[ Top ]

method save [line 216]

void save( [string $pFilename = null])

Save PHPExcel to file



Tags:

throws:  Exception
access:  public



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

Parameters:

string   $pFilename   Filename for the saved file

[ Top ]

method setFont [line 165]

void setFont( string $fontName)

Set font. Examples:

'arialunicid0-chinese-simplified' 'arialunicid0-chinese-traditional' 'arialunicid0-korean' 'arialunicid0-japanese'




Tags:

access:  public


Parameters:

string   $fontName  

[ Top ]

method setOrientation [line 205]

PHPExcel_Writer_PDF setOrientation( [string $pValue = PHPExcel_Worksheet_PageSetup::ORIENTATION_DEFAULT])

Set Orientation



Tags:

access:  public


Parameters:

string   $pValue  

[ Top ]

method setPaperSize [line 185]

PHPExcel_Writer_PDF setPaperSize( [int $pValue = PHPExcel_Worksheet_PageSetup::PAPERSIZE_LETTER])

Set Paper Size



Tags:

access:  public


Parameters:

int   $pValue  

[ Top ]

method setTempDir [line 320]

PHPExcel_Writer_PDF setTempDir( [string $pValue = ''])

Set temporary storage directory



Tags:

throws:  Exception Exception when directory does not exist
access:  public


Parameters:

string   $pValue   Temporary storage directory

[ Top ]


Documentation generated on Sat, 19 May 2012 14:39:35 +0200 by phpDocumentor 1.4.4