- Original Message -
From: "Krishna Chaitanya" <[EMAIL PROTECTED]>
To: "Post all your questions about iText here"
Sent: Tuesday, 23 January, 2007 1:43 PM
Subject: Re: [iText-questions] New Version - Problems
> Hi ..Can the owner of this group remove me from this mailing list.
You can ch
Hi ..Can the owner of this group remove me from this mailing list.
Regards,
Krishna
"Bruno Lowagie (iText)" <[EMAIL PROTECTED]>
Enviado Por: [EMAIL PROTECTED] 23/01/2007 12:22
Favor responder a Post all your questions about iText here
Para:Post
Bruno,
I compile the version 1,4,8 here, and give me this error when run the code
(html -> pdf):
HTTP JVM: java.lang.NoSuchMethodError: java.lang.StringBuffer: method
append(Ljava/lang/StringBuffer;)Ljava/lang/StringBuffer; not found
23/01/2007 17:13:43 HTTP JVM: at
com.lowagie.text
Bruno Lowagie (iText lowagie.com> writes:
> Have you tried wrapping the image in a Chunk?
Wrapping the Image in a Chunk did the trick. I don't suppose you could shed
some light on why iText behaves like this? :p
Thanks again for all the help, I appreciate it!
-
setSpacingBefore() doesn't work for the first element. This is by
design.
Paulo
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Eric Summkeller
> Sent: Tuesday, January 23, 2007 4:19 PM
> To: itext-questions@lists.sourceforge.net
> Subject: [iT
Thanks Bruno
The image is actually located in the same Jar file as Java classes although
the path is totally different for them. In other words, I tried storing
images as images/vblogowhite.gif in Jar file. I am going to try using the
Class Loader.getResource and pass the URL to Image.getInstance(
I asked this question some time ago but I got no answer. I add a Paragraph
with specific indentation and spacing values into a PdfPCell. The spacing of
the PdfPCell border and the beginning of the Paragraph is false. Each value
that I enter doesn't change the distance between the PdfPCell border
Christian Haase wrote:
> Hello!
> I've a large number of PDFs which all have the same page-size. Cause the
> margins / borders of the PDFs are to broad, I'm looking for a way to bring
> them
> all to the right size, but don't want to resize the whole document.
> For example: I want to cut off 1
Christian Haase wrote:
> Hello!
> I've a large number of PDFs which all have the same page-size. Cause the
> margins / borders of the PDFs are to broad, I'm looking for a way to bring
> them
> all to the right size, but don't want to resize the whole document.
> For example: I want to cut off 1
Arif Abbasi wrote:
> Can some one help me with this?
I have no idea where you are storing the image,
but have you tried /images/vblogowhite.gif
Do some more reading on loading resources.
http://java.sun.com/j2se/1.4.2/docs/api/java/lang/ClassLoader.html#getResource(java.lang.String)
http://java.s
To be more specific in case of Image constructor use following method of
ServletContext
java.net.URL
getResource
(java.lang.String path)
Regards,
Ramdas Sawant
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Sawant, Ramdas (IT)
Sent: T
R.Greg wrote:
> Nothing I'm doing seems to let me make a Paragraph, put an Image in that
> Paragraph, and put that Paragraph in a Cell (whether PdfPCell or otherwise)
> and
> have the image display.
Have you tried wrapping the image in a Chunk?
> So, if that's not going to work, I'm thinking ab
I think u need to use ServletContext.getResourceAsStream("pathOfFile")
or use Classloader.getResourceAsStream() when u deal with a resource
inside a war file or a jar file. Just do google search and you will get
an idea.
Regards,
Ramdas Sawant
From: [EMAIL PR
Don Don wrote:
> Hi all, I've searched the list/forum to find if there is a similar
> question and a suitable answer to this question, but so far I cant seem
> to find one that's solved the problem.
It's a very common question.
Documented on many different places.
> I have an existing pdf form
Hi
I have a requirement to add a few images to my report title page. The
problem is that report generation classes are in Jar file and NOT part of
war file (where the action classes reside). I cannot change this packaging
as this will have an impact. So, my class structure is like:
com.abc
> R.Greg wrote:
> > Suppose I ditch the thought of adding the Image in a
> > Paragraph and adding that Paragraph to my Table/PdfPTable. Suppose I tag
> > the
> > text with an Anchor, then I open up the Document with PdfReader.
>
> Now you have completely lost me. Why are you introducing Anchor?
Hi all, I've searched the list/forum to find if there is a similar question and
a suitable answer to this question, but so far I cant seem to find one that's
solved the problem.
I have an existing pdf form that contains acroforms that i need to read,
pre-populate these fields and save the
R.Greg wrote:
> Suppose I ditch the thought of adding the Image in a
> Paragraph and adding that Paragraph to my Table/PdfPTable. Suppose I tag the
> text with an Anchor, then I open up the Document with PdfReader.
Now you have completely lost me. Why are you introducing Anchor?
What's this with
Hello!
I've a large number of PDFs which all have the same page-size. Cause the
margins / borders of the PDFs are to broad, I'm looking for a way to bring them
all to the right size, but don't want to resize the whole document.
For example: I want to cut off 1 inch from the left from every singl
GAMBELLI Raffaele wrote:
> Afterwards, when I decided to switch from Table to PdfPTable,
> inside onEndPage method I simply created a method to convert a Table
into a PdfPTable...
Yes, this works for header and footer.
> Perhaps didn't I understand the question? :-)
Or maybe I didn't. I'm not
GAMBELLI Raffaele prismaeng.it> writes:
>
> In my work, I have also to provide both writing system, PDF and RTF.
> In the beginning, I used for both the writers Table class.
> I have many internal objects generated parsing a xml printing template, then I
convert these objects in
> Itext Element
Sorry, I fudged the code a bit copying and pasting. Here's how it 'should'
look:
// Add Warning Images
PdfReader docReader = new PdfReader(tempFilename);
HashMap table = docReader.getNamedDestination();
// AnchorFactory keeps track of all the Anchor objects I've requested, so I know
// the name
> Certainly not.
> There might be some workarounds, like using SimpleTable
> (translates to PdfPTable for PDF, and to Table for RTF, HTML);
> or you could create a Table as well as a PdfPTable, pause the
> PdfWriter before adding the Table, then resume, and pause
> the Rtf/HtmlWriter before adding
In my work, I have also to provide both writing system, PDF and RTF.
In the beginning, I used for both the writers Table class.
I have many internal objects generated parsing a xml printing template, then I
convert these objects in Itext Element objects and I add them to the Document.
For header a
GAMBELLI Raffaele wrote:
> Hi!
>
> I'v already tried what you have just asked, it works!
It does?
With onSectionEnd? I don't understand.
How can you replace a table in a page event?
br,
Bruno
-
Take Surveys. Earn Cash. Influ
R.Greg wrote:
> Does Table just not support that functionality?
I don't know, I didn't have the time to look at
the actual question. I just know that Table is
messy when it comes to integrating images into cells.
> Unfortunately, I have a
> requirement that I be able to output text in any of iTe
Sebastien Arbogast wrote:
> Is it a known bug? Is it too dangerous to switch the writer like this?
XmlWriter is eligable for removal.
I don't think anybody uses it.
br,
Bruno
-
Take Surveys. Earn Cash. Influence the Future of
[EMAIL PROTECTED] wrote:
>
> Hi.
>
> I'm sorry if this message are repeat,
It's a variation on something that has been posted before.
Google is your friend:
http://www.google.com/search?q=%22The+major.minor+version+%2748.0%27+is+too+recent+for+this+tool+to+understand%22
For instance:
http://for
Hi!
I'v already tried what you have just asked, it works! Pay only attention in
table to PdfPTable conversion...
Bye
Raffaele
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
R.Greg
Sent: martedì 23 gennaio 2007 14.57
To: itext-questions@lists.sourceforge.
Bruno Lowagie (iText lowagie.com> writes:
>
> R.Greg wrote:
> > I was hoping someone here could shed some light on this.
>
> Not as long as you're using Table instead of PdfPTable.
> br,
> Bruno
Does Table just not support that functionality? Unfortunately, I have a
requirement that I be able
I have a document generated in RTF and everything works fine.
Now I just changed the writer instance used to serialize the document so
that I get an XML file instead of an RTF one, using XmlWriter.getInstance().
And at some point in the document creation process, I get the following
exception:
j
Hi.
I'm sorry if this message are repeat, but i don't see it at the list, them
i send again.
I use the itext to pass html to pdf. Te version 1.4.3 run ok at my
application, the only change i need is to support tables from "pixels",
and i'm try to make this when i see the new version (1.4.8).
Alexis Pigeon wrote:
> Hola Francesc,
>
> What do you mean by "an image with transparent border". An image with
> no 'frame' around it?
Based on this line:
>> img.setBorderColor(new Color(231,219,80,255));
I think the original poster really wants a colored border,
but I'm a little bit confused
Hola Francesc,
What do you mean by "an image with transparent border". An image with
no 'frame' around it? If so, this should do :
Image img = Image.getInstance(url);
document.add(img);
This adds the image to the document "as is", but it could be included
(as far as i know) in any other element
Hi,
I'm learning iText with iText in Action. I want put an image with
transparent border in a PDF document, I have proved with:
img.setBorder(Image.BOX);
img.setBorderColor(new Color(231,219,80,255));
img.setBorderWidth(5);
but the border isn't transparent, I made
Hi,
I'm learning iText with iText in Action. I want put an image with
transparent border in a PDF document, I have proved with:
img.setBorder(Image.BOX);
img.setBorderColor(new Color(231,219,80,255));
img.setBorderWidth(5);
but the border isn't transparent, I m
If you have repeated pages the links may not work. The fix only does a
shallow copy but you may still use another another PdfReader.
Paulo
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Shoaib Gauhar
> Sent: Tuesday, January 23, 2007 10:29 AM
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
Genjiro wrote:
> When I
> add an image to the template like
> "templateImageFront.addImage(imageFront,scX,0,0,scY,500,500);" for what
> position are the 2.,3.,5. and 6. parameter?
The parameters are part of the transformation matrix.
It's algebra: you have scaling, rotation and translation.
Look i
On Tuesday 23 January 2007 10:49, Rafal Markut wrote:
> I forgot to mention that I need it for RTF generation.
> When I look for ColumnText then I see that it's only for PDF.
No. There is nothing for RTF. The only work-around for small columns is to use
a Table.
Greetings,
Mark
--
Q: What d
[EMAIL PROTECTED] wrote:
> This class should take care of your labels or demonstrate how to handle this.
>
> Here ya go, its public domain, no license or copyrights to wory about:
>
> http://www.datavirtue.com/Software/dev/PDFLabels.java
Once in a while people are asking for support for
Avery TM
You can look at the source code PdfGraphics2G and see what's going on (if
anything).
Paulo
- Original Message -
From: "Jim Rootham" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, January 23, 2007 5:44 AM
Subject: [iText-questions] Does createGraphics reset interrupts?
>I am writing a program
magesh rathnam wrote:
> I tried using Cellcolumns but it does
> not work with a image background.
I don't know what you mean by Cellcolumns, but you
should use ColumnText. It works; even if you add
an image in the background.
br,
Bruno
R.Greg wrote:
> I was hoping someone here could shed some light on this.
Not as long as you're using Table instead of PdfPTable.
br,
Bruno
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay p
Michael Dolgonos wrote:
> Can somebody please help how to analize and fill in PDF forms that contain
> text, checkbox and radio button fields. I know how to modify a text field but
> can't find how to read what it contains. Regarding checkbox and radio button
> fields I'm looking for an example
Rafal Markut wrote:
> I forgot to mention that I need it for RTF generation.
> When I look for ColumnText then I see that it's only for PDF.
O, I don't know about RTF.
I'm putting RTF in the header so that Mark sees the post.
br,
Bruno
-
Rafal Markut wrote:
> Hello,
>
> does iText have columns feature?
>
> I'd like to place the text in following order:
> 111 444
> 222 555
> 333 666
>
> is it possible with iText ?
Use ColumnText.
br,
Bruno
-
Take Surv
Hi Paulo,
yesterday the unreadable pdf had this:
2 0 obj < -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of beppecosta
> Sent: Monday, January 22, 2007 4:56 PM
> To: itext-questions@lists.sourceforge.net
> Subject: Re: [iText-questions] tiff2pdf w
Hello,
does iText have columns feature?
I'd like to place the text in following order:
111 444
222 555
333 666
is it possible with iText ?
with best regards,
Rafal
-
Take Surveys. Earn Cash. Influence the Future of I
Iliadis Yannis wrote:
> But what
> about existing PDF documents opened with a PdfStamper?
Depending on what you're doing,
you can use methods such as freeReader
to keep the memory usage low.
br,
Bruno
-
Take Surveys. Earn Ca
I forgot to mention that I need it for RTF generation.
When I look for ColumnText then I see that it's only for PDF.
with best regards,
Rafal
- Original Message -
From: "Bruno Lowagie (iText)" <[EMAIL PROTECTED]>
To: "Post all your questions about iText here"
Sent: Tuesday, January 23,
51 matches
Mail list logo