Lines Matching refs:rAny

246 sal_Bool SwPageNumberField::QueryValue( uno::Any& rAny, sal_uInt16 nWhichId ) const  in QueryValue()  argument
251 rAny <<= (sal_Int16)GetFormat(); in QueryValue()
254 rAny <<= nOffset; in QueryValue()
264 rAny.setValue(&eType, ::getCppuType((const text::PageNumberType*)0)); in QueryValue()
268 rAny <<= OUString(sUserStr); in QueryValue()
277 sal_Bool SwPageNumberField::PutValue( const uno::Any& rAny, sal_uInt16 nWhichId ) in PutValue() argument
284 rAny >>= nSet; in PutValue()
295 rAny >>= nSet; in PutValue()
299 switch( SWUnoHelper::GetEnumAsInt32( rAny ) ) in PutValue()
315 ::GetString( rAny, sUserStr ); in PutValue()
375 sal_Bool SwAuthorField::QueryValue( uno::Any& rAny, sal_uInt16 nWhichId ) const in QueryValue() argument
382 rAny.setValue(&bVal, ::getBooleanCppuType()); in QueryValue()
387 rAny.setValue(&bVal, ::getBooleanCppuType()); in QueryValue()
391 rAny <<= rtl::OUString(GetContent()); in QueryValue()
400 sal_Bool SwAuthorField::PutValue( const uno::Any& rAny, sal_uInt16 nWhichId ) in PutValue() argument
405 SetFormat( *(sal_Bool*)rAny.getValue() ? AF_NAME : AF_SHORTCUT ); in PutValue()
409 if( *(sal_Bool*)rAny.getValue() ) in PutValue()
416 ::GetString( rAny, aContent ); in PutValue()
516 sal_Bool SwFileNameField::QueryValue( uno::Any& rAny, sal_uInt16 nWhichId ) const in QueryValue() argument
536 rAny <<= nRet; in QueryValue()
543 rAny.setValue(&bVal, ::getBooleanCppuType()); in QueryValue()
548 rAny <<= OUString(GetContent()); in QueryValue()
556 sal_Bool SwFileNameField::PutValue( const uno::Any& rAny, sal_uInt16 nWhichId ) in PutValue() argument
566 rAny >>= nType; in PutValue()
588 if( *(sal_Bool*)rAny.getValue() ) in PutValue()
595 ::GetString( rAny, aContent ); in PutValue()
687 sal_Bool SwTemplNameField::QueryValue( uno::Any& rAny, sal_uInt16 nWhichId ) const in QueryValue() argument
704 rAny <<= nRet; in QueryValue()
713 sal_Bool SwTemplNameField::PutValue( const uno::Any& rAny, sal_uInt16 nWhichId ) in PutValue() argument
723 rAny >>= nType; in PutValue()
837 sal_Bool SwDocStatField::QueryValue( uno::Any& rAny, sal_uInt16 nWhichId ) const in QueryValue() argument
842 rAny <<= (sal_Int16)GetFormat(); in QueryValue()
850 sal_Bool SwDocStatField::PutValue( const uno::Any& rAny, sal_uInt16 nWhichId ) in PutValue() argument
858 rAny >>= nSet; in PutValue()
1226 sal_Bool SwDocInfoField::QueryValue( uno::Any& rAny, sal_uInt16 nWhichId ) const in QueryValue() argument
1231 rAny <<= OUString(aContent); in QueryValue()
1235 rAny <<= OUString(aName); in QueryValue()
1239 rAny <<= (sal_Int16)aContent.ToInt32(); in QueryValue()
1245 rAny.setValue(&bVal, ::getBooleanCppuType()); in QueryValue()
1249 rAny <<= (sal_Int32)GetFormat(); in QueryValue()
1255 rAny.setValue(&fVal, ::getCppuType(&fVal)); in QueryValue()
1259 rAny <<= rtl::OUString(Expand()); in QueryValue()
1265 rAny.setValue(&bVal, ::getBooleanCppuType()); in QueryValue()
1269 return SwField::QueryValue(rAny, nWhichId); in QueryValue()
1276 sal_Bool SwDocInfoField::PutValue( const uno::Any& rAny, sal_uInt16 nWhichId ) in PutValue() argument
1283 ::GetString( rAny, aContent ); in PutValue()
1289 rAny >>= nValue; in PutValue()
1295 if(*(sal_Bool*)rAny.getValue()) in PutValue()
1302 rAny >>= nValue; in PutValue()
1309 ::GetString( rAny, aContent ); in PutValue()
1313 if(*(sal_Bool*)rAny.getValue()) in PutValue()
1319 return SwField::PutValue(rAny, nWhichId); in PutValue()
1571 sal_Bool SwHiddenTxtField::QueryValue( uno::Any& rAny, sal_uInt16 nWhichId ) const in QueryValue() argument
1591 rAny.setValue(&bHidden, ::getBooleanCppuType()); in QueryValue()
1598 rAny <<= OUString( *pOut ); in QueryValue()
1604 sal_Bool SwHiddenTxtField::PutValue( const uno::Any& rAny, sal_uInt16 nWhichId ) in PutValue() argument
1611 SetPar1(::GetString( rAny, sVal )); in PutValue()
1615 ::GetString( rAny, aTRUETxt ); in PutValue()
1618 ::GetString( rAny, aFALSETxt ); in PutValue()
1621 bIsHidden = *(sal_Bool*)rAny.getValue(); in PutValue()
1624 ::GetString( rAny, aContent); in PutValue()
1709 sal_Bool SwHiddenParaField::QueryValue( uno::Any& rAny, sal_uInt16 nWhichId ) const in QueryValue() argument
1714 rAny <<= OUString(aCond); in QueryValue()
1719 rAny.setValue(&bHidden, ::getBooleanCppuType()); in QueryValue()
1729 sal_Bool SwHiddenParaField::PutValue( const uno::Any& rAny, sal_uInt16 nWhichId ) in PutValue() argument
1734 ::GetString( rAny, aCond ); in PutValue()
1737 bIsHidden = *(sal_Bool*)rAny.getValue(); in PutValue()
1896 sal_Bool SwPostItField::QueryValue( uno::Any& rAny, sal_uInt16 nWhichId ) const in QueryValue() argument
1901 rAny <<= OUString(msAuthor); in QueryValue()
1905 rAny <<= OUString(msCommentContent); in QueryValue()
1909 rAny <<= OUString(msAuthorInitials); in QueryValue()
1912 rAny <<= OUString(msName); in QueryValue()
1931 rAny <<= xText; in QueryValue()
1940 rAny.setValue(&aSetDate, ::getCppuType((util::Date*)0)); in QueryValue()
1953 rAny <<= DateTimeValue; in QueryValue()
1963 sal_Bool SwPostItField::PutValue( const uno::Any& rAny, sal_uInt16 nWhichId ) in PutValue() argument
1968 ::GetString( rAny, msAuthor ); in PutValue()
1971 ::GetString( rAny, msCommentContent ); in PutValue()
1980 ::GetString( rAny, msAuthorInitials ); in PutValue()
1983 ::GetString( rAny, msName ); in PutValue()
1990 if( rAny.getValueType() == ::getCppuType((util::Date*)0) ) in PutValue()
1992 util::Date aSetDate = *(util::Date*)rAny.getValue(); in PutValue()
1999 if(!(rAny >>= aDateTimeValue)) in PutValue()
2112 sal_Bool SwExtUserField::QueryValue( uno::Any& rAny, sal_uInt16 nWhichId ) const in QueryValue() argument
2117 rAny <<= OUString(aContent); in QueryValue()
2123 rAny <<= nTmp; in QueryValue()
2129 rAny.setValue(&bTmp, ::getBooleanCppuType()); in QueryValue()
2138 sal_Bool SwExtUserField::PutValue( const uno::Any& rAny, sal_uInt16 nWhichId ) in PutValue() argument
2143 ::GetString( rAny, aContent ); in PutValue()
2149 rAny >>= nTmp; in PutValue()
2154 if( *(sal_Bool*)rAny.getValue() ) in PutValue()
2227 sal_Bool SwRefPageSetField::QueryValue( uno::Any& rAny, sal_uInt16 nWhichId ) const in QueryValue() argument
2232 rAny.setValue(&bOn, ::getBooleanCppuType()); in QueryValue()
2235 rAny <<= (sal_Int16)nOffset; in QueryValue()
2243 sal_Bool SwRefPageSetField::PutValue( const uno::Any& rAny, sal_uInt16 nWhichId ) in PutValue() argument
2248 bOn = *(sal_Bool*)rAny.getValue(); in PutValue()
2251 rAny >>=nOffset; in PutValue()
2490 sal_Bool SwRefPageGetField::QueryValue( uno::Any& rAny, sal_uInt16 nWhichId ) const in QueryValue() argument
2495 rAny <<= (sal_Int16)GetFormat(); in QueryValue()
2498 rAny <<= OUString(sTxt); in QueryValue()
2506 sal_Bool SwRefPageGetField::PutValue( const uno::Any& rAny, sal_uInt16 nWhichId ) in PutValue() argument
2513 rAny >>= nSet; in PutValue()
2525 rAny >>= sTmp; in PutValue()
2621 sal_Bool SwJumpEditField::QueryValue( uno::Any& rAny, sal_uInt16 nWhichId ) const in QueryValue() argument
2638 rAny <<= nRet; in QueryValue()
2642 rAny <<= OUString(sHelp); in QueryValue()
2645 rAny <<= OUString(sTxt); in QueryValue()
2653 sal_Bool SwJumpEditField::PutValue( const uno::Any& rAny, sal_uInt16 nWhichId ) in PutValue() argument
2663 rAny >>= nSet; in PutValue()
2675 ::GetString( rAny, sHelp ); in PutValue()
2678 ::GetString( rAny, sTxt); in PutValue()
2731 sal_Bool SwCombinedCharField::QueryValue( uno::Any& rAny, in QueryValue() argument
2737 rAny <<= rtl::OUString( sCharacters ); in QueryValue()
2745 sal_Bool SwCombinedCharField::PutValue( const uno::Any& rAny, in PutValue() argument
2751 ::GetString( rAny, sCharacters ).Erase( MAX_COMBINED_CHARACTERS ); in PutValue()