Edited text in generating pdf