| /trunk/main/wizards/com/sun/star/wizards/common/ |
| H A D | NumericalHelper.java | 95 public static byte toByte(Object aValue) in toByte() argument 101 TypeObject aTypeObject = getTypeObject(aValue); in toByte() 128 Byte b = new Byte((String) aTypeObject.aValue); in toByte() 134 "Cannot convert to byte: " + aTypeObject.aValue); in toByte() 142 "Cannot convert this type: " + aValue.getClass().getName()); in toByte() 153 public static char toChar(Object aValue) in toChar() argument 159 TypeObject aTypeObject = getTypeObject(aValue); in toChar() 186 String s = (String) aTypeObject.aValue; in toChar() 199 "Cannot convert to char: " + aTypeObject.aValue); in toChar() 207 "Cannot convert this type: " + aValue.getClass().getName()); in toChar() [all …]
|
| /trunk/main/chart2/source/controller/itemsetwrapper/ |
| H A D | CharacterPropertyItemConverter.cxx | 164 uno::Any aValue( GetPropertySet()->getPropertyValue( C2U( "CharUnderline" ))); in FillSpecialItem() local 165 if( aValue.hasValue()) in FillSpecialItem() 167 aItem.PutValue( aValue, MID_TL_STYLE ); in FillSpecialItem() 171 aValue = GetPropertySet()->getPropertyValue( C2U( "CharUnderlineHasColor" )); in FillSpecialItem() 172 if( aValue.hasValue() && in FillSpecialItem() 173 ( *reinterpret_cast< const sal_Bool * >( aValue.getValue()) != sal_False )) in FillSpecialItem() 175 aItem.PutValue( aValue, MID_TL_HASCOLOR ); in FillSpecialItem() 179 aValue = GetPropertySet()->getPropertyValue( C2U( "CharUnderlineColor" )); in FillSpecialItem() 180 if( aValue.hasValue()) in FillSpecialItem() 182 aItem.PutValue( aValue, MID_TL_COLOR ); in FillSpecialItem() [all …]
|
| H A D | GraphicPropertyItemConverter.cxx | 293 uno::Any aValue( GetPropertySet()->getPropertyValue( aPropName )); in FillSpecialItem() local 294 if( aValue.hasValue()) in FillSpecialItem() 297 aItem.PutValue( aValue, MID_NAME ); in FillSpecialItem() 305 if( (aValue >>= aName) && in FillSpecialItem() 329 uno::Any aValue( GetPropertySet()->getPropertyValue( aPropName ) ); in FillSpecialItem() local 330 if( hasLongOrShortValue(aValue) ) in FillSpecialItem() 332 nStepCount = getShortForLongAlso(aValue); in FillSpecialItem() 471 uno::Any aValue; in ApplySpecialItem() local 485 aValue <<= aMode; in ApplySpecialItem() 486 if( aValue != GetPropertySet()->getPropertyValue( aModePropName )) in ApplySpecialItem() [all …]
|
| H A D | AxisItemConverter.cxx | 168 TimeInterval aValue; in lcl_hasTimeIntervalValue() local 169 if( rAny >>= aValue ) in lcl_hasTimeIntervalValue() 485 uno::Any aValue; in ApplySpecialItem() local 504 rItemSet.Get( nWhichId ).QueryValue( aValue ); in ApplySpecialItem() 506 if( aScale.Maximum != aValue ) in ApplySpecialItem() 508 aScale.Maximum = aValue; in ApplySpecialItem() 529 rItemSet.Get( nWhichId ).QueryValue( aValue ); in ApplySpecialItem() 531 if( aScale.Minimum != aValue ) in ApplySpecialItem() 533 aScale.Minimum = aValue; in ApplySpecialItem() 592 if( rItemSet.Get( nWhichId ).QueryValue( aValue ) ) in ApplySpecialItem() [all …]
|
| /trunk/main/connectivity/source/drivers/odbcbase/ |
| H A D | ODatabaseMetaData.cxx | 799 ::rtl::OUString aValue; in allProceduresAreCallable() 800 …OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_ACCESSIBLE_PROCEDURES,aValue,*this,m_pConnec… in allProceduresAreCallable() 801 return aValue.toChar() == 'Y'; in allProceduresAreCallable() 806 ::rtl::OUString aValue; in supportsStoredProcedures() 807 …OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_PROCEDURES,aValue,*this,m_pConnection->getTe… in supportsStoredProcedures() 808 return aValue.toChar() == 'Y'; in supportsStoredProcedures() 820 ::rtl::OUString aValue; in allTablesAreSelectable() 821 …OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_ACCESSIBLE_TABLES,aValue,*this,m_pConnection… in allTablesAreSelectable() 822 return aValue.toChar() == 'Y'; in allTablesAreSelectable() 860 ::rtl::OUString aValue; in supportsColumnAliasing() [all …]
|
| H A D | OConnection.cxx | 496 ::connectivity::ORowSetValue aValue; in buildTypeInfo() 515 aValue.fill(nPos,aTypes[nPos],xRow); in buildTypeInfo() 516 aInfo.aTypeName = aValue; in buildTypeInfo() 518 aValue.fill(nPos,aTypes[nPos],xRow); in buildTypeInfo() 519 aInfo.nType = aValue; in buildTypeInfo() 521 aValue.fill(nPos,aTypes[nPos],xRow); in buildTypeInfo() 522 aInfo.nPrecision = aValue; in buildTypeInfo() 524 aValue.fill(nPos,aTypes[nPos],xRow); in buildTypeInfo() 525 aInfo.aLiteralPrefix = aValue; in buildTypeInfo() 527 aValue.fill(nPos,aTypes[nPos],xRow); in buildTypeInfo() [all …]
|
| /trunk/main/vbahelper/source/vbahelper/ |
| H A D | vbapagesetupbase.cxx | 41 …uno::Any aValue = mxPageProps->getPropertyValue( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("Heade… in getTopMargin() local 42 aValue >>= headerOn; in getTopMargin() 44 … aValue = mxPageProps->getPropertyValue( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("TopMargin"))); in getTopMargin() 45 aValue >>= topMargin; in getTopMargin() 49 …aValue = mxPageProps->getPropertyValue( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("HeaderHeight")… in getTopMargin() 50 aValue >>= headerHeight; in getTopMargin() 69 …uno::Any aValue = mxPageProps->getPropertyValue( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("Heade… in setTopMargin() local 70 aValue >>= headerOn; in setTopMargin() 74 …aValue = mxPageProps->getPropertyValue( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("HeaderHeight")… in setTopMargin() 75 aValue >>= headerHeight; in setTopMargin() [all …]
|
| /trunk/main/xmlscript/source/xmldlg_imexp/ |
| H A D | xmldlg_import.cxx | 261 OUString aValue; in importBorderStyle() local 263 &aValue, OUSTR("border"), in importBorderStyle() 265 if (aValue.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("none") )) in importBorderStyle() 267 else if (aValue.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("3d") )) in importBorderStyle() 269 else if (aValue.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("simple") )) in importBorderStyle() 273 _borderColor = toInt32(aValue); in importBorderStyle() 298 OUString aValue; in importVisualEffectStyle() local 299 if (getStringAttr( &aValue, OUString( RTL_CONSTASCII_USTRINGPARAM("look") ), in importVisualEffectStyle() 302 if (aValue.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("none") )) in importVisualEffectStyle() 306 else if (aValue.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("3d") )) in importVisualEffectStyle() [all …]
|
| /trunk/main/vcl/unx/generic/printer/ |
| H A D | printerinfomanager.cxx | 264 ByteString aValue( aConfig.ReadKey( "Copies" ) ); in initialize() local 265 if( aValue.Len() ) in initialize() 266 m_aGlobalDefaults.m_nCopies = aValue.ToInt32(); in initialize() 268 aValue = aConfig.ReadKey( "Orientation" ); in initialize() 269 if( aValue.Len() ) in initialize() 270 …m_aGlobalDefaults.m_eOrientation = aValue.EqualsIgnoreCaseAscii( "Landscape" ) ? orientation::Land… in initialize() 272 aValue = aConfig.ReadKey( "MarginAdjust" ); in initialize() 273 if( aValue.Len() ) in initialize() 275 m_aGlobalDefaults.m_nLeftMarginAdjust = aValue.GetToken( 0, ',' ).ToInt32(); in initialize() 276 m_aGlobalDefaults.m_nRightMarginAdjust = aValue.GetToken( 1, ',' ).ToInt32(); in initialize() [all …]
|
| /trunk/main/xmloff/source/draw/ |
| H A D | xexptran.cxx | 567 ::basegfx::B2DTuple aValue(1.0, 1.0); in SetString() 570 aValue.setX(Imp_GetDoubleChar(aStr, nPos, nLen, rConv, aValue.getX())); in SetString() 572 aValue.setY(Imp_GetDoubleChar(aStr, nPos, nLen, rConv, aValue.getY())); in SetString() 574 if(aValue.getX() != 1.0 || aValue.getY() != 1.0) in SetString() 575 maList.push_back(new ImpSdXMLExpTransObj2DScale(aValue)); in SetString() 581 ::basegfx::B2DTuple aValue; in SetString() 584 aValue.setX(Imp_GetDoubleChar(aStr, nPos, nLen, rConv, aValue.getX(), true)); in SetString() 586 aValue.setY(Imp_GetDoubleChar(aStr, nPos, nLen, rConv, aValue.getY(), true)); in SetString() 588 if(!aValue.equalZero()) in SetString() 589 maList.push_back(new ImpSdXMLExpTransObj2DTranslate(aValue)); in SetString() [all …]
|
| /trunk/main/svx/source/items/ |
| H A D | drawitem.cxx | 108 sal_Int64 aValue = sal_Int64((sal_uLong)&maColorTable); in QueryValue() local 109 rVal = uno::makeAny( aValue ); in QueryValue() 120 sal_Int64 aValue = 0; in PutValue() local 121 if ( rVal >>= aValue ) in PutValue() 123 if(aValue) in PutValue() 124 maColorTable = *((XColorListSharedPtr*)(sal_uLong)aValue); in PutValue() 193 sal_Int64 aValue = sal_Int64((sal_uLong)&maGradientList); in QueryValue() local 194 rVal = uno::makeAny( aValue ); in QueryValue() 205 sal_Int64 aValue = 0; in PutValue() local 206 if ( rVal >>= aValue ) in PutValue() [all …]
|
| /trunk/main/sd/source/filter/html/ |
| H A D | pubdlg.cxx | 806 PropertyValue aValue; in GetParameterSequence() local 810 aValue.Name = OUString( RTL_CONSTASCII_USTRINGPARAM( "PublishMode" ) ); in GetParameterSequence() 811 aValue.Value <<= (sal_Int32)(pPage2_Standard->IsChecked()?PUBLISH_HTML: in GetParameterSequence() 814 aProps.push_back( aValue ); in GetParameterSequence() 816 aValue.Name = OUString( RTL_CONSTASCII_USTRINGPARAM( "IsExportContentsPage" ) ); in GetParameterSequence() 817 aValue.Value <<= (sal_Bool)pPage2_Content->IsChecked(); in GetParameterSequence() 818 aProps.push_back( aValue ); in GetParameterSequence() 822 aValue.Name = OUString( RTL_CONSTASCII_USTRINGPARAM( "IsExportNotes" ) ); in GetParameterSequence() 823 aValue.Value <<= (sal_Bool)pPage2_Notes->IsChecked(); in GetParameterSequence() 824 aProps.push_back( aValue ); in GetParameterSequence() [all …]
|
| /trunk/main/toolkit/workben/ |
| H A D | unodialog.cxx | 166 uno::Any aValue; in Main() local 167 aValue <<= (sal_Int32) 10; in Main() 168 xPSet->setPropertyValue( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "PositionX" ) ), aValue ); in Main() 169 aValue <<= (sal_Int32) 10; in Main() 170 xPSet->setPropertyValue( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "PositionY" ) ), aValue ); in Main() 171 aValue <<= (sal_Int32) 40; in Main() 172 xPSet->setPropertyValue( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "Width" ) ), aValue ); in Main() 173 aValue <<= (sal_Int32) 12; in Main() 174 xPSet->setPropertyValue( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "Height" ) ), aValue ); in Main() 175 aValue <<= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "Test!" ) ); in Main() [all …]
|
| /trunk/main/ucbhelper/source/provider/ |
| H A D | propertyvalueset.cxx | 155 _type_ aValue = _type_(); /* default ctor */ \ 174 aValue = rValue._member_name_; \ 192 if ( rValue.aObject >>= aValue ) \ 194 rValue._member_name_ = aValue; \ 212 if ( aConvAny >>= aValue ) \ 214 rValue._member_name_ = aValue; \ 232 return aValue; 455 Any aValue; in getObject() local 472 aValue = rValue.aObject; in getObject() 485 aValue <<= rValue.aString; in getObject() [all …]
|
| /trunk/main/oox/source/ppt/ |
| H A D | timenode.cxx | 282 Any aValue = maEndSyncValue.convert( pSlide ); in setNode() local 283 xNode->setEndSync(aValue); in setNode() 312 Any & aValue( maNodeProperties[ i ] ); in setNode() local 313 if( aValue.hasValue() ) in setNode() 319 xAnimate->setTo( aValue ); in setNode() 323 xAnimate->setFrom( aValue ); in setNode() 327 xAnimate->setBy( aValue ); in setNode() 331 xAnimate->setTarget( aValue ); in setNode() 336 if( aValue >>= nInt16 ) in setNode() 347 if( aValue >>= sString ) in setNode() [all …]
|
| /trunk/main/framework/source/fwe/classes/ |
| H A D | actiontriggerpropertyset.cxx | 195 const Any& aValue ) in convertFastPropertyValue() argument 207 bReturn = impl_tryToChangeProperty( m_aCommandURL, aValue, aOldValue, aConvertedValue ); in convertFastPropertyValue() 211 bReturn = impl_tryToChangeProperty( m_aHelpURL, aValue, aOldValue, aConvertedValue ) ; in convertFastPropertyValue() 215 bReturn = impl_tryToChangeProperty( m_xBitmap, aValue, aOldValue, aConvertedValue ) ; in convertFastPropertyValue() 219 …bReturn = impl_tryToChangeProperty( m_xActionTriggerContainer, aValue, aOldValue, aConvertedValue … in convertFastPropertyValue() 223 bReturn = impl_tryToChangeProperty( m_aText, aValue, aOldValue, aConvertedValue ) ; in convertFastPropertyValue() 233 sal_Int32 nHandle, const Any& aValue ) in setFastPropertyValue_NoBroadcast() argument 241 aValue >>= m_aCommandURL; in setFastPropertyValue_NoBroadcast() 245 aValue >>= m_aHelpURL; in setFastPropertyValue_NoBroadcast() 249 aValue >>= m_xBitmap; in setFastPropertyValue_NoBroadcast() [all …]
|
| /trunk/main/connectivity/java/dbtools/src/main/java/org/apache/openoffice/comp/sdbc/dbtools/util/ |
| H A D | ORowSetValue.java | 533 Date aValue = new Date(); in getDate() local 539 aValue = DBTypeConversion.toDate(getString()); in getDate() 546 aValue = DBTypeConversion.toDate(getDouble()); in getDate() 550 aValue.Day = date.Day; in getDate() 551 aValue.Month = date.Month; in getDate() 552 aValue.Year = date.Year; in getDate() 556 aValue.Day = dateTime.Day; in getDate() 557 aValue.Month = dateTime.Month; in getDate() 558 aValue.Year = dateTime.Year; in getDate() 566 aValue = DBTypeConversion.toDate((double)getLong()); in getDate() [all …]
|
| /trunk/main/sc/source/core/data/ |
| H A D | compressedarray.cxx | 41 pData[0].aValue = rValue; in ScCompressedArray() 55 D aValue = pDataArray[0]; in ScCompressedArray() local 58 if (!(aValue == pDataArray[j])) in ScCompressedArray() 60 pData[nCount].aValue = aValue; in ScCompressedArray() 63 aValue = pDataArray[j]; in ScCompressedArray() 66 pData[nCount].aValue = aValue; in ScCompressedArray() 161 if (!(pData[ni].aValue == aNewVal)) in SetValue() 174 if (ni > 0 && pData[ni-1].aValue == aNewVal) in SetValue() 192 if (nj < nCount && pData[nj].aValue == aNewVal) in SetValue() 196 if (pData[ni-1].aValue == aNewVal) in SetValue() [all …]
|
| /trunk/main/sfx2/source/doc/ |
| H A D | objuno.cxx | 173 ::com::sun::star::uno::Any aValue; 190 uno::Any aValue = xSet->getPropertyValue( pProps[i].Name ); in Copy() local 193 xContainer->addProperty( pProps[i].Name, pProps[i].Attributes, aValue ); in Copy() 197 xTarget->setPropertyValue( pProps[i].Name, aValue ); in Copy() 517 …xDocumentInfoObject::setPropertyValue(const ::rtl::OUString& aPropertyName, const uno::Any& aValue) in setPropertyValue() argument 522 setFastPropertyValue( pEntry->nWID, aValue ); in setPropertyValue() 528 return xPropSet->setPropertyValue(aPropertyName, aValue); in setPropertyValue() 690 …cumentInfoObject::setFastPropertyValue(sal_Int32 nHandle, const ::com::sun::star::uno::Any& aValue) in setFastPropertyValue() argument 697 if ( aValue.getValueType() == ::getCppuType((const ::rtl::OUString*)0) ) in setFastPropertyValue() 700 aValue >>= sTemp ; in setFastPropertyValue() [all …]
|
| /trunk/main/sc/source/ui/unoobj/ |
| H A D | confuno.cxx | 130 const rtl::OUString& aPropertyName, const uno::Any& aValue ) in setPropertyValue() argument 145 … pDocShell->Stamp_SetPrintCancelState( ScUnoHelpFunctions::GetBoolFromAny( aValue ) ); in setPropertyValue() 149 aViewOpt.SetOption(VOPT_NULLVALS, ScUnoHelpFunctions::GetBoolFromAny( aValue ) ); in setPropertyValue() 151 aViewOpt.SetOption(VOPT_NOTES, ScUnoHelpFunctions::GetBoolFromAny( aValue ) ); in setPropertyValue() 153 aViewOpt.SetOption(VOPT_GRID, ScUnoHelpFunctions::GetBoolFromAny( aValue ) ); in setPropertyValue() 157 if (aValue >>= nColor) in setPropertyValue() 165 aViewOpt.SetOption(VOPT_PAGEBREAKS, ScUnoHelpFunctions::GetBoolFromAny( aValue ) ); in setPropertyValue() 167 … pDoc->SetLinkMode( static_cast<ScLkUpdMode> ( ScUnoHelpFunctions::GetInt16FromAny( aValue ) ) ); in setPropertyValue() 169 aViewOpt.SetOption(VOPT_HEADER, ScUnoHelpFunctions::GetBoolFromAny( aValue ) ); in setPropertyValue() 171 aViewOpt.SetOption(VOPT_TABCONTROLS, ScUnoHelpFunctions::GetBoolFromAny( aValue ) ); in setPropertyValue() [all …]
|
| /trunk/main/oox/source/helper/ |
| H A D | attributelist.cxx | 170 OUString aValue = mxAttribs->getOptionalValue( nAttrToken ); in getDouble() local 171 bool bValid = aValue.getLength() > 0; in getDouble() 172 return OptValue< double >( bValid, bValid ? AttributeConversion::decodeDouble( aValue ) : 0.0 ); in getDouble() 177 OUString aValue = mxAttribs->getOptionalValue( nAttrToken ); in getInteger() local 178 bool bValid = aValue.getLength() > 0; in getInteger() 179 … return OptValue< sal_Int32 >( bValid, bValid ? AttributeConversion::decodeInteger( aValue ) : 0 ); in getInteger() 184 OUString aValue = mxAttribs->getOptionalValue( nAttrToken ); in getUnsigned() local 185 bool bValid = aValue.getLength() > 0; in getUnsigned() 186 return OptValue< sal_uInt32 >( bValid, AttributeConversion::decodeUnsigned( aValue ) ); in getUnsigned() 191 OUString aValue = mxAttribs->getOptionalValue( nAttrToken ); in getHyper() local [all …]
|
| /trunk/main/sw/source/ui/config/ |
| H A D | viewopt.cxx | 545 svtools::ColorConfigValue aValue = rConfig.GetColorValue(svtools::DOCBOUNDARIES); in ApplyColorConfigValues() local 546 aDocBoundColor.SetColor(aValue.nColor); in ApplyColorConfigValues() 548 if(aValue.bIsVisible) in ApplyColorConfigValues() 553 aValue = rConfig.GetColorValue(svtools::OBJECTBOUNDARIES); in ApplyColorConfigValues() 554 aObjectBoundColor.SetColor(aValue.nColor); in ApplyColorConfigValues() 555 if(aValue.bIsVisible) in ApplyColorConfigValues() 558 aValue = rConfig.GetColorValue(svtools::TABLEBOUNDARIES); in ApplyColorConfigValues() 559 aTableBoundColor.SetColor(aValue.nColor); in ApplyColorConfigValues() 560 if(aValue.bIsVisible) in ApplyColorConfigValues() 563 aValue = rConfig.GetColorValue(svtools::WRITERIDXSHADINGS); in ApplyColorConfigValues() [all …]
|
| /trunk/main/dbaccess/source/ui/misc/ |
| H A D | RowSetDrop.cxx | 178 Any aValue; in insertNewRow() local 183 aValue <<= m_xRow->getString(*aIter); in insertNewRow() 187 aValue <<= m_xRow->getDouble(*aIter); in insertNewRow() 190 aValue <<= m_xRow->getLong(*aIter); in insertNewRow() 193 aValue <<= m_xRow->getFloat(*aIter); in insertNewRow() 196 aValue <<= m_xRow->getDouble(*aIter); in insertNewRow() 199 aValue <<= m_xRow->getString(*aIter); in insertNewRow() 202 aValue <<= m_xRow->getBytes(*aIter); in insertNewRow() 205 aValue <<= m_xRow->getDate(*aIter); in insertNewRow() 208 aValue <<= m_xRow->getTime(*aIter); in insertNewRow() [all …]
|
| /trunk/main/framework/source/helper/ |
| H A D | uiconfigelementwrapperbase.cxx | 213 … const Any& aValue ) in convertFastPropertyValue() argument 224 aValue, in convertFastPropertyValue() 232 aValue, in convertFastPropertyValue() 242 aValue, in convertFastPropertyValue() 251 aValue, in convertFastPropertyValue() 259 aValue, in convertFastPropertyValue() 267 aValue, in convertFastPropertyValue() 275 aValue, in convertFastPropertyValue() 283 aValue, in convertFastPropertyValue() 294 … const com::sun::star::uno::Any& aValue ) in setFastPropertyValue_NoBroadcast() argument [all …]
|
| /trunk/main/vcl/inc/unx/gtk/ |
| H A D | gtkgdi.hxx | 63 ControlState nState, const ImplControlValue& aValue, 66 ControlState nState, const ImplControlValue& aValue, 69 … const ImplControlValue& aValue, const rtl::OUString& rCaption, 94 ControlState nState, const ImplControlValue& aValue, 99 ControlState nState, const ImplControlValue& aValue, 104 ControlState nState, const ImplControlValue& aValue, 109 ControlState nState, const ImplControlValue& aValue, 114 ControlState nState, const ImplControlValue& aValue, 119 ControlState nState, const ImplControlValue& aValue, 124 ControlState nState, const ImplControlValue& aValue, [all …]
|