> 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 PdfReader? How are you ever going to be able to
> maintain code like this? It would help if I understood what you're
> trying to achieve, but I really don't.
> br,
> Bruno

Alright, I've got several input files that I parse through.  I have an
interface, IReportChapter, that exposes one method, Chapter getChapter();  Each
IReportChapter knows how to rip through my input files to provide whatever
information is needed.

My ReportingEngine maintains a list of IReportChapter objects, dynamically
loaded from .jar files.  The ReportingEngine makes use of a ReportingStrategy to
write the Chapters to an output file.

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.  So, if that's not going to work, I'm thinking about
marking the section that has a 'warning' as needing the 'warning.png' image
added to it.  I'll then open the file in PdfReader and use PdfStamper to place
the images where they need to be.


-------------------------------------------------------------------------
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 earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to