Re: [iText-questions] Images in paragraphs in cells not showing

2007-01-23 Thread R . Greg
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! -

Re: [iText-questions] Images in paragraphs in cells not showing

2007-01-23 Thread Bruno Lowagie (iText)
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

Re: [iText-questions] Images in paragraphs in cells not showing

2007-01-23 Thread R . Greg
> 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?

Re: [iText-questions] Images in paragraphs in cells not showing

2007-01-23 Thread Bruno Lowagie (iText)
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

Re: [iText-questions] Images in paragraphs in cells not showing

2007-01-23 Thread Bruno Lowagie (iText)
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

Re: [iText-questions] Images in paragraphs in cells not showing

2007-01-23 Thread R . Greg
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

Re: [iText-questions] Images in paragraphs in cells not showing

2007-01-23 Thread R . Greg
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

Re: [iText-questions] Images in paragraphs in cells not showing

2007-01-23 Thread R . Greg
> 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

Re: [iText-questions] Images in paragraphs in cells not showing

2007-01-23 Thread GAMBELLI Raffaele
PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Bruno Lowagie (iText) Sent: martedì 23 gennaio 2007 15.34 To: Post all your questions about iText here Subject: Re: [iText-questions] Images in paragraphs in cells not showing GAMBELLI Raffaele wrote: > Hi! > > I'v already tried what

Re: [iText-questions] Images in paragraphs in cells not showing

2007-01-23 Thread Bruno Lowagie (iText)
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

Re: [iText-questions] Images in paragraphs in cells not showing

2007-01-23 Thread Bruno Lowagie (iText)
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

Re: [iText-questions] Images in paragraphs in cells not showing

2007-01-23 Thread GAMBELLI Raffaele
tions@lists.sourceforge.net Subject: Re: [iText-questions] Images in paragraphs in cells not showing 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. >

Re: [iText-questions] Images in paragraphs in cells not showing

2007-01-23 Thread R . Greg
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

Re: [iText-questions] Images in paragraphs in cells not showing

2007-01-23 Thread Bruno Lowagie (iText)
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

[iText-questions] Images in paragraphs in cells not showing

2007-01-22 Thread R . Greg
I've got a lot of data that's sorted out in tables for easy analysis. There are some situations where I want to flag some bit of data as important. I've noticed some odd behavior with respect to Images and Tables, and I was hoping someone here could shed some light on this. Below is some code