The document is created as the elements are added. There's no going back. Best Regards, Paulo Soares
> -----Original Message----- > From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED] > Sent: Thursday, June 12, 2003 16:49 > To: [EMAIL PROTECTED] > Subject: [iText-questions] Accessing Sections of a Chapter > > > > > > Hello, > > I have a situation where my database record informs my application which > Chapter and parent section a field of a report belongs to. > > If I can't assume that the records of the database are in any order, is > there any way I can get the Sections or sub-Sections of a Chapter or a > Section after I've already added the element? For example, I've added a > Section 1 to Chapter 1. Later a database record tells me there should be > a > Section 1.1 to Chapter 1. Is there a way to access the Sections of Chapter > 1 so that I can find Section 1 and call addSection on it? It seems like > this is not possible. > > Am I right in thinking that the only way to do this is to use an order by > clause in my SQL to assure the order of my records? > > Thank you very much for any help, > > Andrew Luxner > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: eBay > Great deals on office technology -- on eBay now! Click here: > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > iText-questions mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/itext-questions ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
