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
>
9 #ifndef __com_sun_star_container_NoSuchElementException_idl__
10 #include
<com
/sun
/star
/container
/NoSuchElementException.idl
>
13 #include
<com
/sun
/star
/chart2
/XLegendEntry.idl
>
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.
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
51 sequence
< XLegendEntry
> getEntries
();