[iText-questions] PdfDestination with PdfStamper

2007-02-27 Thread Giovanni Meazza
Hi, i'm pretty new to java and mostly to itext, so excuse if my question is obvious for you, but i need to add destination to a pdf created with pdfstamper; this is my code, (taken from internet, maybe from your site)             document = new Document();             copy = new PdfCopy(docume

Re: [iText-questions] New iText version problem

2007-02-27 Thread mcm
The latest version (4.0.1) has fixed that issue. Develop yahoo.com.br> writes: > > > Hi, I´m trying to use the new C# version (4.0.0) of iText but now I´m get this error when I go to page 2 of my pdf document. "Could not find the XObject named 'Xf1'" This error doesn't occur when I use the pr

Re: [iText-questions] Files are not beging closed

2007-02-27 Thread porcupine
extremely unlikely that RandomAccessFileOrArray is your problem. you haven't shown us whats going on inside getSize() setPageSize() simplifiy your code, just place the tif (unchanged) into the document by commenting out these img = getSize(img,rotate); setPageSize(img,rotate); document.add(Chunk

Re: [iText-questions] Files are not beging closed

2007-02-27 Thread milind
Paulo Soares consiste.pt> writes: > Doyou mean instaed of using Image img = TiffImage.getTiffImage(ra,c); use Image.getInstance("image.tif") ? - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's

Re: [iText-questions] Files are not beging closed

2007-02-27 Thread Paulo Soares
- Original Message - From: "milind" <[EMAIL PROTECTED]> To: Sent: Tuesday, February 27, 2007 11:17 PM Subject: Re: [iText-questions] Files are not beging closed > milind db.com> writes: > >> >> Hello, >> We are having a problem where we converts the tif images to pdf. >> We observed t

Re: [iText-questions] Files are not beging closed

2007-02-27 Thread milind
milind db.com> writes: > > Hello, > We are having a problem where we converts the tif images to pdf. > We observed that the tif images opend using the RandomAccessFileOrArray are > not beging closed. We are using the RandomAccessFileOrArray close method and > it seems its not closing the fil

Re: [iText-questions] Files are not beging closed

2007-02-27 Thread Paulo Soares
Are you sure an exception is not thrown before the file is closed? Paulo - Original Message - From: "milind" <[EMAIL PROTECTED]> To: Sent: Tuesday, February 27, 2007 10:26 PM Subject: Re: [iText-questions] Files are not beging closed > Paulo Soares consiste.pt> writes: >> >> What cod

Re: [iText-questions] Files are not beging closed

2007-02-27 Thread milind
Paulo Soares consiste.pt> writes: > > What code are you using? > > Paulo > > - Original Message - > From: "milind" db.com> > To: lists.sourceforge.net> > Sent: Tuesday, February 27, 2007 7:49 PM > Subject: [iText-questions] Files are not beging closed > > > Hello, > > We are having

Re: [iText-questions] Files are not beging closed

2007-02-27 Thread Paulo Soares
What code are you using? Paulo - Original Message - From: "milind" <[EMAIL PROTECTED]> To: Sent: Tuesday, February 27, 2007 7:49 PM Subject: [iText-questions] Files are not beging closed > Hello, > We are having a problem where we converts the tif images to pdf. > We observed that the

[iText-questions] Files are not beging closed

2007-02-27 Thread milind
Hello, We are having a problem where we converts the tif images to pdf. We observed that the tif images opend using the RandomAccessFileOrArray are not beging closed. We are using the RandomAccessFileOrArray close method and it seems its not closing the files. Any advise? regards, milind

Re: [iText-questions] New iText version problem

2007-02-27 Thread Develop
Hi, The problem seems to be fixed in the new iTextSharp release (4.0.1). "Summary: New release iTextSharp 4.0.1 (2007-02-22) - direct content was not being reset (porting bug). This caused content to repeat in all the pages and resource objects not found." Thanks Rodrigo

Re: [iText-questions] Paragraph FirstLineIndent

2007-02-27 Thread Paulo Soares
iText2.0 (in the CVS) added support for first line indent in Document.add(). It's already in iTextSharp. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Mitch Freed > Sent: Tuesday, February 27, 2007 5:32 PM > To: itext-questions@lists.so

Re: [iText-questions] Paragraph FirstLineIndent

2007-02-27 Thread Mitch Freed
Paulo Soares consiste.pt> writes: > > This is another thing, there's a reason why quoting is good to know what > we're talking about. A \n is equivalent to starting a new Paragraph and > will always indent. If you don't want indentation you'll have to look > for the \n and create a new Paragraph

Re: [iText-questions] Opening PDF -"There is a problem reading thisdocument"

2007-02-27 Thread Paulo Soares
In the server, I mean. Paulo > -Original Message- > From: Paulo Soares > Sent: Tuesday, February 27, 2007 5:05 PM > To: 'Post all your questions about iText here' > Subject: RE: [iText-questions] Opening PDF -"There is a > problem reading thisdocument" > > The files read well after be

Re: [iText-questions] Opening PDF -"There is a problem reading thisdocument"

2007-02-27 Thread Paulo Soares
The files read well after being produced? Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Ben Marchbanks > Sent: Tuesday, February 27, 2007 3:53 PM > To: iText-questions@lists.sourceforge.net > Subject: [iText-questions] Opening PDF -"The

[iText-questions] Opening PDF -"There is a problem reading this document"

