i123672 Made data used in ScPrintFunc to prepare print preview dynamic

git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1571902 13f79535-47bb-0310-9956-ffa450edef68
#124315# insert check for libs with jnilib extension on mac os

git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1571942 13f79535-47bb-0310-9956-ffa450edef68