【问题标题】:How to justify text in ReportLab如何在 ReportLab 中对齐文本
【发布时间】:2021-06-14 23:40:12
【问题描述】:

我正在尝试使用reportlab创建一个pdf文档,其中一个文本很长,reportlab将其写在一行中,它不会生成中断,我插入了部分文本,但我需要证明它的合理性,这样看起来不错。

【问题讨论】:

    标签: python python-3.x pdf reportlab


    【解决方案1】:

    您可以在reportlab.platypus.Paragraph 中换行以自动换行

    【讨论】:

      猜你喜欢
      • 2011-06-25
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-09-23
      • 1970-01-01
      相关资源
      最近更新 更多