def leftBottom(self, e):
story = []
if e is None:
return story
b = model.Board()
if 'algebraic' in e:
b.fromAlgebraic(e['algebraic'])
x = unicode(self.board2Html(b).decode("ISO-8859-1"))
story.append(
BorderedParagraph(
'<para autoLeading="max">' +
x +
'</para>',
self.style))
s_left = ''
if 'stipulation' in e:
s_left = e['stipulation']
story.append(self.subscript(s_left, b.getPiecesCount()))
story.append(
reportlab.platypus.Paragraph(
'<font face="%s" size=%d>%s</font>' %
(FONT_FAMILY,
FONT_SIZE['footer'],
ExportDocument.solver(
e,
self.Lang) +
'<br/>' +
ExportDocument.legend(b)),
self.style))
return story
评论列表
文章目录