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

Class: FontFace

Source Location: /global/FontFace.php

Class Overview

Fragment
   |
   --ElementFragment
      |
      --FontFace

FontFace 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: ElementFragment

ElementFragment::__construct()
Constructor method.
ElementFragment::getAttributeNS()
Retreive an attribute by namespace and tag.
ElementFragment::getElement()
Retrieve the current Class as DOMElement.
ElementFragment::setAttributeNS()
Set an attribute with namespace, tag and value.
ElementFragment::__setRoot()
Set the $root attribute correctly.

Class: Fragment

Fragment::__construct()
Constructor method.
Fragment::appendChild()
Set attribute with namespace.
Fragment::createDCElement()
Create an DOMElement in the DC namespace with tag $tag.
Fragment::createMetaElement()
Create an DOMElement in the Meta namespace with tag $tag.
Fragment::createOfficeElement()
Create an DOMElement in the Office namespace with tag $tag.
Fragment::createStyleElement()
Create an DOMElement in the Meta namespace with tag $tag.
Fragment::getChild()
Retrieve a child by its namespace and tag from the current node.
Fragment::getDocumentFragment()
Returns the root DOMElement of this DOM fragment.
Fragment::getTag()
Fragment::hasChild()
Check if the current element has a child $tag with $namespace.
Fragment::initXpath()
Initialize xpath. You must do this before using xpath.
Fragment::setTag()
Set (which means append or replace an existing node) a new node.

Class Details

[line 36]
FontFace 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


method getFontAdornments [line 128]

void getFontAdornments( )

Retrieve font adornments.



Tags:

since:  0.5.0 - 08.02.2007
access:  public


[ Top ]

method getFontCharset [line 150]

void getFontCharset( )

Retieve font charset.



Tags:

since:  0.5.0 - 08.02.2007
access:  public


[ Top ]

method getFontFamilyGeneric [line 107]

void getFontFamilyGeneric( )

Retrieve font family gerneric



Tags:

since:  0.5.0 - 08.02.2007
access:  public


[ Top ]

method getFontPitch [line 86]

void getFontPitch( )

Retrieve font pitch



Tags:

since:  0.5.0 - 08.02.2007
access:  public


[ Top ]

method getStyleName [line 65]

void getStyleName( )

Retrive style name.



Tags:

since:  0.5.0 - 08.02.2007
access:  public


[ Top ]

method getSVGFontFamily [line 175]

void getSVGFontFamily( )

Retreive SVG font family.



Tags:

since:  0.5.0 - 08.02.2007
access:  public


[ Top ]

method getSVGFontVariant [line 196]

void getSVGFontVariant( )

Retrieve SVG font variant.



Tags:

since:  0.5.0 - 08.02.2007
access:  public


[ Top ]

method getSVGFontWeight [line 217]

void getSVGFontWeight( )

Retrieve SVG font weight.



Tags:

since:  0.5.0 - 08.02.2007
access:  public


[ Top ]

method setFontAdornments [line 119]

void setFontAdornments( $name)

Set font adornments.



Tags:

since:  0.5.0 - 08.02.2007
access:  public


Parameters:

   $name  

[ Top ]

method setFontCharset [line 141]

void setFontCharset( $name)

Set font charset.



Tags:

todo:  check if $name matches pattern: [A-Za-z][A-Za-z0-9._\-]*
since:  0.5.0 - 08.02.2007
access:  public


Parameters:

   $name  

[ Top ]

method setFontFamilyGeneric [line 98]

void setFontFamilyGeneric( $name)

Set font family generic.



Tags:

since:  0.5.0 - 08.02.2007
access:  public


Parameters:

   $name  

[ Top ]

method setFontPitch [line 77]

void setFontPitch( $name)

Set font pitch.



Tags:

since:  0.5.0 - 08.02.2007
access:  public


Parameters:

   $name  

[ Top ]

method setStyleName [line 56]

void setStyleName( $name)

Set style name.



Tags:

since:  0.5.0 - 08.02.2007
access:  public


Parameters:

   $name  

[ Top ]

method setSVGFontFamily [line 166]

void setSVGFontFamily( $name)

Set SVG font family.



Tags:

since:  0.5.0 - 08.02.2007
access:  public


Parameters:

   $name  

[ Top ]

method setSVGFontVariant [line 187]

void setSVGFontVariant( $name)

Set SVG font variant.



Tags:

since:  0.5.0 - 08.02.2007
access:  public


Parameters:

   $name  

[ Top ]

method setSVGFontWeight [line 208]

void setSVGFontWeight( $name)

Set SVG font weight



Tags:

since:  0.5.0 - 08.02.2007
access:  public


Parameters:

   $name  

[ Top ]

method __setRoot [line 43]

void __setRoot( )

Set the root element to 'style:font-face-decl'.



Tags:

since:  0.5.0 - 08.02.2007
access:  protected


Overrides ElementFragment::__setRoot() (Set the $root attribute correctly.)

[ Top ]


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