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

Class: StylesDocument

Source Location: /styles/StylesDocument.php

Class StylesDocument

Class Overview

StylesDocument class.

Located in /styles/StylesDocument.php [line 66]

DOMDocument
   |
   --AbstractDocument
      |
      --StylesDocument
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 AbstractDocument

AbstractDocument::$root
AbstractDocument::$xpath

Inherited From 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.

[ Top ]
Method Summary
StylesDocument   __construct()   Constructor method.
void   getAutomaticStyles()  
void   getFontFaceDeclarations()  
void   getMasterStyles()  
void   getStyles()  
void   loadXML()   Loads styles document into this StylesDocument.
void   saveXML()  

[ Top ]
Methods
Constructor __construct  [line 102]

  StylesDocument __construct( )

Constructor method.


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

Redefinition of:
AbstractDocument::__construct()
Constructor method.

[ Top ]
getAutomaticStyles  [line 145]

  void getAutomaticStyles( )


API Tags:
Access:  public

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

[ Top ]
getFontFaceDeclarations  [line 125]

  void getFontFaceDeclarations( )


API Tags:
Access:  public

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

[ Top ]
getMasterStyles  [line 155]

  void getMasterStyles( )


API Tags:
Access:  public

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

[ Top ]
getStyles  [line 135]

  void getStyles( )


API Tags:
Access:  public

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

[ Top ]
loadXML  [line 178]

  void loadXML( $source  )

Loads styles document into this StylesDocument.

Parameters:
   $source: 

API Tags:
Access:  public

Information Tags:
Todo:  Change from XPath to GetElementByTagNameNS ...
Since:  0.5.2 - 02. Mar. 2007

[ Top ]
saveXML  [line 166]

  void saveXML( )


API Tags:
Deprecated:  0.5.2 - 02. Mar. 2007 This method is no longer necessary. Parent method did it all.
Access:  public

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

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

[ Top ]

Documentation generated on Wed, 18 Jun 2008 06:32:22 +0200 by phpDocumentor 1.3.2