Beispiel #1
0
    def _register_hook(self, cr):
        check_list = [
            'import uno',
            'import unohelper',
            'from com.sun.star.beans import PropertyValue',
            'from com.sun.star.uno import Exception as UnoException',
            'from com.sun.star.connection import NoConnectException, ConnectionSetupException',
            'from com.sun.star.beans import UnknownPropertyException',
            'from com.sun.star.lang import IllegalArgumentException',
            'from com.sun.star.io import XOutputStream',
            'from com.sun.star.io import IOException',
        ]

        from check_deps import check_deps
        check_deps(check_list)
Beispiel #2
0
    def _register_hook(self, cr):
        check_list = [
            'import uno',
            'import unohelper',
            'from com.sun.star.beans import PropertyValue',
            'from com.sun.star.uno import Exception as UnoException',
            'from com.sun.star.connection import NoConnectException, ConnectionSetupException',
            'from com.sun.star.beans import UnknownPropertyException',
            'from com.sun.star.lang import IllegalArgumentException',
            'from com.sun.star.io import XOutputStream',
            'from com.sun.star.io import IOException',
        ]

        from check_deps import check_deps
        check_deps(check_list)
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
#
##############################################################################

check_list = [
    'import uno',
    'import unohelper',
    'from com.sun.star.beans import PropertyValue',
    'from com.sun.star.uno import Exception as UnoException',
    'from com.sun.star.connection import NoConnectException, ConnectionSetupException',
    'from com.sun.star.beans import UnknownPropertyException',
    'from com.sun.star.lang import IllegalArgumentException',
    'from com.sun.star.io import XOutputStream',
    'from com.sun.star.io import IOException',
]

from check_deps import check_deps
check_deps(check_list)

import installer
import report
try:
    import DocumentConverter
except ImportError, e:
    print e

Beispiel #4
0
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
#
################################################################################

import aeroolib
from genshi.template import NewTextTemplate

check_list = [
    'import aeroolib',
    'import genshi',
    'from genshi.template import NewTextTemplate',
    'from xml.dom import minidom',
    'from pyPdf import PdfFileWriter, PdfFileReader',
]

from check_deps import check_deps
check_deps(check_list)

import installer
# sacamos esta modificacion de translate ya que no la usamos y rompe las
# traducciones
# import translate
import report_xml
import report_aeroo
import wizard