Questions tagged [pdfdocument]
53 questions
0
votes
0 answers
Writing a simple 'hello world' PDF page in swift for macos and it's coming out blank
So it seems like almost all the examples out there for writing PDF content in a swift app are for ios. But I need this to run under macos. So for example, I can't use any of the UI functions like UIGraphicsRenderer, etc. I have tried to piece…

Joe Bell
- 13
- 3
0
votes
0 answers
how to print list of data side by side in pdf document up to 4 after that it should break into the next line
in my Java code, I have stored multiple user names and their Signatures into Postgresql database and I have retrieved all users data into pdf document but the problem is I should print all of users data side by side up to 4 and then it should break…

lakshman Kommula
- 31
- 1
- 8
0
votes
0 answers
Android PdfDocument multiple pages with Koltin
I am creating pdf of my data using pdfDocument but I am able to create single page only..
Sometimes I am passing 1000 of data which needs multiple pages but I am unable to figure out how can I create next page once reaching the end of first…

Devid John
- 23
- 7
0
votes
1 answer
I am not able to create two pages of pdf using PdfDocument of Android
Devs! I am using PdfDocument to try to save the text as a pdf file. So I wrote this code :
public void Convert(String text, String fileName){
PdfDocument myPdfDocument = new PdfDocument();
PdfDocument.PageInfo myPageInfo = new…

Oseamiya
- 67
- 9
0
votes
0 answers
saving a large size PDF Document to a memory stream using a PdfDocumentProcessor
I have tried a code for saving large-sized PDF documents on a memory stream using a PdfDocumentProcessor from devExpress. But when the file size is too large it gives an error like System.OutOfMemoryException. The sample code snippet is shown below.…

John_sl
- 29
- 3
0
votes
1 answer
Android - Append additional pdf page to PrintedPdfDocument
in my App I print some parts to a pdf for the user. I do this by using a PrintedPdfDocument.
The code looks in short like this:
// create a new document
val printAttributes = PrintAttributes.Builder()
.setMediaSize(mediaSize)
…

Tobias Reich
- 4,952
- 3
- 47
- 90
0
votes
1 answer
How can I specify the download location of pdf?
How can I specify the download location of the converted pdf in the server?
When I run in the server I want to save the pdf in server files but I don't know how can I manipulate the memory stream or how to do it.
using…

Mirac Akdag
- 1
- 2
0
votes
1 answer
How can a extract text from Hindi PDF file in Android
I am trying read the content of hindi PDF. I have used itext7 library to read the PDF file.
It's working fine for English language PDFs and getting the exact characters also But When I try with any Hindi(local) language PDF, values are in unreadable…

Anukool srivastav
- 807
- 1
- 12
- 20
0
votes
0 answers
Android PDFDocument: disable including fonts into PDF file
I creating small PDF files, but they are quite large (around 230kB) although there is only few words of text.
The large size of PDF is caused by included fonts.
My question is if there is way to somehow disable including fonts into PDF with native…

vlk
- 2,581
- 3
- 31
- 35
0
votes
2 answers
How to split a FlexTable across more than 1 page? PDF output, RMarkdown
How to fix Float too large for page by 281.56999pt on input line 453?
Here's an example rmarkdown file:
---
output:
pdf_document:
latex_engine: xelatex
---
```{r, results='asis'}
library(flextable)
data <- mtcars[1:50,1:8]
ft <-…

Vasyl Mohytych
- 93
- 8
0
votes
0 answers
Java iText7 get Table height
I have looked around but not able to get an answer... I am using Itext7 to create a PDF from the data read from a DB and each row/cell can be longer than one line. However, I need to stop when the contents of the table reach the available space and…

Alwaysa Learner
- 496
- 3
- 11
0
votes
0 answers
url to pdf return nil value
example filepath -> file:///Users/name/Library/Developer/CoreSimulator/Devices/4508EE28-CEC9-4AF4-9845-A76B14966A0B/data/Containers/Data/Application/AEE5DA5B-FE71-48C1-A989-8F43939002B7/Documents/folderpath/CompanyNoticeBoard/pdfs/new.pdf
let…

Jok3r
- 454
- 3
- 9
0
votes
1 answer
Java iText scale document to A4
I have the following method that "resizes" all the pages of a document to A4 page dimensions:
for (PdfDocument doc : pdfDocuments) {
int n = doc.getNumberOfPages();
for (int i = 1; i <= n; i++) {
PdfPage…

Nexussim Lements
- 535
- 1
- 15
- 47
0
votes
1 answer
Issue in creating PDFDoc with parameter Inputstream using pdfTron
While creating PDF document using pdftron, I am getting the error.
Code Snippet:
InputStream inputStream = new FileInputStream("test.pdf");
PDFDoc doc = new PDFDoc(inputPdf);
…

Vamshi Barana
- 11
- 1
0
votes
0 answers
Content is not displaying after click on create pdf
Hi in the below when click on create pdf I am calling method create pdf .Click on the button pdf scrollview is created.
But nothing is displaying after click on create pdf.Can any one help why data is not displaying in android. file is existing in…
user13012007