Kaydet (Commit) 665114b0 authored tarafından Daniel Vogelheim's avatar Daniel Vogelheim

- added: graphics load/load cancel/load error event IDs to list of known IDs

- fixed: association event IDs to event names
üst 560111ef
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: unoevent.cxx,v $ * $RCSfile: unoevent.cxx,v $
* *
* $Revision: 1.5 $ * $Revision: 1.6 $
* *
* last change: $Author: dvo $ $Date: 2001-01-04 17:39:20 $ * last change: $Author: dvo $ $Date: 2001-01-29 16:56:19 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -94,6 +94,10 @@ ...@@ -94,6 +94,10 @@
#include <sfx2/sfx.hrc> #include <sfx2/sfx.hrc>
#endif #endif
#ifndef _SVX_SVXIDS_HRC
#include <svx/svxids.hrc>
#endif
#ifndef _FMTINFMT_HXX #ifndef _FMTINFMT_HXX
#include "fmtinfmt.hxx" #include "fmtinfmt.hxx"
#endif #endif
...@@ -171,47 +175,48 @@ const USHORT aKnownEventIDs[] = ...@@ -171,47 +175,48 @@ const USHORT aKnownEventIDs[] =
SFX_EVENT_TOGGLEFULLSCREENMODE, SFX_EVENT_TOGGLEFULLSCREENMODE,
SFX_EVENT_SAVEDOCDONE, SFX_EVENT_SAVEDOCDONE,
SFX_EVENT_SAVEASDOCDONE, SFX_EVENT_SAVEASDOCDONE,
SVX_EVENT_IMAGE_LOAD,
// ??? graphics load faulty, terminated, success SVX_EVENT_IMAGE_ABORT,
SVX_EVENT_IMAGE_ERROR,
0 0
}; };
const sal_Char* aKnownEventNames[] = const sal_Char* aKnownEventNames[] =
{ {
"OnSelect", "OnSelect", // SW_EVENT_OBJECT_SELECT
"OnInsertStart", "OnInsertStart", // SW_EVENT_START_INS_GLOSSARY
"OnInsertDone", "OnInsertDone", // SW_EVENT_END_INS_GLOSSARY
"OnMailMerge", "OnMailMerge", // SW_EVENT_MAIL_MERGE
"OnAlphaCharInput", "OnAlphaCharInput", // SW_EVENT_FRM_KEYINPUT_ALPHA
"OnNonAlphaCharInput", "OnNonAlphaCharInput", // SW_EVENT_FRM_KEYINPUT_NOALPHA
"OnResize", "OnResize", // SW_EVENT_FRM_RESIZE
"OnMove", "OnMove", // SW_EVENT_FRM_MOVE
"PageCountChange", "PageCountChange", // SW_EVENT_PAGE_COUNT
"OnMouseOver", "OnMouseOver", // SFX_EVENT_MOUSEOVER_OBJECT
"OnClick", "OnClick", // SFX_EVENT_MOUSECLICK_OBJECT
"OnMouseOut", "OnMouseOut", // SFX_EVENT_MOUSEOUT_OBJECT
"OnLoadError", "OnLoad", // SFX_EVENT_OPENDOC,
"OnLoadCancel", "OnUnload", // SFX_EVENT_CLOSEDOC,
"OnLoadDone", "OnStartApp", // SFX_EVENT_STARTAPP,
"OnLoad", "OnCloseApp", // SFX_EVENT_CLOSEAPP,
"OnUnload", "OnNew", // SFX_EVENT_CREATEDOC,
"OnStartApp", "OnSave", // SFX_EVENT_SAVEDOC,
"OnCloseApp", "OnSaveAs", // SFX_EVENT_SAVEASDOC,
"OnNew", "OnFocus", // SFX_EVENT_ACTIVATEDOC,
"OnSave", "OnUnfocus", // SFX_EVENT_DEACTIVATEDOC,
"OnSaveAs", "OnPrint", // SFX_EVENT_PRINTDOC,
"OnFocus", "OnError", // SFX_EVENT_ONERROR,
"OnUnfocus", "OnLoadFinished", // SFX_EVENT_LOADFINISHED,
"OnPrint", "OnSaveFinished", // SFX_EVENT_SAVEFINISHED,
"OnError", "OnModifyChanged", // SFX_EVENT_MODIFYCHANGED,
"OnLoadFinished", "OnPrepareUnload", // SFX_EVENT_PREPARECLOSEDOC,
"OnSaveFinished", "OnNewMail", // SFX_EVENT_NEWMESSAGE,
"OnModifyChanged", "OnToggleFullscreen", // SFX_EVENT_TOGGLEFULLSCREENMODE,
"OnPrepareUnload", "OnSaveDone", // SFX_EVENT_SAVEDOCDONE,
"OnNewMail", "OnSaveAsDone", // SFX_EVENT_SAVEASDOCDONE,
"OnToggleFullscreen", "OnLoadError", // SVX_EVENT_IMAGE_LOAD,
"OnSaveDone", "OnLoadCancel", // SVX_EVENT_IMAGE_ABORT,
"OnSaveAsDone", "OnLoadDone", // SVX_EVENT_IMAGE_ERROR,
NULL NULL
}; };
...@@ -227,7 +232,9 @@ const USHORT aGraphicEvents[] = ...@@ -227,7 +232,9 @@ const USHORT aGraphicEvents[] =
SFX_EVENT_MOUSEOVER_OBJECT, SFX_EVENT_MOUSEOVER_OBJECT,
SFX_EVENT_MOUSECLICK_OBJECT, SFX_EVENT_MOUSECLICK_OBJECT,
SFX_EVENT_MOUSEOUT_OBJECT, SFX_EVENT_MOUSEOUT_OBJECT,
// graphics load (faulty|terminated|successful) SVX_EVENT_IMAGE_LOAD,
SVX_EVENT_IMAGE_ABORT,
SVX_EVENT_IMAGE_ERROR,
0 0
}; };
...@@ -278,7 +285,9 @@ const USHORT aFrameStyleEvents[] = ...@@ -278,7 +285,9 @@ const USHORT aFrameStyleEvents[] =
SFX_EVENT_MOUSEOVER_OBJECT, SFX_EVENT_MOUSEOVER_OBJECT,
SFX_EVENT_MOUSECLICK_OBJECT, SFX_EVENT_MOUSECLICK_OBJECT,
SFX_EVENT_MOUSEOUT_OBJECT, SFX_EVENT_MOUSEOUT_OBJECT,
// graphics load (faulty|terminated|successful) SVX_EVENT_IMAGE_LOAD,
SVX_EVENT_IMAGE_ABORT,
SVX_EVENT_IMAGE_ERROR,
0 0
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment