phpDocumentor SpoolTemplate
[ Back ] [ class tree: SpoolTemplate ] [ index: SpoolTemplate ] [ all elements ]

Class: CPdfFont

Source Location: /sptpl_clsFont.php

Class CPdfFont

Class Overview

Extension of the font class used to support the Pdf output. Used by CPagePdf

Located in /sptpl_clsFont.php [line 409]

CFont
   |
   --CPdfFont
Author(s): Information Tags:
Copyright:  sptpl_clsFont.php is part of Sptpl project http://www.andrioli.com/en/sptpl.html and it is LGPL
Version:  $Header: d:\cvs/classistd/sptpl/sptpl_clsFont.php,v 2.7 2005/03/17 12:46:48 Darvin Exp $

Properties

Methods

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

Inherited From CFont

CFont::$Bold
CFont::$Face
CFont::$Height
CFont::$Id
CFont::$Italic
CFont::$Size
CFont::$Underline
CFont::$width

Inherited From CFont

CFont::CFont()
class initializer
CFont::GetBold()
Property Bold get value
CFont::GetFace()
Property Face get value
CFont::GetFontHeight()
return the high the characters
CFont::GetHeight()
Property Height get value
CFont::GetId()
Return the identifier for this font. The id is the key to access to this font from the row
CFont::GetItalic()
Property Italic get value
CFont::GetSize()
Property Size get value
CFont::GetUnderline()
Property Underline get value
CFont::GetWidth()
Property width get value
CFont::ParseXml()
Parse the configuration file
CFont::strlen()
return the string length

[ Top ]
Property Summary
object Cpdf   $clsPdf   private instance of the pdf class used to get the real size of the

[ Top ]
Method Summary
CPdfFont   CPdfFont()  
integer   GetFontHeight()   return the high the characters
void   ParseXml()   Parse the configuration file. Call the parent parsing function. At the end set the font into its own Cpdf istance
integer   strlen()   return the string length

[ Top ]
Properties
object Cpdf   $clsPdf [line 417]

private instance of the pdf class used to get the real size of the

font


[ Top ]
Methods
Constructor CPdfFont  [line 418]

  CPdfFont CPdfFont( [mixed $node = NULL]  )



[ Top ]
GetFontHeight  [line 458]

  integer GetFontHeight( [mixed $text = '']  )

return the high the characters


API Tags:
Access:  public


Redefinition of:
CFont::GetFontHeight()
return the high the characters

[ Top ]
ParseXml  [line 431]

  void ParseXml( object CXml2Array $Cfg  )

Parse the configuration file. Call the parent parsing function. At the end set the font into its own Cpdf istance

Parameters:
object CXml2Array   $Cfg:  CXml2Array node holding the configuration information for the font

API Tags:
Access:  public


Redefinition of:
CFont::ParseXml()
Parse the configuration file

[ Top ]
strlen  [line 444]

  integer strlen( string $text  )

return the string length

Parameters:
string   $text: 

API Tags:
Access:  public


Redefinition of:
CFont::strlen()
return the string length

[ Top ]

Documentation generated on Mon, 28 Mar 2005 15:13:15 +0200 by phpDocumentor 1.3.0RC3