Overview

Packages

  • PHP
  • vsword
    • node
    • parser
      • addesed
    • structure
      • style

Classes

  • AlignNode
  • ArbitraryCompositeNode
  • ArbitraryNode
  • BodyCompositeNode
  • BoldStyleNode
  • BrNode
  • CompositeNode
  • DocumentCompositeNode
  • DrawingNode
  • EmptyCompositeNode
  • FontSizeStyleNode
  • HyperlinkCompositeNode
  • ItalicStyleNode
  • ListCompositeNode
  • ListItemCompositeNode
  • Node
  • PageBreakNode
  • PCompositeNode
  • PPrCompositeNode
  • RCompositeNode
  • RPrCompositeNode
  • StringNode
  • TableColCompositeNode
  • TableCompositeNode
  • TableRowCompositeNode
  • TextNode
  • UnderlineStyleNode
  • Overview
  • Package
  • Class
  • Tree

Class TextNode

Class TextNode

Node implements INode
Extended by TextNode implements INodeTextAdded, ILineContext
Package: vsword\node
Author: v.raskin
Version: 1.0.1
Located at vsword/node/TextNode.php
Methods summary
public
# __construct( mixed $text = '' )
public
# setText( string $text )

Parameters

$text
string
$text
public INode
# addText( string $text )

Parameters

$text
string

Returns

INode

Implementation of

INodeTextAdded::addText()
public string
# getText( )

Returns

string
public
# getWord( )

Throws

Exception

Overrides

Node::getWord()
Methods inherited from Node
__toString(), addAttribute(), addAttributes(), attributeToString(), getAttribute(), getAttributes(), getHtml(), getName(), getParent(), look(), setParent(), setStyle(), setStyleID()
Properties summary
protected mixed $text
#
Properties inherited from Node
$attributes, $parent, $styleId
wordx API documentation generated by ApiGen 2.8.0