pdf-generation

Generate PDF with digital signature

痴心易碎 提交于 2019-12-18 11:56:03
问题 Is it possible to generate PDF file in PHP with digital signature? An open-source solution is preferred. 回答1: TCPDF starting from version 5.5.001 (released 2010-06-23) can sign generated PDF documents. It can also place transparent signature rectangle field over any bitmap/text, so clicking on the signature field brings up signature panel - cool feature. That same does seta-PDF signer, however you have to pay:-) If TCPDF extended with FPDI bridge, it can also parse already existing documents

PDF Report generation [closed]

喜你入骨 提交于 2019-12-18 11:34:39
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . EDIT : I completed this project using ABCpdf. For anyone interested, I love this product and their support is A+. Everything I listed as a 'Con' for the HTML -> PDF solution was easily doable in ABCpdf. I've been charged with creating a data driven pdf report. After reviewing the plethora of options, I have

Programmatically convert Word (docx) to PDF

半世苍凉 提交于 2019-12-18 11:16:21
问题 Ok before you think "Not another question like this" please read this first. I have an application (web application in ASP.NET MVC 3) the generates Word files in DocX using the DocX library. The application takes a template and fills it in with all the data from a database. Now I want to create a PDF version of that created docx-file. I know apose.word is an option, but not for me since I have little budget. Other libs where I have to spend some money on are also out of the question. I don't

How do you combine PDFs in ruby?

痞子三分冷 提交于 2019-12-18 11:07:56
问题 This was asked in 2008. Hopefully there's a better answer now. How can you combine PDFs in ruby? I'm using the pdf-stamper gem to fill out a form in a PDF. I'd like to take n PDFs, fill out a form in each of them, and save the result as an n -page document. Can you do this with a native library like prawn? Can you do this with rjb and iText? pdf-stamper is a wrapper on iText. I'd like to avoid using two libraries (i.e. pdftk and iText), if possible. 回答1: As of 2013 you can use Prawn to merge

Manual Page Break in TCPDF

懵懂的女人 提交于 2019-12-18 10:48:34
问题 I am using TCPDF to generate the PDF in one of my projects. I simply create a HTML file and give it to the TCPDF to handle the PDF generation. But now I have some HTML where multiple certificates are added one after the other and I want to have a page break in it. Page Break should be decided by HTML i.e. I want to know if there is any identifier in HTML which TCPDF understands and then accordingly adds a page break into the generated PDF. How could I do this? 回答1: I'm using <br pagebreak=

Export several word documents appended in a single pdf file

和自甴很熟 提交于 2019-12-18 09:47:23
问题 I have an embedded MS-Word document in an Excel Worksheet which name is SalaryPaycheck . The MS-word document contains several linked fields to Worksheet cells. I have update the linked cells, several times and perform updating above fields. Then I need perform exporting the embedded MS-Word document each time the fields have updated, as PDF . So I need all exported files are appending in a single pdf file. I using below code: Sub PrintIt() Dim objWord As Word.Application Dim objDoc As Word

How to get vertical cursor position when writing document in iText 7?

∥☆過路亽.° 提交于 2019-12-18 09:37:07
问题 In iText 5 there is a method named getVerticalPosition() which gives the position on the page for the next object written. As answers this question How to find out the current cursor position on a page? and which is documented here What is the equivalent for iText 7 to get the current vertical position on the page for writing the document? UPDATE DATE: 08-11-2018: As per the response in the comment I have updated the logic of adding a page preak or a new page but both are still printing on

PDF.js Inserting Images

蓝咒 提交于 2019-12-18 09:12:17
问题 I've started using PDF.js, an excelent work, by the way. But now I want to insert an image (from a canvas element) on the pdf page. Here's my code: var image = myCanvas.getContext('2d').getImageData(0,0,400,300), doc = new pdf(); doc.setProperties({ title: fileName, author: 'VirtuaLab®', creator: 'pdf.js' }); doc.addPage(); data = doc.output(); But I haven't found anything about inserting images on PDF.js pages. Maybe doc.image() or doc.addImage ? 回答1: Disclaimer: I work for Bytescout

Flying Saucer font for unicode characters

怎甘沉沦 提交于 2019-12-18 05:47:24
问题 I am generating PDF using Grails export plugin (basically, Flying Saucer). My GSP page is an UTF-8 page (or at least properties are showing that it is UTF-8, also in the beginning of the GSP page there is a <?xml version="1.0" encoding="UTF-8"?> directive). At first generated PDF properly contained umlaut characters "äöüõ", but Cyrillic characters were missing from PDF (not rendered at all). Then I've changed my css file as described in documentation by adding following: @font-face { src: url

Pandoc: Long tablerows in Markdown->PDF documents do not get linewrap

风格不统一 提交于 2019-12-18 05:47:17
问题 I am using Pandoc to generate markdown->DOCX documents with a lot of tables but would like better control over the layout. I am now trying to output markdown->PDF as well, but have run into problems with table output. In DOCX, long rows with text are simply broken up into multiple lines. In the PDF document this does not happen; a row is always a single line that do not wrap at the right margin but continue outside of the page. Normal paragraph text flows according to the right margin, so the