Difference between revisions of "FR/DocumentationAdd-on"

From Apache OpenOffice Wiki
< FR
Jump to: navigation, search
m (New page: {{Documentation/Caution|This Chapter is under construction. Please be patient...}} =Introduction= Add-on are tackled also in [[Documentation/DevGuide/WritingUNO/AddOns/Add-Ons|Developer's ...)
 
m
Line 1: Line 1:
{{Documentation/Caution|This Chapter is under construction. Please be patient...}}
+
{{Documentation/Caution|Ce chapitre est en construction. Lecteur soit patient...}}
 
=Introduction=
 
=Introduction=
 
Add-on are tackled also in [[Documentation/DevGuide/WritingUNO/AddOns/Add-Ons|Developer's Guide]].
 
Add-on are tackled also in [[Documentation/DevGuide/WritingUNO/AddOns/Add-Ons|Developer's Guide]].

Revision as of 17:46, 20 June 2009

Documentation caution.png Ce chapitre est en construction. Lecteur soit patient...

Introduction

Add-on are tackled also in Developer's Guide.

The addon are like components but they don't add a particular interface. To put it differently they need no IDL file for their construction. Then, if you want to call an addon only menus are available. To describe such component we start with the SDK example in

<OOo_SDK>/Examples/developersGuide/Components/Addon/ProtocolHandlerAddon_cpp

We begin with a little comparison between the architectures of a component and the architecture of an addon.

Addon's Architecture

Because we have already encountered components (and addin will be described in a next chapter) we give directly the schematic representation of the addon example in the SDK.

My first Addon (with Helper)

This figure shows us what are the interfaces we have to implement. Four interfaces are showed : com.sun.star.frame.XDispatchProvider, com.sun.star.frame.XDispatch, com.sun.star.lang.XInitialization and com.sun.star.lang.XServiceInfo, and it's a good idea to have a look at them.

Home Page

See also

Personal tools