implemented different PDF types

Signed-off-by: Javier Vazquez <javier@vazquez.ch>