Added generating signed-pdf on selected position.