External sign ??

2015-12-04 Thread Eric Chow
Hello, Is there any example to do an external sign with PDFBOX 2.0 ? Best regards, Eric

PDFBox 2.0 : How to digital signature using Sun's PKCS#11 provider from smartcard ?

2015-11-29 Thread Eric Chow
Hello, Is there any example to do the digital signature using PKCS#11 (Smart card) using Sun's PKCS#11 provider? Best regards, Eric

How can I get the absolute position of a form field?

2013-07-16 Thread Eric Chow
Hello, How can I get the lower-left-X and lower-left-Y position of a form field in PDF by giving the field name? Would you please to show me a simple example? Best regards, Eric

Crop pdf page into PNG

2013-04-30 Thread Eric Chow
Hello, How can I export a PDF page as a PNG image? If I do not want to export a whole page, and just want to crop a specific size, for example, I want to crop a from x=10, y=10, width=200, height=100. How can I do this in PDFBox? Best regards, Eric

Re: Add a transparent rectangle to the existed PDF with the co-ordinates.

2013-03-20 Thread Eric Chow
contentStream.setNonStrokingColor(Color.yellow); > contentStream.fillRect(100, 100, 200, 200); > contentStream.close(); > document.save(...); > document.close(); > > > Kind regards > > Maruan Sahyoun > > Am 20.03.2013 um 02:53 schrieb E

Re: Add a transparent rectangle to the existed PDF with the co-ordinates.

2013-03-19 Thread Eric Chow
aven-layout/src/org/pdfbox/examples/pdmodel/Annotation.java > > Am 19.03.2013 um 03:42 schrieb Eric Chow : > > > Hello, > > > > How can I add a transparent yellow rectangle to a specific co-ordinate > > (llx, lly, urx, ury) into an existed PDF? > > > >

Digital signature with PDFBox?

2010-11-25 Thread Eric Chow
Hello, How can I sign a PDF using PDFBox-1.3.1? Would you please to show me a simple example? Best regards, Eric

Use external TrueType font in PDFBox-1.3.1?

2010-11-24 Thread Eric Chow
Hello, In my PDF, I am using some windows TrueType Font. For example, a true type font file "kaiu.ttf", how can I load this font file for converting the pdf pages to image? Would you please to teach me? Or would you please to show me a simple example? Furthermore, how can I change the original v

PDFReader in PDFBox-1.1.0 cannot verify digital signature?

2010-04-05 Thread Eric Chow
Hello, How can PDFReader verify the digital signature through OCSP (via an URL), and it shows a "tick" besides the signature field? Any advice or will PDFBox implement this feature in the coming version? Best regards, Eric

How to use PDFReader to show PDF with Zoom function?

2010-04-02 Thread Eric Chow
Hello, How can show a PDF with PDFReader to zoom page in and out? Best regards, Eric

Cannot load true type font correctly in PDFBox-1.1.0 !!

2010-04-01 Thread Eric Chow
Hello, I just download the most updated version of PDFBox-1.1.0 and test the PDFReader! When I opened a PDF that contains that contains some Chinese with the font "Arial Unicode MS", it just showed a square. In my windows, there is not any font called "Arial Unicode MS". How can I use load a Tr

Substitute font problem?

2010-04-01 Thread Eric Chow
Hello, How can I view a PDF by using a specific font? For example, my pdf uses many true type fonts (embedded or non-embedded). How can I force the PDFBox viewer to show my PDF file only uses arial.ttf even the PDF uses "Times New Roman" or "Courier New" ?? Best regards, Eric

How to add substitute font?

2010-03-28 Thread Eric Chow
Hello, Is there any method to add substitute font for PDF rendering (convert PDF pages to JPEG)? My PDF contains some Chinese but not all embedded in the PDF file. How can I define a substitute font in the program for the conversion? Best regards, Eric

Cannot show correct fonts after convert the PDF pages into JPEG!!!

2010-03-27 Thread Eric Chow
Hello, I use the PDFToImage in PDFBox-1.0 to convert PDF pages into JPEGs. But it cannot show the correct Chinese fonts in the images. Please help how can I convert the Chinese PDF into images. The attached PDF is my PDF. Thanks.