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

Class: StylesDocument

Source Location: /styles/StylesDocument.php

Class Overview

DOMDocument
   |
   --AbstractDocument
      |
      --StylesDocument

StylesDocument class.


Author(s):

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

Version:

  • $Revision: 161 $

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 40]
StylesDocument class.



Tags:

author:  Norman Markgraf (nmarkgraf(at)user.sourceforge.net)
version:  $Revision: 161 $
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 70]

StylesDocument __construct( )

Constructor method.



Tags:

since:  0.5.0 - 08.02.2007


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

[ Top ]

method getAutomaticStyles [line 107]

void getAutomaticStyles( )



Tags:

since:  0.5.0 - 08.02.2007
access:  public


[ Top ]

method getFontFaceDeclarations [line 91]

void getFontFaceDeclarations( )



Tags:

since:  0.5.0 - 08.02.2007
access:  public


[ Top ]

method getMasterStyles [line 115]

void getMasterStyles( )



Tags:

since:  0.5.0 - 08.02.2007
access:  public


[ Top ]

method getStyles [line 99]

void getStyles( )



Tags:

since:  0.5.0 - 08.02.2007
access:  public


[ Top ]

method loadXML [line 133]

void loadXML( $source)

Loads styles document into this StylesDocument.



Tags:

since:  0.5.2 - 02.03.2007
access:  public


Parameters:

   $source  

[ Top ]

method saveXML [line 124]

void saveXML( )



Tags:

deprecated:  0.5.2 - 02.03.2007 This method is no longer necessary. Parent method did it all.
since:  0.5.0 - 08.02.2007
access:  public


Overrides AbstractDocument::saveXML() (Dumps the internal XML tree back into a string.)

[ Top ]


Documentation generated on Tue, 12 Jun 2007 10:00:46 +0200 by phpDocumentor 1.3.2