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

Class: ContentDocument

Source Location: /content/ContentDocument.php

Class Overview

DOMDocument
   |
   --AbstractDocument
      |
      --ContentDocument

ContentDocument class.


Author(s):

  • Norman Markgraf (nmarkgraf(at)user.sourceforge.net)

Version:

  • $Revision: 136 $

Copyright:

  • Copyright in 2006, 2007 by The OpenDocumentPHP Team

Methods


Inherited Constants

Inherited Variables

Inherited Methods

Class: AbstractDocument

AbstractDocument::__construct()
Constructor method.
AbstractDocument::createDCElement()
Create an DOMElement in the DC namespace with tag $tag.
AbstractDocument::createDefaultStyleElement()
Create an ODPElement as '<style:default-style>'.
AbstractDocument::createGraphicPropertiesElement()
Create an ODPElement as '<style:graphic-properties>'.
AbstractDocument::createManifestElement()
Create an DOMElement in the Manifest namespace with tag $tag.
AbstractDocument::createMetaElement()
Create an DOMElement in the Meta namespace with tag $tag.
AbstractDocument::createOfficeElement()
Create an DOMElement in the Office namespace with tag $tag.
AbstractDocument::createParagraphPropertiesElement()
Create an ODPElement as '<style:paragraph-properties>'.
AbstractDocument::createStyleElement()
Create an DOMElement in the Meta namespace with tag $tag.
AbstractDocument::createStyleStyleElement()
Create an ODPElement as '<style:style>'.
AbstractDocument::createTextPropertiesElement()
Create an ODPElement as '<style:text-properties>'.
AbstractDocument::getElementNS()
Retrieve the value of an element by its namespace and tag.
AbstractDocument::initXpath()
Initialize xpath. You must do this before using xpath.
AbstractDocument::loadHTML()
This function is not needed, so we always return false!
AbstractDocument::loadHTMLFile()
This function is not needed, so we always return false!
AbstractDocument::saveHTML()
This function is not needed, so we always return false!
AbstractDocument::saveHTMLFile()
This function is not needed, so we always return false!
AbstractDocument::saveXML()
Dumps the internal XML tree back into a string.
AbstractDocument::_setRoot()
Set the root Element of this document.

Class Details

[line 39]
ContentDocument class.



Tags:

author:  Norman Markgraf (nmarkgraf(at)user.sourceforge.net)
version:  $Revision: 136 $
copyright:  Copyright in 2006, 2007 by The OpenDocumentPHP Team
since:  0.5.0 - 08.02.2007
license:  GNU General Public License 2.0.


[ Top ]


Class Methods


constructor __construct [line 69]

ContentDocument __construct( )

Constructor method.



Tags:

since:  0.5.0 - 08.02.2007


Overrides AbstractDocument::__construct() (Constructor method.)

[ Top ]

method getBody [line 122]

void getBody( )



Tags:

since:  0.5.0 - 08.02.2007
access:  public


[ Top ]

method getFontFaceDeclarations [line 114]

void getFontFaceDeclarations( )



Tags:

since:  0.5.0 - 08.02.2007
access:  public


[ Top ]

method getTable [line 105]

void getTable( $name)



Tags:

since:  0.5.0 - 08.02.2007
access:  public


Parameters:

   $name  

[ Top ]

method loadXML [line 131]

void loadXML( $source)

Loads a content document into this ContentDocument.



Tags:

since:  0.5.2 - 26.02.2007
access:  public


Parameters:

   $source  

[ Top ]

method setSpreadsheet [line 89]

void setSpreadsheet( )



Tags:

since:  0.5.0 - 08.02.2007
access:  public


[ Top ]

method setText [line 97]

void setText( )



Tags:

since:  0.5.0 - 08.02.2007
access:  public


[ Top ]


Documentation generated on Tue, 12 Jun 2007 09:59:34 +0200 by phpDocumentor 1.3.2