#include <stdio.h>#include <string.h>#include <stdlib.h>#include <sys/types.h>#include <errno.h>#include <string>#include <glib.h>#include "xap_Module.h"#include "xap_App.h"#include "xap_Frame.h"#include "fv_View.h"#include "fl_DocLayout.h"#include "ev_EditMethod.h"#include "ie_imp.h"#include "ie_exp.h"#include "ie_types.h"#include "ap_Convert.h"#include "ap_EditMethods.h"#include "ev_EditBits.h"#include "Presentation.h"#include "ap_LoadBindings.h"#include "ev_NamedVirtualKey.h"#include "ut_bytebuf.h"#include "ap_Menu_Id.h"#include "ev_Menu_Actions.h"#include "ev_Menu.h"#include "ev_Menu_Layouts.h"#include "ev_Menu_Labels.h"#include "xap_Menu_Layouts.h"#include "gr_Graphics.h"#include "gr_DrawArgs.h"#include "fp_Page.h"#include "gr_Painter.h"| #define ABI_BUILTIN_FAR_CALL ABI_FAR_CALL |
| #define RES_TO_STATUS | ( | a | ) | ((a) ? 0 : -1) |
| #define USE_PIXMAP 0 |
| ABI_BUILTIN_FAR_CALL int abi_plugin_register | ( | XAP_ModuleInfo * | mi | ) |
Register the OpenDocument plugin.
References XAP_ModuleInfo::author, XAP_ModuleInfo::desc, XAP_ModuleInfo::name, Presentation_registerMethod(), XAP_ModuleInfo::usage, and XAP_ModuleInfo::version.
| ABI_BUILTIN_FAR_CALL int abi_plugin_unregister | ( | XAP_ModuleInfo * | mi | ) |
Unregister the OpenDocument plugin.
References XAP_ModuleInfo::author, XAP_ModuleInfo::desc, XAP_ModuleInfo::name, Presentation_RemoveFromMethods(), XAP_ModuleInfo::usage, and XAP_ModuleInfo::version.
| static bool Presentation_context | ( | AV_View * | v, | |
| EV_EditMethodCallData * | d | |||
| ) | [static] |
References GR_Graphics::allCarets(), AllCarets::disable(), XAP_Menu_Factory::FindContextMenu(), XAP_App::getApp(), FV_View::getGraphics(), XAP_App::getMenuFactory(), AV_View::getParentData(), EV_EditMethodCallData::m_xPos, EV_EditMethodCallData::m_yPos, XAP_Frame::nullUpdate(), XAP_Frame::runModalContextMenu(), and UT_DEBUGMSG.
Referenced by Presentation_registerMethod().
| static bool Presentation_end | ( | AV_View * | v, | |
| EV_EditMethodCallData * | d | |||
| ) | [static] |
References Presentation::end().
Referenced by Presentation_registerMethod().
| static bool Presentation_nextPage | ( | AV_View * | v, | |
| EV_EditMethodCallData * | d | |||
| ) | [static] |
References Presentation::showNextPage().
Referenced by Presentation_registerMethod().
| static bool Presentation_prevPage | ( | AV_View * | v, | |
| EV_EditMethodCallData * | d | |||
| ) | [static] |
References Presentation::showPrevPage().
Referenced by Presentation_registerMethod().
| static void Presentation_registerMethod | ( | ) | [static] |
References EV_Menu_ActionSet::addAction(), EV_EditMethodContainer::addEditMethod(), XAP_Menu_Factory::addNewLabel(), XAP_Menu_Factory::addNewMenuAfter(), XAP_Menu_Factory::addNewMenuBefore(), XAP_Menu_Factory::createContextMenu(), EV_MLF_Normal, XAP_App::getApp(), XAP_App::getEditMethodContainer(), XAP_App::getMenuActionSet(), XAP_App::getMenuFactory(), Presentation_context(), Presentation_end(), Presentation_nextPage(), Presentation_prevPage(), Presentation_start(), and UT_DEBUGMSG.
Referenced by abi_plugin_register().
| static void Presentation_RemoveFromMethods | ( | ) | [static] |
| static bool Presentation_start | ( | AV_View * | v, | |
| EV_EditMethodCallData * | d | |||
| ) | [static] |
References Presentation::start().
Referenced by Presentation_registerMethod().
XAP_Menu_Id endPresentationID [static] |
XAP_Menu_Id nextSlideID [static] |
| EV_EditMouseContext PresentationContextID = EV_EMC_EMBED |
XAP_Menu_Id presentationID [static] |
XAP_Menu_Id prevSlideID [static] |
UT_String sPresBindings[] [static] |
const char* szEndPresentation = "End Presentation" [static] |
const char* szNextSlide = "Next Slide" [static] |
const char* szPresentation = "Presentation" [static] |
const char* szPresentationStatus = "View the document in presentation mode" [static] |
const char* szPrevSlide = "Previous Slide" [static] |
1.7.1