Results 1 to 2 of 2
  1. #1
    Nasrath is offline Member
    Join Date
    Apr 2017
    Rep Power

    Default Creating Numbered Headings to a Paragraph in Word Document using APACHE POI

    Hello Everyone ,

    In writing to a word document using Apache poi , for the places where dynamically a paragraph has to get replicated based on some "count" , the headings for those paragraphs has to be numbered sequentially as per the section . Say if it is the 7th Section in the word document , then the headings for each paragraph in it should be numbered in 7.1 , 7.2 and so on sequentially .

    Though there are certain solutions which I saw , where the xml of the word document was taken into account and XWPFNumbering was used .

    Could there be some other easier way of doing it ?


    What if I have word template that already has a paragraph with a numbered heading and I have to replicate the same multiple times ? Does there exists any solution to it ?

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Madgaon, Goa, India
    Rep Power

    Default Re: Creating Numbered Headings to a Paragraph in Word Document using APACHE POI

    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Similar Threads

  1. How to Convert Excel document to word document?
    By sudheer.v47 in forum Advanced Java
    Replies: 3
    Last Post: 05-09-2014, 10:26 AM
  2. Write a paragraph multiline paragraph with scanner console?
    By moreCowbell in forum Advanced Java
    Replies: 5
    Last Post: 03-13-2013, 03:57 PM
  3. Read Bookmarks from a word document using apache POI
    By anuskesh in forum Advanced Java
    Replies: 0
    Last Post: 07-28-2010, 05:36 AM
  4. Replies: 2
    Last Post: 11-11-2009, 06:56 AM

Posting Permissions

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