我有一个Table 2细胞,每一个里面有一个Paragraph from reportlab.platypus import Paragraph, Table, TableStyle
from reportlab.lib.styles import ParagraphStyle
from reportlab.lib.units import cm
table_style_footer =
我想生成从Google应用引擎数据库检索图像的pdf。 #Example. This works perfectly fine in the resulting doc
story.append(Image('http://www.python.org/community/logos/python-logo.png'))
#Im omitting the details heres, but
这是我的代码。我的第一个功能是基于/Lib/site-packages/reportlab/lib/styles.py源代码,以创建style数组: def create_styles(p_tuples):
retour = StyleSheet1()
parent = None
for p_name, font_name, font in p_tuples: