The best place to start would be by looking at the quick guide - http://poi.apache.org/spreadsheet/quick-guide.html. It can tell you how to create workbooks, sheets, cells and so on. Once you have a handle on that, try to replicate the layout you are see on the PDF. If you are new to Excel, it is an application that allows you organise data into tables - crudely. One Excel file - called a workbook - can contain one or more sheets. Each sheet will contains data organised into cells that are at the intersection of a row and column.
I am going to guess that this is some sort of tabular layout of the data you are reading from the database; with the data will be arranged into a series of rows and columns. If this is the case, all you need to do with POI is to create a row on a sheet where a row would appear on you PDF table, create a cell on this row for each item of data and then populate that cell. It might help answer your question if you could post an example PDF. I am not at all sure I understand what you are asking but it should be possible to achieve with POI. -- View this message in context: http://apache-poi.1045710.n5.nabble.com/Way-to-Use-row-with-in-a-cell-tp5537635p5538024.html Sent from the POI - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
