Questions tagged as 'pdf'

1
answer

Convert a text file to PDF without saving to a physical location

Well I made a method to convert a text file into PDF, however it saves the PDF on the machine. I wanted the method to return a array without having to write the PDF to the machine or have to read the file again. public byte[] Converte(s...
asked by 26.01.2017 / 14:10
1
answer

How to determine that a div should occupy the entire space of an A4 sheet in PDF by CSS?

How to determine that a div should occupy the entire space of an A4 sheet in PDF by CSS? To generate the pdf I use PHP. for example <div class="page"> // conteúdo da div </div> I would like that whenever I had a div wit...
asked by 13.05.2016 / 19:24
1
answer

How to create a PDF using iText for Android

I was trying to create a pdf file in my Android application, as I did not find anything that worked, today I was able to solve the problem on my own. Follow the code to whoever interests. Here are the imports corresponding to iText.jar impo...
asked by 28.10.2015 / 02:58
2
answers

PHP - Highcharts - PDF

I'm using Mpdf to make some values I've saved in SESSIONS in php become a report, so that's fine, but the page I want to turn into report has Highcharts Js graphics, I do not know how to export those graphics directly for the report that will be...
asked by 17.02.2016 / 18:04
1
answer

How to inform downloadable PDF file name using IText / Lowagie and Primefaces?

I am able to download the generated file, but I can not name it or .pdf, only download as index.xhtml . Does anyone know how to handle this? I call the method to generate the PDF like this: <h:body> <h:form>...
asked by 08.08.2015 / 22:12
1
answer

How to use TCPDF in conjunction with static attributes?

I'm having problems using static attributes to display the texts with TCPDF ... Trying to execute the codes below, I'm getting the following error: TCPDF ERROR: Some data has already been output, can not send PDF file I really need help...
asked by 16.07.2015 / 19:30
1
answer

Generate PDF images using PDFSharp -Windows Form

I'm using window form .net and would like to convert scanned images to PDF, thus generating PDF images. I'm using PDFSharp. I have the following code but it only generates a page. What commands should I use to generate grab the images and genera...
asked by 31.03.2015 / 16:08
1
answer

Android: How to open unused PDF from the internet?

How do I put a .pdf file in app itself, and open it without having to download using its URL? It would all be offline. Once the app was installed, .pdf would go along with it.     
asked by 26.05.2015 / 13:17
1
answer

Error converting HTML to PDF with HTML2PDF

Next, I'm trying to convert an HTML file that has a table to PDF using the HTML2PDF library but when I put a table with the border="1" attribute the table looks like this: MyHTML:<!doctypehtml><htmllang="en-us"> <...
asked by 17.12.2018 / 17:59
2
answers

iOS: open webview pdf in browser OR download pdf

I'm working on an iOS application with Swift. It works perfectly, however when I click on the pdf download link, it just displays the pdf. I wanted it to downdload OR open the pdf in the browser outside the webview. Anyone who has a solution wil...
asked by 08.08.2018 / 20:24