Home
last modified time | relevance | path

Searched refs:DataFlavor (Results 1 – 25 of 160) sorted by relevance

1234567

/aoo4110/main/svtools/inc/svtools/
H A Dtransfer.hxx251 void AddFormat( const ::com::sun::star::datatransfer::DataFlavor& rFlavor );
253 void RemoveFormat( const ::com::sun::star::datatransfer::DataFlavor& rFlavor );
270 const ::com::sun::star::datatransfer::DataFlavor& rFlavor );
275 virtual sal_Bool GetData( const ::com::sun::star::datatransfer::DataFlavor& rFlavor ) = 0;
340 sal_Bool HasFormat( const ::com::sun::star::datatransfer::DataFlavor& rFlavor ) const;
345 ::com::sun::star::datatransfer::DataFlavor GetFormatDataFlavor( sal_uInt32 nFormat ) const;
360 sal_Bool GetString( const ::com::sun::star::datatransfer::DataFlavor& rFlavor, String& rStr );
405 static sal_Bool IsEqual( const ::com::sun::star::datatransfer::DataFlavor& rInternalFlavor,
406 const ::com::sun::star::datatransfer::DataFlavor& rRequestFlavor,
537 sal_Bool IsDropFormatSupported( const ::com::sun::star::datatransfer::DataFlavor& rFlavor );
[all …]
/aoo4110/main/svtools/source/misc/
H A Dtransfer.cxx1628 DataFlavor aRet; in GetFormatDataFlavor()
1667 DataFlavor aFlavor; in GetAny()
1743 DataFlavor aFlavor; in GetString()
1896 DataFlavor aFlavor; in GetGDIMetaFile()
1971 DataFlavor aFlavor; in GetGraphic()
2017 DataFlavor aFlavor; in GetImageMap()
2041 DataFlavor aFlavor; in GetTransferableObjectDescriptor()
2057 DataFlavor aFlavor; in GetINetBookmark()
2203 DataFlavor aFlavor; in GetINetImage()
2226 DataFlavor aFlavor; in GetFileList()
[all …]
/aoo4110/main/sot/source/base/
H A Dexchange.cxx260 DataFlavor* pFlavor = (DataFlavor*) rL.GetObject( i ); in RegisterFormatName()
266 DataFlavor* pNewFlavor = new DataFlavor; in RegisterFormatName()
295 DataFlavor* pFlavor = (DataFlavor*) rL.GetObject( i ); in RegisterFormatMimeType()
301 DataFlavor* pNewFlavor = new DataFlavor; in RegisterFormatMimeType()
326 rL.Insert( new DataFlavor( rFlavor ), LIST_APPEND ); in RegisterFormat()
359 rFlavor = *(DataFlavor*) rL.GetObject( nFormat ); in GetFormatDataFlavor()
364 rFlavor = DataFlavor(); in GetFormatDataFlavor()
429 DataFlavor* pFlavor = (DataFlavor*) rL.GetObject( i ); in GetFormatIdFromMimeType()
443 sal_uLong SotExchange::GetFormat( const DataFlavor& rFlavor ) in GetFormat()
468 DataFlavor* pFlavor = (DataFlavor*) rL.GetObject( i ); in GetFormat()
[all …]
/aoo4110/main/offapi/com/sun/star/datatransfer/
H A DXTransferDataAccess.idl28 #include <com/sun/star/datatransfer/DataFlavor.idl>
50 /** To query for the summarized data size in bytes of a sequence of <type>DataFlavor</type>.
53 A squence of requested <type>DataFlavor</type>.
54 <p>An unsupported <type>DataFlavor</type> will be ignored.</p>
59 hyper queryDataSize( [in] sequence < DataFlavor > aFlavorList );
62 /** To get all the data of a sequence of <type>DataFlavor</type>.
65 The sequence of requested <type>DataFlavor</type>.
66 <p>An unsupported <type>DataFlavor</type> will be ignored.</p>
69 The data in the requested <type>DataFlavor</type>.
70 <p>For unsupported <type>DataFlavor</type> an
[all …]
H A DXTransferable.idl32 #include <com/sun/star/datatransfer/DataFlavor.idl>
51 @see com::sun::star::datatransfer::DataFlavor
64 The data in the specified <type>DataFlavor</type>.
70 if the requested <type>DataFlavor</type> is not supported.
72 any getTransferData( [in] DataFlavor aFlavor )
76 /** Returns a sequence of supported <type>DataFlavor</type>.
79 The sequence of supported <type>DataFlavor</type>.
81 @see com::sun::star::datatransfer::DataFlavor
83 sequence < DataFlavor > getTransferDataFlavors();
92 A value of <TRUE/> if the <type>DataFlavor</type> is supported by the transfer source.
[all …]
H A DXDataFormatTranslator.idl33 #include <com/sun/star/datatransfer/DataFlavor.idl>
39 /** Interface to be implemented by objects used to translate a <type>DataFlavor</type> to
51 /** Converts a <type>DataFlavor</type> to system dependend data type.
57 A system dependent data transfer type for the given <type>DataFlavor</type>
59 <p>If the is no system dependent data type for a given <type>DataFlavor</type>
62 any getSystemDataTypeFromDataFlavor( [in] DataFlavor aDataFlavor );
65 /** Converts a system dependent data type to a <type>DataFlavor</type>.
68 A system dependent data type. If aSysDataType is empty so is the returned <type>DataFlavor</type>.
71 A <type>DataFlavor</type> for the given system dependent data transfer type.
72 …ppropriate mapping for a sytem dependent data type, the returned <type>DataFlavor</type> will be e…
[all …]
H A DXTransferableEx.idl28 #include <com/sun/star/datatransfer/DataFlavor.idl>
43 @see com::sun::star::datatransfer::DataFlavor
52 Sequence of <type>DataFlavor</type> of interest. Specify an empty sequence for interest
57 The list of the matching supported <type>DataFlavor</type> that were requested. For
60 sequence < DataFlavor > queryTransferDataFlavors( [in] sequence< DataFlavor > requestedFlavors );
/aoo4110/main/odk/examples/DevelopersGuide/OfficeDev/Clipboard/
H A DTextTransferable.java24 import com.sun.star.datatransfer.DataFlavor;
43 public Object getTransferData(DataFlavor aFlavor) throws UnsupportedFlavorException in getTransferData()
51 public DataFlavor[] getTransferDataFlavors() in getTransferDataFlavors()
53 DataFlavor[] adf = new DataFlavor[1]; in getTransferDataFlavors()
55 DataFlavor uniflv = new DataFlavor( in getTransferDataFlavors()
65 public boolean isDataFlavorSupported(DataFlavor aFlavor) in isDataFlavorSupported()
/aoo4110/main/dtrans/source/win32/dtobj/
H A DDOTransferable.hxx62 …ar::uno::Any SAL_CALL getTransferData( const ::com::sun::star::datatransfer::DataFlavor& aFlavor )
65 …virtual ::com::sun::star::uno::Sequence< ::com::sun::star::datatransfer::DataFlavor > SAL_CALL get…
68 …virtual sal_Bool SAL_CALL isDataFlavorSupported( const ::com::sun::star::datatransfer::DataFlavor&…
89 void SAL_CALL addSupportedFlavor( const com::sun::star::datatransfer::DataFlavor& aFlavor );
90 …com::sun::star::datatransfer::DataFlavor SAL_CALL formatEtcToDataFlavor( const FORMATETC& aFormatE…
102 sal_Bool SAL_CALL compareDataFlavors( const com::sun::star::datatransfer::DataFlavor& lhs,
103 const com::sun::star::datatransfer::DataFlavor& rhs );
113 com::sun::star::uno::Sequence< com::sun::star::datatransfer::DataFlavor > m_FlavorList;
H A DDOTransferable.cxx78 sal_Bool isValidFlavor( const DataFlavor& aFlavor ) in isValidFlavor()
106 Any SAL_CALL CDOTransferable::getTransferData( const DataFlavor& aFlavor ) in getTransferData()
171 Sequence< DataFlavor > SAL_CALL CDOTransferable::getTransferDataFlavors( ) in getTransferDataFlavors()
183 sal_Bool SAL_CALL CDOTransferable::isDataFlavorSupported( const DataFlavor& aFlavor ) in isDataFlavorSupported()
224 DataFlavor aFlavor = formatEtcToDataFlavor( fetc ); in initFlavorList()
259 void SAL_CALL CDOTransferable::addSupportedFlavor( const DataFlavor& aFlavor ) in addSupportedFlavor()
276 DataFlavor SAL_CALL CDOTransferable::formatEtcToDataFlavor( const FORMATETC& aFormatEtc ) in formatEtcToDataFlavor()
278 DataFlavor aFlavor; in formatEtcToDataFlavor()
528 const DataFlavor& lhs, const DataFlavor& rhs ) in compareDataFlavors()
/aoo4110/main/dtrans/source/win32/workbench/
H A Dtest_wincb.cxx141 virtual Any SAL_CALL getTransferData( const DataFlavor& aFlavor )
144 virtual Sequence< DataFlavor > SAL_CALL getTransferDataFlavors( ) throw(RuntimeException);
146 …virtual sal_Bool SAL_CALL isDataFlavorSupported( const DataFlavor& aFlavor ) throw(RuntimeExceptio…
156 Sequence< DataFlavor > m_FlavorList;
168 DataFlavor df; in CTransferable()
183 Any SAL_CALL CTransferable::getTransferData( const DataFlavor& aFlavor ) in getTransferData()
215 Sequence< DataFlavor > SAL_CALL CTransferable::getTransferDataFlavors( ) in getTransferDataFlavors()
225 sal_Bool SAL_CALL CTransferable::isDataFlavorSupported( const DataFlavor& aFlavor ) in isDataFlavorSupported()
/aoo4110/main/basctl/source/inc/
H A Ddlgedclip.hxx42 ::com::sun::star::uno::Sequence< ::com::sun::star::datatransfer::DataFlavor > m_SeqFlavors;
46 …rs( const ::com::sun::star::datatransfer::DataFlavor& lFlavor, const ::com::sun::star::datatransfe…
49 …const ::com::sun::star::uno::Sequence< ::com::sun::star::datatransfer::DataFlavor >& aSeqFlavors, …
53 …o::Any SAL_CALL getTransferData( const ::com::sun::star::datatransfer::DataFlavor& rFlavor ) throw…
54 …virtual ::com::sun::star::uno::Sequence< ::com::sun::star::datatransfer::DataFlavor > SAL_CALL get…
55 … SAL_CALL isDataFlavorSupported( const ::com::sun::star::datatransfer::DataFlavor& rFlavor ) throw…
/aoo4110/main/vcl/aqua/source/dtrans/
H A DOSXTransferable.hxx64 …ar::uno::Any SAL_CALL getTransferData( const ::com::sun::star::datatransfer::DataFlavor& aFlavor )
67 …virtual ::com::sun::star::uno::Sequence< ::com::sun::star::datatransfer::DataFlavor > SAL_CALL get…
70 …virtual sal_Bool SAL_CALL isDataFlavorSupported( const ::com::sun::star::datatransfer::DataFlavor&…
81 bool isUnicodeText(const com::sun::star::datatransfer::DataFlavor& flavor);
83 bool compareDataFlavors( const com::sun::star::datatransfer::DataFlavor& lhs,
84 const com::sun::star::datatransfer::DataFlavor& rhs );
90 com::sun::star::uno::Sequence< com::sun::star::datatransfer::DataFlavor > mFlavorList;
H A DOSXTransferable.cxx49 bool isValidFlavor( const DataFlavor& aFlavor ) in isValidFlavor()
78 Any SAL_CALL OSXTransferable::getTransferData( const DataFlavor& aFlavor ) in getTransferData()
115 bool OSXTransferable::isUnicodeText(const DataFlavor& flavor) in isUnicodeText()
121 Sequence< DataFlavor > SAL_CALL OSXTransferable::getTransferDataFlavors( ) in getTransferDataFlavors()
128 sal_Bool SAL_CALL OSXTransferable::isDataFlavorSupported(const DataFlavor& aFlavor) in isDataFlavorSupported()
157 bool OSXTransferable::compareDataFlavors(const DataFlavor& lhs, const DataFlavor& rhs ) in compareDataFlavors()
H A DDataFlavorMapping.cxx58 bool isValidFlavor(const DataFlavor& aFlavor) in isValidFlavor()
524 DataFlavor DataFlavorMapper::systemToOpenOfficeFlavor( const NSString* systemDataFlavor) const in systemToOpenOfficeFlavor()
526 DataFlavor oOOFlavor; in systemToOpenOfficeFlavor()
552 const NSString* DataFlavorMapper::openOfficeToSystemFlavor( const DataFlavor& oOOFlavor, bool& rbIn… in openOfficeToSystemFlavor()
593 DataFlavor oOOFlavor = systemToOpenOfficeFlavor(systemFlavor); in getDataProvider()
708 …Array(const com::sun::star::uno::Sequence<com::sun::star::datatransfer::DataFlavor>& flavors) const in flavorSequenceToTypesArray()
745 com::sun::star::uno::Sequence<com::sun::star::datatransfer::DataFlavor> DataFlavorMapper::typesArra… in typesArrayToFlavorSequence()
748 Sequence<DataFlavor> flavors; in typesArrayToFlavorSequence()
753 DataFlavor oOOFlavor = systemToOpenOfficeFlavor(sysFormat); in typesArrayToFlavorSequence()
/aoo4110/main/qadevOOo/tests/java/ifc/datatransfer/clipboard/
H A D_XClipboardNotifier.java29 import com.sun.star.datatransfer.DataFlavor;
76 DataFlavor[] supportedFlavors;
79 supportedFlavors = new DataFlavor[] { in MyTransferable()
80 new DataFlavor("text/plain", "Plain text", new Type(String.class)) in MyTransferable()
84 public Object getTransferData(DataFlavor dataFlavor) { in getTransferData()
88 public DataFlavor[] getTransferDataFlavors() { in getTransferDataFlavors()
92 public boolean isDataFlavorSupported(DataFlavor dataFlavor) { in isDataFlavorSupported()
H A D_XClipboard.java29 import com.sun.star.datatransfer.DataFlavor;
73 public Object getTransferData(DataFlavor dataFlavor) { in getTransferData()
77 public com.sun.star.datatransfer.DataFlavor[] getTransferDataFlavors() { in getTransferDataFlavors()
78 return new DataFlavor[0]; in getTransferDataFlavors()
81 public boolean isDataFlavorSupported(DataFlavor dataFlavor) { in isDataFlavorSupported()
/aoo4110/main/basctl/source/dlged/
H A Ddlgedclip.cxx44 DlgEdTransferableImpl::DlgEdTransferableImpl( const Sequence< DataFlavor >& aSeqFlavors, const Sequ… in DlgEdTransferableImpl()
58 sal_Bool DlgEdTransferableImpl::compareDataFlavors( const DataFlavor& lFlavor, const DataFlavor& rF… in compareDataFlavors()
85 Any SAL_CALL DlgEdTransferableImpl::getTransferData( const DataFlavor& rFlavor ) throw(UnsupportedF… in getTransferData()
108 Sequence< DataFlavor > SAL_CALL DlgEdTransferableImpl::getTransferDataFlavors( ) throw(RuntimeExce… in getTransferDataFlavors()
117 sal_Bool SAL_CALL DlgEdTransferableImpl::isDataFlavorSupported( const DataFlavor& rFlavor ) throw(R… in isDataFlavorSupported()
142 m_SeqFlavors = Sequence< DataFlavor >(); in lostOwnership()
/aoo4110/main/qadevOOo/tests/java/ifc/datatransfer/
H A D_XDataFormatTranslator.java28 import com.sun.star.datatransfer.DataFlavor;
51 DataFlavor df = new DataFlavor in _getSystemDataTypeFromDataFlavor()
64 DataFlavor in = new DataFlavor in _getDataFlavorFromSystemDataType()
67 DataFlavor out = oObj.getDataFlavorFromSystemDataType(res); in _getDataFlavorFromSystemDataType()
/aoo4110/main/vcl/test/
H A Ddndtest.cxx131 Sequence< DataFlavor > m_aFlavorList;
136 DataFlavor df; in StringTransferable()
144 …virtual Any SAL_CALL getTransferData( const DataFlavor& aFlavor ) throw(UnsupportedFlavorException…
145 virtual Sequence< DataFlavor > SAL_CALL getTransferDataFlavors( ) throw(RuntimeException);
146 …virtual sal_Bool SAL_CALL isDataFlavorSupported( const DataFlavor& aFlavor ) throw(RuntimeExceptio…
421 Any SAL_CALL StringTransferable::getTransferData( const DataFlavor& ) in getTransferData() argument
429 Sequence< DataFlavor > SAL_CALL StringTransferable::getTransferDataFlavors( ) in getTransferDataFlavors()
437 sal_Bool SAL_CALL StringTransferable::isDataFlavorSupported( const DataFlavor& ) in isDataFlavorSupported() argument
/aoo4110/main/dtrans/source/test/
H A Dtest_dtrans.cxx212 …virtual Any SAL_CALL getTransferData( const DataFlavor& aFlavor ) throw(UnsupportedFlavorException…
213 virtual Sequence< DataFlavor > SAL_CALL getTransferDataFlavors( ) throw(RuntimeException);
214 …virtual sal_Bool SAL_CALL isDataFlavorSupported( const DataFlavor& aFlavor ) throw(RuntimeExceptio…
226 Sequence< DataFlavor > m_seqDFlv;
240 DataFlavor df; in StringTransferable()
260 Any SAL_CALL StringTransferable::getTransferData( const DataFlavor& aFlavor ) in getTransferData()
290 Sequence< DataFlavor > SAL_CALL StringTransferable::getTransferDataFlavors( ) in getTransferDataFlavors()
300 sal_Bool SAL_CALL StringTransferable::isDataFlavorSupported( const DataFlavor& aFlavor ) in isDataFlavorSupported()
/aoo4110/main/dtrans/source/win32/ftransl/
H A Dftransl.hxx66 com::sun::star::datatransfer::DataFlavor aDataFlavor;
87 …LL getSystemDataTypeFromDataFlavor( const ::com::sun::star::datatransfer::DataFlavor& aDataFlavor )
90 …virtual ::com::sun::star::datatransfer::DataFlavor SAL_CALL getDataFlavorFromSystemDataType( const…
109 …rdFormatId( sal_Int32 aStandardFormatId, com::sun::star::datatransfer::DataFlavor& aDataFlavor ) c…
110 … const rtl::OUString& aNativeFormatName, com::sun::star::datatransfer::DataFlavor& aDataFlavor ) c…
119 …com::sun::star::datatransfer::DataFlavor SAL_CALL mkDataFlv( const rtl::OUString& cnttype, const r…
/aoo4110/main/sot/inc/sot/
H A Dexchange.hxx57 struct DataFlavorEx : public ::com::sun::star::datatransfer::DataFlavor
62 typedef ::std::vector< ::com::sun::star::datatransfer::DataFlavor > DataFlavorVector;
72 typedef ::std::list< ::com::sun::star::datatransfer::DataFlavor > DataFlavorList;
187 static sal_uLong RegisterFormat( const ::com::sun::star::datatransfer::DataFlavor& rFlavor );
191 static sal_uLong GetFormat( const ::com::sun::star::datatransfer::DataFlavor& rFlavor );
193 …Bool GetFormatDataFlavor( sal_uLong nFormat, ::com::sun::star::datatransfer::DataFlavor& rFlavor );
/aoo4110/main/embeddedobj/source/msole/
H A Dolecomponent.cxx188 uno::Sequence< datatransfer::DataFlavor > m_aSupportedGraphFormats;
195 m_aSupportedGraphFormats[0] = datatransfer::DataFlavor( in OleComponentNative_Impl()
200 m_aSupportedGraphFormats[1] = datatransfer::DataFlavor( in OleComponentNative_Impl()
205 m_aSupportedGraphFormats[2] = datatransfer::DataFlavor( in OleComponentNative_Impl()
210 m_aSupportedGraphFormats[3] = datatransfer::DataFlavor( in OleComponentNative_Impl()
215 m_aSupportedGraphFormats[0] = datatransfer::DataFlavor( in OleComponentNative_Impl()
226 const datatransfer::DataFlavor& aFlavor,
229 sal_Bool GraphicalFlavor( const datatransfer::DataFlavor& aFlavor );
235 DWORD GetAspectFromFlavor( const datatransfer::DataFlavor& aFlavor ) in GetAspectFromFlavor()
283 const datatransfer::DataFlavor& aFlavor, in ConvertDataForFlavor()
[all …]
/aoo4110/main/vcl/unx/generic/dtrans/
H A DX11_transferable.cxx66 Any SAL_CALL X11Transferable::getTransferData( const DataFlavor& rFlavor ) in getTransferData()
99 Sequence< DataFlavor > SAL_CALL X11Transferable::getTransferDataFlavors() in getTransferDataFlavors()
102 Sequence< DataFlavor > aFlavorList; in getTransferDataFlavors()
112 sal_Bool SAL_CALL X11Transferable::isDataFlavorSupported( const DataFlavor& aFlavor ) in isDataFlavorSupported()
122 Sequence< DataFlavor > aFlavors( getTransferDataFlavors() ); in isDataFlavorSupported()

Completed in 474 milliseconds

1234567