Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 78711
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T21:01:48+00:00 2026-05-10T21:01:48+00:00

I have a new app I’ll be working on where I have to generate

  • 0

I have a new app I’ll be working on where I have to generate a Word document that contains tables, graphs, a table of contents and text. What’s a good API to use for this? How sure are you that it supports graphs, ToCs, and tables? What are some hidden gotcha’s in using them?

Some clarifications:

  • I can’t output a PDF, they want a Word doc.
  • They’re using MS Word 2003 (or 2007), not OpenOffice
  • Application is running on *nix app-server

It’d be nice if I could start with a template doc and just fill in some spaces with tables, graphs, etc.

Edit: Several good answers below, each with their own faults as far as my current situation. Hard to pick a ‘final answer’ from them. Think I’ll leave it open, and hope for better solutions to be created.

Edit: The OpenOffice UNO project does seem to be closest to what I asked for. While POI is certainly more mainstream, it’s too immature for what I want.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T21:01:49+00:00Added an answer on May 10, 2026 at 9:01 pm

    In 2007 my project successfully used OpenOffice.org’s Universal Network Objects (UNO) interface to programmatically generate MS-Word compatible documents (*.doc), as well as corresponding PDF documents, from a Java Web application (a Struts/JSP framework).

    OpenOffice UNO also lets you build MS-Office-compatible charts, spreadsheets, presentations, etc. We were able to dynamically build sophisticated Word documents, including charts and tables.

    We simplified the process by using template MS-Word documents with bookmark inserts into which the software inserted content, however, you can build documents completely from scratch. The goal was to have the software generate report documents that could be shared and further tweaked by end-users before converting them to PDF for final delivery and archival.

    You can optionally produce documents in OpenOffice formats if you want users to use OpenOffice instead of MS-Office. In our case the users want to use MS-Office tools.

    UNO is included within the OpenOffice suite. We simply linked our Java app to UNO-related libraries within the suite. An OpenOffice Software Development Kit (SDK) is available containing example applications and the UNO Developer’s Guide.

    I have not investigated whether the latest OpenOffice UNO can generate MS-Office 2007 Open XML document formats.

    The important things about OpenOffice UNO are:

    1. It is freeware
    2. It supports multiple languages (e.g. Visual Basic, Java, C++, and others).
    3. It is platform-independent (Windows, Linux, Unix, etc.).

    Here are some useful web sites:

    • Open Office home
    • Open Office UNO Developer’s Guide
    • OpenOffice Developer’s Forum (especially the ‘Macros and API’ and ‘Code Snippets’ forums).
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 59k
  • Answers 59k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer Have you tried list-style-type: disc instead? (disk should be disc) May 11, 2026 at 9:01 am
  • added an answer For me, the output looks a bit different: testA: 1… May 11, 2026 at 9:01 am
  • added an answer How to synchronize two Subversion repositories? Can I have one… May 11, 2026 at 9:01 am

Related Questions

I have a new app I'll be working on where I have to generate
I have an app that needs to open a new window (in the same
I have a new 1 TB drive coming in tomorrow. What is the best
I have a new object with a collection of new objects within it on
I have a new VPS server, and I'm trying to get it to connect
I have a new project which simply put, is an attempt to formalize the
I have a new ASP.NET MVC project (my first), and I had been running
I have a old website that generate its own RSS everytime a new post
I have a migration that runs an SQL script to create a new Postgres
I have a webpage where I want the user to see a new image

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.