Eric, Please keep in mind that this is a discussion list, not a help desk.
There are many volunteers here that could help you with your problems, as long as they don't have to do your work for you, in order to be able to help you. If you expect someone here to do significant work to be able to answer your questions, you should be prepared to pay for the professional services you require. This is why you are expected to post a small working example that demonstrates the problem you have with your code. So, it is your responsibility to factor or partition any problem you have into chunks that can be handled by the experts here in a minimum amount of time. Finally, please keep in mind the limited time available from the authors, as they prepare for a new release, concurrently with dealing with personal family emergencies. Best regards, Bill Segraves -------------- Original message ---------------------- From: Eric Summkeller <[EMAIL PROTECTED]> > > First of all it's right that I should have read the book completly. That's > something that I really missed but I want you to know that I didn't refuse it. > > I answer you because I think you should know that I did my best to resolve > this leading problem. > > First the examples that you sent me are the things that I tried, too. I used > the setLeading and setSpacingBefore method with fixed values, too. > My request with this call was to find a good idea for a calculation method to > set the leading and spacing of a paragraph that it would work fine with all > different combinations of font sizes and font styles. > > Now I would like you to explain my use case with iText: > I have got an user interface in that an user has different output methods. > Each output method has its own font and style information. The problem is > that > not each output method can create a linebreak, so I could not directly use > the > Paragraph object. Instead of that I use the Chunk object to define the font > and style and put this Chunk into a Phrase object. > There is a special output command that creates a linebreak. In this case I > take all the created Phrase objects and add them into one big Paragraph > object. Then I define the different Paragraph options like leading and > spacing > with the parameters of this special output command. > Therefore I need all these objects. > > I think my mistake was that I just saw only my program algorithm and forgot > to > write my request correctly. I would like to apologize that I have wasted your > time to explain me some iText basic parts. At my next request I try to > explain > my problem exactly so that it would be easier to understand what I want. > > Regards Eric! > > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > 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/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ 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/
