Quantcast
Channel: Adobe Community: Message List - Acrobat SDK
Viewing all articles
Browse latest Browse all 10848

Transforming PDEElements with unusual clipping path

$
0
0

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:

before.jpg

after

after.jpg

 

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):

http://we.tl/PxAeogEUDw

 

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!


Viewing all articles
Browse latest Browse all 10848

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>