FreeCAD

Форк
0
40 строк · 2.4 Кб
1
# ***************************************************************************
2
# *   Copyright (c) 2001,2002 Juergen Riegel <juergen.riegel@web.de>        *
3
# *   Copyright (c) 2013 Yorik van Havre <yorik@uncreated.net>              *
4
# *   Copyright (c) 2013 Eivind Kvedalen <eivind@kvedalen.name>             *
5
# *                                                                         *
6
# *   This file is part of the FreeCAD CAx development system.              *
7
# *                                                                         *
8
# *   This program is free software; you can redistribute it and/or modify  *
9
# *   it under the terms of the GNU Lesser General Public License (LGPL)    *
10
# *   as published by the Free Software Foundation; either version 2 of     *
11
# *   the License, or (at your option) any later version.                   *
12
# *   for detail see the LICENCE text file.                                 *
13
# *                                                                         *
14
# *   FreeCAD is distributed in the hope that it will be useful,            *
15
# *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
16
# *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
17
# *   GNU Lesser General Public License for more details.                   *
18
# *                                                                         *
19
# *   You should have received a copy of the GNU Library General Public     *
20
# *   License along with FreeCAD; if not, write to the Free Software        *
21
# *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  *
22
# *   USA                                                                   *
23
# *                                                                         *
24
# ***************************************************************************/
25

26
# FreeCAD init script of the Spreadsheet module
27

28

29
# Get the Parameter Group of this module
30
ParGrp = App.ParamGet("System parameter:Modules").GetGroup("Spreadsheet")
31

32
# Set the needed information
33
ParGrp.SetString("HelpIndex", "Spreadsheet/Help/index.html")
34
ParGrp.SetString("WorkBenchName", "Spreadsheet")
35
ParGrp.SetString("WorkBenchModule", "SpreadsheetWorkbench.py")
36

37
# add Import/Export types
38
App.addImportType("Excel spreadsheet (*.xlsx *.XLSX)", "importXLSX")
39

40
App.__unit_test__ += ["TestSpreadsheet"]
41

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.