Docs For Class CreateText

## Class CreateText

Description

Create tag elements

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

Located in /CreateText.inc (line 17)

    CreateElement
       |
       --CreateText

Class Constant Summary
IDTITLE = 229998237
Method Summary
static CreateText getInstance ()
CreateText __construct ()
void __destruct ()
void createText (mixed $args[0], array $args[1])
void generateBOOKMARKEND (int $id)
void generateBOOKMARKSTART (int $id, string $name)
void generateCAPS ([string $val = 'on'])
void generateCOLOR ([string $val = '000000'])
void generateCONTEXTUALSPACING ([string $val = 'on'])
void generateHEADINGLEVEL (string $val)
void generateI ([string $val = 'single'])
void generateINDENT ([ $indent_left = 0], [ $indent_right = 0], string $val)
void generateJC ([string $val = ''])
void generateKEEPLINES ([string $val = 'on'])
void generateKEEPNEXT ([string $val = 'on'])
void generatePAGEBREAKBEFORE ([string $val = 'on'])
void generatePPR ()
void generatePPRRPR ()
void generatePSTYLE ([string $val = 'TitlePHPDOCX'])
void generateSPACING ([ $line = '240'], $spacingTop, $spacingBottom)
void generateSZ ([string $val = '11'])
void generateT (string $dat, [int $spaces = 0], [string $lineBreak = false], [string $columnBreak = false])
void generateTABPOSITIONS (array $tabs)
void generateTABS ()
void generateTEXTDIRECTION ([string $val = 'lrTb'])
void generateU ([string $val = 'single'])
void generateWIDOWCONTROL ([string $val = 'on'])
void generateWORDWRAP ([string $val = 'on'])
void initText (array $args[0])
string __toString ()
Variables

#### Inherited Variables

Inherited from CreateElement

> CreateElement::$_xml

Methods
static method getInstance (line 71)

Singleton, return instance of class

- access: public

static CreateText getInstance ()
Constructor __construct (line 38)

Construct

- access: public

CreateText __construct ()

Redefinition of:

CreateElement::__construct()
  Construct

Destructor __destruct (line 48)

Destruct

- access: public

void __destruct ()

Redefinition of:

CreateElement::__destruct()
  Destruct

createText (line 86)

Create text

- access: public

void createText (mixed $args[0], array $args[1])

- mixed $args[0]
- array $args[1]

generateBOOKMARKEND (line 247)

Generate w:bookmarkend

- access: protected

void generateBOOKMARKEND (int $id)

- int $id

generateBOOKMARKSTART (line 263)

Generate w:bookmarkstart

- access: protected

void generateBOOKMARKSTART (int $id, string $name)

- int $id
- string $name

generateCAPS (line 311)

Generate w:caps

- access: protected

void generateCAPS ([string $val = 'on'])

- string $val

generateCOLOR (line 280)

Generate w:color

- access: protected

void generateCOLOR ([string $val = '000000'])

- string $val

generateCONTEXTUALSPACING (line 295)

Generate w:contextualSpacing

- access: protected

void generateCONTEXTUALSPACING ([string $val = 'on'])

- string $val

generateHEADINGLEVEL (line 326)

Generate w:outlineLvl

- access: protected

void generateHEADINGLEVEL (string $val)

- string $val

generateI (line 344)

Generate w:i

- access: protected

void generateI ([string $val = 'single'])

- string $val

generateINDENT (line 359)

Generate w:ind

- access: protected

void generateINDENT ([ $indent_left = 0], [ $indent_right = 0], string $val)

- string $val
- $indent_left
- $indent_right

generateJC (line 408)

Generate w:jc

- access: protected

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

- string $val

Redefinition of:

CreateElement::generateJC()
  Generate w:jc

generateKEEPLINES (line 376)

Generate w:keepLines

- access: protected

void generateKEEPLINES ([string $val = 'on'])

- string $val

generateKEEPNEXT (line 392)

Generate w:keepNext

- access: protected

void generateKEEPNEXT ([string $val = 'on'])

- string $val

generatePAGEBREAKBEFORE (line 423)

Generate w:pagebreakbefore

- access: protected

void generatePAGEBREAKBEFORE ([string $val = 'on'])

- string $val

generatePPR (line 438)

Generate w:ppr

- access: protected

void generatePPR ()

Redefinition of:

CreateElement::generatePPR()
  Generate w:ppr

generatePPRRPR (line 451)

Generate w:rPr within a w:pPr tag

- access: protected

void generatePPRRPR ()
generatePSTYLE (line 472)

Generate w:pstyle

- access: protected

void generatePSTYLE ([string $val = 'TitlePHPDOCX'])

- string $val

Redefinition of:

CreateElement::generatePSTYLE()
  Generate w:pstyle

generateSPACING (line 487)

Generate w:spacing

- access: protected

void generateSPACING ([ $line = '240'], $spacingTop, $spacingBottom)

- $line
- $spacingTop
- $spacingBottom

generateSZ (line 508)

Generate w:sz

- access: protected

void generateSZ ([string $val = '11'])

- string $val

generateT (line 527)

Generate w:t

- access: protected

void generateT (string $dat, [int $spaces = 0], [string $lineBreak = false], [string $columnBreak = false])

- string $dat
- int $spaces
- string $lineBreak
- string $columnBreak

Redefinition of:

CreateElement::generateT()
  Generate w:t

generateTABPOSITIONS (line 588)

Generate w:abs

- access: protected

void generateTABPOSITIONS (array $tabs)

- array $tabs

generateTABS (line 617)

Generate w:abs

- access: protected

void generateTABS ()
generateTEXTDIRECTION (line 631)

Generate w:textDirection

- access: protected

void generateTEXTDIRECTION ([string $val = 'lrTb'])

- string $val

generateU (line 647)

Generate w:u

- access: protected

void generateU ([string $val = 'single'])

- string $val

generateWIDOWCONTROL (line 662)

Generate w:widowcontrol

- access: protected

void generateWIDOWCONTROL ([string $val = 'on'])

- string $val

generateWORDWRAP (line 678)

Generate w:wordwrap

- access: protected

void generateWORDWRAP ([string $val = 'on'])

- string $val

initText (line 234)

Init text

- access: public

void initText (array $args[0])

- array $args[0]

__toString (line 59)

Magic method, returns current XML

- return: Return current XML
- 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
IDTITLE = 229998237 (line 19)

#### 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