Sophie

Sophie

distrib > Mandriva > 2008.1 > i586 > by-pkgid > 927a1532fb070c51449654bb68b5bde2 > files > 436

itext-manual-2.0.8-0.0.2mdv2008.1.i586.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><META http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>iText Tutorial: Alternatives for PdfPTable</title><meta name="Description" content="Some alternative ways to create a Table"><meta name="Keywords" content="PDF, JAVA, iText, Table, JTable, Swing, Lowagie, Bruno"><link rel="stylesheet" href="./../../../style.css" type="text/css"></head><body><a name="top" class="logo" href="http://www.lowagie.com/iText"><img src="http://www.lowagie.com/iText/images/logo.gif" border="0" alt="iText"></a><h1>Tutorial: iText by Example</h1><h2>Alternatives for PdfPTable</h2><div id="content"><div id="sidebar"><a class="toc" href="./../../../index.html#objects_tables_alternatives">
							Table of Contents
						</a><div align="Center" class="small">Best viewed with:<br><script type="text/javascript"><!--
google_ad_client = "pub-0340380473790570";
google_ad_width = 180;
google_ad_height = 60;
google_ad_format = "180x60_as_rimg";
google_cpa_choice = "CAAQyaj8zwEaCIwcWMzeycafKMu293M";
//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div><div class="sidetitle">Sections:</div><ul><li><a href="#inaction">In the book</a></li><li><a href="#jtable">JTable to PDF</a></li><li><a href="#table">the Table object</a></li></ul><br><br><div class="sidetitle">Examples:</div><div class="example"><a class="source" href="http://itext.ugent.be/library/com/lowagie/examples/objects/tables/alternatives/JTable2Pdf.java">JTable2Pdf</a><br><div class="description">Print a Swing jTable to a PDF file</div><div class="small">Output:</div><ul><li><a href="http://itext.ugent.be/library/com/lowagie/examples/objects/tables/alternatives/jTable.pdf">jTable.pdf</a></li></ul></div><div class="example"><a class="source" href="http://itext.ugent.be/library/com/lowagie/examples/objects/tables/alternatives/OldTable.java">OldTable</a><br><div class="description">Generates a table with the Table object</div><div class="small">Output:</div><ul><li><a href="http://itext.ugent.be/library/com/lowagie/examples/objects/tables/alternatives/oldtable.pdf">oldtable.pdf</a></li></ul></div><div class="example"><a class="source" href="http://itext.ugent.be/library/com/lowagie/examples/objects/tables/alternatives/LargeCell.java">LargeCell</a><br><div class="description">Trying to fit a Cell on a page</div><div class="small">Output:</div><ul><li><a href="http://itext.ugent.be/library/com/lowagie/examples/objects/tables/alternatives/largecell.pdf">largecell.pdf</a></li></ul></div><div class="example"><a class="source" href="http://itext.ugent.be/library/com/lowagie/examples/objects/tables/alternatives/TablePdfPTable.java">TablePdfPTable</a><br><div class="description">Generates a table with the TableAttributes object</div><div class="small">Output:</div><ul><li><a href="http://itext.ugent.be/library/com/lowagie/examples/objects/tables/alternatives/tableattributes.pdf">tableattributes.pdf</a></li><li><a href="http://itext.ugent.be/library/com/lowagie/examples/objects/tables/alternatives/tableattributes.rtf">tableattributes.rtf</a></li></ul></div><div class="example"><a class="source" href="http://itext.ugent.be/library/com/lowagie/examples/objects/tables/alternatives/PaddingBorders.java">PaddingBorders</a><br><div class="description">Generates tables with different padding, bordercolors and borderwidths</div><div class="small">Output:</div><ul><li><a href="http://itext.ugent.be/library/com/lowagie/examples/objects/tables/alternatives/paddingborders.pdf">paddingborders.pdf</a></li></ul></div><div class="example"><a class="source" href="http://itext.ugent.be/library/com/lowagie/examples/objects/tables/alternatives/MyFirstTable.java">MyFirstTable</a><br><div class="description">Generate a table with the Table/PdfPTable object</div><div class="small">Output:</div><ul><li><a href="http://itext.ugent.be/library/com/lowagie/examples/objects/tables/alternatives/MyFirstTable.pdf">MyFirstTable.pdf</a></li></ul></div><div class="example"><a class="source" href="http://itext.ugent.be/library/com/lowagie/examples/objects/tables/alternatives/SpecificCells.java">SpecificCells</a><br><div class="description">Adding Cells at specific positions</div><div class="small">Output:</div><ul><li><a href="http://itext.ugent.be/library/com/lowagie/examples/objects/tables/alternatives/specificcells.pdf">specificcells.pdf</a></li></ul></div><div class="example"><a class="source" href="http://itext.ugent.be/library/com/lowagie/examples/objects/tables/alternatives/RepeatingTable.java">RepeatingTable</a><br><div class="description">Shows how a table is split if it doesn't fit the page</div><div class="small">Output:</div><ul><li><a href="http://itext.ugent.be/library/com/lowagie/examples/objects/tables/alternatives/repeatingtable.pdf">repeatingtable.pdf</a></li></ul></div><div class="example"><a class="source" href="http://itext.ugent.be/library/com/lowagie/examples/objects/tables/alternatives/NestedTables.java">NestedTables</a><br><div class="description">Nested tables</div><div class="small">Output:</div><ul><li><a href="http://itext.ugent.be/library/com/lowagie/examples/objects/tables/alternatives/nestedtables.pdf">nestedtables.pdf</a></li></ul></div><div class="example"><a class="source" href="http://itext.ugent.be/library/com/lowagie/examples/objects/tables/alternatives/TableWithImage.java">TableWithImage</a><br><div class="description">Generate a table with the Table object containing Images</div><div class="small">Input:</div><ul><li><a href="http://itext.ugent.be/library/com/lowagie/examples/objects/tables/alternatives/otsoe.jpg">otsoe.jpg</a></li><li><a href="http://itext.ugent.be/library/com/lowagie/examples/objects/tables/alternatives/iText.gif">iText.gif</a></li></ul><div class="small">Output:</div><ul><li><a href="http://itext.ugent.be/library/com/lowagie/examples/objects/tables/alternatives/imageTable.pdf">imageTable.pdf</a></li></ul></div><div class="example"><div class="small">ANT script (all examples):</div><ul><li><a href="./../../../objects/tables/alternatives/build.xml">
					build.xml
				</a></li></ul></div></div><div id="main"><font color="#FF0000" size="+2">UNDER CONSTRUCTION</font><a name="inaction"></a><div class="title">In the book:</div><div xmlns="http://www.w3.org/1999/xhtml" xmlns:site="http://www.lowagie.com/iText/site">
		<p xmlns=""><a href="http://itext.ugent.be/itext-in-action/"><img src="http://itext.ugent.be/img/lowagie_3d.jpg" border="0" align="right"></a>
			The examples in this free online tutorial will help you getting started
			with iText. Note that most examples are two years old.
			Some of the examples may be obsolete. Also the theory that
			comes with the examples isn't always 100% accurate.
			If you want more recent examples or if you want to know more
			about the theoretical background of	PDF and iText, please consult the book
			<a href="http://itext.ugent.be/itext-in-action/">
				"iText in Action".
			</a>
			Note that the first and the third chapter of the book
			can be downloaded for free from <a href="http://www.manning.com/affiliate/idevaffiliate.php?id=223_53">http://manning.com/lowagie/</a></p><p>
			More specifically:
			<ul><li><a class="subtitle" href="http://itext.ugent.be/itext-in-action/chapter.php?chapter=6">
				Chapter 6:
			</a>Constructing tables</li><li><a class="subtitle" href="http://itext.ugent.be/itext-in-action/chapter.php?chapter=12">
				Chapter 12:
			</a>Drawing to Java Graphics2D</li></ul></p>
		</div><a class="top" href="#top">Go to top of the page</a><a name="jtable"></a><div class="title">JTable to PDF:</div><div xmlns="http://www.w3.org/1999/xhtml">
