def gather_elements(self, client, node, style):
# Each child is a hlistcol and represents a column.
# Each grandchild is a bullet list that's the contents
# of the column
# Represent it as a N-column, 1-row table, each cell containing
# a list.
cells = [[ client.gather_elements(child, style) for child in node.children]]
t_style=TableStyle(client.styles['hlist'].commands)
cw=100./len(node.children)
return [ DelayedTable( cells,
colWidths=["%s%%"%cw,]*len(cells),
style=t_style
)]
评论列表
文章目录