I get this error too. But i have resolved this
problem.
public OptionArgument(AbstractTool tool, String name,
String description) {
super(tool, name, description, "");
this.setClassname((new
Entry(description)).getClass().getName());
}
This solves the prob
I have got it. I needed to use the
PdfReader().getSafeFile(). Its working OK now.
Sorry..
Shoaib Ahmad
--- Shoaib Gauhar <[EMAIL PROTECTED]> wrote:
> Hello:
>I do not know whether this is a bug related to
> iText or i dont know how to implement it. I need to
> add a
Hello:
I do not know whether this is a bug related to
iText or i dont know how to implement it. I need to
add a certain text on a merged file. Because the files
are usually large in size so i need to use
RandomAccessFileOrArray so that i can be able to use
memory more appropriatly. The attached
Hello:
A week earlier, i posted a query about the following
code that whether we can do that or not. But Paulo
replied that i will need to open another PdfReader
object to successfully complete this task. But he also
told me that he had fixed the code in the CVS
(PdfCopy) which would work even in t
I have downloaded the code from CVS and its working
perfectly. Do you think that this change (WMF issue)
might effect any other part of your library???
BTW: I dont know how you people manage these things
(and provide us fixes immediately) but you are doing a
tremendous job. Thanks
Shoaib
--- Pau
I have attached a code in which my intent is to add an
image to an existing PDF file. All the other formats
(except WMF) are added successfully but some how when
i try to add WMF image it generates the following
error. I am also attaching the WMF file.
DocumentException: DocumentException:
java.la
y must do it this
> way, I'll have to
> > investigate.
> >
> > Paulo
> >
> > > -Original Message-
> > > From:
> [EMAIL PROTECTED]
> > >
>
[mailto:[EMAIL PROTECTED]
> On
> > > Behalf Of Shoaib Gauhar
> >
I am mailing you a small piece of code in which i have
added same page two times in the resulting file. The
code is attached. Please have a look and point out my
mistake. Thanks
Shoaib
--- "Bruno Lowagie (iText)" <[EMAIL PROTECTED]> wrote:
> Shoaib Gauhar wrote:
> >
Hello
I am merging two files and I want to add a
particular page of one file two times in the merged
file. I am merging the files with the help of PdfCopy.
What i am doing is that i get the PdfImportedPage from
the reader and add with the help of PdfCopy.addPage()
function. It generates the outp
Thank you very much sir. Dont have the words actually.
It is working perfectly. Can i use this jar
permanently???
Thanks once again,
Shoaib
--- "Bruno Lowagie (iText)" <[EMAIL PROTECTED]> wrote:
> Shoaib Gauhar wrote:
> > Thanks for a quick response
>
>
Thanks for a quick response
It felt so good that there was nothing wrong with my
code.
Shoaib Ahmad
--- "Bruno Lowagie (iText)" <[EMAIL PROTECTED]> wrote:
> Shoaib Gauhar wrote:
>
> > The problem is with chunk.getWidthPoint() method.
>
> Yes, I was able t
Hello
Actually a week back i mailed a query about the
problem that i was facing with
paragraph.setAlignment() function. Mr. Bruno asked me
to send him some sample. So, here is what i found
The problem was not with setAlignment() method, the
problem is with chunk.getWidthPoint() method. I have
a
Hello
I made a program to make a table of contents for
pdf files. I used added chunks in a paragraph to
implement this functionality. I used setAlignment()
method of paragraph class to justify the contents in
it. This was all done in the 1.4.3 version of iText
and was working and generating the
Hello:
Actually i am able to add the action but the problem
is i dont know how to add destination information in a
chunk which has an GOTOR action. PdfAction has a
method but it requires a destination in a string.
So, please tell me if there is a way to convert a
PdfDestination to a string des
Hello:
I am trying to make a Table of Content. And the
problem that i am facing is that i want to figure out
that whether the text that i am adding as a content
takes one line or more. Can you please tell me how can
i achieve this? Give a sample code if possible
Thanking in advance
Shoaib
___
Hello
I am making a table of contents (implementing with
Chunks andParagraphs not with Table) and i want to get
the point in X axis where my text will end. So, that i
could be able to add some space to include the page
number.
Your help in this regard will be highly
appreciated.
Shoaib Ahma
Hello
I read a mail a few days back in which one has told
to add /ROTATE 180 info in the page dictionary. Can
anyone please tell me that how do you get this page
dictionary??? I have tried to get it and add values
from PdfWriter.getInfo(), PdfWriter.getGroup() but it
hasnt worked.
Waiting for
Hello
I am using SimpleBookmark class to get bookmarks
from a PDF file by using
SimpleBookmark.getBookmark(reader) method. The main
problem is that when it returns a list, i am unable to
extract the required information from the fields in
it, especially Named field. Some PDF files return
Actio
Hello
I am using SimpleBookmark class to get bookmarks
from a PDF file by using
SimpleBookmark.getBookmark(reader) method. The main
problem is that when it returns a list, i am unable to
extract the required information from the fields in
it, especially Named field. Some PDF files return
Actio
19 matches
Mail list logo