我有一個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: