Bug 13586 - We don't have a frame when printing.

UPLIFTED from trunk

git-svn-id: svn+ssh://svn.abisource.com/svnroot/abiword/branches/ABI-3-0-0-STABLE@33663 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
Bug 13602 - Add missing boost header

Cherry-picked from trunk@33734

git-svn-id: svn+ssh://svn.abisource.com/svnroot/abiword/branches/ABI-3-0-0-STABLE@33737 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6