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

Class: Style

Source Location: /styles/Style.php

Class Style

Class Overview

Styles class.

Located in /styles/Style.php [line 42]

DOMElement
   |
   --ODPElement
      |
      --DefaultStyle
         |
         --Style
Author(s):
  • Norman Markgraf (nmarkgraf(at)user.sourceforge.net)
Information Tags:
Version:  $Revision: 256 $
Copyright:  Copyright in 2006, 2007 by The OpenDocumentPHP Team
Since:  0.5.0 - 08.02.2007
License:  GNU General Public License 2.0.

Methods

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From DefaultStyle

DefaultStyle::__construct()
Constructor method.
DefaultStyle::getFamily()
Retrieve family.
DefaultStyle::getGraphicProperties()
Retrieve a <style:graphic-properties> tag.
DefaultStyle::getParagraphProperties()
Retrieve a <style:paragraph-properties> tag.
DefaultStyle::getTextProperties()
Retrieve a <style:text-properties> tag.
DefaultStyle::hasGraphicProperties()
Checks if the current default style has an graphic-properties element as child.
DefaultStyle::hasParagraphProperties()
Checks if the current default style has an paragraph-properties element as child.
DefaultStyle::hasTextProperties()
Checks if the current default style has an text-properties element as child.
DefaultStyle::setFamily()
Set family.

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.

Inherited From DOMElement (Internal Class)

constructor __construct ( )
appendChild ( )
C14N ( )
C14NFile ( )
cloneNode ( )
compareDocumentPosition ( )
getAttribute ( )
getAttributeNode ( )
getAttributeNodeNS ( )
getAttributeNS ( )
getElementsByTagName ( )
getElementsByTagNameNS ( )
getFeature ( )
getNodePath ( )
getUserData ( )
hasAttribute ( )
hasAttributeNS ( )
hasAttributes ( )
hasChildNodes ( )
insertBefore ( )
isDefaultNamespace ( )
isEqualNode ( )
isSameNode ( )
isSupported ( )
lookupNamespaceUri ( )
lookupPrefix ( )
normalize ( )
removeAttribute ( )
removeAttributeNode ( )
removeAttributeNS ( )
removeChild ( )
replaceChild ( )
setAttribute ( )
setAttributeNode ( )
setAttributeNodeNS ( )
setAttributeNS ( )
setIdAttribute ( )
setIdAttributeNode ( )
setIdAttributeNS ( )
setUserData ( )

[ Top ]
Method Summary
Style   __construct()   Constructor method.
void   getClass()  
string   getDataStyleName()   Retrieve the value of the 'style:data-style-name' attribute.
string   getDefaultOutlineLevel()   Retrieve the value of the 'style:default-outline-level' attribute.
void   getDisplayName()  
void   getMasterPageName()  
void   getNextStyleName()  
void   getParentStyleName()  
void   getStyleName()  
void   setClass()  
void   setDataStyleName()   Set the value of the 'style:data-style-name' attribute.
void   setDefaultOutlineLevel()   Set the 'style:default-outline-level' attribute.
void   setDisplayName()  
void   setMasterPageName()  
void   setNextStyleName()  
void   setParentStyleName()  
void   setStyleName()  

[ Top ]
Methods
Constructor __construct  [line 49]

  Style __construct( [ $elem = null], [ $value = null], [ $namespace = null]  )

Constructor method.

Parameters:
   $elem: 
   $value: 
   $namespace: 

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

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

[ Top ]
getClass  [line 240]

  void getClass( )


API Tags:
Access:  public

Information Tags:
Since:  0.5.0 - 08.02.2007

[ Top ]
getDataStyleName  [line 219]

  string getDataStyleName( )

Retrieve the value of the 'style:data-style-name' attribute.


API Tags:
Return:  Value of the 'style:data-style-name' attribute.
Access:  public

Information Tags:
Since:  0.5.0 - 08.02.2007

[ Top ]
getDefaultOutlineLevel  [line 266]

  string getDefaultOutlineLevel( )

Retrieve the value of the 'style:default-outline-level' attribute.


API Tags:
Return:  The value of the 'style:default-outline-level' attribute.
Access:  public

Information Tags:
Todo:  Make the return type to be an integer not a string.
Since:  0.5.0 - 08.02.2007

[ Top ]
getDisplayName  [line 101]

  void getDisplayName( )


API Tags:
Access:  public

Information Tags:
Since:  0.5.0 - 08.02.2007

[ Top ]
getMasterPageName  [line 180]

  void getMasterPageName( )


API Tags:
Access:  public

Information Tags:
Since:  0.5.0 - 08.02.2007

[ Top ]
getNextStyleName  [line 143]

  void getNextStyleName( )


API Tags:
Access:  public

Information Tags:
Since:  0.5.0 - 08.02.2007

[ Top ]
getParentStyleName  [line 122]

  void getParentStyleName( )


API Tags:
Access:  public

Information Tags:
Since:  0.5.0 - 08.02.2007

[ Top ]
getStyleName  [line 80]

  void getStyleName( )


API Tags:
Access:  public

Information Tags:
Since:  0.5.0 - 08.02.2007

[ Top ]
setClass  [line 231]

  void setClass( $name  )

Parameters:
   $name: 

API Tags:
Access:  public

Information Tags:
Since:  0.5.0 - 08.02.2007

[ Top ]
setDataStyleName  [line 207]

  void setDataStyleName( string $value  )

Set the value of the 'style:data-style-name' attribute.

Parameters:
string   $value:  The new data style name.

API Tags:
Access:  public

Information Tags:
Since:  0.5.0 - 08.02.2007

[ Top ]
setDefaultOutlineLevel  [line 253]

  void setDefaultOutlineLevel( int $value  )

Set the 'style:default-outline-level' attribute.

Parameters:
int   $value:  The new default outline level.

API Tags:
Access:  public

Information Tags:
Since:  0.5.0 - 08.02.2007

[ Top ]
setDisplayName  [line 92]

  void setDisplayName( $name  )

Parameters:
   $name: 

API Tags:
Access:  public

Information Tags:
Since:  0.5.0 - 08.02.2007

[ Top ]
setMasterPageName  [line 171]

  void setMasterPageName( $name  )

Parameters:
   $name: 

API Tags:
Access:  public

Information Tags:
Since:  0.5.0 - 08.02.2007

[ Top ]
setNextStyleName  [line 134]

  void setNextStyleName( $name  )

Parameters:
   $name: 

API Tags:
Access:  public

Information Tags:
Since:  0.5.0 - 08.02.2007

[ Top ]
setParentStyleName  [line 113]

  void setParentStyleName( $name  )

Parameters:
   $name: 

API Tags:
Access:  public

Information Tags:
Since:  0.5.0 - 08.02.2007

[ Top ]
setStyleName  [line 71]

  void setStyleName( $name  )

Parameters:
   $name: 

API Tags:
Access:  public

Information Tags:
Since:  0.5.0 - 08.02.2007

[ Top ]

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