[open-beos-printing] Another PDFWriter Progress

  • From: Michael Pfeiffer <michael.pfeiffer@xxxxxxxxx>
  • To: open-beos-printing@xxxxxxxxxxxxx
  • Date: Sun, 12 May 2002 22:14:27 +0000

A very rudimentary version of detection of urls or bookmarks
and adding them to the pdf file is implemented. This can
be configured from the Page Setup window -> Advanced.
The bookmarks are identified by font family/style and size
and this is configurable through a file (see bookmarks/Sample
in the PDF Writer directory).

Current restrictions are:
- url/bookmark must not contain linebreaks
- the url or bookmark must be present in the print job as a 
  entire string (passed to DrawString(...)). E.g. changing
  the font or size within an url would split the string into
  several parts.

Here is a pdf file that was printed from a gobeProductive
document. It contains bookmarks and urls (on the second
page):

http://bepdf.sourceforge.net/test/bookmarks.pdf (68KB)

- Michael


Other related posts: