Update ooo320-m1
[ooovba.git] / offapi / com / sun / star / awt / XLayoutFlow.idl
blobb059d13bff15bb60030bb966006659038855be0b
1 #ifndef __com_sun_star_awt_XLayoutFlow_idl__
2 #define __com_sun_star_awt_XLayoutFlow_idl__
4 //=============================================================================
6 #include <com/sun/star/uno/XInterface.idl>
8 module com { module sun { module star { module awt {
10 //=============================================================================
12 /** Enables height-for-width layout negociations, which allows for label wrapping
13 and flow containers. Can be implemented by either a container or an ordinary widget;
14 whether its parent will honor it is another story, so keep implementing
15 getMinimumSize().
17 @since OOo 3.0
19 interface XLayoutFlow
21 /** returns the prefered high this layout element would need for the given width. */
22 long getHeightForWidth( [in] long Width );
24 /** Allow the container/widget to toggle the functionality. */
25 boolean hasHeightForWidth();
28 //=============================================================================
30 }; }; }; };
32 #endif