<div id="example">
					Example: java
					<a xmlns="" href="http://itext.ugent.be/library/com/lowagie/examples/objects/tables/alternatives/JTable2Pdf.java">
						com.lowagie.examples.objects.tables.alternatives.JTable2Pdf</a><br>Print a Swing jTable to a PDF file: see
						 <a href="http://itext.ugent.be/library/com/lowagie/examples/objects/tables/alternatives/jTable.pdf">jTable.pdf</a><br></div>
</div><a class="top" href="#top">Go to top of the page</a><a name="table"></a><div class="title">the Table object:</div><div xmlns="http://www.w3.org/1999/xhtml">
<div id="example">
					Example: java
					<a xmlns="" href="http://itext.ugent.be/library/com/lowagie/examples/objects/tables/alternatives/MyFirstTable.java">
						com.lowagie.examples.objects.tables.alternatives.MyFirstTable</a><br>Generate a table with the Table/PdfPTable object: see
						 <a href="http://itext.ugent.be/library/com/lowagie/examples/objects/tables/alternatives/MyFirstTable.pdf">MyFirstTable.pdf</a><br></div>
</div><a class="top" href="#top">Go to top of the page</a><div id="footer" xmlns="http://www.w3.org/1999/xhtml">
			Page Updated: 2006/09/17 10:13:47
			Copyright &copy; 1999-2005
			Bruno Lowagie<br><a href="http://www.lowagie.com/iText/">iText</a> is a Free Java-Pdf library by Bruno Lowagie and Paulo Soares.
		</div></div></div><div class="commercial"><br><script type="text/javascript"><!--
google_ad_client = "pub-0340380473790570";
google_ad_width = 120;
google_ad_height = 600;
google_ad_format = "120x600_as";
google_ad_channel ="";
google_ad_type = "text_image";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "1B09BD";
google_color_url = "100670";
google_color_text = "707070";
//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script><br><br><div class="subtitle">Amazon books:</div><script type="text/javascript"><!--
document.write('<iframe src="http://rcm.amazon.com/e/cm?t=itisacatalofwebp&o=1&p=8&l=as1&asins=1932394796&fc1=000000&lc1=0000ff&bc1=&lt1=_blank&IS2=1&bg1=ffffff&f=ifr" width="120" height="240" scrolling="no" marginwidth="0" marginheight="0" frameborder="0" align="Center"></iframe>');
//--></script><a xmlns="" href="http://www.amazon.co.uk/exec/obidos/ASIN/1932394796/catloogjecom-21" class="amazonlinks">
			amazon.co.uk-link
		</a><br><br><script type="text/javascript"><!--
document.write('<iframe src="http://rcm.amazon.com/e/cm?t=itisacatalofwebp&o=1&p=10&l=st1&mode=books&search=JAVA&=1&fc1=&lc1=&lt1=&bg1=&f=ifr" width="120" height="460" border="0" frameborder="0" style="border:none;" scrolling="no" marginwidth="0" marginheight="0"></iframe>');
//--></script><br></div></body></html>