Lines Matching refs:cf
98 sal_Int32 cf = CF_INVALID; in getFormatEtcFromDataFlavor() local
110 aFormat >>= cf; in getFormatEtcFromDataFlavor()
111 OSL_ENSURE( CF_INVALID != cf, "Invalid Clipboard format delivered" ); in getFormatEtcFromDataFlavor()
119 cf = RegisterClipboardFormatW( reinterpret_cast<LPCWSTR>(aClipFmtName.getStr( )) ); in getFormatEtcFromDataFlavor()
121 OSL_ENSURE( CF_INVALID != cf, "RegisterClipboardFormat failed" ); in getFormatEtcFromDataFlavor()
133 …al::static_int_cast<CFormatEtc>(getFormatEtcForClipformat( sal::static_int_cast<CLIPFORMAT>(cf) )); in getFormatEtcFromDataFlavor()
203 …CLIPFORMAT cf = sal::static_int_cast<CLIPFORMAT>(RegisterClipboardFormatW( reinterpret_cast<LPCWST… in getFormatEtcForClipformatName() local
204 return getFormatEtcForClipformat( cf ); in getFormatEtcForClipformatName()
225 CFormatEtc SAL_CALL CDataFormatTranslator::getFormatEtcForClipformat( CLIPFORMAT cf ) const in getFormatEtcForClipformat()
227 CFormatEtc fetc( cf, TYMED_NULL, NULL, DVASPECT_CONTENT ); in getFormatEtcForClipformat()
229 switch( cf ) in getFormatEtcForClipformat()
252 if ( cf == RegisterClipboardFormatA( CFSTR_FILECONTENTS ) ) in getFormatEtcForClipformat()
262 sal_Bool SAL_CALL CDataFormatTranslator::isOemOrAnsiTextFormat( CLIPFORMAT cf ) const in isOemOrAnsiTextFormat()
264 return ( (cf == CF_TEXT) || (cf == CF_OEMTEXT) ); in isOemOrAnsiTextFormat()
271 sal_Bool SAL_CALL CDataFormatTranslator::isUnicodeTextFormat( CLIPFORMAT cf ) const in isUnicodeTextFormat()
273 return ( cf == CF_UNICODETEXT ); in isUnicodeTextFormat()
280 sal_Bool SAL_CALL CDataFormatTranslator::isTextFormat( CLIPFORMAT cf ) const in isTextFormat()
282 return ( isOemOrAnsiTextFormat( cf ) || isUnicodeTextFormat( cf ) ); in isTextFormat()
289 sal_Bool SAL_CALL CDataFormatTranslator::isHTMLFormat( CLIPFORMAT cf ) const in isHTMLFormat()
291 OUString clipFormatName = getClipboardFormatName( cf ); in isHTMLFormat()
299 sal_Bool SAL_CALL CDataFormatTranslator::isTextHtmlFormat( CLIPFORMAT cf ) const in isTextHtmlFormat()
301 OUString clipFormatName = getClipboardFormatName( cf ); in isTextHtmlFormat()