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

Class: TextFragment

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

Class TextFragment

Class Overview

TextFragment class.

Here we store the <office:text>...<office:text> part of the content tree.

Located in /content/body/text/TextFragment.php [line 69]

DOMElement
   |
   --ODPElement
      |
      --TextFragment
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.2 - 26. Feb. 2007
License:  GNU General Public License 2.0.

Methods

[ 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
TextFragment   __construct()   Constructor method.
void   nextHeading()   Create a new heading and append it to the document.
void   nextParagraph()   Create a new paragraph and append it to the document.
void   updateUserFieldDecl()   Update User Field Decl(aration)

[ Top ]
Methods
Constructor __construct  [line 91]

  TextFragment __construct( [ $elem = null]  )

Constructor method.

Parameters:
   $elem: 

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

Redefinition of:
ODPElement::__construct()
Constructor.

[ Top ]
nextHeading  [line 120]

  void nextHeading( [int $outlineLevel = 1]  )

Create a new heading and append it to the document.

Parameters:
int   $outlineLevel:  Outline level of this heading.

API Tags:
Access:  public

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

[ Top ]
nextParagraph  [line 106]

  void nextParagraph( )

Create a new paragraph and append it to the document.


API Tags:
Access:  public

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

[ Top ]
updateUserFieldDecl  [line 136]

  void updateUserFieldDecl( string $name, string $value  )

Update User Field Decl(aration)

Parameters:
string   $name:  The name of the user-field-decl(aration) to be updated.
string   $value:  The new value.

API Tags:
Access:  public

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

[ Top ]

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