Difference between revisions of "FR/DocumentationAdd-on"

From Apache OpenOffice Wiki
< FR
Jump to: navigation, search
m (Addon's Architecture)
m
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Documentation/Caution|Ce chapitre est en construction. Lecteur soit patient...}}
+
[[Category: FR/Documentation]]
=Introduction=
+
Add-on sont abordé naturellement dans le [[Documentation/DevGuide/WritingUNO/AddOns/Add-Ons|Developer's Guide]].
+
 
+
Les addons sont comme les [[Documentation/FR/Construire_des_composants|composants]] mais ils n'ajoutent aucune interface particulière à OpenOfiice. Pour dire les choses autrement ils n'ont pas besoin d'une spacification par un fichier IDL pour être construit. Ainsi, si vous voulez appeler un addon seuls les menus et barres d'outils sont disponibles. Pour décrire ces composants particuliers, nous partons encore une fois d'un exemple du SDK qui se trouve dans le répertoire :
+
 
+
<OOo_SDK>/Examples/developersGuide/Components/Addon/ProtocolHandlerAddon_cpp
+
 
+
Commençons d'abord par une comparaison entre les architectures des composants et celles d'un addon.
+
 
+
=Architecture d'un addon=
+
Because we have already encountered [[Constructing_Components|components]] (and [[CompleteAddIn|addin]] will be described in a next chapter) we give directly the schematic representation of the addon example in the SDK.
+
 
+
[[Image:FirstAddon.png|center|thumb|600px|My first Addon (with Helper)]]
+
 
+
This figure shows us what are the interfaces we have to implement. Four interfaces are showed : <idl>com.sun.star.frame.XDispatchProvider</idl>, <idl>com.sun.star.frame.XDispatch</idl>, <idl>com.sun.star.lang.XInitialization</idl> and <idl>com.sun.star.lang.XServiceInfo</idl>, and it's a good idea to have a look at them.
+
 
+
=Home Page=
+
{{Template:Home_Page}}
+
=See also=
+
* [[Documentation/DevGuide/WritingUNO/AddOns/Add-Ons|Developer's Guide]]
+
* [[Constructing_Components|Constructing components]]
+
* [[CompleteAddIn|Constructing addins]]
+
 
+
[[Category:Add-On]]
+
[[Category:FR/Cpp_Guide]]
+
[[Category:FR/Extensions]]
+
[[Category:Development]]
+
[[Category:Cpp]]
+
[[Category:Uno]]
+
[[Category:Tutorial]]
+

Latest revision as of 16:54, 28 October 2009

Personal tools