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

Class: CPsFont

Source Location: /sptpl_clsFont.php

Class CPsFont

Class Overview

Extension of the font class used the PostScript output

Located in /sptpl_clsFont.php [line 280]

CFont
   |
   --CPsFont
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 Ps   $clsPs   private handler of the ps module used to get the real size of the
resource   $psfont   Postscript font handler

[ Top ]
Method Summary
CPsFont   CPsFont()  
integer   GetFontHeight()   return the high the characters
string   GetHeight()   Property Height get value
string   GetSize()   Property Size get value
string   GetWidth()   Property width get value
void   ParseXml()   Parse the configuration file. Call the parent parsing function. At the end set the font into its own Cpdf istance
void   SetPsHandler()   Set the PostScript module handler from pagemanager
integer   strlen()   return the string length

[ Top ]
Properties
object Ps   $clsPs [line 287]

private handler of the ps module used to get the real size of the

font


[ Top ]
resource   $psfont [line 292]

Postscript font handler


[ Top ]
Methods
Constructor CPsFont  [line 293]

  CPsFont CPsFont( [mixed $node = NULL]  )



[ Top ]
GetFontHeight  [line 397]

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

return the high the characters


API Tags:
Access:  public


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

[ Top ]
GetHeight  [line 338]

  string GetHeight( )

Property Height get value


API Tags:
Access:  public


Redefinition of:
CFont::GetHeight()
Property Height get value

[ Top ]
GetSize  [line 320]

  string GetSize( )

Property Size get value


API Tags:
Access:  public


Redefinition of:
CFont::GetSize()
Property Size get value

[ Top ]
GetWidth  [line 329]

  string GetWidth( )

Property width get value


API Tags:
Access:  public


Redefinition of:
CFont::GetWidth()
Property width get value

[ Top ]
ParseXml  [line 350]

  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 ]
SetPsHandler  [line 306]

  void SetPsHandler( mixed $Handler  )

Set the PostScript module handler from pagemanager



[ Top ]
strlen  [line 360]

  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:16 +0200 by phpDocumentor 1.3.0RC3