Extension System Integration
Extension System Integration
OpenOffice.org
5 Extension System Integration
Specification Status
Last Change May 9, 2008
Status Standard
Abstract
10 Extensions shall be recognized on desktops by using particular icons. It also shall be possible to install an extension by
double clicking on the respective file.
i-Team Members
Role First Name, Last Name, Initials E-Mail Address
Project Lead Joachim Lingner (JL) [email protected]
Specification Owner Joachim Lingner (JL) [email protected]
User Experience Bettina Haberer (BH) [email protected]
Development Joachim Lingner (JL), Stephan Bergmann [email protected], [email protected],
(SB), Ivo Hinkelmann (ihi), Hennes Rohling [email protected], [email protected]
(hro)
Quality Assurance Jörg Skottke [email protected]
Documentation Uwe Fischer [email protected]
Other roles
Page 1
Extension System Integration
15
Contents
Abstract.............................................................................................................................................................1
i-Team Members...............................................................................................................................................1
References and Reference Documents..............................................................................................................3
Acronyms and Abbreviations............................................................................................................................3
1 Detailed Specification......................................................................................................................................4
1.1 Scenarios of System Integration........................................................................................................................4
1.2 Installation of a Single Extension......................................................................................................................4
1.2.1 Changes in the next version...............................................................................................................................6
1.3 GUI changes during Installation........................................................................................................................6
1.4 Warning at having started more then one instances of unopkg.........................................................................6
1.5 Installation of Multiple Extensions...................................................................................................................7
1.6 Changes in unopkg............................................................................................................................................7
1.7 GUI Changes.....................................................................................................................................................8
1.8 Mime Type........................................................................................................................................................9
1.9 Icons..................................................................................................................................................................9
1.10 Description......................................................................................................................................................10
1.11 Integration in Windows...................................................................................................................................11
1.11.1 Icons and Description......................................................................................................................................11
1.11.2 Command Integration......................................................................................................................................12
1.11.3 Other unopkg Changes....................................................................................................................................13
1.11.4 Integration in other applications......................................................................................................................14
1.12 Unix.................................................................................................................................................................17
1.13 Installing Extensions using the Console..........................................................................................................20
2 Migration........................................................................................................................................................20
3 Configuration.................................................................................................................................................20
4 File Format.....................................................................................................................................................20
5 Open Issues....................................................................................................................................................20
Document Change History..............................................................................................................................21
http://specs.openoffice.org/appwide/packagemanager/extension_system_integration.odt Page 2
Extension System Integration
http://specs.openoffice.org/appwide/packagemanager/extension_system_integration.odt Page 3
Extension System Integration
20 1 Detailed Specification
45
Table 1: User Interface elements of Figure 1
# Type Properties Comment
Dialog Control Properties Info box
State: Modal
Closable: Yes
Resizable: No
http://specs.openoffice.org/appwide/packagemanager/extension_system_integration.odt Page 4
Extension System Integration
When the user presses OK, the installation starts and the dialog closes. The extension is installed under “My
50 Extensions”, that is in the user installation. Installing under “OpenOffice.org Extensions, that is installing in the shared
installation, is not supported as part of the system integration.
The command that is executed in order to start the installation process is on Windows:
unopkg.exe gui extension
55 and on Unix
unopkg gui extension.
http://specs.openoffice.org/appwide/packagemanager/extension_system_integration.odt Page 5
Extension System Integration
unopkg. You can start the office and provide a full path to an extension. This will start the office with the extension
manager asking you if you want to install that extension.
Starting with OpenOffice 3.0 the office supports installing an extension with simply choosing the extension in the office
65 file open dialog, too.
In these cases a warning will be displayed. Because this is only a interims-solution, there is only one warning with a
general text. Otherwise we would have to take into account:
● unopkg can be started with no, one, multiple arguments. That is the warning string could refer to no, exactly
80 one or multiple extensions.
● The user may not know what unopkg is. For example, if the user always uses the double-click for installing
extensions, he may never have typed unopkg in a console before. Therefore the warning string may in some
situations not refer to unopkg (the user would not know what it is) but in other cases it would be more specific.
85 In case unopkg was started with the gui option, which is the case when starting unopkg via system integration, then the
warning will be displayed in a dialog. If unopkg was started without the gui option, for example, the user typed in the
console: unopkg add d:\extension.oxt, then the warning is displayed in the console.
Yo
Yo Yo Yo
uu ua nu nre eaee re
ea d dba o
totobu Y ot
cc uto
lo ts
lo
o to
in
sueesinta
thth s
aeta
ll all
e th
E
re eth
lre e
xtee d
aey
axte
n sxte
bn
io
osnn
io
p
o s
e
p
t
t
p ro
to
to
ro c
i
i
c e
e
n
n s
e
e
s
d
d
ta
ta
w
w
l
ll
l
i
i
th
th e
th
th P
b re
eexte P s
fo rere s s
n s th Os K
io e O n e K
to pP to
p
xte
la inro prec
nro
.oe c
e
s io
xtsedn ecs d
with
a
pn with
laO in
beth e
.oth
Kin e
in
xts csin
tata
tos t
ll
alle
n
to
to
oxt.
xt.
a
a bb o
o rt
rt th
th ee P re
pa boutP
roto s re s
cins s
etas Cs a C
s e xten ons ac n
e
fion P
inc
l e
to
s l
re to
a b ao
s brt
ta lla tio n . o
s rt
th eth
C e
in s
ain
tasn ta
lla lla
tio
c t
en
You
Youane
You You
ne ato
reeeaddboutre to ins
to clos
clos ta
ee the
the
You lreellaxte
ll the
aExte athe
dy ns
nsreion
opeion Maapla
ne na
dbout gepla
in.oxt.
Exte in.oxt.
r, ns
beion
foreMa
to the
na ge
ins tar, ll the e xte ns ion pla
You ne
POK
ree sdstotoOK clos
to e dP
the a lre asdy ope ne tadins
llaExte ns ion Mae na
e ge
d r with the ins ta lla tion
Pere
be s sns
xte
fore the
ion eplaproce
xte ns eproce
in.oxtioncawithne din.oxt
re
pla be with
the
s insthe
ins ca nllains
talle
taO K tion.
dbe by to retion.
proc
tas lle
ta rting
d. the
to continue
re s s PCa .
Pproce sres snce
s Ca
of l tonce
ins l to
taalla
bortPathe
tion. bort
re sthe
ins sllains
ta C taa
tion. llanc
tion.e l to a bort the ins ta lla tion.
http://specs.openoffice.org/appwide/packagemanager/extension_system_integration.odt Page 6
Extension System Integration
95
See also chapter 1.4. This command is only for use with the system integration. Therefore unopkg –help will not show
this command.
http://specs.openoffice.org/appwide/packagemanager/extension_system_integration.odt Page 7
Extension System Integration
extension. OOo's file dialog will also display a description string (see also chapter 1.10)
The Extension Manager displays the “Toolbar” icon with the size 16X16 for extensions (see chapter 1.9).
115
OpenOffice.org's file dialog displays the “Toolbar” icon with the size 16X16 for extensions (see chapter 1.9). It also
shows a description string.
120
http://specs.openoffice.org/appwide/packagemanager/extension_system_integration.odt Page 8
Extension System Integration
1.9 Icons
These icons are for use in OpenOffice.org. For examples see figure 3 and 4.
Office Icons 16x16 26x26 16x16 26x26
Office Extension
130 These Icons are for use on the operating system's desktop:
http://specs.openoffice.org/appwide/packagemanager/extension_system_integration.odt Page 9
Extension System Integration
Office Extension
-> 24bit (no Alpha
channel)
Office Extension
-> 8bit (no Alpha
channel)
"Office Extention"
-> Low Contrast
Office Extension
-> High Contrast
"Office
Extention"
-> High
Contrast:
Black/White
"Office
Extention"
-> High
Contrast:
White/Black
1.10 Description
A description string may be displayed in
135 ● file browsers
● file dialogs (including OOo's file dialog)
● other applications
http://specs.openoffice.org/appwide/packagemanager/extension_system_integration.odt Page 10
Extension System Integration
and figure 5
http://specs.openoffice.org/appwide/packagemanager/extension_system_integration.odt Page 11
Extension System Integration
http://specs.openoffice.org/appwide/packagemanager/extension_system_integration.odt Page 12
Extension System Integration
165
Ins tall
http://specs.openoffice.org/appwide/packagemanager/extension_system_integration.odt Page 13
Extension System Integration
190
http://specs.openoffice.org/appwide/packagemanager/extension_system_integration.odt Page 14
Extension System Integration
195
http://specs.openoffice.org/appwide/packagemanager/extension_system_integration.odt Page 15
Extension System Integration
200
205
http://specs.openoffice.org/appwide/packagemanager/extension_system_integration.odt Page 16
Extension System Integration
http://specs.openoffice.org/appwide/packagemanager/extension_system_integration.odt Page 17
Extension System Integration
http://specs.openoffice.org/appwide/packagemanager/extension_system_integration.odt Page 18
Extension System Integration
225
http://specs.openoffice.org/appwide/packagemanager/extension_system_integration.odt Page 19
Extension System Integration
235 2 Migration
3 Configuration
4 File Format
240
5 Open Issues
Issue Initials Date
71625 When starting unopkg from download window of firefox we use a name Dec 8, 2006
http://specs.openoffice.org/appwide/packagemanager/extension_system_integration.odt Page 20
Extension System Integration
http://specs.openoffice.org/appwide/packagemanager/extension_system_integration.odt Page 21