Hi all,
I'am developing an acrobat plugin to transform elements in a PDF file. I used "ObjShiftSnip" (PluginSupport\Samples) as a basis. It works perfectly in almost all cases I encountered.
However in the following case, a PDF file with only one visible element (PDEPath), I get the following results:
before:
after
The circle itself has been transformed (some units in the x and y direction). It would seem that a clipping path is not transformed (correctly). However, the "ShiftObjects" function loops through all elements recursively (PDEContainer, PDEForm, PDEClip,PDEPath,...). Also in almost all other cases PDEClips are transformed correctly.
You will find both PDF file here (14 kb each):
Could someone point me in the right direction? Detecting these kind of situations would also be a great help.
Any help/pointers would be appreciated!