|
From: Michal H. <ms...@gm...> - 2011-01-27 10:03:17
|
On Thu, Jan 27, 2011 at 10:45:42AM +0100, Christian Weiske wrote: > Hello, Hi, > > > I am trying to use PDFedit 0.4.5-20100605 (official package from > ubuntu) to edit a PDF file. > The pdf file is writable by the my unix user. > > When trying to change a text in the PDF, I get the following error on > the console: > > ! In script '/usr/share/pdfedit/dialogs.qs', line 911: > > ! Error. Exception in ContentStream.replace : Document is read-only > > I did that by clicking repeatedly on the text until I had the part of > the text selected that I wanted to change. Now I changed the text in > the "dynamic toolbar" and pressed return/enter. The error was displayed > then in the console. > > This might have to do with > http://pdfedit.petricek.net/bt/view.php?id=258 > but I am not sure. This is something different. The bug is about GUI not showing exceptions nicely. Many exceptions are displayed only in the console output. > > My question: Is there a way to edit the text in that document? How? This pretty much depends on the document. We are marking certain documents read only because either they contain features that are not supported by PDFedit (e.g. encrypted documents) or the document itself is not good for editing (e.g. linearized document). If you are having the linearized document (which you can see in the Revision selection tool) then you can delinearize document edit the delinearized one. -- Michal Hocko |