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

Class: BodyFragment

Source Location: /content/body/BodyFragment.php

Class BodyFragment

Class Overview

BodyFragment class.

Located in /content/body/BodyFragment.php [line 67]

DOMElement
   |
   --ODPElement
      |
      --BodyFragment
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 ]
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
BodyFragment   __construct()   Constructor method.
void   getDocumentFragment()  
void   getNewTableFragment()   Retrieve a new table
void   getSpreadsheetFragment()  
void   getTextFragment()  
void   nextHeading()  
void   nextParagraph()  
void   setSpreadsheet()   Set current OpenDocument to a spreadsheet document.
void   setText()   Set current OpenDocument to a text document.

[ Top ]
Methods
Constructor __construct  [line 89]

  BodyFragment __construct( [ $elem = null]  )

Constructor method.

Parameters:
   $elem: 

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

Redefinition of:
ODPElement::__construct()
Constructor.

[ Top ]
getDocumentFragment  [line 167]

  void getDocumentFragment( )


API Tags:
Deprecated:  0.5.2 - 30. Jul. 2007
Access:  public

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

[ Top ]
getNewTableFragment  [line 135]

  void getNewTableFragment( $name  )

Retrieve a new table

Parameters:
   $name: 

API Tags:
Deprecated:  0.5.2 - 30. Jul. 2007
Access:  public

Information Tags:
Todo:  This should be a method in the SpreadsheetFragment class!
Since:  0.5.0 - 08. Feb. 2007

[ Top ]
getSpreadsheetFragment  [line 218]

  void getSpreadsheetFragment( )


API Tags:
Access:  public

Information Tags:
Since:  0.5.3 - 29. Jul. 2007

[ Top ]
getTextFragment  [line 205]

  void getTextFragment( )


API Tags:
Access:  public

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

[ Top ]
nextHeading  [line 192]

  void nextHeading( [ $outlineLevel = '1']  )

Parameters:
   $outlineLevel: 

API Tags:
Deprecated:  0.5.2 - 26. Feb. 2007
Access:  public

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

[ Top ]
nextParagraph  [line 178]

  void nextParagraph( )


API Tags:
Deprecated:  0.5.2 - 26. Feb. 2007
Access:  public

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

[ Top ]
setSpreadsheet  [line 107]

  void setSpreadsheet( )

Set current OpenDocument to a spreadsheet document.

No mime-type fixing is made, just the <office:spreadsheet> tag is added.


API Tags:
Access:  public

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

[ Top ]
setText  [line 121]

  void setText( )

Set current OpenDocument to a text document.

No mime-type fixing is made, just the <office:text> tag is added.


API Tags:
Access:  public

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

[ Top ]

Documentation generated on Wed, 18 Jun 2008 06:27:35 +0200 by phpDocumentor 1.3.2