Hello Michal,
The issue described by Kai-Cheung Leung is similar but not identical
with the one described in the thread you mentioned. The patch from
that thread changes the functionality of page matrix. I have the same
problem with changing the transformation matrix for all pages in a pdf
document (but it works for changing one page at a time).
For this purpose I wrote a script that should do the job but the pdf
remains unchanged.
function zoom()
{
f = loadPdf("/home/istirbu/test.pdf");
pg = f.getFirstPage();
for(; f.hasNextPage(pg); pg = f.getNextPage(pg))
{
pg.setTransformMatrix([1.3,0,0,1.3,-90,-115]);
}
f.unloadPdf();
}
but the following error message is displayed:
! In script '/home/istirbu/.pdfedit/scripts/zoom.qs', line 8:
! Error. Exception in Page.setTransformMatrix : Document is read-only
Thanks,
Igor
--
:wq
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Pdfedit-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pdfedit-support