pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 정승훈 <4uwing...@gmail.com>
Subject Hello. I have a question using PDDocument.addPage()
Date Sat, 22 Jun 2013 10:52:12 GMT
Hello, I'm student at Hanyang UNIV. in Korea.

I study PDFbox for developing my PDF Solution.
But now, I have a problem.

I want to insert page anywhere, however PDFbox api only insert page at last.
So I try to inheritance PDDocument class.



public class myPDDocument extends PDDocument{

public myPDDocument() throws IOException {






string filename = "abc.pdf"

myPDDocument document = new myPDDocument();

document = (myPDDocument) PDDocument.load(filename);

But "org.apache.pdfbox.pdmodel.PDDocument cannot be cast to
main.myPDDocument" happen.

How do it?

Thank you. Have a nice day!

>From Seounghun, Jeong

Tel) +82-10-2964-2008

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message