[iText-questions] Is there a way to set the number of columns for PdfPTable other than in the constructor?
I create a PdfPtable with 1 column, then before anything else is added to the table I need to set the number of columns but there is no setter for that. Is there anyway to do that? Thanks Fred -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
Re: [iText-questions] Is there a way to set the number of columns for PdfPTable other than in the constructor?
Fred Janon wrote: I create a PdfPtable with 1 column, then before anything else is added to the table I need to set the number of columns but there is no setter for that. Is there anyway to do that? Postpone the creation of the table until you know the number of columns. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
Re: [iText-questions] Is there a way to set the number of columns for PdfPTable other than in the constructor?
Yep, that means I have to sort XML attributes to process 'columns' first... I would have preferred not to, but I kinda knew the answer and hoping I missed something. Thanks Fred On Sat, Mar 20, 2010 at 17:09, 1T3XT info i...@1t3xt.info wrote: Fred Janon wrote: I create a PdfPtable with 1 column, then before anything else is added to the table I need to set the number of columns but there is no setter for that. Is there anyway to do that? Postpone the creation of the table until you know the number of columns. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/ -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
Re: [iText-questions] Is there a way to set the number of columns for PdfPTable other than in the constructor?
Is there a way to add a setter for columns in the future: PdfPTable.setColumns(int)? It could throw an exception if it's too late to change it. Thanks Fred On Sat, Mar 20, 2010 at 18:27, Fred Janon fja...@gmail.com wrote: Yep, that means I have to sort XML attributes to process 'columns' first... I would have preferred not to, but I kinda knew the answer and hoping I missed something. Thanks Fred On Sat, Mar 20, 2010 at 17:09, 1T3XT info i...@1t3xt.info wrote: Fred Janon wrote: I create a PdfPtable with 1 column, then before anything else is added to the table I need to set the number of columns but there is no setter for that. Is there anyway to do that? Postpone the creation of the table until you know the number of columns. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/ -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/