-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.ini
237 lines (193 loc) · 4.99 KB
/
config.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
# This file is part of UNO Dialog Tools
# Copyright © 2016 Sasa Kelecevic
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# 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, see <http://www.gnu.org/licenses/>
# Copy this file in your project root and
# edit sections to reflect your needs
# ---------------------------
# GENERAL
# ---------------------------
# directories for all extension
[directories]
source_dir = src
templates_dir = templates
# name sufix for file generated from a XDL file
# all changes made in this file will be overwritten
# if the file is generated again!
[ui_file]
sufix = _UI
# prefix for exe script
# write your code in this file
[exe_file]
prefix = ''
# Prefix for exe function in exe script
[exec_function]
prefix = Run_
[oxt]
# sufix for extension name
name_sufix = _Devel
# exlude this files when generate extension
exclude = log.log,config.ini
# ---------------------------
# EXTENSION
# ---------------------------
# https://wiki.openoffice.org/wiki/Documentation/DevGuide/Extensions/description.xml
# identifier = identifier_domain.identifier_app
[extension]
identifier_domain = tagtree.qdaaddon.de.fordes
identifier_app = qdatreehelper
version = 0.1.0
platform = all
publisher = Jan
mailto = [email protected]
# SCRIPT EXTENSION FILES
# ---------------------------
[script_install]
location = user:uno_packages
# dir = empty (generate file in root directory) or
# dir name (create directory and generate file in it)
# file = file name
# templates = templates name using to generate file
# manifest.xml
[script_ext_meta]
dir = META-INF
file = manifest.xml
template = 1_manifest.xml
# description.xml
[script_ext_description]
dir =
file = description.xml
template = 2_description.xml
# license text
[script_app_license]
dir = registration
file = license.txt
template = 3_license.txt
# small text for extension
# in the Extension Manager
[script_app_description]
dir = description
file = description.txt
template = 4_description_en.txt
[script_app_title]
dir = description
file = title.txt
template = 5_title.txt
[script_add_on_menu]
dir =
file = Addons.xcu
template = 6_Addons.xcu
# SIDEBAR
# ---------------------------
# FIRTS READ
# https://wiki.openoffice.org/wiki/Sidebar_for_Developers
# https://forum.openoffice.org/en/forum/viewtopic.php?f=20&t=70747&p=317152&hilit=sidebar#p317152
# sidebar directories
[sdb_directories]
sdb_ui = ui
sdb_ui_logic = ui_logic
sdb_xdl = xdl
sdb_image = images
# DECK
# ---------------------------
[deck]
name = ExampleSidebarDeck
title = "My New Deck"
id = MyDeck1
icon_URL = image/icon1.png
context = Writer, any, visible ;
order_index = 600
# PANELS
# ---------------------------
# for each panels in sidebar
# define section in conf.ini file
# using pattern: [panel+number] eg.[panel1]
[panel1]
name = qdaTreePanel
title = "Tag Tree"
title_bar_is_optional = True
id = tagtree0001
context = Writer, any, visible;
order_index = 700
xdl_ui = /home/jan/Dropbox/OnTheGo/OfficeQDA/testdialogs/TestDialog3.xdl
#[panel2]
#name = Panel2
#title = "My Panel Title"
#title_bar_is_optional = True
#id = panel0002
#context = any, any, visible ;
#order_index = 800
#xdl_ui = /path/to/Dialog2.xdl
#[panel3]
#name = Panel3
#title = "My Panel"
#title_bar_is_optional = True
#id = panel0003
#context = any, any, visible ;
#order_index = 900
#xdl_ui = /path/to/MyNewDialog.xdl
# SIDEBAR EXTENSION FILES
# ---------------------------
[sidebar]
protocol = ProtocolHandler
# [sidebar_install]
# location = user:uno_packages
# dir = empty (generate file in root directory) or
# dir name (create directory and generate file in it)
# file = file name
# templates = templates name using to generate file
[sidebar_ext_meta]
dir = META-INF
file = manifest.xml
template = 1_manifest.xml
[sidebar_ext_description]
dir =
file = description.xml
template = 2_description.xml
[sidebar_app_license]
dir = registration
file = license.txt
template = 3_license.txt
[sidebar_app_description]
dir = description
file = description.txt
template = 4_description_en.txt
[sidebar_app_title]
dir = description
file = title.txt
template = 5_title.txt
[sidebar_panel_factory]
dir =
file = Factory.xcu
template = 6_Factory.xcu
[sidebar_protocol_handler]
dir =
file = ProtocolHandler.xcu
template = 7_ProtocolHandler.xcu
[sidebar_empty_xdl]
dir =
file = empty_panel.xdl
template = 8_empty_panel.xcu
[sidebar_icon]
dir = image
file = icon.png
template = 9_icon1.png
[sidebar_configuration]
dir =
file = Sidebar.xcu
template = 10_Sidebar.xcu
[sidebar_panel]
dir =
file =
template = 11_sidebar_panels.txt