#include "AbiLasemMathView.h"#include "pd_Document.h"#include "pp_Property.h"#include "pp_AttrProp.h"#include "ut_mbtowc.h"#include "gr_Painter.h"#include "gr_CairoGraphics.h"#include "xad_Document.h"#include "xap_Module.h"#include "ap_App.h"#include "ie_imp.h"#include "ie_impGraphic.h"#include "ut_assert.h"#include "ut_debugmsg.h"#include "xap_App.h"#include "xap_Frame.h"#include "fv_View.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 "ev_EditMethod.h"#include "xap_Menu_Layouts.h"#include "ie_exp.h"#include "ie_types.h"#include "xap_Dialog_Id.h"#include "ap_Dialog_Id.h"#include "xap_Dlg_FileOpenSaveAs.h"#include "xap_DialogFactory.h"#include "xap_Dlg_MessageBox.h"#include "ap_Strings.h"#include "ap_Dialog_Latex.h"#include "ie_math_convert.h"#include "ut_sleep.h"#include <goffice/goffice.h>#include <sys/types.h>#include <sys/stat.h>#include <unistd.h>#include <sys/wait.h>#include <signal.h>#include "ut_files.h"| cairo_status_t abi_CairoWrite | ( | UT_ByteBuf * | buf, | |
| unsigned char * | data, | |||
| unsigned int | length | |||
| ) |
References UT_ByteBuf::append().
| ABI_FAR_CALL int abi_plugin_register | ( | XAP_ModuleInfo * | mi | ) |
References AbiMathView_addToMenus(), XAP_App::getApp(), and XAP_App::registerEmbeddable().
| ABI_FAR_CALL int abi_plugin_unregister | ( | XAP_ModuleInfo * | mi | ) |
| static void AbiMathView_addToMenus | ( | ) | [static] |
References AbiMathView_FileInsert(), AbiMathView_LatexInsert(), AbiMathView_MenuEndEquation, AbiMathView_MenuLabelEquation, AbiMathView_MenuLabelFileInsert, AbiMathView_MenuLabelLatexInsert, AbiMathView_MenuTooltipEquation, AbiMathView_MenuTooltipFileInsert, AbiMathView_MenuTooltipLatexInsert, EV_Menu_ActionSet::addAction(), EV_EditMethodContainer::addEditMethod(), XAP_Menu_Factory::addNewLabel(), XAP_Menu_Factory::addNewMenuAfter(), endEquationID, EV_MLF_BeginSubMenu, EV_MLF_EndSubMenu, EV_MLF_Normal, FromFileID, FromLatexID, XAP_App::getApp(), XAP_App::getEditMethodContainer(), XAP_App::getMenuActionSet(), XAP_App::getMenuFactory(), XAP_App::getStringSet(), XAP_StringSet::getValue(), newEquationID, XAP_App::rebuildMenus(), and UT_DEBUGMSG.
Referenced by abi_plugin_register().
| bool AbiMathView_FileInsert | ( | AV_View * | v, | |
| EV_EditMethodCallData * | d | |||
| ) | [static] |
References FV_View::cmdInsertLatexMath(), FV_View::cmdInsertMathML(), PD_Document::createDataItem(), DELETEP, GR_LasemMathManager::EntityTable(), XAP_App::getApp(), IE_Imp_MathML::getByteBuf(), XAP_Frame::getCurrentDoc(), XAP_Frame::getCurrentView(), XAP_App::getLastFocussedFrame(), FV_View::getPoint(), PD_Document::getUID(), UT_UniqueId::Image, IE_Imp::importFile(), s_AskForMathMLPathname(), s_CouldNotLoadFileMessage(), UT_DEBUGMSG, UT_OK, UT_UTF8String_sprintf(), and UT_UTF8String::utf8_str().
Referenced by AbiMathView_addToMenus().
| bool AbiMathView_LatexInsert | ( | AV_View * | v, | |
| EV_EditMethodCallData * | d | |||
| ) | [static] |
References XAP_Dialog_Modeless::activate(), AP_DIALOG_ID_LATEX, XAP_App::getApp(), XAP_App::getDialogFactory(), AV_View::getParentData(), XAP_Dialog_Modeless::isRunning(), XAP_Frame::raise(), XAP_DialogFactory::requestDialog(), XAP_Dialog_Modeless::runModeless(), and UT_return_val_if_fail.
Referenced by AbiMathView_addToMenus().
| static void AbiMathView_removeFromMenus | ( | ) | [static] |
References DELETEP, endEquationID, ev_EditMethod_lookup(), FromFileID, FromLatexID, XAP_App::getApp(), XAP_App::getEditMethodContainer(), XAP_App::getMenuFactory(), newEquationID, XAP_App::rebuildMenus(), EV_EditMethodContainer::removeEditMethod(), and XAP_Menu_Factory::removeMenuItem().
Referenced by abi_plugin_unregister().
| void itex2MML_free_string | ( | char * | str | ) |
Referenced by lsm_itex_free_mathml_buffer(), and lsm_itex_to_mathml().
| char* itex2MML_parse | ( | const char * | buffer, | |
| unsigned long | length | |||
| ) |
Referenced by lsm_itex_to_mathml().
| static void lsm_itex_free_mathml_buffer | ( | char * | mathml | ) | [static] |
References itex2MML_free_string().
| static char* lsm_itex_to_mathml | ( | const char * | itex, | |
| gsize | size | |||
| ) | [static] |
References itex2MML_free_string(), and itex2MML_parse().
| static bool s_AskForMathMLPathname | ( | XAP_Frame * | pFrame, | |
| std::string & | ppPathname | |||
| ) | [static] |
References XAP_Dialog_FileOpenSaveAs::getAnswer(), XAP_Frame::getDialogFactory(), XAP_Dialog_FileOpenSaveAs::getFileType(), XAP_Dialog_FileOpenSaveAs::getPathname(), XAP_Frame::raise(), XAP_DialogFactory::releaseDialog(), XAP_DialogFactory::requestDialog(), XAP_Dialog_FileOpenSaveAs::runModal(), XAP_Dialog_FileOpenSaveAs::setCurrentPathname(), XAP_Dialog_FileOpenSaveAs::setSuggestFilename(), type, UT_ASSERT_HARMLESS, UT_DEBUGMSG, UT_return_val_if_fail, UT_SHOULD_NOT_HAPPEN, XAP_DIALOG_FILEOPENSAVEAS_FILE_TYPE_AUTO, and XAP_DIALOG_ID_INSERTMATHML.
Referenced by AbiMathView_FileInsert().
| XAP_Dialog_MessageBox::tAnswer s_CouldNotLoadFileMessage | ( | XAP_Frame * | pFrame, | |
| const char * | pNewFile, | |||
| UT_Error | errorCode | |||
| ) |
References XAP_Dialog_MessageBox::a_OK, XAP_Dialog_MessageBox::b_O, and XAP_Frame::showMessageBox().
const char* AbiMathView_MenuEndEquation = "EndEquation" [static] |
Referenced by AbiMathView_addToMenus().
const char* AbiMathView_MenuLabelEquation = NULL [static] |
Referenced by AbiMathView_addToMenus().
const char* AbiMathView_MenuLabelFileInsert = NULL [static] |
Referenced by AbiMathView_addToMenus().
const char* AbiMathView_MenuLabelLatexInsert = NULL [static] |
Referenced by AbiMathView_addToMenus().
const char* AbiMathView_MenuTooltipEquation = NULL [static] |
Referenced by AbiMathView_addToMenus().
const char* AbiMathView_MenuTooltipFileInsert = NULL [static] |
Referenced by AbiMathView_addToMenus().
const char* AbiMathView_MenuTooltipLatexInsert = NULL [static] |
Referenced by AbiMathView_addToMenus().
XAP_Menu_Id endEquationID [static] |
Referenced by AbiMathView_addToMenus(), and AbiMathView_removeFromMenus().
XAP_Menu_Id FromFileID [static] |
Referenced by AbiMathView_addToMenus(), and AbiMathView_removeFromMenus().
XAP_Menu_Id FromLatexID [static] |
Referenced by AbiMathView_addToMenus(), and AbiMathView_removeFromMenus().
XAP_Menu_Id newEquationID [static] |
Referenced by AbiMathView_addToMenus(), and AbiMathView_removeFromMenus().
GR_LasemMathManager* pMathManager = NULL [static] |
1.7.1