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

protected string SetaPDF_FormFiller_Field_DefaultAppearanceData::$_fontName

The font name.

$_fontSize

protected float SetaPDF_FormFiller_Field_DefaultAppearanceData::$_fontSize = 0.0

The font size.

$_textColor

protected SetaPDF_Core_DataStructure_Color SetaPDF_FormFiller_Field_DefaultAppearanceData::$_textColor

The text color.


Methods

__construct()

The constuctor.

Parameters
$daString : string

The default appearance string.

_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
 

getFontName()

Get the font name.

getFontSize()

Get the font size.