update dev300-m58
[ooovba.git] / offapi / com / sun / star / chart2 / XLegend.idl
blob309aa148dd2ac3486a94d203f7f6b1588aac8569
1 #ifndef com_sun_star_chart_XLegend_idl
2 #define com_sun_star_chart_XLegend_idl
4 #include <com/sun/star/uno/XInterface.idl>
6 #ifndef __com_sun_star_lang_IllegalArgumentException_idl__
7 #include <com/sun/star/lang/IllegalArgumentException.idl>
8 #endif
9 #ifndef __com_sun_star_container_NoSuchElementException_idl__
10 #include <com/sun/star/container/NoSuchElementException.idl>
11 #endif
13 #include <com/sun/star/chart2/XLegendEntry.idl>
15 module com
17 module sun
19 module star
21 module chart2
24 /** interface for the legend of a diagram
26 interface XLegend : ::com::sun::star::uno::XInterface
28 /** The entry added is appended to the list, such that it appears
29 at the end of the legend.
31 @param xEntry
33 If it supports <type>CustomLegendEntry</type>,
34 the <type>XTitle</type> is used for displaying a text, and
35 the symbol is displayed according to the
36 <member>CustomLegendEntry::SymbolStyle</member> property.
38 void registerEntry( [in] XLegendEntry xEntry )
39 raises( com::sun::star::lang::IllegalArgumentException );
41 /** Removes an entry that was registered before
43 <p>(see <member>registerEntry</member>)</p>
45 void revokeEntry( [in] XLegendEntry xEntry )
46 raises( com::sun::star::container::NoSuchElementException );
48 /** Returns a list of all legend entries in the order in which
49 they were registered.
51 sequence< XLegendEntry > getEntries();
54 } ; // chart2
55 } ; // com
56 } ; // sun
57 } ; // star
59 #endif