Menu

#65 create.links does not work, class derivation tree fails

Bug
open
nobody
PDFDoclet (42)
5
2006-05-04
2006-05-04
No

With pdfdoclet 1.0.1, the default is create.links=yes. My understanding is
that create.links=no disable PDF hyperlinks. However, setting
create.links=no does /not/ disable the creation of PDF hyperlinks.
Additionally, it causes the class names in every class's derivation tree to
be blanked out.

Observations:
- Some areas of the code are directly checking ARGS_CREATE_LINKS
instead of using Configuration.isLinksCreationActive()
- When isLinksCreationActive()==false, various destinations are set to
null or the empty string "", which causes the class derivation trees to fail.
- To achieve the desired result with create.links=yes, I hacked up my
own patch. I created a new variable create.hyperlinks and it is only used
within LinkPhrase.java. Specifically, it is used for (a) the purpose of
determining font style in the LinkPhrase constructors, (b) sets
destination=null in LinkPhrase.init(...) but is NOT used to set
destination="" in the LinkPhrase constructors.

Hopefully this gives some guidance for your repairs.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB