Home
last modified time | relevance | path

Searched refs:aFlavor (Results 1 – 25 of 63) sorted by relevance

123

/aoo41x/main/svtools/source/misc/
H A Dtransfer.cxx1667 DataFlavor aFlavor; in GetAny() local
1743 DataFlavor aFlavor; in GetString() local
1896 DataFlavor aFlavor; in GetGDIMetaFile() local
1971 DataFlavor aFlavor; in GetGraphic() local
2017 DataFlavor aFlavor; in GetImageMap() local
2041 DataFlavor aFlavor; in GetTransferableObjectDescriptor() local
2057 DataFlavor aFlavor; in GetINetBookmark() local
2203 DataFlavor aFlavor; in GetINetImage() local
2226 DataFlavor aFlavor; in GetFileList() local
2270 DataFlavor aFlavor; in GetSequence() local
[all …]
H A Dembedtransfer.cxx203 ::com::sun::star::datatransfer::DataFlavor aFlavor; in FillTransferableObjectDescriptor()
204 SotExchange::GetFormatDataFlavor( SOT_FORMATSTR_ID_OBJECTDESCRIPTOR, aFlavor ); in FillTransferableObjectDescriptor()
207 rDesc.maTypeName = aFlavor.HumanPresentableName; in FillTransferableObjectDescriptor()
/aoo41x/main/dtrans/source/win32/dtobj/
H A DDOTransferable.cxx80 return ( aFlavor.MimeType.getLength( ) && in isValidFlavor()
109 OSL_ASSERT( isValidFlavor( aFlavor ) ); in getTransferData()
186 OSL_ASSERT( isValidFlavor( aFlavor ) ); in isDataFlavorSupported()
230 addSupportedFlavor( aFlavor ); in initFlavorList()
236 aFlavor = formatEtcToDataFlavor( in initFlavorList()
238 addSupportedFlavor( aFlavor ); in initFlavorList()
242 addSupportedFlavor( aFlavor ); in initFlavorList()
246 addSupportedFlavor( aFlavor ); in initFlavorList()
262 if ( aFlavor.MimeType.getLength( ) ) in addSupportedFlavor()
264 OSL_ASSERT( isValidFlavor( aFlavor ) ); in addSupportedFlavor()
[all …]
H A DXTDataObject.cxx246 DataFlavor aFlavor = formatEtcToDataFlavor( fetc ); in renderUnicodeAndSetupStgMedium() local
248 Any aAny = m_XTransferable->getTransferData( aFlavor ); in renderUnicodeAndSetupStgMedium()
283 DataFlavor aFlavor = formatEtcToDataFlavor( fetc ); in renderAnyDataAndSetupStgMedium() local
285 Any aAny = m_XTransferable->getTransferData( aFlavor ); in renderAnyDataAndSetupStgMedium()
430 DataFlavor aFlavor = formatEtcToDataFlavor( in renderSynthesizedTextAndSetupStgMedium() local
433 Any aAny = m_XTransferable->getTransferData( aFlavor ); in renderSynthesizedTextAndSetupStgMedium()
466 DataFlavor aFlavor; in renderSynthesizedHtmlAndSetupStgMedium() local
614 DataFlavor aFlavor; in formatEtcToDataFlavor() local
617 aFlavor = in formatEtcToDataFlavor()
622 if ( !aFlavor.MimeType.getLength( ) ) in formatEtcToDataFlavor()
[all …]
H A DDataFmtTransl.cxx142 DataFlavor aFlavor; in getDataFlavorFromFormatEtc() local
153 aFlavor.MimeType = TEXT_PLAIN_CHARSET; in getDataFlavorFromFormatEtc()
154 aFlavor.MimeType += getTextCharsetFromLCID( lcid, aClipformat ); in getDataFlavorFromFormatEtc()
156 aFlavor.HumanPresentableName = HPNAME_OEM_ANSI_TEXT; in getDataFlavorFromFormatEtc()
157 aFlavor.DataType = CPPUTYPE_SEQSALINT8; in getDataFlavorFromFormatEtc()
163 aFlavor = m_XDataFormatTranslator->getDataFlavorFromSystemDataType( aAny ); in getDataFlavorFromFormatEtc()
165 if ( !aFlavor.MimeType.getLength( ) ) in getDataFlavorFromFormatEtc()
179 aFlavor = m_XDataFormatTranslator->getDataFlavorFromSystemDataType( aAny ); in getDataFlavorFromFormatEtc()
190 return aFlavor; in getDataFlavorFromFormatEtc()
H A DFetcList.cxx216 DataFlavor aFlavor; in RegisterFormats() local
220 aFlavor = aFlavorList[i]; in RegisterFormats()
221 CFormatEtc fetc = m_DataFormatTranslator.getFormatEtcFromDataFlavor( aFlavor ); in RegisterFormats()
250 OUString charset = getCharsetFromDataFlavor( aFlavor ); in RegisterFormats()
273 m_RegisteredTextFlavor = aFlavor; in RegisterFormats()
355 OUString SAL_CALL CFormatRegistrar::getCharsetFromDataFlavor( const DataFlavor& aFlavor ) in getCharsetFromDataFlavor() argument
367 Reference< XMimeContentType > xMimeType( xMimeFac->createMimeContentType( aFlavor.MimeType ) ); in getCharsetFromDataFlavor()
394 DataFlavor aFlavor = in hasUnicodeFlavor() local
397 return aXTransferable->isDataFlavorSupported( aFlavor ); in hasUnicodeFlavor()
H A DDOTransferable.hxx62 …ar::uno::Any SAL_CALL getTransferData( const ::com::sun::star::datatransfer::DataFlavor& aFlavor )
68 …l_Bool SAL_CALL isDataFlavorSupported( const ::com::sun::star::datatransfer::DataFlavor& aFlavor )
89 void SAL_CALL addSupportedFlavor( const com::sun::star::datatransfer::DataFlavor& aFlavor );
/aoo41x/main/dtrans/source/os2/clipb/
H A DOs2Transferable.cxx58 aFlavor.MimeType = OUString::createFromAscii( "text/plain;charset=utf-16" ); in Os2Transferable()
59 aFlavor.DataType = getCppuType( (OUString*)0 ); in Os2Transferable()
65 aFlavor.DataType = getCppuType( (OUString*)0 ); in Os2Transferable()
144 aFlavorList[0] = aFlavor; in getTransferDataFlavors()
145 …debug_printf("Os2Transferable::getTransferDataFlavors mimetype: %s\n", CHAR_POINTER(aFlavor.MimeTy… in getTransferDataFlavors()
151 sal_Bool SAL_CALL Os2Transferable::isDataFlavorSupported( const DataFlavor& aFlavor ) in isDataFlavorSupported() argument
155 debug_printf("Os2Transferable::isDataFlavorSupported %s\n", CHAR_POINTER(aFlavor.MimeType)); in isDataFlavorSupported()
157 if( aFlavor.DataType != getCppuType( (Sequence< sal_Int8 >*)0 ) ) in isDataFlavorSupported()
160 aFlavor.DataType == getCppuType( (OUString*)0 ) ) in isDataFlavorSupported()
166 if( aFlavor.MimeType.equalsIgnoreAsciiCase( aFlavors.getConstArray()[i].MimeType ) && in isDataFlavorSupported()
[all …]
H A DOs2Transferable.hxx61 ::com::sun::star::datatransfer::DataFlavor aFlavor;
73 …ar::uno::Any SAL_CALL getTransferData( const ::com::sun::star::datatransfer::DataFlavor& aFlavor )
82 …l_Bool SAL_CALL isDataFlavorSupported( const ::com::sun::star::datatransfer::DataFlavor& aFlavor )
/aoo41x/main/vcl/aqua/source/dtrans/
H A DOSXTransferable.cxx49 bool isValidFlavor( const DataFlavor& aFlavor ) in isValidFlavor() argument
51 size_t len = aFlavor.MimeType.getLength(); in isValidFlavor()
52 Type dtype = aFlavor.DataType; in isValidFlavor()
78 Any SAL_CALL OSXTransferable::getTransferData( const DataFlavor& aFlavor ) in getTransferData() argument
81 if (!isValidFlavor(aFlavor) || !isDataFlavorSupported(aFlavor)) in getTransferData()
89 (aFlavor.MimeType.compareToAscii( "image/png", 9 ) == 0) in getTransferData()
91 : mDataFlavorMapper->openOfficeToSystemFlavor(aFlavor, bInternal); in getTransferData()
128 sal_Bool SAL_CALL OSXTransferable::isDataFlavorSupported(const DataFlavor& aFlavor) in isDataFlavorSupported() argument
132 if (compareDataFlavors(aFlavor, mFlavorList[i])) in isDataFlavorSupported()
/aoo41x/main/embeddedobj/source/msole/
H A Dolecomponent.cxx226 const datatransfer::DataFlavor& aFlavor,
229 sal_Bool GraphicalFlavor( const datatransfer::DataFlavor& aFlavor );
235 DWORD GetAspectFromFlavor( const datatransfer::DataFlavor& aFlavor ) in GetAspectFromFlavor() argument
283 const datatransfer::DataFlavor& aFlavor, in ConvertDataForFlavor() argument
360 if ( aFlavor.MimeType.match( m_aSupportedGraphFormats[nInd].MimeType ) in ConvertDataForFlavor()
361 && aFlavor.DataType == m_aSupportedGraphFormats[nInd].DataType in ConvertDataForFlavor()
380 if ( aFlavor.MimeType.match( m_aSupportedGraphFormats[nInd].MimeType ) in GraphicalFlavor()
381 && aFlavor.DataType == m_aSupportedGraphFormats[nInd].DataType ) in GraphicalFlavor()
1547 if ( m_pNativeImpl->GraphicalFlavor( aFlavor ) ) in getTransferData()
1549 DWORD nRequestedAspect = GetAspectFromFlavor( aFlavor ); in getTransferData()
[all …]
/aoo41x/main/vcl/unx/generic/dtrans/
H A DX11_transferable.cxx112 sal_Bool SAL_CALL X11Transferable::isDataFlavorSupported( const DataFlavor& aFlavor ) in isDataFlavorSupported() argument
115 if( aFlavor.DataType != getCppuType( (Sequence< sal_Int8 >*)0 ) ) in isDataFlavorSupported()
117 …if( ! aFlavor.MimeType.equalsIgnoreAsciiCase( OUString::createFromAscii( "text/plain;charset=utf-1… in isDataFlavorSupported()
118 aFlavor.DataType == getCppuType( (OUString*)0 ) ) in isDataFlavorSupported()
124 if( aFlavor.MimeType.equalsIgnoreAsciiCase( aFlavors.getConstArray()[i].MimeType ) && in isDataFlavorSupported()
125 aFlavor.DataType == aFlavors.getConstArray()[i].DataType ) in isDataFlavorSupported()
/aoo41x/main/embedserv/source/embed/
H A Ded_idataobj.cxx64 datatransfer::DataFlavor aFlavor; in getMetaFileHandle_Impl() local
68 aFlavor.MimeType = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( in getMetaFileHandle_Impl()
70aFlavor.HumanPresentableName = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Enhanced Windows Met… in getMetaFileHandle_Impl()
74 aFlavor.MimeType = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( in getMetaFileHandle_Impl()
76aFlavor.HumanPresentableName = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Windows GDIMetaFile"… in getMetaFileHandle_Impl()
79 aFlavor.DataType = getCppuType( (const sal_uInt64*) 0 ); in getMetaFileHandle_Impl()
81 uno::Any aAny = xTransferable->getTransferData( aFlavor ); in getMetaFileHandle_Impl()
/aoo41x/main/dtrans/source/win32/workbench/
H A Dtest_wincb.cxx141 virtual Any SAL_CALL getTransferData( const DataFlavor& aFlavor )
146 …virtual sal_Bool SAL_CALL isDataFlavorSupported( const DataFlavor& aFlavor ) throw(RuntimeExceptio…
183 Any SAL_CALL CTransferable::getTransferData( const DataFlavor& aFlavor ) in getTransferData() argument
192 if ( aFlavor.MimeType.equalsIgnoreCase( m_FlavorList[0].MimeType ) ) in getTransferData()
225 sal_Bool SAL_CALL CTransferable::isDataFlavorSupported( const DataFlavor& aFlavor ) in isDataFlavorSupported() argument
231 if ( m_FlavorList[i].MimeType == aFlavor.MimeType ) in isDataFlavorSupported()
/aoo41x/main/svx/source/form/
H A Dfmexch.cxx187 DataFlavorEx aFlavor; in updateFormats() local
191 if ( lcl_fillDataFlavorEx( OControlExchange::getHiddenControlModelsFormatId(), aFlavor ) ) in updateFormats()
192 m_aCurrentFormats.push_back( aFlavor ); in updateFormats()
197 if ( lcl_fillDataFlavorEx( OControlExchange::getControlPathFormatId(), aFlavor ) ) in updateFormats()
198 m_aCurrentFormats.push_back( aFlavor ); in updateFormats()
203 if ( lcl_fillDataFlavorEx( OControlExchange::getFieldExchangeFormatId(), aFlavor ) ) in updateFormats()
204 m_aCurrentFormats.push_back( aFlavor ); in updateFormats()
/aoo41x/main/svx/source/fmcomp/
H A Ddbaexchange.cxx285 DataFlavor aFlavor; in extractColumnDescriptor() local
289 SotExchange::GetFormatDataFlavor(getDescriptorFormatId(), aFlavor); in extractColumnDescriptor()
292 Any aDescriptor = _rData.GetAny(aFlavor); in extractColumnDescriptor()
542 DataFlavor aFlavor; in extractObjectDescriptor() local
546 SotExchange::GetFormatDataFlavor(nKnownFormatId, aFlavor); in extractObjectDescriptor()
549 Any aDescriptor = _rData.GetAny(aFlavor); in extractObjectDescriptor()
707 DataFlavor aFlavor; in extractDescriptor() local
711 SotExchange::GetFormatDataFlavor(getDescriptorFormatId(), aFlavor); in extractDescriptor()
714 _rData.GetAny(aFlavor) >>= aList; in extractDescriptor()
H A Ddbaobjectex.cxx139 DataFlavor aFlavor; in extractComponentDescriptor() local
143 SotExchange::GetFormatDataFlavor(getDescriptorFormatId(bForm), aFlavor); in extractComponentDescriptor()
146 Any aDescriptor = _rData.GetAny(aFlavor); in extractComponentDescriptor()
/aoo41x/main/sfx2/source/doc/
H A Dsfxbasemodel.cxx2015 aDesc.maTypeName = aFlavor.HumanPresentableName; in getTransferData()
2124 && aFlavor.DataType == getCppuType( (const sal_uInt64*) 0 ) ) in getTransferData()
2160 && aFlavor.DataType == getCppuType( (const sal_uInt64*) 0 ) ) in getTransferData()
2202 else if ( aFlavor.MimeType.equalsAscii( "image/png" ) ) in getTransferData()
2314 if ( aFlavor.DataType == getCppuType( (const Sequence< sal_Int8 >*) 0 ) ) in isDataFlavorSupported()
2319 if ( aFlavor.DataType == getCppuType( (const Sequence< sal_Int8 >*) 0 ) ) in isDataFlavorSupported()
2324 if ( aFlavor.DataType == getCppuType( (const Sequence< sal_Int8 >*) 0 ) ) in isDataFlavorSupported()
2327 && aFlavor.DataType == getCppuType( (const sal_uInt64*) 0 ) ) in isDataFlavorSupported()
2332 if ( aFlavor.DataType == getCppuType( (const Sequence< sal_Int8 >*) 0 ) ) in isDataFlavorSupported()
2335 && aFlavor.DataType == getCppuType( (const sal_uInt64*) 0 ) ) in isDataFlavorSupported()
[all …]
/aoo41x/main/odk/examples/DevelopersGuide/OfficeDev/Clipboard/
H A DTextTransferable.java43 public Object getTransferData(DataFlavor aFlavor) throws UnsupportedFlavorException in getTransferData() argument
45 if ( !aFlavor.MimeType.equalsIgnoreCase( UNICODE_CONTENT_TYPE ) ) in getTransferData()
65 public boolean isDataFlavorSupported(DataFlavor aFlavor) in isDataFlavorSupported() argument
67 return aFlavor.MimeType.equalsIgnoreCase(UNICODE_CONTENT_TYPE); in isDataFlavorSupported()
/aoo41x/main/dtrans/test/win32/dnd/
H A Dtransferable.cxx59 Any SAL_CALL CTransferable::getTransferData( const DataFlavor& aFlavor ) in getTransferData() argument
68 else*/ if ( aFlavor == m_seqDFlv[0] ) in getTransferData()
97 sal_Bool SAL_CALL CTransferable::isDataFlavorSupported( const DataFlavor& aFlavor ) in isDataFlavorSupported() argument
105 if ( m_seqDFlv[i] == aFlavor ) in isDataFlavorSupported()
/aoo41x/main/dtrans/source/test/
H A Dtest_dtrans.cxx212 …virtual Any SAL_CALL getTransferData( const DataFlavor& aFlavor ) throw(UnsupportedFlavorException…
214 …virtual sal_Bool SAL_CALL isDataFlavorSupported( const DataFlavor& aFlavor ) throw(RuntimeExceptio…
260 Any SAL_CALL StringTransferable::getTransferData( const DataFlavor& aFlavor ) in getTransferData() argument
270 else if ( aFlavor == m_seqDFlv[0] ) in getTransferData()
300 sal_Bool SAL_CALL StringTransferable::isDataFlavorSupported( const DataFlavor& aFlavor ) in isDataFlavorSupported() argument
/aoo41x/main/offapi/com/sun/star/datatransfer/
H A DXTransferable.idl60 @param aFlavor
72 any getTransferData( [in] DataFlavor aFlavor )
88 @param aFlavor
99 boolean isDataFlavorSupported( [in] DataFlavor aFlavor );
/aoo41x/main/reportdesign/source/ui/report/
H A Ddlgedclip.cxx79 datatransfer::DataFlavor aFlavor; in extractCopies() local
83 SotExchange::GetFormatDataFlavor(nKnownFormatId, aFlavor); in extractCopies()
86 uno::Any aDescriptor = _rData.GetAny(aFlavor); in extractCopies()
/aoo41x/main/svtools/source/dialogs/
H A Dinsdlg.cxx332 datatransfer::DataFlavor aFlavor; in GetEmbeddedName() local
333 SotExchange::GetFormatDataFlavor( SOT_FORMATSTR_ID_OBJECTDESCRIPTOR_OLE, aFlavor ); in GetEmbeddedName()
336 if( rData.HasFormat( aFlavor ) && in GetEmbeddedName()
337 ( aAny = rData.GetAny( aFlavor ) ).hasValue() ) in GetEmbeddedName()
/aoo41x/main/chart2/source/model/main/
H A DChartModel.cxx1141 uno::Any SAL_CALL ChartModel::getTransferData( const datatransfer::DataFlavor& aFlavor ) in getTransferData() argument
1147 if( this->isDataFlavorSupported( aFlavor )) in getTransferData()
1155 xTransferable->isDataFlavorSupported( aFlavor )) in getTransferData()
1157 aResult = xTransferable->getTransferData( aFlavor ); in getTransferData()
1168 aFlavor.MimeType, static_cast< ::cppu::OWeakObject* >( this )); in getTransferData()
1189 ::sal_Bool SAL_CALL ChartModel::isDataFlavorSupported( const datatransfer::DataFlavor& aFlavor ) in isDataFlavorSupported() argument
1194 return aFlavor.MimeType.equals(lcl_aGDIMetaFileMIMETypeHighContrast); in isDataFlavorSupported()

Completed in 160 milliseconds

123