SetaPDF_FormFiller_Field_DefaultAppearanceData Helper class to parse data from the default apperance entry of a form field.

File: /SetaPDF v2/FormFiller/Field/DefaultAppearanceData.php

Class hierarchy

Summary

Properties

$_fontName

$_fontSize

The font size.


Methods

__construct()

The constuctor.

Parameters
$daString : string

The default appearance string.

Exceptions

Throws SetaPDF_Core_Exception

Throws SetaPDF_Core_Parser_Pdf_InvalidTokenException

_onNonstrokingColor()

Callback of the content parser which is called if a nonstroking color operator is matched (g, rg, k).

Parameters
$arguments : array
 

_onTextFont()

Callback of the content parser which is called if the text font operator is matched (Tf).

Parameters
$arguments : array
 
Exceptions

Throws SetaPDF_FormFiller_Field_Exception

getFontName()

Get the font name.

getFontSize()

Get the font size.