2007-02-27 Thread Ben Marchbanks
We are concatenating PDF and once complete these are posted online. These files are pre-press proofs 37MB in size When opening these through the browser (downloading) and then opening them the first page displays fine but going to any additional page displays the error "There is a problem re

Re: [iText-questions] Reuse images

2007-02-27 Thread Thomas Kübler
Hello Bruno, i think you are right, if i wan't to add the image only once and use then a reference to this image, i have to cache this image and use this again. with regards Thomas Kübler Dynamic Document Solution variex Alt-Marienfelde 25 12277 Berlin t. + 49

[iText-questions] Remove a text which has been added PdfContentByte over =stamp.getOverContent(actualPage) -> over.beginText() .... over.endText()

2007-02-27 Thread Sascha Fuchs
Hello I have the ungrateful job to develop an application which is able to remove self-made "annotations". My idea was to store the annotation data/content additional in the document info area (with stamp.setMoreInfo(...)) and then to compare Pdf-Objects with this additional data. Originally I use

Re: [iText-questions] Paragraph FirstLineIndent

2007-02-27 Thread Bruno Lowagie (iText)
Paulo Soares wrote: > This is another thing, there's a reason why quoting is good to know what > we're talking about. A \n is equivalent to starting a new Paragraph and > will always indent. If you don't want indentation you'll have to look > for the \n and create a new Paragraph without indentatio

Re: [iText-questions] Paragraph FirstLineIndent

2007-02-27 Thread Paulo Soares
This is another thing, there's a reason why quoting is good to know what we're talking about. A \n is equivalent to starting a new Paragraph and will always indent. If you don't want indentation you'll have to look for the \n and create a new Paragraph without indentation for the subsequent section

Re: [iText-questions] Paragraph FirstLineIndent

2007-02-27 Thread Bruno Lowagie (iText)
Mitch Freed wrote: > Any ideas on this? What about it? I thought I fixed this in iText2.0.0. Are you saying the fix doesn't work? (Because that's possible; I already had to fix some iText2 related bugs in CVS.) br, Bruno - Ta

Re: [iText-questions] Paragraph FirstLineIndent

2007-02-27 Thread Mitch Freed
Any ideas on this? Thanks, Mitch - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and e

Re: [iText-questions] Pdf File request

2007-02-27 Thread Paulo Soares
The content type is sound/mpeg not movie/mpeg. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Paulo Soares > Sent: Tuesday, February 27, 2007 11:49 AM > To: Post all your questions about iText here > Subject: Re: [iText-questions] Pdf Fi

Re: [iText-questions] Pdf File request

2007-02-27 Thread Paulo Soares
The subtype screen has a F key entry. You use it as if it was a movie but with a content type of movie/mpeg, for example. The classic sound annotation only supports raw samples and you'll generally need to convert your sound files. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [

[iText-questions] Set font of list item bullets?

2007-02-27 Thread Dhruba Bandopadhyay
Hi, In the attached pdf my text is in serif but the list bullets are in sans-serif. How can I set the font of the list bullets? Many thanks. 1.pdf Description: Adobe PDF document - Take Surveys. Earn Cash. Influence the F

Re: [iText-questions] Reuse images

2007-02-27 Thread Bruno Lowagie (iText)
Paulo Soares wrote: > Using PdfStamper and Image.getInstance(PRIndirectReference) you use the image > as any image. Not sure if Thomas was thinking about images in existing PDFs, for the sake of completeness let's mention this recent discussion: http://www.nabble.com/Re%3A-Templates%2C-Watermarks

Re: [iText-questions] Reuse images

2007-02-27 Thread Paulo Soares
Using PdfStamper and Image.getInstance(PRIndirectReference) you use the image as any image. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Thomas Kübler > Sent: Tuesday, February 27, 2007 11:17 AM > To: itext-questions@lists.sourceforge

[iText-questions] Reuse images

2007-02-27 Thread Thomas Kübler
Hello to all, Short question, to reuse images inside the pdf, will it be enought to add the images again to use a references? with regards Thomas Kübler Dynamic Document Solution variex Alt-Marienfelde 25 12277 Berlin t. + 49 30 723 23 183 f. + 49 30 723 23 18

Re: [iText-questions] Writing tables to templates

2007-02-27 Thread danielb
Thanks, that worked like a charm cheers, Daniel -- View this message in context: http://www.nabble.com/Writing-tables-to-templates-tf3279319.html#a9179360 Sent from the iText - General mailing list archive at Nabble.com.

Re: [iText-questions] Pdf File request

2007-02-27 Thread Tony Chhun
Yes but, this method does not work. Actually, the the Sound tool does not embed the wav file in the pdf but it extract all the information to read the stream from the wav file and put the audio stream in the document. There's no file specification object. The second tool, founc in Tool >> advance

Re: [iText-questions] Duplicated fonts in iText-generated PDF

2007-02-27 Thread Paulo Soares
You'll have to use the two stage approach. Paulo - Original Message - From: "Thomas Okken" <[EMAIL PROTECTED]> To: Sent: Tuesday, February 27, 2007 1:14 AM Subject: Re: [iText-questions] Duplicated fonts in iText-generated PDF OK, I'm now using PdfSmartCopy. What I'm doing is sending

Re: [iText-questions] Problem with ToC in PDF aftermerging using PdfCopy

2007-02-27 Thread Bruno Lowagie (iText)
Mariusz Pala wrote: > Ok, I'm enclosing an example that allows to reproduce the problem. OK Thanks, I have some other assignments to finish first, but I'll have a look at it soon. br, Bruno - Take Surveys. Earn Cash. Influenc