Path

ez components / documentation / api reference / 2009.2 / document


eZ Components 2009.2

Document: ezcDocumentPdfTableColumnWidthCalculator

[ Tutorial ] [ Conversion ] [ Styles ] [ Class tree ] [ Element index ] [ ChangeLog ] [ Credits ]

Class: ezcDocumentPdfTableColumnWidthCalculator

Table column width calculator [source]
Base class for a table column width calculator, which is responsible to estimate / guess / calculate sensible column width for a docbook table definitions.

Descendents

Child Class Description
ezcDocumentPdfDefaultTableColumnWidthCalculator Table column width calculator

Method Summary

public abstract array estimateWidths( $table )
Estimate column widths

Methods

estimateWidths

array estimateWidths( $table )
Estimate column widths
Should return an array with the column widths given as float numbers between 0 and 1, which all add together to 1.

Parameters

Name Type Description
$table DOMElement  

Redefined in descendants as

Method Description
ezcDocumentPdfDefaultTableColumnWidthCalculator::estimateWidths() Estimate column widths

Last updated: Mon, 21 Dec 2009