Home
last modified time | relevance | path

Searched refs:aValue (Results 1 – 25 of 863) sorted by relevance

12345678910>>...35

/AOO42X/main/wizards/com/sun/star/wizards/common/
H A DNumericalHelper.java95 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 …]
/AOO42X/main/chart2/source/controller/itemsetwrapper/
H A DCharacterPropertyItemConverter.cxx165 uno::Any aValue( GetPropertySet()->getPropertyValue( C2U( "CharUnderline" ))); in FillSpecialItem() local
166 if( aValue.hasValue()) in FillSpecialItem()
168 aItem.PutValue( aValue, MID_TL_STYLE ); in FillSpecialItem()
172 aValue = GetPropertySet()->getPropertyValue( C2U( "CharUnderlineHasColor" )); in FillSpecialItem()
173 if( aValue.hasValue() && in FillSpecialItem()
174 ( *reinterpret_cast< const sal_Bool * >( aValue.getValue()) != sal_False )) in FillSpecialItem()
176 aItem.PutValue( aValue, MID_TL_HASCOLOR ); in FillSpecialItem()
180 aValue = GetPropertySet()->getPropertyValue( C2U( "CharUnderlineColor" )); in FillSpecialItem()
181 if( aValue.hasValue()) in FillSpecialItem()
183 aItem.PutValue( aValue, MID_TL_COLOR ); in FillSpecialItem()
[all …]
H A DGraphicPropertyItemConverter.cxx294 uno::Any aValue( GetPropertySet()->getPropertyValue( aPropName )); in FillSpecialItem() local
295 if( aValue.hasValue()) in FillSpecialItem()
298 aItem.PutValue( aValue, MID_NAME ); in FillSpecialItem()
306 if( (aValue >>= aName) && in FillSpecialItem()
330 uno::Any aValue( GetPropertySet()->getPropertyValue( aPropName ) ); in FillSpecialItem() local
331 if( hasLongOrShortValue(aValue) ) in FillSpecialItem()
333 nStepCount = getShortForLongAlso(aValue); in FillSpecialItem()
473 uno::Any aValue; in ApplySpecialItem() local
487 aValue <<= aMode; in ApplySpecialItem()
488 if( aValue != GetPropertySet()->getPropertyValue( aModePropName )) in ApplySpecialItem()
[all …]
H A DAxisItemConverter.cxx168 TimeInterval aValue; in lcl_hasTimeIntervalValue() local
169 if( rAny >>= aValue ) in lcl_hasTimeIntervalValue()
487 uno::Any aValue; in ApplySpecialItem() local
506 rItemSet.Get( nWhichId ).QueryValue( aValue ); in ApplySpecialItem()
508 if( aScale.Maximum != aValue ) in ApplySpecialItem()
510 aScale.Maximum = aValue; in ApplySpecialItem()
531 rItemSet.Get( nWhichId ).QueryValue( aValue ); in ApplySpecialItem()
533 if( aScale.Minimum != aValue ) in ApplySpecialItem()
535 aScale.Minimum = aValue; in ApplySpecialItem()
594 if( rItemSet.Get( nWhichId ).QueryValue( aValue ) ) in ApplySpecialItem()
[all …]
/AOO42X/main/connectivity/source/drivers/odbcbase/
H A DODatabaseMetaData.cxx799 ::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 DOConnection.cxx496 ::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 …]
/AOO42X/main/vbahelper/source/vbahelper/
H A Dvbapagesetupbase.cxx41 …uno::Any aValue = mxPageProps->getPropertyValue( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("Heade… in getTopMargin() local
42 aValue >>= headerOn; in getTopMargin()
44aValue = mxPageProps->getPropertyValue( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("TopMargin"))); in getTopMargin()
45 aValue >>= topMargin; in getTopMargin()
49aValue = 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()
74aValue = mxPageProps->getPropertyValue( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("HeaderHeight")… in setTopMargin()
75 aValue >>= headerHeight; in setTopMargin()
[all …]
/AOO42X/main/xmlscript/source/xmldlg_imexp/
H A Dxmldlg_import.cxx262 OUString aValue; in importBorderStyle() local
264 &aValue, OUSTR("border"), in importBorderStyle()
266 if (aValue.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("none") )) in importBorderStyle()
268 else if (aValue.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("3d") )) in importBorderStyle()
270 else if (aValue.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("simple") )) in importBorderStyle()
274 _borderColor = toInt32(aValue); in importBorderStyle()
299 OUString aValue; in importVisualEffectStyle() local
300 if (getStringAttr( &aValue, OUString( RTL_CONSTASCII_USTRINGPARAM("look") ), in importVisualEffectStyle()
303 if (aValue.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("none") )) in importVisualEffectStyle()
307 else if (aValue.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("3d") )) in importVisualEffectStyle()
[all …]
/AOO42X/main/vcl/unx/generic/printer/
H A Dprinterinfomanager.cxx264 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 …]
/AOO42X/main/xmloff/source/draw/
H A Dxexptran.cxx567 ::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 …]
/AOO42X/main/svx/source/items/
H A Ddrawitem.cxx108 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 …]
/AOO42X/main/sd/source/filter/html/
H A Dpubdlg.cxx806 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 …]
/AOO42X/main/toolkit/workben/
H A Dunodialog.cxx166 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 …]
/AOO42X/main/ucbhelper/source/provider/
H A Dpropertyvalueset.cxx155 _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;
471 Any aValue; in getObject() local
488 aValue = rValue.aObject; in getObject()
501 aValue <<= rValue.aString; in getObject()
[all …]
/AOO42X/main/oox/source/ppt/
H A Dtimenode.cxx282 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 …]
/AOO42X/main/framework/source/fwe/classes/
H A Dactiontriggerpropertyset.cxx199 const Any& aValue ) in convertFastPropertyValue() argument
212 bReturn = impl_tryToChangeProperty( m_aCommandURL, aValue, aOldValue, aConvertedValue ); in convertFastPropertyValue()
216 bReturn = impl_tryToChangeProperty( m_aHelpURL, aValue, aOldValue, aConvertedValue ) ; in convertFastPropertyValue()
220 bReturn = impl_tryToChangeProperty( m_xBitmap, aValue, aOldValue, aConvertedValue ) ; in convertFastPropertyValue()
224 …bReturn = impl_tryToChangeProperty( m_xActionTriggerContainer, aValue, aOldValue, aConvertedValue … in convertFastPropertyValue()
228 bReturn = impl_tryToChangeProperty( m_aText, aValue, aOldValue, aConvertedValue ) ; in convertFastPropertyValue()
238 sal_Int32 nHandle, const Any& aValue ) in setFastPropertyValue_NoBroadcast() argument
247 aValue >>= m_aCommandURL; in setFastPropertyValue_NoBroadcast()
251 aValue >>= m_aHelpURL; in setFastPropertyValue_NoBroadcast()
255 aValue >>= m_xBitmap; in setFastPropertyValue_NoBroadcast()
[all …]
/AOO42X/main/connectivity/java/dbtools/src/org/apache/openoffice/comp/sdbc/dbtools/util/
H A DORowSetValue.java533 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 …]
/AOO42X/main/sc/source/core/data/
H A Dcompressedarray.cxx41 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 …]
/AOO42X/main/sc/source/ui/unoobj/
H A Dconfuno.cxx131 const rtl::OUString& aPropertyName, const uno::Any& aValue ) in setPropertyValue() argument
149 … pDocShell->Stamp_SetPrintCancelState( ScUnoHelpFunctions::GetBoolFromAny( aValue ) ); in setPropertyValue()
153 aViewOpt.SetOption(VOPT_NULLVALS, ScUnoHelpFunctions::GetBoolFromAny( aValue ) ); in setPropertyValue()
155 aViewOpt.SetOption(VOPT_NOTES, ScUnoHelpFunctions::GetBoolFromAny( aValue ) ); in setPropertyValue()
157 aViewOpt.SetOption(VOPT_GRID, ScUnoHelpFunctions::GetBoolFromAny( aValue ) ); in setPropertyValue()
161 if (aValue >>= nColor) in setPropertyValue()
169 aViewOpt.SetOption(VOPT_PAGEBREAKS, ScUnoHelpFunctions::GetBoolFromAny( aValue ) ); in setPropertyValue()
171 … pDoc->SetLinkMode( static_cast<ScLkUpdMode> ( ScUnoHelpFunctions::GetInt16FromAny( aValue ) ) ); in setPropertyValue()
173 aViewOpt.SetOption(VOPT_HEADER, ScUnoHelpFunctions::GetBoolFromAny( aValue ) ); in setPropertyValue()
175 aViewOpt.SetOption(VOPT_TABCONTROLS, ScUnoHelpFunctions::GetBoolFromAny( aValue ) ); in setPropertyValue()
[all …]
/AOO42X/main/sfx2/source/doc/
H A Dobjuno.cxx173 ::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()
523 …tInfoObject::setPropertyValue(const ::rtl::OUString& aPropertyName, const uno::Any& aValue) throw ( in setPropertyValue() argument
531 setFastPropertyValue( pEntry->nWID, aValue ); in setPropertyValue()
537 return xPropSet->setPropertyValue(aPropertyName, aValue); in setPropertyValue()
718 …nfoObject::setFastPropertyValue(sal_Int32 nHandle, const ::com::sun::star::uno::Any& aValue) throw( in setFastPropertyValue() argument
728 if ( aValue.getValueType() == ::getCppuType((const ::rtl::OUString*)0) ) in setFastPropertyValue()
731 aValue >>= sTemp ; in setFastPropertyValue()
[all …]
/AOO42X/main/oox/source/helper/
H A Dattributelist.cxx170 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 …]
/AOO42X/main/sw/source/ui/config/
H A Dviewopt.cxx545 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 …]
H A Doptcomp.cxx323 PropertyValue aValue = rEntry[j]; in InitControls() local
324 if ( aValue.Name == COMPATIBILITY_PROPERTYNAME_NAME ) in InitControls()
325 aValue.Value >>= sName; in InitControls()
326 else if ( aValue.Name == COMPATIBILITY_PROPERTYNAME_MODULE ) in InitControls()
327 aValue.Value >>= sModule; in InitControls()
328 else if ( aValue.Name == COMPATIBILITY_PROPERTYNAME_USEPRTMETRICS ) in InitControls()
329 aValue.Value >>= bUsePrtMetrics; in InitControls()
330 else if ( aValue.Name == COMPATIBILITY_PROPERTYNAME_ADDSPACING ) in InitControls()
331 aValue.Value >>= bAddSpacing; in InitControls()
332 else if ( aValue.Name == COMPATIBILITY_PROPERTYNAME_ADDSPACINGATPAGES ) in InitControls()
[all …]
/AOO42X/main/dbaccess/source/ui/misc/
H A DRowSetDrop.cxx178 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 …]
/AOO42X/main/vcl/inc/unx/gtk/
H A Dgtkgdi.hxx65 ControlState nState, const ImplControlValue& aValue,
68 ControlState nState, const ImplControlValue& aValue,
71 … const ImplControlValue& aValue, const rtl::OUString& rCaption,
96 ControlState nState, const ImplControlValue& aValue,
101 ControlState nState, const ImplControlValue& aValue,
106 ControlState nState, const ImplControlValue& aValue,
111 ControlState nState, const ImplControlValue& aValue,
116 ControlState nState, const ImplControlValue& aValue,
121 ControlState nState, const ImplControlValue& aValue,
126 ControlState nState, const ImplControlValue& aValue,
[all …]

12345678910>>...35