http://pdfbox.apache.org/userguide/cookbook.html

The first few samples work fine, but when I try and click on the more
interesting samples, instead of source code I get a class outline.

For instance, click on the ShowColorBoxes link on the cookbook page. It
opens:
http://pdfbox.apache.org/apidocs/org/apache/pdfbox/examples/pdmodel/ShowColorBoxes.html

I'm expecting the actual code contained in the doIt method, but instead I
have a useless outline.

Now, if I click on the HelloWorld and HelloWorldTTF samples, it scrolls the
page down, and then I'm presented with links for the source code which look
like this:

http://svn.apache.org/repos/asf/pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/pdmodel/HelloWorldTTF.java
http://svn.apache.org/repos/asf/pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/pdmodel/HelloWorld.java

Now, if I just copy the first part of that link (leaving off
HelloWorld.java, eg:
http://svn.apache.org/repos/asf/pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/pdmodel/
)
I can browse the directory, and the ShowColorBoxes.java sample file is
there. But, the cookbook page should link to the code directly. I do
believe the current way it works is a bug.

Charles E. Smith
Software Developer
N2 Net Security, Inc.
919-423-0834

Reply via email to