#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 negotiations, 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 preferred height 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 
