On Wed, 13 Apr 2011, Brent Vaughn wrote:
How do you create a new XWPFHyperlink and place it into a Run?

At the moment it looks like we don't have an easy way to do this - most of the XWPF hyperlink code has been about reading rather than creating

The main bits to look at would probably be:
 * XWPFDocument#initHyperLinks
 * XWPFHyperlinkRun
 * XWPFHyperlink
 * XWPFParagraph(CTP,IBody)
That should show you all the details for reading, and hence what bits you'd need to put in to add new ones

If you do come up with some nice code for creating hyperlinks, please do send in a patch!

Nick

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to