Lines Matching refs:rValue
133 Any convertValue( XMLTokenEnum eAttributeName, const OUString& rValue );
134 Sequence< Any > convertValueSequence( XMLTokenEnum eAttributeName, const OUString& rValue );
136 Any convertTarget( const OUString& rValue );
137 Any convertPath( const OUString& rValue );
138 Any convertTiming( const OUString& rValue );
139 Sequence< double > convertKeyTimes( const OUString& rValue );
140 Sequence< TimeFilterPair > convertTimeFilter( const OUString& rValue );
142 bool convertAnimationValue( XMLTokenEnum eAttributeName, Any& rValue );
305 static bool isDouble( const OUString& rValue ) in isDouble() argument
307 sal_Int32 nLength = rValue.getLength(); in isDouble()
308 const sal_Unicode * pStr = rValue.getStr(); in isDouble()
325 static bool isTime( const OUString& rValue ) in isTime() argument
327 sal_Int32 nLength = rValue.getLength(); in isTime()
329 for( pStr = rValue.getStr(); nLength; pStr++, nLength-- ) in isTime()
358 Any AnimationsImportHelperImpl::convertTarget( const OUString& rValue ) in convertTarget() argument
362 Reference< XInterface > xRef( mrImport.getInterfaceToIdentifierMapper().getReference( rValue ) ); in convertTarget()
402 Any AnimationsImportHelperImpl::convertValue( XMLTokenEnum eAttributeName, const OUString& rValue ) in convertValue() argument
406 for( nPos = 0; (nPos < rValue.getLength()) && (nCommaPos == -1); nPos++ ) in convertValue()
408 switch( rValue[nPos] ) in convertValue()
430 aPair.First = convertValue( eAttributeName, rValue.copy( 0, nCommaPos ) ); in convertValue()
431 …aPair.Second = convertValue( eAttributeName, rValue.copy( nCommaPos+1, rValue.getLength() - nComma… in convertValue()
439 if( rValue.getLength() ) switch( eAttributeName ) in convertValue()
447 return makeAny( rValue ); in convertValue()
469 if( rValue.getLength() ) in convertValue()
470 aAny <<= rValue; in convertValue()
476 pHandler->importXML( rValue, aAny, mrImport.GetMM100UnitConverter() ); in convertValue()
514 …ationsImportHelperImpl::convertValueSequence( XMLTokenEnum eAttributeName, const OUString& rValue ) in convertValueSequence() argument
519 if( rValue.getLength() ) in convertValueSequence()
521 …sal_Int32 nElements = count_codes( rValue, (sal_Unicode)';') + 1; // a non empty string has at lea… in convertValueSequence()
531 *pValues++ = convertValue( eAttributeName, rValue.getToken( 0, ';', nIndex ) ); in convertValueSequence()
538 Any AnimationsImportHelperImpl::convertTiming( const OUString& rValue ) in convertTiming() argument
543 if( rValue.getLength() ) in convertTiming()
546 …sal_Int32 nElements = count_codes( rValue, (sal_Unicode)';' ) + 1; // a non empty string has at le… in convertTiming()
550 if( IsXMLToken( rValue, XML_MEDIA ) ) in convertTiming()
554 else if( IsXMLToken( rValue, XML_INDEFINITE ) ) in convertTiming()
558 else if( isTime( rValue ) ) in convertTiming()
560 aAny <<= rValue.toDouble(); in convertTiming()
570 sal_Int32 nPos = rValue.indexOf( (sal_Unicode)'+' ); in convertTiming()
573 aEventTrigger = rValue; in convertTiming()
577 aEventTrigger = rValue.copy( 0, nPos ); in convertTiming()
580 aEvent.Offset <<= convertTiming( rValue.copy( nPos + 1 ) ); in convertTiming()
610 *pValues++ = convertTiming( rValue.getToken( 0, ';', nIndex ) ); in convertTiming()
618 Sequence< double > AnimationsImportHelperImpl::convertKeyTimes( const OUString& rValue ) in convertKeyTimes() argument
622 if( rValue.getLength() ) in convertKeyTimes()
623 …nElements = count_codes( rValue, (sal_Unicode)';' ) + 1; // a non empty string has at least one va… in convertKeyTimes()
632 *pValues++ = rValue.getToken( 0, ';', nIndex ).toDouble(); in convertKeyTimes()
638 Sequence< TimeFilterPair > AnimationsImportHelperImpl::convertTimeFilter( const OUString& rValue ) in convertTimeFilter() argument
642 if( rValue.getLength() ) in convertTimeFilter()
643 …nElements = count_codes( rValue, (sal_Unicode)';' ) + 1; // a non empty string has at least one va… in convertTimeFilter()
653 const OUString aToken( rValue.getToken( 0, ';', nIndex ) ); in convertTimeFilter()
668 Any AnimationsImportHelperImpl::convertPath( const OUString& rValue ) in convertPath() argument
670 return makeAny( rValue ); in convertPath()
724 const OUString& rValue = xAttrList->getValueByIndex( nAttribute ); in AnimationNodeContext() local
725 if( rValue.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "ooo-entrance-random" ) ) ) in AnimationNodeContext()
729 else if( rValue.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "ooo-exit-random" ) ) ) in AnimationNodeContext()
813 const OUString& rValue = xAttrList->getValueByIndex( nAttribute ); in init_node() local
821 mxNode->setBegin( mpHelper->convertTiming( rValue ) ); in init_node()
826 mxNode->setDuration( mpHelper->convertTiming( rValue ) ); in init_node()
831 mxNode->setEnd( mpHelper->convertTiming( rValue ) ); in init_node()
836 …if( SvXMLUnitConverter::convertEnum( nEnum, rValue, getAnimationsEnumMap(Animations_EnumMap_Fill) … in init_node()
842 …if( SvXMLUnitConverter::convertEnum( nEnum, rValue, getAnimationsEnumMap(Animations_EnumMap_FillDe… in init_node()
848 …if( SvXMLUnitConverter::convertEnum( nEnum, rValue, getAnimationsEnumMap(Animations_EnumMap_Restar… in init_node()
854 …if( SvXMLUnitConverter::convertEnum( nEnum, rValue, getAnimationsEnumMap(Animations_EnumMap_Restar… in init_node()
860 if( isDouble( rValue ) ) in init_node()
861 mxNode->setAcceleration( rValue.toDouble() ); in init_node()
866 if( isDouble( rValue ) ) in init_node()
867 mxNode->setDecelerate( rValue.toDouble() ); in init_node()
873 if( SvXMLUnitConverter::convertBool( bTemp, rValue ) ) in init_node()
879 mxNode->setRepeatCount( mpHelper->convertTiming( rValue ) ); in init_node()
884 mxNode->setRepeatDuration( mpHelper->convertTiming( rValue ) ); in init_node()
889 …if( SvXMLUnitConverter::convertEnum( nEnum, rValue, getAnimationsEnumMap(Animations_EnumMap_Endsyn… in init_node()
895 …if( SvXMLUnitConverter::convertEnum( nEnum, rValue, getAnimationsEnumMap(Animations_EnumMap_Effect… in init_node()
901 aUserData.push_back( NamedValue( GetXMLToken( XML_PRESET_ID ), makeAny( rValue ) ) ); in init_node()
906 aUserData.push_back( NamedValue( GetXMLToken( XML_PRESET_SUB_TYPE ), makeAny( rValue ) ) ); in init_node()
911 …if( SvXMLUnitConverter::convertEnum( nEnum, rValue, getAnimationsEnumMap(Animations_EnumMap_Effect… in init_node()
918 if( SvXMLUnitConverter::convertBool( bTemp, rValue ) ) in init_node()
927 xAudio->setSource( makeAny( GetImport().GetAbsoluteReference( rValue ) ) ); in init_node()
936 Any aTarget( mpHelper->convertTarget( rValue ) ); in init_node()
958 if( isDouble( rValue ) ) in init_node()
961 xAudio->setVolume( rValue.toDouble() ); in init_node()
969 …onNode > xMaster( GetImport().getInterfaceToIdentifierMapper().getReference( rValue ), UNO_QUERY ); in init_node()
976 …if( SvXMLUnitConverter::convertEnum( nEnum, rValue, getAnimationsEnumMap(Animations_EnumMap_SubIte… in init_node()
994 OUString aName( rValue ); in init_node()
1016 aValues = rValue; in init_node()
1022 aFrom = rValue; in init_node()
1028 aBy = rValue; in init_node()
1034 aTo = rValue; in init_node()
1041 xAnimate->setKeyTimes( mpHelper->convertKeyTimes( rValue ) ); in init_node()
1048 xAnimate->setFormula( rValue ); in init_node()
1054 if (!bHaveXmlId) { sXmlId = rValue; } in init_node()
1059 sXmlId = rValue; in init_node()
1068 …if( SvXMLUnitConverter::convertEnum( nEnum, rValue, getAnimationsEnumMap(Animations_EnumMap_CalcMo… in init_node()
1077 xAnimate->setAccumulate( IsXMLToken( rValue, XML_SUM ) ); in init_node()
1085 …if( SvXMLUnitConverter::convertEnum( nEnum, rValue, getAnimationsEnumMap(Animations_EnumMap_Additi… in init_node()
1094 xAnimate->setTimeFilter( mpHelper->convertTimeFilter( rValue ) ); in init_node()
1102 xAnimateMotion->setPath( mpHelper->convertPath( rValue ) ); in init_node()
1110 …xAnimateColor->setColorInterpolation( IsXMLToken( rValue, XML_HSL ) ? AnimationColorSpace::HSL : A… in init_node()
1118 xAnimateColor->setDirection( IsXMLToken( rValue, XML_CLOCKWISE ) ); in init_node()
1127 …if( SvXMLUnitConverter::convertEnum( nEnum, rValue, getAnimationsEnumMap(Animations_EnumMap_Transf… in init_node()
1149 …if( SvXMLUnitConverter::convertEnum( nEnum, rValue, getAnimationsEnumMap(Animations_EnumMap_Transi… in init_node()
1159 …if( SvXMLUnitConverter::convertEnum( nEnum, rValue, getAnimationsEnumMap(Animations_EnumMap_Transi… in init_node()
1168 xTransitionFilter->setMode( IsXMLToken( rValue, XML_IN ) ); in init_node()
1175 xTransitionFilter->setDirection( IsXMLToken( rValue, XML_FORWARD ) ); in init_node()
1184 SvXMLUnitConverter::convertColor( aColor, rValue ); in init_node()
1192 …if( SvXMLUnitConverter::convertEnum( nEnum, rValue, getAnimationsEnumMap(Animations_EnumMap_Iterat… in init_node()
1205 if( rValue.matchAsciiL(RTL_CONSTASCII_STRINGPARAM("P")) ) in init_node()
1209 if( SvXMLUnitConverter::convertTimeDuration( rValue, aTime, &nSecondsFraction ) ) in init_node()
1216 fInterval = rValue.toDouble(); in init_node()
1226 aUserData.push_back( NamedValue( aLocalName, makeAny( rValue.toInt32() ) ) ); in init_node()
1234 …if( SvXMLUnitConverter::convertEnum( nEnum, rValue, getAnimationsEnumMap(Animations_EnumMap_Comman… in init_node()
1246 aUserData.push_back( NamedValue( aLocalName, makeAny( rValue ) ) ); in init_node()