Results 1 to 4 of 4
  1. #1
    Intellicus is offline Member
    Join Date
    Jan 2016
    Posts
    1
    Rep Power
    0

    Default How to create charts in Word using POI in Java

    Hi,

    Can some one please help me out in creating charts in Word using POI in java

    Regards,
    Chennu

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    19,967
    Rep Power
    32

    Default Re: How to create charts in Word using POI in Java

    What have you tried? Where are you having problems?
    If you don't understand my response, don't ignore it, ask a question.

  3. #3
    SurfMan's Avatar
    SurfMan is offline Godlike
    Join Date
    Nov 2012
    Location
    The Netherlands
    Posts
    1,983
    Rep Power
    8

    Default Re: How to create charts in Word using POI in Java

    Although POI has come a long way, I very much doubt if POI is able to do what you want.

    While looking for some examples for this, I ran across this gem: Creating MS Word document in java
    Note this is posted in the "struts" section, but the real amusing part is the solution. Given the domainname, I expected this answer to be useless, but the cluelessness is priceless...
    "It's not fixed until you stop calling the problem weird and you understand what was wrong." - gimbal2 2013

  4. #4
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    13,541
    Rep Power
    26

    Default Re: How to create charts in Word using POI in Java

    The most complete part of POI is its Excel integration.

    The least complete part is its Word integration. I don't think anything has been done on it in years.
    From the Apache page for it:
    "
    Both HWPF and XWPF could be described as "moderately functional". For some use cases, especially around text extraction, support is very strong. For others, support may be limited or incomplete...
    "
    In essence the code does what the people who wrote it need it to do, which was essentially data extraction, with less and less working functionality the further from that area you get.

    I'm never quite sure what people who want to edit or produce Word docs need that ability for. If it's reporting or something then there are far better targets (like PDF).
    Please do not ask for code as refusal often offends.

    ** This space for rent **

Similar Threads

  1. create word doucment with Table of contents(TOC)
    By jagadeeshkasa in forum Forum Guides
    Replies: 0
    Last Post: 02-04-2011, 05:50 AM
  2. Replies: 0
    Last Post: 12-21-2010, 08:57 AM
  3. JAVA graphs & charts libraries
    By acornel in forum AWT / Swing
    Replies: 1
    Last Post: 10-24-2010, 07:11 PM
  4. How to create a table in word document using hwpf
    By devday in forum Advanced Java
    Replies: 0
    Last Post: 07-23-2009, 02:41 PM
  5. Charts using JAVA or JSP
    By rahulranjith in forum Java Applets
    Replies: 1
    Last Post: 07-19-2007, 06:37 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •