/aoo42x/main/sc/source/core/data/ |
H A D | sheetevents.cxx | 38 if (nEvent<0 || nEvent>=SC_SHEETEVENT_COUNT) in GetEventName() 61 if (nEvent<0 || nEvent>=SC_SHEETEVENT_COUNT) in GetVbaSheetEventId() 77 return nVbaEventIds[nEvent]; in GetVbaSheetEventId() 104 for (sal_Int32 nEvent=0; nEvent<SC_SHEETEVENT_COUNT; ++nEvent) in Clear() local 123 for (sal_Int32 nEvent=0; nEvent<SC_SHEETEVENT_COUNT; ++nEvent) in operator =() local 125 mpScriptNames[nEvent] = new rtl::OUString(*rOther.mpScriptNames[nEvent]); in operator =() 134 if (nEvent<0 || nEvent>=SC_SHEETEVENT_COUNT) in GetScript() 141 return mpScriptNames[nEvent]; in GetScript() 147 if (nEvent<0 || nEvent>=SC_SHEETEVENT_COUNT) in SetScript() 159 delete mpScriptNames[nEvent]; in SetScript() [all …]
|
/aoo42x/main/sc/source/ui/unoobj/ |
H A D | eventuno.cxx | 67 for (sal_Int32 nEvent=0; nEvent<SC_SHEETEVENT_COUNT; ++nEvent) in lcl_GetEventFromName() local 69 return nEvent; in lcl_GetEventFromName() 84 sal_Int32 nEvent = lcl_GetEventFromName(aName); in replaceByName() local 85 if (nEvent < 0) in replaceByName() 119 aNewEvents.SetScript( nEvent, &aScript ); in replaceByName() 133 sal_Int32 nEvent = lcl_GetEventFromName(aName); in getByName() local 134 if (nEvent < 0) in getByName() 142 pScript = pEvents->GetScript(nEvent); in getByName() 165 for (sal_Int32 nEvent=0; nEvent<SC_SHEETEVENT_COUNT; ++nEvent) in getElementNames() local 166 aNames[nEvent] = ScSheetEvents::GetEventName(nEvent); in getElementNames() [all …]
|
/aoo42x/main/svtools/source/uno/ |
H A D | unoevent.cxx | 421 const sal_uInt16 nEvent, in replaceByName() argument 431 aItem.SetMacro(nEvent, rMacro); in replaceByName() 437 const sal_uInt16 nEvent ) in getByName() argument 444 if( rItem.HasMacro( nEvent ) ) in getByName() 445 rMacro = rItem.GetMacro(nEvent); in getByName() 507 const sal_uInt16 nEvent, in replaceByName() argument 515 sal_Int16 nIndex = getIndex(nEvent); in replaceByName() 526 const sal_uInt16 nEvent ) in getByName() argument 581 replaceByName(nEvent, *pMacro); in copyMacrosFromTable() 592 if (hasByName(nEvent)) in copyMacrosIntoTable() [all …]
|
/aoo42x/main/svtools/inc/svtools/ |
H A D | imapobj.hxx | 137 inline const SvxMacro& GetEvent( sal_uInt16 nEvent ) const; 138 inline sal_Bool HasEvent( sal_uInt16 nEvent ) const; 139 void SetEvent( sal_uInt16 nEvent, const SvxMacro& ); 140 inline sal_Bool DelEvent( sal_uInt16 nEvent ); 143 inline sal_Bool IMapObject::HasEvent( sal_uInt16 nEvent ) const in HasEvent() 145 return aEventList.IsKeyValid( nEvent ); in HasEvent() 147 inline const SvxMacro& IMapObject::GetEvent( sal_uInt16 nEvent ) const in GetEvent() 149 return *(aEventList.Get( nEvent )); in GetEvent() 151 inline sal_Bool IMapObject::DelEvent( sal_uInt16 nEvent ) in DelEvent() argument 153 SvxMacro *pMacro = aEventList.Remove( nEvent ); in DelEvent()
|
H A D | unoevent.hxx | 149 const sal_uInt16 nEvent, /// item ID of event 160 const sal_uInt16 nEvent ) 224 const sal_uInt16 nEvent, /// item ID of event 235 const sal_uInt16 nEvent ) /// item ID of event 282 const sal_uInt16 nEvent, /// item ID of event 293 const sal_uInt16 nEvent ) /// item ID of event 305 const sal_uInt16 nEvent ) const /// item ID of event
|
/aoo42x/main/svl/inc/svl/ |
H A D | macitem.hxx | 170 inline const SvxMacro& GetMacro( sal_uInt16 nEvent ) const; 171 inline sal_Bool HasMacro( sal_uInt16 nEvent ) const; 172 void SetMacro( sal_uInt16 nEvent, const SvxMacro& ); 173 inline sal_Bool DelMacro( sal_uInt16 nEvent ); 190 inline sal_Bool SvxMacroItem::HasMacro( sal_uInt16 nEvent ) const in HasMacro() 192 return aMacroTable.IsKeyValid( nEvent ); in HasMacro() 194 inline const SvxMacro& SvxMacroItem::GetMacro( sal_uInt16 nEvent ) const in GetMacro() 196 return *(aMacroTable.Get(nEvent)); in GetMacro() 198 inline sal_Bool SvxMacroItem::DelMacro( sal_uInt16 nEvent ) in DelMacro() argument 200 SvxMacro *pMacro = aMacroTable.Remove( nEvent ); in DelMacro()
|
/aoo42x/main/vcl/source/app/ |
H A D | svapp.cxx | 850 VclWindowEvent aEvent( pWin, nEvent, pData ); in ImplCallEventListeners() 910 VclWindowEvent aEvent( pWin, nEvent, (void *) pKeyEvent ); in HandleKey() 991 sal_uLong nEvent; in IMPL_STATIC_LINK_NOINSTANCE() local 997 nEvent = SALEVENT_EXTERNALMOUSEMOVE; in IMPL_STATIC_LINK_NOINSTANCE() 1002 nEvent = SALEVENT_EXTERNALMOUSEBUTTONDOWN; in IMPL_STATIC_LINK_NOINSTANCE() 1007 nEvent = SALEVENT_EXTERNALMOUSEBUTTONUP; in IMPL_STATIC_LINK_NOINSTANCE() 1012 nEvent = SALEVENT_EXTERNALKEYINPUT; in IMPL_STATIC_LINK_NOINSTANCE() 1017 nEvent = SALEVENT_EXTERNALKEYUP; in IMPL_STATIC_LINK_NOINSTANCE() 1022 nEvent = 0; in IMPL_STATIC_LINK_NOINSTANCE() 1096 PostUserEvent( nEventId, nEvent, pEventData ); in PostUserEvent() [all …]
|
/aoo42x/main/svx/source/items/ |
H A D | hlnkitem.cxx | 316 void SvxHyperlinkItem::SetMacro( sal_uInt16 nEvent, const SvxMacro& rMacro ) in SetMacro() argument 318 if( nEvent < EVENT_SFX_START ) in SetMacro() 320 switch( nEvent ) in SetMacro() 323 nEvent = SFX_EVENT_MOUSEOVER_OBJECT; in SetMacro() 326 nEvent = SFX_EVENT_MOUSECLICK_OBJECT; in SetMacro() 329 nEvent = SFX_EVENT_MOUSEOUT_OBJECT; in SetMacro() 338 if( 0 != ( pOldMacro = pMacroTable->Get( nEvent )) ) in SetMacro() 341 pMacroTable->Replace( nEvent, new SvxMacro( rMacro ) ); in SetMacro() 344 pMacroTable->Insert( nEvent, new SvxMacro( rMacro ) ); in SetMacro()
|
/aoo42x/main/extensions/source/scanner/ |
H A D | twain.cxx | 325 ULONG nEvent = TWAIN_EVENT_QUIT; in ImplHandleMsg() local 333 nEvent = TWAIN_EVENT_XFER; in ImplHandleMsg() 336 ImplFallback( nEvent ); in ImplHandleMsg() 424 void ImpTwain::ImplFallback( ULONG nEvent ) in ImplFallback() argument 426 Application::PostUserEvent( LINK( this, ImpTwain, ImplFallbackHdl ), (void*) nEvent ); in ImplFallback() 433 const ULONG nEvent = (ULONG) pData; in IMPL_LINK() local 486 if( nEvent != TWAIN_EVENT_NONE ) in IMPL_LINK() 487 aNotifyLink.Call( (void*) nEvent ); in IMPL_LINK() 495 ImplFallback( nEvent ); in IMPL_LINK()
|
H A D | scanwin.cxx | 117 void ImplFallback( ULONG nEvent ); 377 ULONG nEvent = TWAIN_EVENT_QUIT; in ImplHandleMsg() local 385 nEvent = TWAIN_EVENT_XFER; in ImplHandleMsg() 388 ImplFallback( nEvent ); in ImplHandleMsg() 465 void ImpTwain::ImplFallback( ULONG nEvent ) in ImplFallback() argument 474 const ULONG nEvent = (ULONG) pData; in IMPL_LINK() local 530 if( nEvent != TWAIN_EVENT_NONE ) in IMPL_LINK() 531 aNotifyLink.Call( (void*) nEvent ); in IMPL_LINK() 539 ImplFallback( nEvent ); in IMPL_LINK() 821 IMPL_LINK( Twain, ImpNotifyHdl, ImpTwain*, nEvent ) in IMPL_LINK() argument [all …]
|
/aoo42x/main/sw/source/filter/html/ |
H A D | htmlform.cxx | 854 sal_Int32 nEvent = 0; in lcl_html_setEvents() local 1350 sal_uInt16 nEvent = 0; in NewForm() local 1524 sal_uInt16 nEvent = 0; in InsertInput() local 1599 nEvent = HTML_ET_ONCLICK; in InsertInput() 1606 nEvent = HTML_ET_ONCHANGE; in InsertInput() 1613 nEvent = HTML_ET_ONSELECT; in InsertInput() 2016 sal_uInt16 nEvent = 0; in NewTextArea() local 2067 nEvent = HTML_ET_ONCLICK; in NewTextArea() 2074 nEvent = HTML_ET_ONCHANGE; in NewTextArea() 2307 sal_uInt16 nEvent = 0; in NewSelect() local [all …]
|
H A D | htmlgrin.cxx | 341 sal_uInt16 nEvent = 0; in InsertImage() local 407 nEvent = SVX_EVENT_IMAGE_LOAD; in InsertImage() 413 nEvent = SVX_EVENT_IMAGE_ABORT; in InsertImage() 419 nEvent = SVX_EVENT_IMAGE_ERROR; in InsertImage() 430 aMacroItem.SetMacro( nEvent, in InsertImage() 1070 sal_uInt16 nEvent = 0; in NewAnchor() local 1109 nEvent = SFX_EVENT_MOUSECLICK_OBJECT; in NewAnchor() 1115 nEvent = SFX_EVENT_MOUSEOVER_OBJECT; in NewAnchor() 1121 nEvent = SFX_EVENT_MOUSEOUT_OBJECT; in NewAnchor() 1132 aMacroTbl.Insert( nEvent, in NewAnchor()
|
/aoo42x/main/sw/source/core/unocore/ |
H A D | unoevent.cxx | 163 sal_uInt16 nEvent = mpSupportedMacroItems[i].mnEvent; in copyMacrosFromINetFmt() local 164 const SvxMacro* aMacro = aFmt.GetMacro(nEvent); in copyMacrosFromINetFmt() 166 replaceByName(nEvent, *aMacro); in copyMacrosFromINetFmt() 175 sal_uInt16 nEvent = mpSupportedMacroItems[i].mnEvent; in copyMacrosIntoINetFmt() local 176 if (hasByName(nEvent)) in copyMacrosIntoINetFmt() 179 getByName(aMacro, nEvent); in copyMacrosIntoINetFmt() 180 aFmt.SetMacro(nEvent, aMacro); in copyMacrosIntoINetFmt()
|
/aoo42x/main/sc/inc/ |
H A D | sheetevents.hxx | 51 const rtl::OUString* GetScript(sal_Int32 nEvent) const; 52 void SetScript(sal_Int32 nEvent, const rtl::OUString* pNew); 54 static rtl::OUString GetEventName(sal_Int32 nEvent); 55 static sal_Int32 GetVbaSheetEventId(sal_Int32 nEvent); 56 static sal_Int32 GetVbaDocumentEventId(sal_Int32 nEvent);
|
/aoo42x/main/vcl/inc/vcl/ |
H A D | svapp.hxx | 248 virtual void UserEvent( sal_uLong nEvent, void* pEventData ); 324 … static void ImplCallEventListeners( sal_uLong nEvent, Window* pWin, void* pData ); 326 static sal_Bool HandleKey( sal_uLong nEvent, Window *pWin, KeyEvent* pKeyEvent ); 328 static sal_uLong PostKeyEvent( sal_uLong nEvent, Window *pWin, KeyEvent* pKeyEvent ); 329 …static sal_uLong PostMouseEvent( sal_uLong nEvent, Window *pWin, MouseEvent* pMouseEven… 333 static sal_uLong PostUserEvent( sal_uLong nEvent, void* pEventData = NULL ); 335 …static sal_Bool PostUserEvent( sal_uLong& rEventId, sal_uLong nEvent, void* pEventData…
|
/aoo42x/main/sw/source/core/docnode/ |
H A D | swbaslnk.cxx | 120 sal_uInt16 nEvent = 0; in DataChanged() local 123 case sfx2::LinkManager::STATE_LOAD_OK: nEvent = SVX_EVENT_IMAGE_LOAD; break; in DataChanged() 124 case sfx2::LinkManager::STATE_LOAD_ERROR: nEvent = SVX_EVENT_IMAGE_ERROR; break; in DataChanged() 125 case sfx2::LinkManager::STATE_LOAD_ABORT: nEvent = SVX_EVENT_IMAGE_ABORT; break; in DataChanged() 129 if( nEvent && 0 != ( pFmt = pCntntNode->GetFlyFmt() )) in DataChanged() 133 pDoc->CallEvent( nEvent, aCallEvent ); in DataChanged()
|
/aoo42x/main/cui/source/customize/ |
H A D | macropg.cxx | 783 for(sal_Int32 nEvent = 0; nEvent < nEventCount; ++nEvent ) in InitAndSetHandler() local 788 …m_appEventsHash[ eventNames[nEvent] ] = GetPairFromAny( m_xAppEvents->getByName( eventNames[nEvent… in InitAndSetHandler() 797 for(sal_Int32 nEvent = 0; nEvent < nEventCount; ++nEvent ) in InitAndSetHandler() local 801 …m_docEventsHash[ eventNames[nEvent] ] = GetPairFromAny( m_xDocEvents->getByName( eventNames[nEvent… in InitAndSetHandler()
|
/aoo42x/main/vcl/aqua/source/window/ |
H A D | salframe.cxx | 625 sal_uInt16 nEvent = 0; in SetWindowState() local 629 nEvent = SALEVENT_MOVE; in SetWindowState() 635 nEvent = (nEvent == SALEVENT_MOVE) ? SALEVENT_MOVERESIZE : SALEVENT_RESIZE; in SetWindowState() 638 if( nEvent ) in SetWindowState() 639 CallCallback( nEvent, NULL ); in SetWindowState() 1363 sal_uInt16 nEvent = 0; in SetPosSize() local 1371 nEvent = SALEVENT_MOVE; in SetPosSize() 1377 nEvent = (nEvent == SALEVENT_MOVE) ? SALEVENT_MOVERESIZE : SALEVENT_RESIZE; in SetPosSize() 1432 if (nEvent) in SetPosSize() 1433 CallCallback(nEvent, NULL); in SetPosSize()
|
/aoo42x/main/sw/source/core/txtnode/ |
H A D | fmtatr2.cxx | 314 void SwFmtINetFmt::SetMacro( sal_uInt16 nEvent, const SvxMacro& rMacro ) in SetMacro() argument 320 if( 0 != ( pOldMacro = mpMacroTbl->Get( nEvent )) ) in SetMacro() 323 mpMacroTbl->Replace( nEvent, new SvxMacro( rMacro ) ); in SetMacro() 326 mpMacroTbl->Insert( nEvent, new SvxMacro( rMacro ) ); in SetMacro() 331 const SvxMacro* SwFmtINetFmt::GetMacro( sal_uInt16 nEvent ) const in GetMacro() 334 if( mpMacroTbl && mpMacroTbl->IsKeyValid( nEvent ) ) in GetMacro() 335 pRet = mpMacroTbl->Get( nEvent ); in GetMacro()
|
/aoo42x/main/sfx2/source/bastyp/ |
H A D | sfxhtml.cxx | 138 sal_uInt16 nEvent = 0; in ParseAreaOptions() local 168 nEvent = nEventMouseOver; in ParseAreaOptions() 174 nEvent = nEventMouseOut; in ParseAreaOptions() 177 if( nEvent ) in ParseAreaOptions() 183 aMacroTbl.Insert( nEvent, in ParseAreaOptions()
|
/aoo42x/main/sfx2/inc/sfx2/ |
H A D | event.hxx | 132 sal_Int32 nEvent, in SfxPrintingHint() argument 141 , mnPrintableState( nEvent ) in SfxPrintingHint() 145 SfxPrintingHint( sal_Int32 nEvent ) in SfxPrintingHint() argument 147 , mnPrintableState( nEvent ) in SfxPrintingHint()
|
/aoo42x/main/vcl/unx/headless/ |
H A D | svpinst.hxx | 97 SalUserEvent( const SalFrame* pFrame, void* pData, sal_uInt16 nEvent = SALEVENT_USEREVENT ) in SalUserEvent() 100 m_nEvent( nEvent ) in SalUserEvent() 117 void PostEvent( const SalFrame* pFrame, void* pData, sal_uInt16 nEvent ); 118 void CancelEvent( const SalFrame* pFrame, void* pData, sal_uInt16 nEvent );
|
/aoo42x/main/sw/source/ui/uno/ |
H A D | dlelstnr.cxx | 139 sal_Bool bIsSpellWrong = 0 != (rLngSvcEvent.nEvent & SPELL_WRONG_WORDS_AGAIN); in processLinguServiceEvent() 140 sal_Bool bIsSpellAll = 0 != (rLngSvcEvent.nEvent & SPELL_CORRECT_WORDS_AGAIN); in processLinguServiceEvent() 141 if (0 != (rLngSvcEvent.nEvent & PROOFREAD_AGAIN)) in processLinguServiceEvent() 147 if (rLngSvcEvent.nEvent & HYPHENATE_AGAIN) in processLinguServiceEvent()
|
/aoo42x/main/svl/source/items/ |
H A D | macitem.cxx | 272 void SvxMacroItem::SetMacro( sal_uInt16 nEvent, const SvxMacro& rMacro ) in SetMacro() argument 275 if ( 0 != (pMacro=aMacroTable.Get(nEvent)) ) in SetMacro() 278 aMacroTable.Replace(nEvent, new SvxMacro( rMacro ) ); in SetMacro() 281 aMacroTable.Insert(nEvent, new SvxMacro( rMacro ) ); in SetMacro()
|
/aoo42x/main/linguistic/source/ |
H A D | dlistimp.cxx | 177 DBG_ASSERT( !(rDicEvent.nEvent & in processDictionaryEvent() 189 if ((rDicEvent.nEvent & DictionaryEventFlags::ADD_ENTRY) && xDic->isActive()) in processDictionaryEvent() 193 if ((rDicEvent.nEvent & DictionaryEventFlags::DEL_ENTRY) && xDic->isActive()) in processDictionaryEvent() 197 if ((rDicEvent.nEvent & DictionaryEventFlags::ENTRIES_CLEARED) && xDic->isActive()) in processDictionaryEvent() 201 if ((rDicEvent.nEvent & DictionaryEventFlags::CHG_LANGUAGE) && xDic->isActive()) in processDictionaryEvent() 207 if ((rDicEvent.nEvent & DictionaryEventFlags::ACTIVATE_DIC)) in processDictionaryEvent() 211 if ((rDicEvent.nEvent & DictionaryEventFlags::DEACTIVATE_DIC)) in processDictionaryEvent()
|