Lines Matching refs:rVal
145 sal_Int16 lcl_IntToRelation(const uno::Any& rVal) in lcl_IntToRelation() argument
149 rVal >>= nVal; in lcl_IntToRelation()
283 sal_Bool SwFmtFrmSize::QueryValue( uno::Any& rVal, sal_uInt8 nMemberId ) const in QueryValue() argument
294 rVal.setValue(&aTmp, ::getCppuType((const awt::Size*)0)); in QueryValue()
298 rVal <<= (sal_Int16)(GetHeightPercent() != 0xFF ? GetHeightPercent() : 0); in QueryValue()
301 rVal <<= (sal_Int16)(GetWidthPercent() != 0xFF ? GetWidthPercent() : 0); in QueryValue()
306 rVal.setValue(&bTmp, ::getBooleanCppuType()); in QueryValue()
312 rVal.setValue(&bTmp, ::getBooleanCppuType()); in QueryValue()
316 rVal <<= (sal_Int32)TWIP_TO_MM100(aSize.Width()); in QueryValue()
323 rVal <<= (sal_Int32)TWIP_TO_MM100(aSize.Height() < MINLAY ? MINLAY : aSize.Height() ); in QueryValue()
326 rVal <<= (sal_Int16)GetHeightSizeType(); in QueryValue()
331 rVal.setValue(&bTmp, ::getBooleanCppuType()); in QueryValue()
335 rVal <<= (sal_Int16)GetWidthSizeType(); in QueryValue()
344 sal_Bool SwFmtFrmSize::PutValue( const uno::Any& rVal, sal_uInt8 nMemberId ) in PutValue() argument
354 if(!(rVal >>= aVal)) in PutValue()
374 rVal >>= nSet; in PutValue()
384 rVal >>= nSet; in PutValue()
393 sal_Bool bSet = *(sal_Bool*)rVal.getValue(); in PutValue()
402 sal_Bool bSet = *(sal_Bool*)rVal.getValue(); in PutValue()
412 if(rVal >>= nWd) in PutValue()
427 if(rVal >>= nHg) in PutValue()
442 if((rVal >>= nType) && nType >= 0 && nType <= ATT_MIN_SIZE ) in PutValue()
452 sal_Bool bSet = *(sal_Bool*)rVal.getValue(); in PutValue()
459 if((rVal >>= nType) && nType >= 0 && nType <= ATT_MIN_SIZE ) in PutValue()
736 sal_Bool SwFmtPageDesc::QueryValue( uno::Any& rVal, sal_uInt8 nMemberId ) const in QueryValue() argument
744 rVal <<= (sal_Int16)GetNumOffset(); in QueryValue()
754 rVal <<= OUString( aString ); in QueryValue()
757 rVal.clear(); in QueryValue()
767 sal_Bool SwFmtPageDesc::PutValue( const uno::Any& rVal, sal_uInt8 nMemberId ) in PutValue() argument
777 if(rVal >>= nOffset) in PutValue()
1047 sal_Bool SwFmtCol::QueryValue( uno::Any& rVal, sal_uInt8 nMemberId ) const in QueryValue() argument
1058 rVal.setValue(&xCols, ::getCppuType((uno::Reference< text::XTextColumns>*)0)); in QueryValue()
1063 sal_Bool SwFmtCol::PutValue( const uno::Any& rVal, sal_uInt8 nMemberId ) in PutValue() argument
1075 rVal >>= xCols; in PutValue()
1168 sal_Bool SwFmtSurround::QueryValue( uno::Any& rVal, sal_uInt8 nMemberId ) const in QueryValue() argument
1176 rVal <<= (text::WrapTextMode)GetSurround(); in QueryValue()
1181 rVal.setValue(&bTmp, ::getBooleanCppuType()); in QueryValue()
1187 rVal.setValue(&bTmp, ::getBooleanCppuType()); in QueryValue()
1193 rVal.setValue(&bTmp, ::getBooleanCppuType()); in QueryValue()
1203 sal_Bool SwFmtSurround::PutValue( const uno::Any& rVal, sal_uInt8 nMemberId ) in PutValue() argument
1212 sal_Int32 eVal = SWUnoHelper::GetEnumAsInt32( rVal ); in PutValue()
1223 SetAnchorOnly( *(sal_Bool*)rVal.getValue() ); in PutValue()
1226 SetContour( *(sal_Bool*)rVal.getValue() ); in PutValue()
1229 SetOutside( *(sal_Bool*)rVal.getValue() ); in PutValue()
1262 sal_Bool SwFmtVertOrient::QueryValue( uno::Any& rVal, sal_uInt8 nMemberId ) const in QueryValue() argument
1285 rVal <<= nRet; in QueryValue()
1289 rVal <<= lcl_RelToINT(eRelation); in QueryValue()
1292 rVal <<= (sal_Int32)TWIP_TO_MM100(GetPos()); in QueryValue()
1301 sal_Bool SwFmtVertOrient::PutValue( const uno::Any& rVal, sal_uInt8 nMemberId ) in PutValue() argument
1311 rVal >>= nVal; in PutValue()
1329 eRelation = lcl_IntToRelation(rVal); in PutValue()
1335 rVal >>= nVal; in PutValue()
1376 sal_Bool SwFmtHoriOrient::QueryValue( uno::Any& rVal, sal_uInt8 nMemberId ) const in QueryValue() argument
1401 rVal <<= nRet; in QueryValue()
1405 rVal <<= lcl_RelToINT(eRelation); in QueryValue()
1408 rVal <<= (sal_Int32)TWIP_TO_MM100(GetPos()); in QueryValue()
1413 rVal.setValue(&bTmp, ::getBooleanCppuType()); in QueryValue()
1423 sal_Bool SwFmtHoriOrient::PutValue( const uno::Any& rVal, sal_uInt8 nMemberId ) in PutValue() argument
1433 rVal >>= nVal; in PutValue()
1451 eRelation = lcl_IntToRelation(rVal); in PutValue()
1457 if(!(rVal >>= nVal)) in PutValue()
1465 SetPosToggle( *(sal_Bool*)rVal.getValue()); in PutValue()
1561 sal_Bool SwFmtAnchor::QueryValue( uno::Any& rVal, sal_uInt8 nMemberId ) const in QueryValue() argument
1589 rVal <<= eRet; in QueryValue()
1592 rVal <<= (sal_Int16)GetPageNum(); in QueryValue()
1603 rVal <<= xRet; in QueryValue()
1615 sal_Bool SwFmtAnchor::PutValue( const uno::Any& rVal, sal_uInt8 nMemberId ) in PutValue() argument
1625 switch( SWUnoHelper::GetEnumAsInt32( rVal ) ) in PutValue()
1658 if((rVal >>= nVal) && nVal > 0) in PutValue()
1748 sal_Bool SwFmtURL::QueryValue( uno::Any& rVal, sal_uInt8 nMemberId ) const in QueryValue() argument
1758 rVal <<= sRet; in QueryValue()
1764 rVal <<= sRet; in QueryValue()
1768 rVal <<= OUString( GetName() ); in QueryValue()
1783 rVal <<= xCont; in QueryValue()
1789 rVal.setValue(&bTmp, ::getBooleanCppuType()); in QueryValue()
1799 sal_Bool SwFmtURL::PutValue( const uno::Any& rVal, sal_uInt8 nMemberId ) in PutValue() argument
1809 rVal >>= sTmp; in PutValue()
1816 rVal >>= sTmp; in PutValue()
1823 rVal >>= sTmp; in PutValue()
1830 if(!rVal.hasValue()) in PutValue()
1832 else if(rVal >>= xCont) in PutValue()
1843 bIsServerMap = *(sal_Bool*)rVal.getValue(); in PutValue()
1910 sal_Bool SwFmtFtnEndAtTxtEnd::QueryValue( uno::Any& rVal, sal_uInt8 nMemberId ) const in QueryValue() argument
1918 rVal.setValue(&bVal, ::getBooleanCppuType()); in QueryValue()
1924 rVal.setValue(&bVal, ::getBooleanCppuType()); in QueryValue()
1927 case MID_NUM_START_AT: rVal <<= (sal_Int16) nOffset; break; in QueryValue()
1931 rVal.setValue(&bVal, ::getBooleanCppuType()); in QueryValue()
1934 case MID_NUM_TYPE : rVal <<= aFmt.GetNumberingType(); break; in QueryValue()
1935 case MID_PREFIX : rVal <<= OUString(sPrefix); break; in QueryValue()
1936 case MID_SUFFIX : rVal <<= OUString(sSuffix); break; in QueryValue()
1942 sal_Bool SwFmtFtnEndAtTxtEnd::PutValue( const uno::Any& rVal, sal_uInt8 nMemberId ) in PutValue() argument
1950 sal_Bool bVal = *(sal_Bool*)rVal.getValue(); in PutValue()
1959 sal_Bool bVal = *(sal_Bool*)rVal.getValue(); in PutValue()
1969 rVal >>= nVal; in PutValue()
1978 sal_Bool bVal = *(sal_Bool*)rVal.getValue(); in PutValue()
1988 rVal >>= nVal; in PutValue()
2000 OUString sVal; rVal >>= sVal; in PutValue()
2006 OUString sVal; rVal >>= sVal; in PutValue()
2076 sal_Bool SwFmtChain::QueryValue( uno::Any& rVal, sal_uInt8 nMemberId ) const in QueryValue() argument
2096 rVal <<= OUString(aRet); in QueryValue()
2129 sal_Bool SwFmtLineNumber::QueryValue( uno::Any& rVal, sal_uInt8 nMemberId ) const in QueryValue() argument
2139 rVal.setValue(&bTmp, ::getBooleanCppuType()); in QueryValue()
2143 rVal <<= (sal_Int32)GetStartValue(); in QueryValue()
2152 sal_Bool SwFmtLineNumber::PutValue( const uno::Any& rVal, sal_uInt8 nMemberId ) in PutValue() argument
2160 SetCountLines( *(sal_Bool*)rVal.getValue() ); in PutValue()
2165 if(rVal >>= nVal) in PutValue()
2232 sal_Bool SwTextGridItem::QueryValue( uno::Any& rVal, sal_uInt8 nMemberId ) const in QueryValue() argument
2239 rVal <<= GetColor().GetColor(); in QueryValue()
2242 rVal <<= GetLines(); in QueryValue()
2245 rVal.setValue( &bRubyTextBelow, ::getBooleanCppuType() ); in QueryValue()
2248 rVal.setValue( &bPrintGrid, ::getBooleanCppuType() ); in QueryValue()
2251 rVal.setValue( &bDisplayGrid, ::getBooleanCppuType() ); in QueryValue()
2256 rVal <<= (sal_Int32) TWIP_TO_MM100_UNSIGNED(nBaseHeight); in QueryValue()
2261 rVal <<= (sal_Int32) TWIP_TO_MM100_UNSIGNED(nBaseWidth); in QueryValue()
2266 rVal <<= (sal_Int32)TWIP_TO_MM100_UNSIGNED(nRubyHeight); in QueryValue()
2272 rVal <<= text::TextGridMode::NONE; in QueryValue()
2275 rVal <<= text::TextGridMode::LINES; in QueryValue()
2278 rVal <<= text::TextGridMode::LINES_AND_CHARS; in QueryValue()
2287 rVal.setValue( &bSnapToChars, ::getBooleanCppuType() ); in QueryValue()
2292 rVal.setValue( &bStandardMode, ::getBooleanCppuType() ); in QueryValue()
2304 sal_Bool SwTextGridItem::PutValue( const uno::Any& rVal, sal_uInt8 nMemberId ) in PutValue() argument
2312 bRet = (rVal >>= nTmp); in PutValue()
2320 bRet = (rVal >>= nTmp); in PutValue()
2328 SetRubyTextBelow( *(sal_Bool*)rVal.getValue() ); in PutValue()
2331 SetPrintGrid( *(sal_Bool*)rVal.getValue() ); in PutValue()
2334 SetDisplayGrid( *(sal_Bool*)rVal.getValue() ); in PutValue()
2343 bRet = (rVal >>= nTmp); in PutValue()
2359 bRet = (rVal >>= nTmp); in PutValue()
2381 SetSnapToChars( *(sal_Bool*)rVal.getValue() ); in PutValue()
2385 sal_Bool bStandard = *(sal_Bool*)rVal.getValue(); in PutValue()