Why PandaLex?

I have been thinking for the last day or so, and it occurs to me that the PDF parsing functionality in Panda is more generally useful than what is needed for Panda itself. For instance, the parse could also be used for pdf viewers, pdf modification (what Panda needs it for), or anything else you can think of.

A good simple, and probably fairly common use of PandaLex would be a simple program to count the number of pages in a PDF document from the command line. This could be useful for determining if the document is damaged or something.

Therefore, welcome to PandaLex‘s page… This is where development work for PandaLex will occur.

PandaLex 0.1 Development Release

Here is the souce code for PandaLex so far. I have released this exactly as it appears in the Panda code, because this is a atarting point for people to have a look and comment on it. The following points should be noted:

  • It is not perfect
  • It is not a complete implementation of the PDF specification, version 1.3, yet
  • The next piece of development work for PandaLex is to get the hooks in place so that people can start using the parser for useful work. I am thinking this will take the form of a series of callback functions that can be defined by the user, but I am open to suggestions…

    Source (signed)

  • AOSS Talk

    I also gave a talk at the Australian Open Source Symposium in Adelaid today. The talk is very similar to that I gave a few days ago at CLUG (see below). However, some slides have been updated… I have made the slides used for the talk available here. I have also editted the slides to include some idea of the commentary that I gave with the slides like I did for the CLUG talk below.

    The slides cover topics such as what is Panda, what is PDF, directions for Panda development, differnces in quality of PDF viewers and some simple sample code.
    For reference, the original slides, as shown on the screen are also online…

    CLUG Talk

    I gave a talk at the Canberra Linux User’s Group (CLUG) meeting tonight. I have made the slides used for the talk available here. I have also editted the slides to include some idea of the commentary that I gave with the slides.

    The slides cover topics such as what is Panda, what is PDF, directions for Panda development, and some simple sample code.
    For reference, the original slides, as shown on the screen are also online…

    Panda 0.2.2 man pages now on the web

    The Panda 0.2.2 man pages are now available on the web in nicely formatted HTML. These might eb of interest to those programming on a machine without man installed (Windows perhaps), or those who are just interested in seeing what sort of documentation the library has.


    The following pages are available:

  • checkinfo (3)
  • initpanda (3)
  • makedate (3)
  • nowdate (3)
  • panda-textmodes(3)
  • panda-xobjectmodes (3)
  • pdfclose (3)
  • pdfopen (3)
  • pdfpage (3)
  • setauthor (3)
  • setcharacterspacing (3)
  • setcreator (3)
  • setfont (3)
  • setfontmode (3)
  • setfontsize (3)
  • sethorizontalscaling (3)
  • setkeywords (3)
  • setleading (3)
  • setsubject (3)
  • settitle (3)
  • setwordspacing (3)