Re: [iText-questions] ByteArrayOutputStream

2006-12-30 Thread Daniel Essin
That's a very helpful summary. As far as not mentioning it, that's fine as far as the text is concerned, but it probably should be included on the class diagram of the PdfWriter since that's highly technical and should really correspond to the visible properties and methods of the classes. Othe

Re: [iText-questions] FW: OutOfMemory exception onContentByte.LineTo

2006-12-30 Thread Alan
You are correct Bruno. (BTW: The book arrived on Christmas Eve - it is an impressive piece of work and very easy to read. I really like the Foobar maps. Thanks) I have the tool working well: it deals with the layers, symbology, projection, geometry, attributes, hyperlinks and high resolution raste

Re: [iText-questions] Hide note/comment icon

2006-12-30 Thread Bruno Lowagie
selvi wrote: > still doesn't work .is there any other way to fullfill the requirment You are talking about a requirement. I assume this requirement is documented. You probably have some prototype PDF document that demonstrates the final result you want to achieve (otherwise you may be trying to do

Re: [iText-questions] FW: OutOfMemory exception onContentByte.LineTo

2006-12-30 Thread Bruno Lowagie
Alan wrote: > Thanks for the offer Paulo, > But there is just way too much data and the code runs as an extension to > another (expensive) proprietary application. I know: we're talking about an ESRI plug-in. By the way: I met some ESRI people at JavaPolis and they were very interested in your app

Re: [iText-questions] ByteArrayOutputStream

2006-12-30 Thread Bruno Lowagie
Daniel Essin wrote: > The only part that was an iText issues is that in the .NET version of > the PdfWriter, the stream is closed when the document is closed unless > you obtain a reference to the PdfWriter and set the CloseStream property > to false. This property (I think) does not exist in th

Re: [iText-questions] ByteArrayOutputStream

2006-12-30 Thread Bruno Lowagie
robert engels wrote: > I don't think your problem has anything to do with itext, Seems to me the PDF is generated correctly in memory, but as there are no bytes sent to the browser, the original poster has probably forgotten to write the bytes to the output stream. > i think if you created a simp

Re: [iText-questions] ByteArrayOutputStream

2006-12-30 Thread Daniel Essin
I worked on this for some time earlier today (with a lot of help from others) and have gotten all of the issues resolved. I now understand how to make it work reliably with HttpResponse stream, FileStreams and MemoryStreams. The only part that was an iText issues is that in the .NET version of

Re: [iText-questions] ByteArrayOutputStream

2006-12-30 Thread robert engels
I don't think your problem has anything to do with itext, It is a misunderstanding on how to use a Response stream. i think if you created a simple memory stream of a text file, you would have the same problem. You need to ask these questions on a M$ .Net web programming site. On Dec 30, 20

Re: [iText-questions] ByteArrayOutputStream

2006-12-30 Thread Daniel Essin
There was an example in the iText in Action book that demonstrated doing it this way. I am just trying to get a full understanding of how the methods work before I start real coding. I understand the potential inefficiency of feeding this through a memory stream and I doubt that I would actuall