logo       

RE: Accessing Sections of a Chapter: msg#00188

java.lib.itext.general

Subject: RE: Accessing Sections of a Chapter

The document is created as the elements are added. There's no going back.

Best Regards,
Paulo Soares

> -----Original Message-----
> From: Andrew.Luxner@xxxxxxxxxxxx [SMTP:Andrew.Luxner@xxxxxxxxxxxx]
> Sent: Thursday, June 12, 2003 16:49
> To: itext-questions@xxxxxxxxxxxxxxxxxxxxx
> 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
> iText-questions@xxxxxxxxxxxxxxxxxxxxx
> 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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise