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