poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 41047] - Links are currently not supported
Date Tue, 28 Nov 2006 16:49:16 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41047>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41047





------- Additional Comments From yegor@dinom.ru  2006-11-28 08:49 -------
The first step is to implement link records: InteractiveInfoAtom and
ExHyperlinkAtom.  

As for API it should be simple. Link is an attribute of a text run.
A sample use case may look as follows:

TextRun run = ..;
Hyperlink link = run.getHyperlink();
String href = link.getAddress(); 
String title = link.getTitle();

//setting a link: 
Hyperlink link = new Hyperlink();
link.setAddress("jakarta.apache.org");
link.setTitle("Jakarta Apache");

run.setHyperlink(link);
or
run.setHyperlink(link, startIdx, endIdx); 

Let's start with the atoms. 

Yegor

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: poi-dev-unsubscribe@jakarta.apache.org
Mailing List:    http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/


Mime
View raw message