Lines Matching refs:rValue
38 void lcl_xmloff_setAny( Any& rValue, sal_Int32 nValue, sal_Int8 nBytes ) in lcl_xmloff_setAny() argument
47 rValue <<= (sal_Int8)nValue; in lcl_xmloff_setAny()
54 rValue <<= (sal_Int16)nValue; in lcl_xmloff_setAny()
57 rValue <<= nValue; in lcl_xmloff_setAny()
62 sal_Bool lcl_xmloff_getAny( const Any& rValue, sal_Int32& nValue, in lcl_xmloff_getAny() argument
72 bRet = rValue >>= nValue8; in lcl_xmloff_getAny()
79 bRet = rValue >>= nValue16; in lcl_xmloff_getAny()
84 bRet = rValue >>= nValue; in lcl_xmloff_getAny()
101 sal_Bool XMLNumberPropHdl::importXML( const OUString& rStrImpValue, Any& rValue, const SvXMLUnitCon… in importXML() argument
107 lcl_xmloff_setAny( rValue, nValue, nBytes ); in importXML()
112 sal_Bool XMLNumberPropHdl::exportXML( OUString& rStrExpValue, const Any& rValue, const SvXMLUnitCon… in exportXML() argument
118 if( lcl_xmloff_getAny( rValue, nValue, nBytes ) ) in exportXML()
150 sal_Bool XMLNumberNonePropHdl::importXML( const OUString& rStrImpValue, Any& rValue, const SvXMLUni… in importXML() argument
163 lcl_xmloff_setAny( rValue, nValue, nBytes ); in importXML()
168 sal_Bool XMLNumberNonePropHdl::exportXML( OUString& rStrExpValue, const Any& rValue, const SvXMLUni… in exportXML() argument
173 if( lcl_xmloff_getAny( rValue, nValue, nBytes ) ) in exportXML()
204 sal_Bool XMLMeasurePropHdl::importXML( const OUString& rStrImpValue, Any& rValue, const SvXMLUnitCo… in importXML() argument
210 lcl_xmloff_setAny( rValue, nValue, nBytes ); in importXML()
215 sal_Bool XMLMeasurePropHdl::exportXML( OUString& rStrExpValue, const Any& rValue, const SvXMLUnitCo… in exportXML() argument
221 if( lcl_xmloff_getAny( rValue, nValue, nBytes ) ) in exportXML()
242 sal_Bool XMLBoolPropHdl::importXML( const OUString& rStrImpValue, Any& rValue, const SvXMLUnitConve… in importXML() argument
248 rValue <<= sal_Bool(bValue); in importXML()
253 sal_Bool XMLBoolPropHdl::exportXML( OUString& rStrExpValue, const Any& rValue, const SvXMLUnitConve… in exportXML() argument
259 if (rValue >>= bValue) in exportXML()
280 sal_Bool XMLNBoolPropHdl::importXML( const OUString& rStrImpValue, Any& rValue, const SvXMLUnitConv… in importXML() argument
286 rValue <<= sal_Bool(!bValue); in importXML()
291 sal_Bool XMLNBoolPropHdl::exportXML( OUString& rStrExpValue, const Any& rValue, const SvXMLUnitConv… in exportXML() argument
297 if (rValue >>= bValue) in exportXML()
318 sal_Bool XMLPercentPropHdl::importXML( const OUString& rStrImpValue, Any& rValue, const SvXMLUnitCo… in importXML() argument
324 lcl_xmloff_setAny( rValue, nValue, nBytes ); in importXML()
329 sal_Bool XMLPercentPropHdl::exportXML( OUString& rStrExpValue, const Any& rValue, const SvXMLUnitCo… in exportXML() argument
335 if( lcl_xmloff_getAny( rValue, nValue, nBytes ) ) in exportXML()
351 sal_Bool XMLDoublePercentPropHdl::importXML( const OUString& rStrImpValue, Any& rValue, const SvXML… in importXML() argument
367 rValue <<= fValue; in importXML()
372 sal_Bool XMLDoublePercentPropHdl::exportXML( OUString& rStrExpValue, const Any& rValue, const SvXML… in exportXML() argument
377 if( rValue >>= fValue ) in exportXML()
405 sal_Bool XMLNegPercentPropHdl::importXML( const OUString& rStrImpValue, Any& rValue, const SvXMLUni… in importXML() argument
411 lcl_xmloff_setAny( rValue, 100-nValue, nBytes ); in importXML()
416 sal_Bool XMLNegPercentPropHdl::exportXML( OUString& rStrExpValue, const Any& rValue, const SvXMLUni… in exportXML() argument
422 if( lcl_xmloff_getAny( rValue, nValue, nBytes ) ) in exportXML()
444 sal_Bool XMLMeasurePxPropHdl::importXML( const OUString& rStrImpValue, Any& rValue, const SvXMLUnit… in importXML() argument
450 lcl_xmloff_setAny( rValue, nValue, nBytes ); in importXML()
455 sal_Bool XMLMeasurePxPropHdl::exportXML( OUString& rStrExpValue, const Any& rValue, const SvXMLUnit… in exportXML() argument
461 if( lcl_xmloff_getAny( rValue, nValue, nBytes ) ) in exportXML()
482 sal_Bool XMLColorPropHdl::importXML( const OUString& rStrImpValue, Any& rValue, const SvXMLUnitConv… in importXML() argument
503 rValue <<= aHSL; in importXML()
510 rValue <<= (sal_Int32)( aColor.GetColor() ); in importXML()
516 sal_Bool XMLColorPropHdl::exportXML( OUString& rStrExpValue, const Any& rValue, const SvXMLUnitConv… in exportXML() argument
523 if( rValue >>= nColor ) in exportXML()
535 if( (rValue >>= aHSL) && (aHSL.getLength() == 3) ) in exportXML()
563 sal_Bool XMLStringPropHdl::importXML( const OUString& rStrImpValue, Any& rValue, const SvXMLUnitCon… in importXML() argument
567 rValue <<= rStrImpValue; in importXML()
573 sal_Bool XMLStringPropHdl::exportXML( OUString& rStrExpValue, const Any& rValue, const SvXMLUnitCon… in exportXML() argument
577 if( rValue >>= rStrExpValue ) in exportXML()
593 sal_Bool XMLStyleNamePropHdl::exportXML( OUString& rStrExpValue, const Any& rValue, const SvXMLUnit… in exportXML() argument
597 if( rValue >>= rStrExpValue ) in exportXML()
617 sal_Bool XMLDoublePropHdl::importXML( const OUString& rStrImpValue, Any& rValue, const SvXMLUnitCon… in importXML() argument
621 rValue <<= fDblValue; in importXML()
625 sal_Bool XMLDoublePropHdl::exportXML( OUString& rStrExpValue, const Any& rValue, const SvXMLUnitCon… in exportXML() argument
631 if( rValue >>= fValue ) in exportXML()
660 sal_Bool XMLColorTransparentPropHdl::importXML( const OUString& rStrImpValue, Any& rValue, const Sv… in importXML() argument
668 rValue <<= (sal_Int32)( aColor.GetColor() ); in importXML()
674 sal_Bool XMLColorTransparentPropHdl::exportXML( OUString& rStrExpValue, const Any& rValue, const Sv… in exportXML() argument
681 else if( rValue >>= nColor ) in exportXML()
713 sal_Bool XMLIsTransparentPropHdl::importXML( const OUString& rStrImpValue, Any& rValue, const SvXML… in importXML() argument
716 rValue.setValue( &bValue, ::getBooleanCppuType() ); in importXML()
721 sal_Bool XMLIsTransparentPropHdl::exportXML( OUString& rStrExpValue, const Any& rValue, const SvXML… in exportXML() argument
728 sal_Bool bValue = *(sal_Bool *)rValue.getValue(); in exportXML()
755 sal_Bool XMLColorAutoPropHdl::importXML( const OUString& rStrImpValue, Any& rValue, const SvXMLUnit… in importXML() argument
762 if( !(rValue >>= nColor) || -1 != nColor ) in importXML()
767 rValue <<= (sal_Int32)( aColor.GetColor() ); in importXML()
773 sal_Bool XMLColorAutoPropHdl::exportXML( OUString& rStrExpValue, const Any& rValue, const SvXMLUnit… in exportXML() argument
778 if( (rValue >>= nColor) && -1 != nColor ) in exportXML()
805 sal_Bool XMLIsAutoColorPropHdl::importXML( const OUString& rStrImpValue, Any& rValue, const SvXMLUn… in importXML() argument
812 rValue <<= (sal_Int32)-1; in importXML()
817 sal_Bool XMLIsAutoColorPropHdl::exportXML( OUString& rStrExpValue, const Any& rValue, const SvXMLUn… in exportXML() argument
822 if( (rValue >>= nColor) && -1 == nColor ) in exportXML()
871 Any& rValue, in importXML() argument
877 lcl_xmloff_setAny( rValue, nValue, nBytes ); in importXML()
881 sal_Bool XMLNumberWithoutZeroPropHdl::exportXML( OUString& rStrExpValue, const Any& rValue, const S… in exportXML() argument
885 sal_Bool bRet = lcl_xmloff_getAny( rValue, nValue, nBytes ); in exportXML()
908 Any& rValue, in importXML() argument
914 lcl_xmloff_setAny( rValue, nValue, 2 ); in importXML()
917 rValue <<= (sal_Int16)nValue; in importXML()
923 sal_Bool XMLNumberWithAutoInsteadZeroPropHdl::exportXML( OUString& rStrExpValue, const Any& rValue,… in exportXML() argument
927 lcl_xmloff_getAny( rValue, nValue, 2 ); in exportXML()