Document: ezcDocumentDocbookToWikiTableHandler
[ ]
[ Conversion ] [ Styles ]
[ ]
[ ]
[ ]
[ ]
Class: ezcDocumentDocbookToWikiTableHandler
|
Visit tables. [
source]
The RST table rendering algorithm tries losely to fit a table in the provided document dimensions. This may not always work for over long words, or if the table cells contain literal blocks which can not be wrapped.
For this the algorithm estiamtes the available width per column, equally distributes this available width over all columns (which might be far from optimal), and extends the total table width if some cell content exceeds the column width.
The initial table cell estiation happens inside the function estimateColumnWidths() which you might want to extend to fit your needs better.
Parents
ezcDocumentElementVisitorHandler
|
--ezcDocumentDocbookToWikiBaseHandler
|
--ezcDocumentDocbookToWikiTableHandler
Method Summary
|
public mixed |
handle(
$converter, $node, $root )
Handle a node |
Inherited Methods
From
ezcDocumentDocbookToWikiBaseHandler :
From
ezcDocumentElementVisitorHandler :
Methods
handle
Handle a node
Handle / transform a given node, and return the result of the conversion.
Parameters
Redefinition of
Last updated: Mon, 21 Dec 2009