lib/ezpdf/classes/class.ezpdftable.php
function outputDocSpecification()
    {
        foreach( array_keys( $this->DocSpecification ) as $key )
        {
            $outputElement =& $this->DocSpecification[$key];

            $documentSpec =& $outputElement['docSpec'];

            if ( isset( $documentSpec['fontName'] ) )
            {
                $this->selectFont( $documentSpec['fontName'] );
            }

            if ( isset( $documentSpec['fontSize'] ) )
            {
                $size = $documentSpec['fontSize'];
            }
            else
            {
                $size = $this->fontSize();
            }

            if ( isset( $documentSpec['cmyk'] ) )
            {
                $this->setColor( $documentSpec['cmyk'] );
            }

            if ( isset( $outputElement['isFunction'] ) && $outputElement['isFunction'] === true )
            {
                $return = call_user_func_array( array( &$this, $outputElement['functionName'] ), $outputElement['parameters'] );
            }
            else
            {
                $return = Cezpdf::ezText( $outputElement['text'],
                                          $size,
                                          array( 'justification' => $documentSpec['justification'] ) );
            }
        }
        return $return;
    }
function outputDocSpecification()
    {
        foreach( array_keys( $this->DocSpecification ) as $key )
        {
            $outputElement =& $this->DocSpecification[$key];

            $documentSpec =& $outputElement['docSpec'];

            if ( isset( $documentSpec['fontName'] ) )
            {
                $this->selectFont( $documentSpec['fontName'] );
            }

            if ( isset( $documentSpec['fontSize'] ) )
            {
                $size = $documentSpec['fontSize'];
            }
            else
            {
                $size = $this->fontSize();
            }

            if ( isset( $documentSpec['cmyk'] ) )
            {
                $this->setColor( $documentSpec['cmyk'] );
            }

            if ( isset( $outputElement['isFunction'] ) && $outputElement['isFunction'] === true )
            {
                $return = call_user_func_array( array( &$this, $outputElement['functionName'] ), $outputElement['parameters'] );
            }
            else
            {
                $return = Cezpdf::ezText( $outputElement['text'],
                                          $size,
                                          array( 'justification' => $documentSpec['justification'] ) );
            }
        }
        return $return;
    }
function outputDocSpecification ( ) { foreach ( array_keys ( $ this -> DocSpecification ) as $ key ) { $ outputElement = & $ this -> DocSpecification [ $ key ] ; $ documentSpec = & $ outputElement [ 'docSpec' ] ; if ( isset ( $ documentSpec [ 'fontName' ] ) ) { $ this -> selectFont ( $ documentSpec [ 'fontName' ] ) ; } if ( isset ( $ documentSpec [ 'fontSize' ] ) ) { $ size = $ documentSpec [ 'fontSize' ] ; } else { $ size = $ this -> fontSize ( ) ; } if ( isset ( $ documentSpec [ 'cmyk' ] ) ) { $ this -> setColor ( $ documentSpec [ 'cmyk' ] ) ; } if ( isset ( $ outputElement [ 'isFunction' ] ) && $ outputElement [ 'isFunction' ] === true ) { $ return = call_user_func_array ( array ( & $ this , $ outputElement [ 'functionName' ] ) , $ outputElement [ 'parameters' ] ) ; } else { $ return = Cezpdf :: ezText ( $ outputElement [ 'text' ] , $ size , array ( 'justification' => $ documentSpec [ 'justification' ] ) ) ; } } return $ return ; }
Loop through all document specification settings and print specified text

\return new Y offset
Loop through all document specification settings and print specified text