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

Class: OpenDocument_Paragraph

Source Location: /OpenDocument-0.1.2/OpenDocument/Paragraph.php

Class Overview

OpenDocument_Element
   |
   --OpenDocument_StyledElement
      |
      --OpenDocument_Paragraph

OpenDocument_Paragraph element


Author(s):

Version:

  • 0.1.0

Methods


Inherited Variables

Inherited Methods


Class Details

[line 43]
OpenDocument_Paragraph element


[ Top ]


Method Detail

__construct (Constructor)   [line 73]

OpenDocument_Paragraph __construct( DOMNode $node, OpenDocument $document)

Constructor
  • Access: public

Overrides OpenDocument_StyledElement::__construct() (Constructor)

Parameters:

DOMNode   $node   — 
OpenDocument   $document   — 

[ Top ]

createHyperlink   [line 146]

OpenDocument_Hyperlink createHyperlink( string $text, string $location, [string $type = 'simple'], [string $target = ''], [string $name = ''])

Create OpenDocument_Hyperlink
  • Access: public

Parameters:

string   $text   — 
string   $location   — 
string   $type   —  optional
string   $target   —  optional
string   $name   —  optional

[ Top ]

createSpan   [line 157]

OpenDocument_Span createSpan( string $text)

Create OpenDocument_Span element
  • Access: public

Parameters:

string   $text   — 

[ Top ]

createTextElement   [line 131]

OpenDocument_TextElement createTextElement( string $text)

Create OpenDocument_TextElement
  • Access: public

Parameters:

string   $text   — 

[ Top ]

generateStyleName   [line 117]

string generateStyleName( )

Generate element new style name
  • Access: public

Overrides OpenDocument_StyledElement::generateStyleName() (Generate new style name)
[ Top ]

instance   [line 91]

OpenDocument_Paragraph instance( mixed $object, mixed $content)

Create element instance
  • Throws: OpenDocument_Exception
  • Access: public

Parameters:

mixed   $object   — 
mixed   $content   — 

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:06:47 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.