pdfbox Questions
6
Solved
I want to use PDFBox for printing PDF files created by iText. I have tried this successfully with PDDocument class and its method print(). You can find documentation here: http://pdfbox.apache.org/...
5
Solved
I want to generate the image(thumbnail) from pdf file just like done by WhatsApp as shown below
I have tried
PDFBox (https://github.com/TomRoush/PdfBox-Android)
Tika (compile 'org.apache.tika:t...
3
I have an existing PDF file that I would like to convert to excel file using python script. Currently using PDFBox, however there are multiple errors similar to the following:
org.apache.pdfbox.pd...
4
Solved
I am trying to extract the hyperlink information from a PDF using PDFBox but I am unsure how to get
for( Object p : pages ) {
PDPage page = (PDPage)p;
List<?> annotations = page.getAnnot...
4
Solved
We are planning to migrate our pdf generation utilities from iText to PDFBox (Due to licensing issues in iText). With some effort, I was able to write and position text, draw lines etc. But creatin...
2
Digital text with text and background imageI am trying to digitally sign pdf file using PDFBox in Java with visible text to appear on page similar to one that gets created when manually created in ...
Kuching asked 1/6, 2017 at 15:21
3
Solved
I create a PDF from HTML with jsoup and OpenHTMLToPDF. I have to use a different font in my PDF to have non-latin glyphs covered (see here). How can I embed my font correctly?
Simplified program re...
Deeann asked 25/3, 2019 at 13:48
5
I am trying to retrieve a File or InputStream instance from PDDocument without saving a PDDocument to the file system.
PDDocument doc= new PDDocument();
...
doc.save("D:\\document.pdf");
Fi...
3
I want to write some content in my PDF using PDFBox. Once the page height is less than the margin I need to create another page. I want to retain the cursor information. I s there a way through whi...
3
Solved
I can insert simple text like this:
document = new PDDocument();
page = new PDPage(PDPage.PAGE_SIZE_A4);
document.addPage(page);
PDPageContentStream content = new PDPageContentStream(document, pag...
2
I'm trying to extract the signature image from a PDF signed with Adobe Sign. Not sure how Adobe adds this image.
I have tested in Java with iText and PDFBox. Normally when you traverse through the...
Hargeisa asked 29/8, 2023 at 17:22
2
I am following a tutorial online. I am working with PDFBox with Eclipse and am having issues with loading the font that is suppose to be in the libraries. I've loaded all 9 jars into my external li...
3
Solved
I am currently trying to grab text from a PDF that is already uploaded and accessed through a link by using PDFBox and Selenium.
I used this as a source: http://www.seleniumeasy.com/selenium-tutori...
Outlet asked 20/6, 2018 at 17:28
2
I am trying to create a PDF from HTML content.
public byte[] generatePdf(final XhtmlPDFGenerationRequest request) {
ByteArrayOutputStream baos = new ByteArrayOutputStream();
PDDocument documen...
8
Solved
When trying to print a PDF page using Java and the org.apache.pdfbox library, I get this error:
PDFBOX : U+000A ('controlLF') is not available in this font Helvetica encoding: WinAnsiEncoding
9
Solved
In my application I have to fill a predefined PDF form with data from DB. We are using Java and Pdfbox. The filling itself is not a problem.
The problem is that in resulting PDF-file all texts in ...
Supersonic asked 30/8, 2012 at 14:5
2
Is there a way to create a table of contents using Java PDFBox library?
The table of contents should be clickable (jump to the right page)
Thanks.
4
Solved
I have this java code:
try {
PDFTextStripper pdfs = new PDFTextStripper();
String textOfPDF = pdfs.getText(PDDocument.load("doc"));
doc.add(new Field(campo.getDestino(),
textOfPDF,
Field.St...
7
Can someone give me an example on how to use Apache PDFBox to convert a PDF file in different images (one for each page of the PDF)?
2
Solved
I'm currently using Java and the PDFBox library to create some PDFs on the fly.
I need to be able to set the character spacing/tracking of some text but can't seem to figure it out.
It looks as t...
Fasano asked 9/5, 2015 at 20:23
4
Solved
I'm attempting to open an existing pdf file and then add another page to the pdf document from within an Android application. On the added page, I need to add some text and an image.
I am wanting ...
6
Solved
I want to convert PDF to SVG. I have written my own Java program using the Apache PDFBox and Batik libraries
PDDocument document = PDDocument.load( pdfFile );
DOMImplementation domImpl =
GenericDO...
1
I am getting java.lang.OutOfMemory error when I am trying to merge one 44k pages pdf. I am fetching all the 44k pages from my DB in chunks and trying to merge with my main document. It is processin...
Shenyang asked 3/12, 2022 at 10:19
2
I have to merge two pdf Files using PdfBox of Apache. I have taken physical pdf files to do so.
Below is the code:
PDFMergerUtility ut = new PDFMergerUtility();
ut.addSource(path1);
ut.addSource(p...
4
Solved
How to remove metadata on PDF using Java?
Is IText will do or any other frameworks have ability to do this?
I didn't find any examples or Classes which will remove metadata using IText. If anybody...
1 Next >
© 2022 - 2025 — McMap. All rights reserved.