Docs For Class CreateTable

## Class CreateTable

Description

Create tag elements

- version: 2011.19.03
- copyright: Copyright (c) 2009-2013 Narcea Producciones Multimedia S.L. (http://www.2mdc.com)

Located in /CreateTable.inc (line 17)

    CreateElement
       |
       --CreateTable

Method Summary
static CreateTable getInstance ()
CreateTable __construct ()
void __destruct ()
void addList (string $list)
void createTable (array 0)
void generateCELLBORDER (array $border)
void generateCELLFITTEXT (string $val)
void generateCELLGRIDSPAN (string $val)
void generateCELLMARGIN (array $cellMargin)
void generateCELLNOWRAP (string $val)
void generateCELLSHD (string $color)
void generateCELLTEXTDIRECTION (string $val)
void generateCELLVALIGN (string $val)
void generateCELLVMERGE (string $val)
void generateCELLWIDTH (string $val)
void generateGRIDCOL ([ $width = ''])
void generateGRIDCOLS (string $w)
void generateHMERGE ([string $val = ''])
void generateJC ([string $val = ''])
void generateP ([ $decimalTab = 0])
void generateSHD ([string $val = 'horz-cross'], [string $color = 'ff0000'], [string $fill = ''], [string $bgcolor = ''], [string $themeFill = ''])
void generateTBL ()
void generateTBLBORDERS ()
void generateTBLBOTTOM ([string $val = "single"], [string $sz = "4"], [string $space = '0'], [string $color = 'auto'])
void generateTBLCELLMARGIN (array $cellMargin)
void generateTBLCELLSPACING ([string $w = ''], [string $type = 'dxa'])
void generateTBLFLOAT (array $float)
void generateTBLGRID ()
void generateTBLINDENT ([string $w = ''], [string $type = 'dxa'])
void generateTBLINSIDEH ([string $val = "single"], [string $sz = "4"], [string $space = '0'], [string $color = 'auto'])
void generateTBLINSIDEV ([string $val = "single"], [string $sz = "4"], [string $space = '0'], [string $color = 'auto'])
void generateTBLLEFT ([string $val = "single"], [string $sz = "4"], [string $space = '0'], [string $color = 'auto'])
void generateTBLOVERLAP ([string $val = 'never'])
void generateTBLPR ()
void generateTBLRIGHT ([string $val = 'single'], [string $sz = '4'], [string $space = '0'], [string $color = 'auto'])
void generateTBLSTYLE ([string $strVal = 'TableGridPHPDOCX'])
void generateTBLTOP ([string $val = 'single'], [string $sz = '4'], [string $space = '0'], [string $color = 'auto'])
void generateTBLW (string $type, $value, string $w)
void generateTC ()
void generateTCPR ()
void generateTCW ([string $w = ''], [string $type = 'dxa'])
void generateTR ()
void generateTRCANTSPLIT ([string $val = 'true'])
void generateTRHEIGHT ([int $height = ''], [string $hRule = 'auto'])
void generateTRPR ()
void generateTRTABLEHEADER ()
string __toString ()
Variables

#### Inherited Variables

Inherited from CreateElement

> CreateElement::$_xml

Methods
static method getInstance (line 70)

- access: public

static CreateTable getInstance ()
Constructor __construct (line 38)

Construct

- access: public

CreateTable __construct ()

Redefinition of:

CreateElement::__construct()
  Construct

Destructor __destruct (line 48)

Destruct

- access: public

void __destruct ()

Redefinition of:

CreateElement::__destruct()
  Destruct

addList (line 333)

Add list

- access: protected

void addList (string $list)

- string $list

createTable (line 84)

Create table

- access: public

void createTable (array 0)

- array 0: args[0]

generateCELLBORDER (line 358)

Generate w:tcBorders

- access: protected

void generateCELLBORDER (array $border)

- array $border

generateCELLFITTEXT (line 454)

Generate w:tcFitText

- access: protected

void generateCELLFITTEXT (string $val)

- string $val

generateCELLGRIDSPAN (line 396)

Generate w:gridSpan

- access: protected

void generateCELLGRIDSPAN (string $val)

- string $val

generateCELLMARGIN (line 409)

Generate w:tcMar

- access: protected

void generateCELLMARGIN (array $cellMargin)

- array $cellMargin

generateCELLNOWRAP (line 428)

Generate w:noWrap

- access: protected

void generateCELLNOWRAP (string $val)

- string $val

generateCELLSHD (line 441)

Generate w:shd

- access: protected

void generateCELLSHD (string $color)

- string $color

generateCELLTEXTDIRECTION (line 467)

Generate w:textDirection

- access: protected

void generateCELLTEXTDIRECTION (string $val)

- string $val

generateCELLVALIGN (line 483)

Generate w:vAlign

- access: protected

void generateCELLVALIGN (string $val)

- string $val

generateCELLVMERGE (line 499)

Generate w:vmerge

- access: protected

void generateCELLVMERGE (string $val)

- string $val

generateCELLWIDTH (line 512)

Generate w:vmerge

- access: protected

void generateCELLWIDTH (string $val)

- string $val

generateGRIDCOL (line 538)

Generate w:gridcol

- access: protected

void generateGRIDCOL ([ $width = ''])

- $width

generateGRIDCOLS (line 525)

Generate w:gridcols

- access: protected

void generateGRIDCOLS (string $w)

- string $w

generateHMERGE (line 555)

Generate w:hmerge

- deprecated:
- access: protected

void generateHMERGE ([string $val = ''])

- string $val

generateJC (line 566)

Generate w:jc

- access: protected

void generateJC ([string $val = ''])

- string $val

Redefinition of:

CreateElement::generateJC()
  Generate w:jc

generateP (line 579)

Generate w:p

- access: protected

void generateP ([ $decimalTab = 0])

- $decimalTab

Redefinition of:

CreateElement::generateP()
  Generate w:p

generateSHD (line 598)

Generate w:shd

- access: protected

void generateSHD ([string $val = 'horz-cross'], [string $color = 'ff0000'], [string $fill = ''], [string $bgcolor = ''], [string $themeFill = ''])

- string $val
- string $color
- string $fill
- string $bgcolor
- string $themeFill

generateTBL (line 652)

Generate w:tbl

- access: protected

void generateTBL ()
generateTBLBORDERS (line 617)

Generate w:tblborders

- access: protected

void generateTBLBORDERS ()
generateTBLBOTTOM (line 634)

Generate w:tblbottom

- access: protected

void generateTBLBOTTOM ([string $val = "single"], [string $sz = "4"], [string $space = '0'], [string $color = 'auto'])

- string $val
- string $sz
- string $space
- string $color

generateTBLCELLMARGIN (line 755)

Generate w:tblCellMar

- access: protected

void generateTBLCELLMARGIN (array $cellMargin)

- array $cellMargin

generateTBLCELLSPACING (line 716)

Generate w:tblcellspacing

- access: protected

void generateTBLCELLSPACING ([string $w = ''], [string $type = 'dxa'])

- string $w
- string $type

generateTBLFLOAT (line 665)

Generate w:tblpPr

- access: protected

void generateTBLFLOAT (array $float)

- array $float

generateTBLGRID (line 783)

Generate w:tblgrid

- access: protected

void generateTBLGRID ()
generateTBLINDENT (line 735)

Generate w:tblInd

- access: protected

void generateTBLINDENT ([string $w = ''], [string $type = 'dxa'])

- string $w
- string $type

generateTBLINSIDEH (line 801)

Generate w:tblinsideh

- access: protected

void generateTBLINSIDEH ([string $val = "single"], [string $sz = "4"], [string $space = '0'], [string $color = 'auto'])

- string $val
- string $sz
- string $space
- string $color

generateTBLINSIDEV (line 823)

Generate w:tblinsidev

- access: protected

void generateTBLINSIDEV ([string $val = "single"], [string $sz = "4"], [string $space = '0'], [string $color = 'auto'])

- string $val
- string $sz
- string $space
- string $color

generateTBLLEFT (line 844)

Generate w:tblleft

- access: protected

void generateTBLLEFT ([string $val = "single"], [string $sz = "4"], [string $space = '0'], [string $color = 'auto'])

- string $val
- string $sz
- string $space
- string $color

generateTBLOVERLAP (line 862)

Generate w:tbloverlap

- access: protected

void generateTBLOVERLAP ([string $val = 'never'])

- string $val

generateTBLPR (line 875)

Generate w:tblpr

- access: protected

void generateTBLPR ()
generateTBLRIGHT (line 895)

Generate w:tblright

- access: protected

void generateTBLRIGHT ([string $val = 'single'], [string $sz = '4'], [string $space = '0'], [string $color = 'auto'])

- string $val
- string $sz
- string $space
- string $color

generateTBLSTYLE (line 699)

Generate w:tblstyle

- access: protected

void generateTBLSTYLE ([string $strVal = 'TableGridPHPDOCX'])

- string $strVal

generateTBLTOP (line 916)

Generate w:tbltop

- access: protected

void generateTBLTOP ([string $val = 'single'], [string $sz = '4'], [string $space = '0'], [string $color = 'auto'])

- string $val
- string $sz
- string $space
- string $color

generateTBLW (line 935)

Generate w:tblw

- access: protected

void generateTBLW (string $type, $value, string $w)

- string $type
- string $w
- $value

generateTC (line 952)

Generate w:tc

- access: protected

void generateTC ()
generateTCPR (line 964)

Generate w:tcpr

- access: protected

void generateTCPR ()
generateTCW (line 979)

Generate w:tcw

- access: protected

void generateTCW ([string $w = ''], [string $type = 'dxa'])

- string $w
- string $type

generateTR (line 993)

Generate w:tr

- access: protected

void generateTR ()
generateTRCANTSPLIT (line 346)

Generate w:cantSplit

- access: protected

void generateTRCANTSPLIT ([string $val = 'true'])

- string $val

generateTRHEIGHT (line 1008)

Generate w:trheight

- access: protected

void generateTRHEIGHT ([int $height = ''], [string $hRule = 'auto'])

- int $height
- string $hRule

generateTRPR (line 1022)

Generate w:trpr

- access: protected

void generateTRPR ()
generateTRTABLEHEADER (line 1035)

Generate w:tblHeader

- access: protected

void generateTRTABLEHEADER ()
__toString (line 58)

- 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:51 +0200 by phpDocumentor 1.4.4