User: hr Date: 2006/08/15 03:54:32 Modified: dba/dbaccess/source/ui/misc/UITools.cxx
Log: INTEGRATION: CWS dba30 (1.58.16); FILE MERGED 2006/07/19 13:06:47 fs 1.58.16.4: RESYNC: (1.59-1.61); FILE MERGED 2006/05/03 15:26:23 fs 1.58.16.3: AppendTableAliasName defaults to FALSE - there's rarely any halfway modern database which requires this obscure syntax 2006/03/21 18:39:06 fs 1.58.16.2: RESYNC: (1.58-1.59); FILE MERGED 2005/12/12 08:03:14 oj 1.58.16.1: #i18609# check type on target source File Changes: Directory: /dba/dbaccess/source/ui/misc/ ======================================== File [changed]: UITools.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/misc/UITools.cxx?r1=1.61&r2=1.62 Delta lines: +0 -12 -------------------- --- UITools.cxx 10 Jul 2006 15:36:22 -0000 1.61 +++ UITools.cxx 15 Aug 2006 10:54:29 -0000 1.62 @@ -992,18 +992,6 @@ return eJustify; } // ----------------------------------------------------------------------------- -void setColumnUiProperties( const Reference< XPropertySet>& _rxColumn,const OFieldDescription* _pFieldDesc) -{ - if ( _pFieldDesc->GetFormatKey() != NumberFormat::ALL && _rxColumn->getPropertySetInfo()->hasPropertyByName(PROPERTY_FORMATKEY) ) - _rxColumn->setPropertyValue(PROPERTY_FORMATKEY,makeAny(_pFieldDesc->GetFormatKey())); - if ( _pFieldDesc->GetHorJustify() != SVX_HOR_JUSTIFY_STANDARD && _rxColumn->getPropertySetInfo()->hasPropertyByName(PROPERTY_ALIGN) ) - _rxColumn->setPropertyValue(PROPERTY_ALIGN,makeAny(dbaui::mapTextAllign(_pFieldDesc->GetHorJustify()))); - if ( _pFieldDesc->GetDescription().getLength() && _rxColumn->getPropertySetInfo()->hasPropertyByName(PROPERTY_HELPTEXT) ) - _rxColumn->setPropertyValue(PROPERTY_HELPTEXT,makeAny(_pFieldDesc->GetDescription())); - if ( _pFieldDesc->GetControlDefault().hasValue() && _rxColumn->getPropertySetInfo()->hasPropertyByName(PROPERTY_CONTROLDEFAULT) ) - _rxColumn->setPropertyValue(PROPERTY_CONTROLDEFAULT,_pFieldDesc->GetControlDefault()); -} -// ----------------------------------------------------------------------------- float ConvertFontWeight( ::FontWeight eWeight ) { if( eWeight == WEIGHT_DONTKNOW ) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
