Jonadan wrote: > One more question! > I spend time with alignment of Paragraphs inside Table Cells. Cells have; > - setHorizontalAlignment() and > - setVerticallAlignment() > > Paragraphs have; > - setAlignment() > > It looks like Cell alignment is used, even if I specify paragraph alignment.
You probably didn't understand the hint I gave you yesterday: http://www.nabble.com/Re%3A-cutom-footers-p15083301.html I phrased it as follows: "If you want to know more about 'text mode' versus 'composite mode', please read chapters 6 and 7 of 'iText in Action'." The hint was that you may want to buy the book, if not for the info about this topic, maybe for the fact that your problem was solved for free. > Is there any rules in determining alignment. It's software, there's bound to be an algorithm. Unless we programmed a randomizer that occasionally does it one way, other times an other way... > For example, I add three > Paragraphs into a Cell, each paragraph having LEFT TOP, CENTER MIDDLE, > and BOTTOM RIGHT. If I set Cell to CENTER MIDDLE, what happen to > alignment of each paragraph? Try it and you will find out. > Will the paragraph alignment will be ignored? The answer is: it depends. Are you talking about 'text mode' or about 'composite mode'. Note that your question is not very clear. First you say that paragraph only has vertical alignment (which is true); then ask a question about the (non-existent) horizontal alignment of a Paragraph. That's very confusing. br, Bruno ------------------------------------------------------------------------- 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 iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/