--- old/offapi/com/sun/star/awt/VclWindowPeerAttribute.idl 2007-11-21 09:28:18.000000000 +0800 +++ old/offapi/com/sun/star/awt/VclWindowPeerAttribute.idl 2007-11-21 09:31:44.000000000 +0800 @@ -134,6 +134,10 @@ //------------------------------------------------------------------------- const long DEF_RETRY = 536870912; + + //------------------------------------------------------------------------- + + const long NOLABEL = 536870912; //------------------------------------------------------------------------- --- old/toolkit/inc/toolkit/helper/property.hxx 2007-11-21 09:28:46.000000000 +0800 +++ old/toolkit/inc/toolkit/helper/property.hxx 2007-11-21 09:40:02.000000000 +0800 @@ -182,6 +182,7 @@ #define BASEPROPERTY_DESKTOP_AS_PARENT 123 // sal_Bool //#define BASEPROPERTY_RESOURCERESOLVER 124 // css.resource.XStringResourceResolver +#define BASEPROPERTY_NOLABEL 132 // sal_Bool #define BASEPROPERTY_TREE_START 124 #define BASEPROPERTY_TREE_SELECTIONTYPE 124 --- old/toolkit/source/awt/vclxtoolkit.cxx 2007-11-21 09:29:28.000000000 +0800 +++ old/toolkit/source/awt/vclxtoolkit.cxx 2007-11-20 17:14:02.000000000 +0800 @@ -312,6 +312,8 @@ nWinBits |= WB_CLIPCHILDREN; if( nComponentAttribs & ::com::sun::star::awt::VclWindowPeerAttribute::GROUP ) nWinBits |= WB_GROUP; + if( nComponentAttribs & ::com::sun::star::awt::VclWindowPeerAttribute::NOLABEL ) + nWinBits |= WB_NOLABEL; // These bits are not uniqe if ( bMessBox ) --- old/toolkit/source/controls/unocontrol.cxx 2007-11-20 17:18:02.000000000 +0800 +++ old/toolkit/source/controls/unocontrol.cxx 2007-11-20 17:13:02.000000000 +0800 @@ -1334,6 +1334,16 @@ if ( ( aVal >>= b ) && b) aDescr.WindowAttributes |= VclWindowPeerAttribute::AUTOVSCROLL; } + + //NoLabel + aPropName = GetPropertyName( BASEPROPERTY_NOLABEL ); + if ( xInfo->hasPropertyByName( aPropName ) ) + { + aVal = xPSet->getPropertyValue( aPropName ); + sal_Bool b = sal_Bool(); + if ( ( aVal >>=b ) && b ) + aDescr.WindowAttributes |= VclWindowPeerAttribute::NOLABEL; + } // Align aPropName = GetPropertyName( BASEPROPERTY_ALIGN ); --- old/toolkit/source/controls/unocontrols.cxx 2007-11-20 17:17:34.000000000 +0800 +++ old/toolkit/source/controls/unocontrols.cxx 2007-11-20 17:11:44.000000000 +0800 @@ -1593,6 +1593,7 @@ ImplRegisterProperty( BASEPROPERTY_HELPURL ); ImplRegisterProperty( BASEPROPERTY_LABEL ); ImplRegisterProperty( BASEPROPERTY_MULTILINE ); + ImplRegisterProperty( BASEPROPERTY_NOLABEL ); ImplRegisterProperty( BASEPROPERTY_PRINTABLE ); ImplRegisterProperty( BASEPROPERTY_TABSTOP ); ImplRegisterProperty( BASEPROPERTY_VERTICALALIGN ); --- old/toolkit/source/helper/property.cxx 2007-11-20 17:17:08.000000000 +0800 +++ old/toolkit/source/helper/property.cxx 2007-11-20 17:13:42.000000000 +0800 @@ -246,7 +246,8 @@ DECL_PROP_1 ( "MouseTransparent", MOUSETRANSPARENT, bool, BOUND ), DECL_PROP_2 ( "MultiLine", MULTILINE, bool, BOUND, MAYBEDEFAULT ), DECL_PROP_2 ( "MultiSelection", MULTISELECTION, bool, BOUND, MAYBEDEFAULT ), - DECL_PROP_2 ( "NativeWidgetLook", NATIVE_WIDGET_LOOK, bool, BOUND, MAYBEDEFAULT ), + DECL_PROP_2 ( "NativeWidgetLook", NATIVE_WIDGET_LOOK, bool, BOUND, MAYBEDEFAULT ), + DECL_PROP_2 ( "NoLabel", NOLABEL, bool, BOUND, MAYBEDEFAULT ), DECL_PROP_2 ( "Orientation", ORIENTATION, sal_Int32, BOUND, MAYBEDEFAULT ), DECL_PROP_2 ( "PaintTransparent", PAINTTRANSPARENT, bool, BOUND, MAYBEDEFAULT ), DECL_PROP_2 ( "PluginParent", PLUGINPARENT, sal_Int64, BOUND, MAYBEDEFAULT ),