jspdf-autoTableを使用して、overflow: 'linebreak'
のオプションを指定してpdfを作成しています。問題は、一部の長いテキストが次の列と重なっていることです。例えば、私のテキストが "Hai hello welcome"である場合、それは "Hai hello wel"として印刷され、残りの "come"は次の列に重ねて印刷されます。どのように次の列をオーバーラップさせずに改行を使用できますか?文字列がjspdf-autotableでオーバーフローし、オーバーフローが発生しました。改行番号
注:drawCell method
のテキストを変更するまで、改行は正常に機能します。
私もこの奇妙な振る舞いを取得:私drawCellメソッド内
Paragraph writing is the foundation of all essay writing whether the form is expository persuasive narrative or creative
:
私が送る何
["Paragraph writing is the foundation of all","essay writing whether the form is expository","persuasive narrative or creative"]
私はなぜ知りません自動的に文字列を配列に分割しました。これが重複している問題の原因になりますか?
私は同じ種類の問題に直面しています。解決を待っている –