Lines Matching refs:selection

535 SelectionAdaptor* SelectionManager::getAdaptor( Atom selection )  in getAdaptor()  argument
538 m_aSelections.find( selection ); in getAdaptor()
752 bool SelectionManager::requestOwnership( Atom selection ) in requestOwnership() argument
759 SelectionAdaptor* pAdaptor = getAdaptor( selection ); in requestOwnership()
762 XSetSelectionOwner( m_pDisplay, selection, m_aWindow, CurrentTime ); in requestOwnership()
763 if( XGetSelectionOwner( m_pDisplay, selection ) == m_aWindow ) in requestOwnership()
768 OUStringToOString( getString( selection ), RTL_TEXTENCODING_ISO_8859_1 ).getStr() ); in requestOwnership()
770 Selection* pSel = m_aSelections[ selection ]; in requestOwnership()
779 OUStringToOString( getString( selection ), RTL_TEXTENCODING_ISO_8859_1 ).getStr() ); in requestOwnership()
796 void SelectionManager::convertTypeToNative( const OUString& rType, Atom selection, int& rFormat, ::… in convertTypeToNative() argument
798 NativeTypeEntry* pTab = selection == m_nXdndSelection ? aXdndConversionTab : aNativeConversionTab; in convertTypeToNative()
799 int nTabEntries = selection == m_nXdndSelection in convertTypeToNative()
872 OUString SelectionManager::convertTypeFromNative( Atom nType, Atom selection, int& rFormat ) in convertTypeFromNative() argument
874 NativeTypeEntry* pTab = selection == m_nXdndSelection ? aXdndConversionTab : aNativeConversionTab; in convertTypeFromNative()
875 int nTabEntries = selection == m_nXdndSelection in convertTypeFromNative()
895 bool SelectionManager::getPasteData( Atom selection, Atom type, Sequence< sal_Int8 >& rData ) in getPasteData() argument
902 OUString aSelection( getString( selection ) ); in getPasteData()
913 it = m_aSelections.find( selection ); in getPasteData()
917 XLIB_Window aSelectionOwner = XGetSelectionOwner( m_pDisplay, selection ); in getPasteData()
933 XDeleteProperty( m_pDisplay, m_aWindow, selection ); in getPasteData()
935 …XConvertSelection( m_pDisplay, selection, type, selection, m_aWindow, selection == m_nXdndSelectio… in getPasteData()
964 && aEvent.xproperty.atom == selection ) in getPasteData()
988 if( aEvent.xselection.selection == selection in getPasteData()
1034 bool SelectionManager::getPasteData( Atom selection, const ::rtl::OUString& rType, Sequence< sal_In… in getPasteData() argument
1043 it = m_aSelections.find( selection ); in getPasteData()
1051 getPasteDataTypes( selection, aFlavors ); in getPasteData()
1060 OUStringToOString( getString( selection ), RTL_TEXTENCODING_ISO_8859_1 ).getStr(), in getPasteData()
1071 getPasteData( selection, in getPasteData()
1081 getPasteData( selection, in getPasteData()
1097 getPasteData( selection, in getPasteData()
1122 bSuccess = getPasteData( selection, m_nImageBmpAtom, rData ); in getPasteData()
1141 selection, in getPasteData()
1150 if( getPasteData( selection, m_nMULTIPLEAtom, aData ) ) in getPasteData()
1192 if( getPasteData( selection, XA_PIXMAP, aData ) ) in getPasteData()
1195 if( aColormap == None && getPasteData( selection, XA_COLORMAP, aData ) ) in getPasteData()
1221 convertTypeToNative( rType, selection, nFormat, aTypes ); in getPasteData()
1231 bSuccess = getPasteData( selection, nSelectedType, rData ); in getPasteData()
1235 OUStringToOString( getString( selection ), RTL_TEXTENCODING_ISO_8859_1 ).getStr(), in getPasteData()
1246 bool SelectionManager::getPasteDataTypes( Atom selection, Sequence< DataFlavor >& rTypes ) in getPasteDataTypes() argument
1252 it = m_aSelections.find( selection ); in getPasteDataTypes()
1270 if( selection == m_nXdndSelection ) in getPasteDataTypes()
1336 else if( ! getPasteData( selection, m_nTARGETSAtom, aAtoms ) ) in getPasteDataTypes()
1359 pFlavors->MimeType = convertTypeFromNative( *pAtoms, selection, nFormat ); in getPasteDataTypes()
1414 it = m_aSelections.find( selection ); in getPasteDataTypes()
1441 …Manager::getPasteDataTypes( %s ) = %s\n", OUStringToOString( getString( selection ), RTL_TEXTENCOD… in getPasteDataTypes()
1452 PixmapHolder* SelectionManager::getPixmapHolder( Atom selection ) in getPixmapHolder() argument
1454 std::hash_map< Atom, Selection* >::const_iterator it = m_aSelections.find( selection ); in getPixmapHolder()
1472 Atom selection ) in sendData() argument
1479 PixmapHolder* pPixmap = getPixmapHolder( selection ); in sendData()
1497 … bool bConverted = convertData( pAdaptor->getTransferable(), target, selection, nFormat, aData ); in sendData()
1503 pPixmap = getPixmapHolder( selection ); in sendData()
1535 pPixmap = getPixmapHolder( selection ); in sendData()
1567 bool bConverted = convertData( pAdaptor->getTransferable(), target, selection, nFormat, aData ); in sendData()
1625 …OUStringToOString( convertTypeFromNative( target, selection, nFormat ), RTL_TEXTENCODING_ISO_8859_… in sendData()
1637 OUStringToOString( getString( rRequest.selection ), RTL_TEXTENCODING_ISO_8859_1 ).getStr(), in handleSelectionRequest()
1648 aNotify.xselection.selection = rRequest.selection; in handleSelectionRequest()
1653 SelectionAdaptor* pAdaptor = getAdaptor( rRequest.selection ); in handleSelectionRequest()
1656 XGetSelectionOwner( m_pDisplay, rRequest.selection ) == m_aWindow ) in handleSelectionRequest()
1669 getNativeTypeList( aFlavors, aConversions, rRequest.selection ); in handleSelectionRequest()
1688 long nTimeStamp = (long)m_aSelections[rRequest.selection]->m_nOrigTimestamp; in handleSelectionRequest()
1749 …ol bSuccess = sendData( pAdaptor, rRequest.requestor, pAtoms[i], pAtoms[i+1], rRequest.selection ); in handleSelectionRequest()
1794 …= sendData( pAdaptor, rRequest.requestor, rRequest.target, rRequest.property, rRequest.selection ); in handleSelectionRequest()
1809 if( rRequest.selection == XA_PRIMARY && in handleSelectionRequest()
2067 OUString aSelection( getString( rNotify.selection ) ); in handleSelectionNotify()
2080 m_aSelections.find( rNotify.selection ); in handleSelectionNotify()
3659 …OUStringToOString( getString( rEvent.xselectionclear.selection ), RTL_TEXTENCODING_ISO_8859_1 ).ge… in handleXEvent()
3662 SelectionAdaptor* pAdaptor = getAdaptor( rEvent.xselectionclear.selection ); in handleXEvent()
3663 …ash_map< Atom, Selection* >::iterator it( m_aSelections.find( rEvent.xselectionclear.selection ) ); in handleXEvent()
3927 void SelectionManager::registerHandler( Atom selection, SelectionAdaptor& rAdaptor ) in registerHandler() argument
3933 pNewSelection->m_aAtom = selection; in registerHandler()
3934 m_aSelections[ selection ] = pNewSelection; in registerHandler()
3939 void SelectionManager::deregisterHandler( Atom selection ) in deregisterHandler() argument
3944 m_aSelections.find( selection ); in deregisterHandler()