JSF (whether plain or PrimeFaces) doesn't work very well with frames, I'm afraid. It has good tiling support, but for cases where the embedded content comes from a foreign URL, it's usually more trouble than it is worth.
An IDE is no substitute for an Intelligent Developer.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com