Page 1 of 1

Creating *.xls "Hello, world"

PostPosted: Fri Nov 18, 2011 7:30 am
by Levitskiy
Some days ago i finished my program that create *.doc file and fill it with paragraphs of text, tables, images and hyperlinks to external files. And now I want it to do the same in *.xls.
There are a few examples in SRC that shows how to create simple spreadsheet with numeric data or parse existed xls file. Can you show some examples how to fill different data into xls file?

Re: Creating *.xls "Hello, world"

PostPosted: Fri Nov 18, 2011 9:13 am
by jason
What sort of data do you have in mind?

You can create a spreadsheet in Excel (or whatever) containing the data of interest, save it, then inspect its parts structure (via PartsList) and XML content.

Then you need to replicate that using xlsx4j. If you run into problems, please post your sample spreadsheet, and code.