Questions tagged [pdfdocument]
53 questions
0
votes
1 answer
android - html to pdf with kotlin webview and PdfDocument()
I have a HTML file and I'm trying convert it to its PDF version, using WebView and PdfDocument.
What I've tried to do:
Showing the HTML in layout - this works OK.
private fun createDocument(uri: Uri) {
val document = PdfDocument()
…

pl_stan
- 11
- 4
0
votes
0 answers
Take photos by camera, and move to DocumentPdf
what I need is to take photos in my application and move to a PDF document, what I can do so far is: Take photos, save it in my specific directory but I can't transform these photos into PDF, but other parameters with you, like textView, EditText…

Eduardo Guidugli
- 31
- 3
0
votes
1 answer
PDF size too large generating through Android PDFDocument. And while using pdfbox it is cutting image in output
I am using android pdf document library to convert image into pdf but it is generating very large size pdf.
PdfDocument document = new PdfDocument();
PdfDocument.PageInfo pageInfo =new
PdfDocument.PageInfo.Builder(bitmap.getWidth(),…

Muhammad
- 127
- 1
- 2
- 13
0
votes
1 answer
My images return as blank in PDF document
In my app I upload images to my company server
These images are converted to a pdf document and uploaded
I am using the built in PDFdocument for this, now my problem is the pages are dynamic depending on the amount of images the user selects or…

Ruben Meiring
- 333
- 2
- 21
0
votes
1 answer
RecycleView not visible in PDF (PdfDocument)
I am trying to add RecycleView to PDF document but it's invisible. I tested StatisticsViewHolder and StatisticsAdapter for RecycleView inside Activity and it worked so I am sure that problem lies in setting up RecycleView or pdf_layout.xml.…

Paweł Bęza
- 1,375
- 1
- 13
- 23
0
votes
1 answer
Getting 'unrecognized selector sent to instance' with PDFDocument initWithData?
I'm using jsPDF in a webview to generate a PDF that I'd like to print out on a connected USB label printer. I'm getting a 'unrecognized selector sent to instance' error.
Here is the error from the Xcode console:
-[__NSCFString bytes]: unrecognized…

Josiah
- 1,117
- 5
- 22
- 35
-1
votes
1 answer
How to convert output into a pdf file
Say if I have some functions, in this case below a function which calculates the mode and another function to calculate the mean of a list of numbers, and then followed by printing a statement 'Hello World!' and finally followed by printing a…

Leockl
- 1,906
- 5
- 18
- 51
-1
votes
1 answer
How Can I make a PDF out of Multiple Images
I am Building an App to Upload Images to my company server
I am now working on Taking multiple images and converting them to PDF so images that are part of the same document can stay together
My Problem is I have No Idea How to make It so I can Add…

Ruben Meiring
- 333
- 2
- 21