Michael Clayton wrote:
> I recompiled my itext.jar file and still get
> java.lang.NoClassDefFoundError: com/lowagie/text/DocumentException.
I know it's frustrating, but it IS a configuration problem on your side.
If you start from scratch, installing Tomcat on a new machine, adding
the correct j
[EMAIL PROTECTED] wrote:
> and i think the image come at the right place. I'm need to
> "manipulating" the image after conversion? I'll use the PdfImage?
I don't understand the question(s).
br,
Bruno
-
This SF.net email is s
I'm not sure if this answers your question,
but have you tried this:
Ruskin Dantra wrote:
> PdfContentByte cb = writer.getDirectContent();
>
> cb.resetRGBColorStroke();
> cb.resetRGBColorFill();
> cb.setFontAndSize(FontFactory.getFont(FontFactory.HELVETICA, 12,
> Font.UNDERLINE).getBaseFont
mister bean wrote:
> Rats, I misread your original post. My answer applies to new docs. Don't know
> about existing docs. Sorry.
Read on to page 54-55, and you'll find this example:
http://itext.ugent.be/itext-in-action/examples/chapter02/HelloWorldAddMetadata.java
It changes the PDF metadata and
Rats, I misread your original post. My answer applies to new docs. Don't know
about existing docs. Sorry.
--Mister Bean
mister bean wrote:
>
> Yes, it is. You can change all metadata except Producer, which by
> convention uses an internal iText string. The methods are described in pp.
> 39-41
Yes, it is. You can change all metadata except Producer, which by convention
uses an internal iText string. The methods are described in pp. 39-41 of the
iText book.
Hope that helps,
Mister Bean
Stefano-32 wrote:
>
> Dear all,
> reading the documentation online and the API it wasn't cl
Dear all,
reading the documentation online and the API it wasn't clear to
me if it is possible to change the metadata of an existing document
through iText.
May I have any hint on this?
Thanks a lot,
Stefano
-
Hi All,
After a considerable amount of looking through the archive I found no simple
solution how to make a rectangle display below text when the text is added
after the rectangle.
I have the following example:
PdfContentByte cb = writer.getDirectContent();
cb.resetRGBColorStroke();
cb.resetRGB
Stop littering the code with useless try/catch blocks. Use only one block
without any finally. Place a doc.add(new Paragraph("hello")) somewhere to
make sure that you are producing at least one page. I after this you don't
get any meaningful result then try with other machine.
Paulo
- Orig
Hi,
So, I followed your advice Here is what I had now:
--
try {
...
Log..."Start Open"
try
{
doc.open();
}
catch (Exception e)
Thanks!
- Mitch
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Paulo Soares
Sent: Thursday, May 03, 2007 1:41 PM
To: itext-questions@lists.sourceforge.net
Subject: Re: [iText-questions] Code39 Extended & Checksum
Mitch Freed docutechcorp.com> writes:
Mitch Freed docutechcorp.com> writes:
>
> Thanks for the help.
>
> Barcode39 b = new Barcode39();
> b.Code = "this is a test";
> b.Extended = true;
> b.GenerateChecksum = true;
> b.ChecksumText = true; // everything works fine if this is set to false
> Image i = b.CreateImageWithBarcode(cb, nu
I recompiled my itext.jar file and still get
java.lang.NoClassDefFoundError: com/lowagie/text/DocumentException.
Any ideas?
On May 1, 2007, at 1:59 AM, Bruno Lowagie wrote:
> Michael Clayton wrote:
>> SEVERE: Allocate exception for servlet MyFirstServlet
>> java.lang.NoClassDefFoundError: com/l
In the book thare are examples like this one:
/* chapter18/ClimbTheTree.java */
PdfIndirectReference content_ref =
(PdfIndirectReference) kid.get(PdfName.CONTENTS);
PRStream content =
(PRStream)reader.getPdfObject(content_ref.getNumber());
lister.listDict(content);
byte[] contentstream = P
Try it with the code I proposed, don't complicate. Also make sure that you
add something to the page like a doc.add(new Paragraph("hello")) after open.
Paulo
- Original Message -
From: "Feld, David E" <[EMAIL PROTECTED]>
To: "Post all your questions about iText here"
Sent: Thursday, M
This is what I have:
try {
...
Log..."Start Open"
try
{
doc.open();
}
catch (Exception e)
{
Log..."Printing Stack Trace for doc.open"
e.printStackTrace();
}
Log..."End Open"
Hi,
I'm create a pdf document from some text and from some HTML text, this is
convert using te HTMLWorker.
It's work fine, but if inside my html code i have a url to an image, the
image are "parse" at the beginning of the document, like a background
image
After the htmlworker, i'm use thi
Thanks for the help.
Barcode39 b = new Barcode39();
b.Code = "this is a test";
b.Extended = true;
b.GenerateChecksum = true;
b.ChecksumText = true; // everything works fine if this is set to false
Image i = b.CreateImageWithBarcode(cb, null, null);
- Mitch
-Original Message-
From: [EMAIL
What's your code?
Paulo
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Mitch Freed
> Sent: Thursday, May 03, 2007 5:37 PM
> To: Post all your questions about iText here
> Subject: Re: [iText-questions] Code39 Extended & Checksum
>
> So if my
So if my barcode text were:
this is a test
And I have the barcode setup to generate and show the checksum text, should I
get an error? I get an error stating that: The character 't' is illegal in code
39.
Shouldn't it be allowed under the extended 3of9 barcode?
- Mitch
-Original Message-
That's correct. The barcode 39 extended is just a convention where the
$, /, %, and + symbols act as "shift" characters. The checksum is done
over the "normal" symbols, before interpretation by the reader.
Paulo
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] O
When generating the checksum for a 3of9 extended barcode, it doesn't
seem to be allowing for the extended charset in the checksum. The
GetChecksum(string text) method in Barcode39.cs is looking at the 3of9
charset and not the extended. Is this how that should be working, or is
that a bug?
Mitch F
Thanks for the quick reply and help.
- Mitch
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paulo Soares
Sent: Thursday, May 03, 2007 9:19 AM
To: Post all your questions about iText here
Subject: Re: [iText-questions] Paragraph, ColumnText & SpacingBefor
If the spacing was always applied you'd have a space in the start of the
block that wouldn't look good if you had several block in paralel or in
each page. It was a design option. You may give that extra space by
lowering the YLine.
Paulo
> -Original Message-
> From: [EMAIL PROTECTED]
>
I'm using ColumnText (and iTextSharp) to format my pdf documents. I ran
into a problem when the first item added to ColumnText (e.g.
ColumnText.AddElement) is a paragraph and has defined SpacingBefore. The
SpacingBefore is ignored if it is defined on the first item in the list
(and it's a paragraph
Nash wrote:
>
> Thank you for your answer! Are you planning to include orphan/widow line
> support in Chapter/Sections in the future releases of iText?
> Report which has to be printed to PDF contains chapters and titles, that's
> why I think it is more natural to use them rather using ColumnTex
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Alessandro Testa
> Sent: Thursday, May 03, 2007 12:37 PM
> To: itext-questions@lists.sourceforge.net
> Subject: [iText-questions] adding new page with pdfcopy
>
> hi,
> I need to add a new page t
hi,
I need to add a new page to pdfcopy. now I use it like I use pdfwriter
but I get a "Document as no pages error".
unfortunally I can use only PdfCopy or PdfWriter.
Any Idea?
Why pdfcopy haven't the same behavior of pdfwriter?
Thanks
Alex
---
Thank you for your answer! Are you planning to include orphan/widow line
support in Chapter/Sections in the future releases of iText?
Report which has to be printed to PDF contains chapters and titles, that's why
I think it is more natural to use them rather using ColumnText.
Regards,
Vladisla
Nash wrote:
> So in this example, I create a chapter and include a section into it.
> I want that all elements (chapter's title, section's title and block
of the text)
> are always being kept on the same page. How to perform this feature?
That's not supported in Chapter/Section.
If you really n
Hi,
How to avoid orphan titles and keep them always together on the same page with
the rest of the text?
Paragraph testParagraph = new Paragraph("Chapter title\n");
Chapter testChapter = new Chapter(testParagraph,1);
Section testSection = testChapter.addSection(new Paragraph("Subtitle"));
testSec
Carlos Delfino Carvalho Pinheiro wrote:
> Now I have one problem with acrofield, I create a document with Acrobat
> Professional 6.0 and put 4 acrofields for user write and put it
> obligatory, but in iText where I try set new value to Acrofield, I get
> a exception about field is Read-Only!
>
brijesh kumar wrote:
>dear team,
>
> i tried to remove my name from the mailing list. but your system is
> sending me the mail you can see below. please help me in this regard
Either you already succeeded in unsubscribing,
or somebody else already removed you.
Anyway: I don't find anyone wit
dear team,i tried to remove my name from the mailing list. but your system is sending me the mail you can see below. please help me in this regard-[ Received Mail Content ]-- Subject : The results of your email commands Date : Thu, 03 May 2007 02:42:55 -0700 From : [EMAIL PROTECT
Depending on what you do in PdfStamper some PDFs will always require a
lot of memory. iText is not optimized for very big files.
Paulo
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Eyal z
> Sent: Thursday, May 03, 2007 11:10 AM
> To: itext-qu
Paulo Soares consiste.pt> writes:
>
> No to both questions. For the last part of the question you may need
> PdfStamper.setFullCompression().
>
> Paulo
>
> - Original Message -
> From: "Eyal Zizi" cerylion.net>
> To: lists.sourceforge.net>
> Sent: Thursday, May 03, 2007 9:05 AM
> S
[EMAIL PROTECTED] wrote:
> Hi,
>
> I am generating the large files using this tool. That data will be in
> tabular format.
>
> If the no of pages exceeds 1000, java out of memory exception is coming.
>
> Please let us know how to solve the issue.
Read the book section about 'tables and memory
Hi,
I am generating the large files using this tool. That data will be in
tabular format.
If the no of pages exceeds 1000, java out of memory exception is coming.
Please let us know how to solve the issue.
Thanks and Regards
Nagesh
-
Licinio Gomez wrote:
> But what about changing the color of the text of a field when opening
> an existing PDF? Should I get a compatible BaseField object
> representing the field I intentd to change? If so, how could I do
> that?
Read the WIKI:
http://lowagie.com/itextwiki/doku.php/filmfestival:a
Hi list,
According to the examples in the book, when creating a PDF form,
setting the default color of the text of a field is simple:
/* chapter15/Buttons2.java */
PushbuttonField push = new PushbuttonField(writer,
new Rectangle(40, 650, 150, 680), "pushAction");
push.setBackgroundColor(Color.YE
Wow,
Forgive me(for repeating an already answered question as I knew it was
somewhere)
Thank You so much sir, I'll pray for a new lego set and If I adopt iText, I
might just send one. The speed of the reply was great thanks again.
GB
J
Bruno Lowagie (iText) wrote:
>
> InJesus wrote:
>> I
InJesus wrote:
> I aplogize in advance if somebody has answer this already,
The answer is in the book, but in the meanwhile,
some even better answers have come up (due to
enhancements in the latest iText versions).
> I need to take a one page template, populate it with AcroForm data then do
> it
No to both questions. For the last part of the question you may need
PdfStamper.setFullCompression().
Paulo
- Original Message -
From: "Eyal Zizi" <[EMAIL PROTECTED]>
To:
Sent: Thursday, May 03, 2007 9:05 AM
Subject: [iText-questions] PDF optimizer
Hi,
Does iText library supports PD
Another question about rtf inclusion:
- I have just found a rtf that it was not included and no exception was trown...
Can you try to include the rtf in attachment of this mail? Thanks.
Bye
Raffaele
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
GAMBELLI
I aplogize in advance if somebody has answer this already, I've searched and
not found a clear answer to this as it must be fairly common.
I need to take a one page template, populate it with AcroForm data then do
it again several times then combine them as one PDF. as Copy doesn't have
AcroForms
Hi,
Does iText library supports PDF optimizer that has been introduced in
Adobe acrobat professional 7.0? If not, will it be in the next release?
I know that there is no problem loading document that has been optimized
but when I try to save it back to disk it returns to its original size
(e.g. 14
Hello guys, hello Mark this is a question for you:
I've noticed a strange fact, the following:
- I have to generate one rtf document which includes another one.
- The rtf to be included has both header and footer.
- The rtf that I have to generate also has its header and footer.
- This that happen
Does iText support PDF optimizer that has been introduced in Adobe acrobat
professional 7.0?
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your X
Thank you.
On 5/3/07, Bruno Lowagie (iText) <[EMAIL PROTECTED]> wrote:
Ruskin Dantra wrote:
> Hi All,
> I am having trouble finding a way to set the resolution of the PDF
> document. I am setting the size of the pdf document
> (.setpagesize()) according to certain values which I am given from
Ruskin Dantra wrote:
> Hi All,
> I am having trouble finding a way to set the resolution of the PDF
> document. I am setting the size of the pdf document
> (.setpagesize()) according to certain values which I am given from
> another part of a system. I also am given the DPI which these sizes
50 matches
Mail list logo