summaryrefslogtreecommitdiff
path: root/wizards
diff options
context:
space:
mode:
authorJavier Fernandez <jfernandez@igalia.com>2013-03-19 19:00:10 +0000
committerMichael Meeks <michael.meeks@suse.com>2013-03-25 13:23:10 +0000
commited8568638d13795cb9adb5876c57b14f75b3542d (patch)
tree223dcc64025e6281a0b56d1fe8aa113b3664f317 /wizards
parentba73ea98a3e96dc9ec366543d6c98d527a8e4bb0 (diff)
Init: Added new file TypeDetection.py
Change-Id: I1bd9f27fb0ebcde9af72bf7dc734c869a91da9ed
Diffstat (limited to 'wizards')
-rw-r--r--wizards/com/sun/star/wizards/web/TypeDetection.py54
1 files changed, 54 insertions, 0 deletions
diff --git a/wizards/com/sun/star/wizards/web/TypeDetection.py b/wizards/com/sun/star/wizards/web/TypeDetection.py
new file mode 100644
index 000000000000..48957b65ca95
--- /dev/null
+++ b/wizards/com/sun/star/wizards/web/TypeDetection.py
@@ -0,0 +1,54 @@
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+# This file incorporates work covered by the following license notice:
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed
+# with this work for additional information regarding copyright
+# ownership. The ASF licenses this file to you under the Apache
+# License, Version 2.0 (the "License"); you may not use this file
+# except in compliance with the License. You may obtain a copy of
+# the License at http://www.apache.org/licenses/LICENSE-2.0 .
+#
+'''
+a document which will open in writer.
+'''
+WRITER_DOC = "writer"
+'''
+a document which will open in calc.
+'''
+CALC_DOC = "calc"
+'''
+a document which will open in impress.
+'''
+IMPRESS_DOC = "impress"
+'''
+a document which will open in draw.
+'''
+DRAW_DOC = "draw"
+'''
+an HTML document
+'''
+HTML_DOC = "html"
+'''
+a GIF or an JPG file.
+'''
+WEB_GRAPHICS = "graphics"
+'''
+a PDF document.
+'''
+PDF_DOC = "pdf"
+'''
+a Sound file (mp3/wav ect.)
+'''
+SOUND_FILE = "sound"
+'''
+a File which can not be handled by neither SO or a Web browser
+(exe, jar, zip ect.)
+'''
+NO_TYPE = "other"