phpDocumentor OpenDocumentPHP
content_body_text
[ class tree: OpenDocumentPHP ] [ index: OpenDocumentPHP ] [ all elements ]

Class: Paragraph

Source Location: /content/body/text/Paragraph.php

Class Paragraph

Class Overview

Paragraph class.

Located in /content/body/text/Paragraph.php [line 62]

DOMElement
   |
   --ODPElement
      |
      --Paragraph
Author(s):
  • Norman Markgraf (nmarkgraf(at)user.sourceforge.net)
Information Tags:
Version:  Release: @package_version@
Copyright:  Copyright in 2006, 2007 by The OpenDocumentPHP Team
Link:  http://opendocumentphp.org
Since:  0.5.0 - 08. Feb. 2007
License:  GNU General Public License 2.0.

Methods

[ Top ]
Direct descendents
Child Class Description
Heading Heading class extends Paragraph class.

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From ODPElement

ODPElement::__construct()
Constructor.
ODPElement::appendChild()
Set attribute with namespace.
ODPElement::getAttributeNS()
Retrieve an attribute with namespace, tag and value.
ODPElement::getChildNS()
Retrieve a child by its namespace and tag from the current node.
ODPElement::getDrawAttribute()
Retrieve a draw attribute of the current element.
ODPElement::getElement()
Return this element as uncovered DOMElement.
ODPElement::getElementByTagNameNS()
Retrieve (first) element by given tagname and namespace.
ODPElement::getElementsByTagNameNS()
Retrieve elements by given tagname and namespace.
ODPElement::getStyleAttribute()
Retrieve a style attribute of the current element.
ODPElement::hasAttributeNS()
Check if this element has an attribute with given namespace and tagname.
ODPElement::hasChildNS()
Check if the current element has a child $tag with $namespace.
ODPElement::putAttributeNS()
Put an attribute with namespace, tag and value.
ODPElement::putDrawAttribute()
Put (set with remove old) a draw attribute to the current ODPElement.
ODPElement::putFOAttribute()
Put (set with remove old) a FO attribute to the current ODPElement.
ODPElement::putStyleAttribute()
Put (set with remove old) a sytle attribute to the current ODPElement.
ODPElement::removeAttributeNS()
Set attribute with namespace.
ODPElement::setAttributeNS()
Set attribute with namespace.
ODPElement::setManifestAttribute()
Set a Manifest attribute to the current ODPElement.

[ Top ]
Method Summary
Paragraph   __construct()   Constructor method.
void   append()   Append a text node or a DOMElement as a child to the current paragraph node.
void   getClassNames()  
void   getCondStyleName()  
void   getId()  
void   getStyleName()  
void   setClassNames()  
void   setCondStyleName()  
void   setId()  
void   setStyleName()  

[ Top ]
Methods
Constructor __construct  [line 69]

  Paragraph __construct( [ $elem = null], [ $value = null], [ $namespace = null]  )

Constructor method.

Parameters:
   $elem: 
   $value: 
   $namespace: 

Information Tags:
Since:  0.5.2 - 26. Feb. 2007

Redefinition of:
ODPElement::__construct()
Constructor.

Redefined in descendants as:

[ Top ]
append  [line 186]

  void append( mixed $content  )

Append a text node or a DOMElement as a child to the current paragraph node.

Parameters:
mixed   $content:  Eigther a text (as a string) or a child node (as a DOMElement) which will be appended to the current paragraph node.

API Tags:
Access:  public

Information Tags:
Since:  0.5.0 - 08. Feb. 2007

[ Top ]
getClassNames  [line 146]

  void getClassNames( )


API Tags:
Access:  public

Information Tags:
Since:  0.5.0 - 08. Feb. 2007

[ Top ]
getCondStyleName  [line 169]

  void getCondStyleName( )


API Tags:
Access:  public

Information Tags:
Since:  0.5.0 - 08. Feb. 2007

[ Top ]
getId  [line 100]

  void getId( )


API Tags:
Access:  public

Information Tags:
Since:  0.5.0 - 08. Feb. 2007

[ Top ]
getStyleName  [line 123]

  void getStyleName( )


API Tags:
Access:  public

Information Tags:
Since:  0.5.0 - 08. Feb. 2007

[ Top ]
setClassNames  [line 136]

  void setClassNames( $names  )

Parameters:
   $names: 

API Tags:
Access:  public

Information Tags:
Since:  0.5.0 - 08. Feb. 2007

[ Top ]
setCondStyleName  [line 159]

  void setCondStyleName( $name  )

Parameters:
   $name: 

API Tags:
Access:  public

Information Tags:
Since:  0.5.0 - 08. Feb. 2007

[ Top ]
setId  [line 90]

  void setId( $id  )

Parameters:
   $id: 

API Tags:
Access:  public

Information Tags:
Since:  0.5.0 - 08. Feb. 2007

[ Top ]
setStyleName  [line 113]

  void setStyleName( $name  )

Parameters:
   $name: 

API Tags:
Access:  public

Information Tags:
Since:  0.5.0 - 08. Feb. 2007

[ Top ]

Documentation generated on Wed, 18 Jun 2008 06:31:29 +0200 by phpDocumentor 1.3.2