Refactor PPAutoCrop

fixed #298
Merge pull request #332 from PowerPointLabs/Issue298

Refactor PPAutoCrop #298