added export pdf functionality

if it doesn't recognize the new library - add it to the build path and
it should work ;)