Docs For Class CreateXlsx

## Class CreateXlsx

Description

Create XLSX

- version: 1.0
- copyright: Copyright (c) 2009-2013 Narcea Producciones Multimedia S.L. (http://www.2mdc.com)
- link: http://www.phpdocx.com
- since: Class available since Release 1.0
- license: http://www.phpdocx.com/wp-content/themes/lightword/pro_license.php

Located in /CreateXlsx.inc (line 28)

    CreateElement
       |
       --CreateXlsx

Direct descendents

Class | Description
--- | ---
CreateCompletedXlsx | Create Completed xlsx for bar/cols, line, radar,... charts
CreateSimpleXlsx | Create xlsx for pie, ofpie charts

Method Summary
CreateXlsx __construct ()
void __destruct ()
void cleanTemplateROW ()
bool createXlsx ()
void generateC (string $r, string $s, [string $t = ''])
void generateCOL ([string $min = '1'], [string $max = '1'], [string $width = '11.85546875'], [string $customWidth = '1'])
void generateCOLS ()
void generateDIMENSION (int $sizeX, int $sizeY)
void generatePAGEMARGINS ([string $left = '0.7'], [string $rigth = '0.7'], [string $bottom = '0.75'], [string $top = '0.75'], [string $header = '0.3'], [string $footer = '0.3'])
void generatePAGESETUP ([string $paperSize = '9'], [string $orientation = 'portrait'], [string $id = '1'])
void generateROW (string $r, string $spans)
void generateSELECTION (string $num)
void generateSHEETDATA ()
void generateSHEETFORMATPR ([string $baseColWidth = '10'], [string $defaultRowHeight = '15'])
void generateSHEETVIEW ([string $tabSelected = '1'], [string $workbookViewId = '0'])
void generateSHEETVIEWS ()
void generateSI ()
void generateSST (string $num)
void generateT (string $name, [string $space = ''])
void generateTABLE (int $rows, int $cols)
void generateTABLECOLUMN ([string $id = '2'], [string $name = ''])
void generateTABLECOLUMNS ([string $count = '2'])
void generateTABLEPART ([string $id = '1'])
void generateTABLEPARTS ([string $count = '1'])
void generateTABLESTYLEINFO ([string $showFirstColumn = '0'], [string $showLastColumn = "0"], [string $showRowStripes = "1"], [string $showColumnStripes = "0"])
void generateV (string $num)
void generateWORKSHEET ()
string __toString ()
Variables

#### Inherited Variables

Inherited from CreateElement

> CreateElement::$_xml

Methods
Constructor __construct (line 63)

Construct

- access: public

CreateXlsx __construct ()

Redefinition of:

CreateElement::__construct()
  Construct

Destructor __destruct (line 73)

Destruct

- access: public

void __destruct ()

Redefinition of:

CreateElement::__destruct()
  Destruct

cleanTemplateROW (line 471)

Clean template row tags

- access: protected

void cleanTemplateROW ()
createXlsx (line 94)

Create XLSX

- access: public

bool createXlsx ()
generateC (line 222)

Generate c

- access: protected

void generateC (string $r, string $s, [string $t = ''])

- string $r
- string $s
- string $t

generateCOL (line 244)

Generate col

- access: protected

void generateCOL ([string $min = '1'], [string $max = '1'], [string $width = '11.85546875'], [string $customWidth = '1'])

- string $min
- string $max
- string $width
- string $customWidth

generateCOLS (line 258)

Generate cols

- access: protected

void generateCOLS ()
generateDIMENSION (line 271)

Generate dimension

- access: protected

void generateDIMENSION (int $sizeX, int $sizeY)

- int $sizeX
- int $sizeY

generatePAGEMARGINS (line 294)

Generate pagemargins

- access: protected

void generatePAGEMARGINS ([string $left = '0.7'], [string $rigth = '0.7'], [string $bottom = '0.75'], [string $top = '0.75'], [string $header = '0.3'], [string $footer = '0.3'])

- string $left
- string $rigth
- string $bottom
- string $top
- string $header
- string $footer

generatePAGESETUP (line 314)

Generate pagesetup

- access: protected

void generatePAGESETUP ([string $paperSize = '9'], [string $orientation = 'portrait'], [string $id = '1'])

- string $paperSize
- string $orientation
- string $id

generateROW (line 331)

Generate row

- access: protected

void generateROW (string $r, string $spans)

- string $r
- string $spans

generateSELECTION (line 346)

Generate selection

- access: protected

void generateSELECTION (string $num)

- string $num

generateSHEETDATA (line 359)

Generate sheetdata

- access: protected

void generateSHEETDATA ()
generateSHEETFORMATPR (line 373)

Generate sheetformatpr

- access: protected

void generateSHEETFORMATPR ([string $baseColWidth = '10'], [string $defaultRowHeight = '15'])

- string $baseColWidth
- string $defaultRowHeight

generateSHEETVIEW (line 390)

Generate sheetview

- access: protected

void generateSHEETVIEW ([string $tabSelected = '1'], [string $workbookViewId = '0'])

- string $tabSelected
- string $workbookViewId

generateSHEETVIEWS (line 405)

Generate sheetviews

- access: protected

void generateSHEETVIEWS ()
generateSI (line 193)

Generate si

- access: protected

void generateSI ()
generateSST (line 180)

Generate sst

- access: protected

void generateSST (string $num)

- string $num

generateT (line 206)

Generate t

- access: protected

void generateT (string $name, [string $space = ''])

- string $name
- string $space

Redefinition of:

CreateElement::generateT()
  Generate w:t

generateTABLE (line 484)

Generate table

- access: protected

void generateTABLE (int $rows, int $cols)

- int $rows
- int $cols

generateTABLECOLUMN (line 505)

Generate tablecolumn

- access: protected

void generateTABLECOLUMN ([string $id = '2'], [string $name = ''])

- string $id
- string $name

generateTABLECOLUMNS (line 521)

Generate tablecolumns

- access: protected

void generateTABLECOLUMNS ([string $count = '2'])

- string $count

generateTABLEPART (line 418)

Generate tablepart

- access: protected

void generateTABLEPART ([string $id = '1'])

- string $id

generateTABLEPARTS (line 430)

Generate tableparts

- access: protected

void generateTABLEPARTS ([string $count = '1'])

- string $count

generateTABLESTYLEINFO (line 538)

Generate tablestyleinfo

- access: protected

void generateTABLESTYLEINFO ([string $showFirstColumn = '0'], [string $showLastColumn = "0"], [string $showRowStripes = "1"], [string $showColumnStripes = "0"])

- string $showFirstColumn
- string $showLastColumn
- string $showRowStripes
- string $showColumnStripes

generateV (line 444)

Generate v

- access: protected

void generateV (string $num)

- string $num

generateWORKSHEET (line 456)

Generate worksheet

- access: protected

void generateWORKSHEET ()
__toString (line 83)

- access: public

string __toString ()

Redefinition of:

CreateElement::__toString()

#### Inherited Methods

Inherited From CreateElement

> CreateElement::__construct()
> CreateElement::cleanTemplate()
> CreateElement::cleanTemplateFirstRPR()
> CreateElement::generateALIGN()
> CreateElement::generateANCHOR()
> CreateElement::generateAVLST()
> CreateElement::generateB()
> CreateElement::generateBCS()
> CreateElement::generateBLIP()
> CreateElement::generateBLIPFILL()
> CreateElement::generateBR()
> CreateElement::generateCNVGRAPHICFRAMEPR()
> CreateElement::generateCNVPICPR()
> CreateElement::generateCNVPR()
> CreateElement::generateDOCPR()
> CreateElement::generateDRAWING()
> CreateElement::generateEFFECTEXTENT()
> CreateElement::generateEXT()
> CreateElement::generateEXTENT()
> CreateElement::generateFILLRECT()
> CreateElement::generateGRAPHIC()
> CreateElement::generateGRAPHICDATA()
> CreateElement::generateGRAPHICPRAMELOCKS()
> CreateElement::generateINLINE()
> CreateElement::generateJC()
> CreateElement::generateLINETO()
> CreateElement::generateLN()
> CreateElement::generateNOPROOF()
> CreateElement::generateNVPICPR()
> CreateElement::generateOFF()
> CreateElement::generateP()
> CreateElement::generatePIC()
> CreateElement::generatePICT()
> CreateElement::generatePOSITIONH()
> CreateElement::generatePOSITIONV()
> CreateElement::generatePOSOFFSET()
> CreateElement::generatePPR()
> CreateElement::generatePRSTDASH()
> CreateElement::generatePRSTGEOM()
> CreateElement::generatePSTYLE()
> CreateElement::generateQUITAR()
> CreateElement::generateR()
> CreateElement::generateRFONTS()
> CreateElement::generateRPR()
> CreateElement::generateRSTYLE()
> CreateElement::generateSCHEMECLR()
> CreateElement::generateSIMPLEPOS()
> CreateElement::generateSOLIDFILL()
> CreateElement::generateSPPR()
> CreateElement::generateSTART()
> CreateElement::generateSTRETCH()
> CreateElement::generateT()
> CreateElement::generateWRAPNONE()
> CreateElement::generateWRAPPOLYGON()
> CreateElement::generateWRAPSQUARE()
> CreateElement::generateWRAPTHROUGH()
> CreateElement::generateWRAPTOPANDBOTTOM()
> CreateElement::generateXFRM()
> CreateElement::__destruct()
> CreateElement::__toString()

Class Constants

#### Inherited Constants

Inherited from CreateElement

> CreateElement::MATHNAMESPACEWORD
> CreateElement::NAMESPACEWORD

Documentation generated on Tue, 21 May 2013 17:19:52 +0200 by phpDocumentor 1.4.4