Josua Stadelmaier
Josua Stadelmaier
I'm wondering why calculateLineHeight() is called with an array (with numerical keys) as last parameter here: https://github.com/MrRio/jsPDF/blob/master/jspdf.plugin.cell.js#L294 I think calculateLineHeight() expects an object with the column names as keys which...
Hi @chimos I should have told you that my modified code only works with the default unit setting (mm). Sorry ;) So after I replaced pt with mm in your...
@chimos You're welcome:) And yeah you are right, unfortunately there are still only very basic styling options. You probably will be a lot faster with your approach, it took me...
I think the problem is caused by this line: https://github.com/MrRio/jsPDF/blob/master/jspdf.plugin.from_html.js#L778 ``` javascript if (this.pdf.internal.pageSize.height - this.pdf.margins_doc.bottom < this.y + this.pdf.internal.getFontSize()) { ... this.pdf.addPage(); ... } ``` There is a comparison...
Hi Yumiko, after having played around with the plugin jspdf.plugin.cell.js, I can tell you that it works, but with limited formatting capabilities. I don't think the result will be good...
@ykcyoshida @bhaveshgohel here is the modified code: https://gist.github.com/web-jst/b25bc5e793be1352850c (I commented my changes with "bugfix..." or "added...") It only works with the default unit setting (mm) and with autoSize: false You...