summaryrefslogtreecommitdiff
path: root/scp2
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-02-28 19:22:06 +0100
committerMichael Stahl <mstahl@redhat.com>2015-02-28 22:28:56 +0100
commit081a3ea796856e25e7f91728792111e258e80f2d (patch)
tree282cfe2f1b42162a04253051fd176c185bea7eec /scp2
parenta1d7f029a06832bae59991398c8bc6ab2c2d6443 (diff)
scp2: remove obsolete mkopenwith.btm
Change-Id: I409a505ad61f99e56081a9a05ec49284564fd568
Diffstat (limited to 'scp2')
-rwxr-xr-xscp2/source/mkopenwith.btm52
-rw-r--r--scp2/source/supported_extensions.txt97
2 files changed, 0 insertions, 149 deletions
diff --git a/scp2/source/mkopenwith.btm b/scp2/source/mkopenwith.btm
deleted file mode 100755
index 0c09f3b5e151..000000000000
--- a/scp2/source/mkopenwith.btm
+++ /dev/null
@@ -1,52 +0,0 @@
-@ECHO OFF
-IF '%1'==' GOTO End
-IF NOT EXIST %1\. GOTO Module_Error
-
-SET OUTPUT=%1\OpenWith.SCP
-
-SET FILE=%@FILEOPEN[supported_extensions.txt,read,t]
-
-ECHO // "OpenWith" Windows Registry keys for extensions supported by %1 > %OUTPUT%
-ECHO. >> %OUTPUT%
-
-:While_Read_File
-SET LINE=%@FILEREAD[%FILE%]
-IF '%LINE%'=='' GOTO While_Read_File
-IF '%@LEFT[1,%LINE%]'==';' GOTO While_Read_File
-IF '%LINE%'=='**EOF**' GOTO End_Read_File
-
-IF NOT '%@LEFT[1,%LINE%]'=='[' GOTO Register_Extension
-
-SET MODULE=%@UPPER[%@WORD["[]",0,%LINE%]]
-GOTO While_Read_File
-
-:Register_Extension
-IF NOT '%MODULE%'=='%@UPPER[%1]' GOTO While_Read_File
-
-ECHO // .%LINE% >> %OUTPUT%
-ECHO RegistryItem gid_Regitem_OpenOffice_%LINE%_OpenWith_%1 >> %OUTPUT%
-ECHO ParentID = PREDEFINED_HKEY_CLASSES_ROOT; >> %OUTPUT%
-ECHO Subkey = ".%LINE%\OpenWithProgIDs"; >> %OUTPUT%
-ECHO ModuleID = gid_Module_Prg_%1_Bin; >> %OUTPUT%
-ECHO Name = "opendocument.%1Document.1"; >> %OUTPUT%
-ECHO Value = "%PRODUCTNAME %PRODUCTVERSION"; >> %OUTPUT%
-ECHO End >> %OUTPUT%
-ECHO. >> %OUTPUT%
-
-REM GOTO End_Read_File
-GOTO While_Read_File
-
-:End_Read_File
-SET ERROR=%@FILECLOSE[%FILE%]
-GOTO End
-
-:Help
-ECHO Usage: %0 Module
-ECHO Example: %0 Calc
-GOTO End
-
-:Module_Error
-ECHO Module %1 not found !
-GOTO End
-
-:End
diff --git a/scp2/source/supported_extensions.txt b/scp2/source/supported_extensions.txt
deleted file mode 100644
index 72e9125e3bdf..000000000000
--- a/scp2/source/supported_extensions.txt
+++ /dev/null
@@ -1,97 +0,0 @@
-#
-# 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 .
-#
-[Calc]
-ODS
-OTS
-SXC
-STC
-DIF
-DBF
-XLS
-XLW
-XLT
-RTF
-SDC
-VOR
-SLK
-CSV
-TXT
-HTM
-HTML
-WK1
-WKS
-123
-XML
-
-[Writer]
-ODT
-OTT
-SXW
-STW
-DOC
-DOT
-RTF
-SDW
-VOR
-TXT
-HTM
-HTML
-XML
-WPD
-WPS
-JTD
-JTT
-HWP
-OTH
-ODM
-SXG
-SGL
-
-[Impress]
-ODP
-OTP
-SXI
-STI
-PPT
-PPS
-POT
-SXD
-SDA
-SDD
-SDP
-VOR
-ODG
-
-[Draw]
-ODG
-OTG
-SXD
-STD
-SDA
-SDD
-VOR
-
-;[Database]
-[OOo]
-ODB
-
-[Math]
-ODF
-SXM
-SMF
-MML