Hi, I have submitted a patch for review:
https://gerrit.libreoffice.org/3007 To pull it, you can do: git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/07/3007/1 Init: Added new file TypeDetection.py Change-Id: I1bd9f27fb0ebcde9af72bf7dc734c869a91da9ed --- A wizards/com/sun/star/wizards/web/TypeDetection.py 1 file 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 0000000..48957b6 --- /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" -- To view, visit https://gerrit.libreoffice.org/3007 To unsubscribe, visit https://gerrit.libreoffice.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I1bd9f27fb0ebcde9af72bf7dc734c869a91da9ed Gerrit-PatchSet: 1 Gerrit-Project: core Gerrit-Branch: master Gerrit-Owner: Javier Fernandez <javier....@gmail.com> _______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice