0

Yeah the titles confusing, but heres what im trying to do

  1. Obtain 6 .txt files in Java (more or less depending on what i need)
  2. Put them into a excel document cells and allow a graph to sort the data (without bringing up the excel window, if possible)
  3. Create a single-page PDF using the graph created in the excel document
  4. Open PDF Viewer and show the PDF.

I have no idea how to do any of this. Im good in basic Java so i can do #1 for the .txt file processing and how to insert data into cells, but once i have to create the graph I get lost.

Dont be afraid to post anything if you dont know every single step, I just want to take it step by step.

Note: The graph be a horizontal line graph, there will be (num of text documents) # of "Series" and every series has about 10 pieces of data

4

1 回答 1

0

我会看一下 Apache POI 项目,这是一个用于读取和写入 Microsoft 文档的 API。这是它对 Excel 的支持的链接。不过,我不知道它是否会对您的图表有所帮助。

然后你可以看看Apache PDFBox 项目

于 2013-03-29T01:56:57.820 回答