Results 1 to 4 of 4
  1. #1
    komasterix is offline Member
    Join Date
    Apr 2017
    Posts
    3
    Rep Power
    0

    Post Hyperlinks replace in microsoft products

    Dear All,

    Request you to please let me know the functionality to replace old hyperlink to new hyperlink.I am able to read document using apache poi and able to fetch hyperlink in paragraph but i am not able to replace the hyperlinks. Request you to please suggest me.

    Thanks & Regards,
    Komala Nijaguna

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

    Default Re: Hyperlinks replace in microsoft products

    Just so you know, the Word support in POI is pretty basic.
    From the Apache POI Doc page:
    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, and it may be necessary to dig down into low-level code.
    This means that it is quite possible this requirement of yours has not been implemented.
    You might need to dig into the low-level code in order to do this, and not the high level extraction code that gives you the hyperlink object.
    Please do not ask for code as refusal often offends.

    ** This space for rent **

  3. #3
    komasterix is offline Member
    Join Date
    Apr 2017
    Posts
    3
    Rep Power
    0

    Default Re: Hyperlinks replace in microsoft products

    Thanks for the update. So can you suggest me instead of apache poi is there any other sample code of hyperlink replacement in word. Please help me.

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

    Default Re: Hyperlinks replace in microsoft products

    Not really sure anymore.
    You could have a look at docx4j, which was aimed at docx files, but no idea if that's still maintained or not.
    Please do not ask for code as refusal often offends.

    ** This space for rent **

Similar Threads

  1. Replies: 1
    Last Post: 08-13-2013, 06:25 PM
  2. Replies: 3
    Last Post: 08-13-2013, 06:19 PM
  3. Replies: 2
    Last Post: 04-18-2012, 03:51 PM
  4. Replies: 3
    Last Post: 08-15-2011, 10:16 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
  •