Can I edit documents in the document viewer?

The document viewer can't be used to make changes to documents. You need to use the appropriate editing application for the type of file you want to change.

PDF and PostScript (.ps) files are not usually intended to be edited, but PDF editing software is available. Try pdfedit, for example.