Add loadmask for pdf generation
Merge pull request #101 from monodo/pdf_loadMask

Add loadmask for pdf generation