#include <xap_App.h>
Classes | |
struct | modeless_pair |
Public Types | |
enum | BidiSupportType { BIDI_SUPPORT_NONE, BIDI_SUPPORT_GUI, BIDI_SUPPORT_FULL } |
Public Member Functions | |
XAP_App (const char *szAppName) | |
virtual | ~XAP_App () |
XAP_AppImpl * | getImpl () |
virtual const char * | getDefaultEncoding () const =0 |
virtual bool | initialize (const char *szKeyBindingsKey, const char *szKeyBindingsDefaultValue) |
virtual bool | rememberFrame (XAP_Frame *pFrame, XAP_Frame *pCloneOf=0) |
virtual bool | forgetFrame (XAP_Frame *pFrame) |
virtual bool | forgetClones (XAP_Frame *pFrame) |
virtual bool | getClones (UT_GenericVector< XAP_Frame * > *pvClonesCopy, XAP_Frame *pFrame) |
virtual XAP_Frame * | newFrame ()=0 |
virtual void | reallyExit ()=0 |
bool | updateClones (XAP_Frame *pFrame) |
virtual void | notifyFrameCountChange () |
UT_sint32 | getFrameCount () const |
XAP_Frame * | getFrame (UT_sint32 ndx) const |
UT_sint32 | findFrame (XAP_Frame *pFrame) const |
UT_sint32 | findFrame (const char *szFilename) const |
void | enumerateFrames (UT_Vector &v) const |
std::list< AD_Document * > | getDocuments (const AD_Document *pExclude=0) const |
void | enumerateDocuments (UT_Vector &v, const AD_Document *pExclude) const |
const char * | getApplicationTitleForTitleBar () const |
const char * | getApplicationName () const |
virtual void | rebuildMenus (void) |
EV_EditMethodContainer * | getEditMethodContainer () const |
EV_EditBindingMap * | getBindingMap (const char *szName) |
XAP_BindingSet * | getBindingSet (void) |
const EV_Menu_ActionSet * | getMenuActionSet () const |
const EV_Toolbar_ActionSet * | getToolbarActionSet () const |
const XAP_EncodingManager * | getEncodingManager () const |
EV_Menu_ActionSet * | getMenuActionSet () |
EV_Toolbar_ActionSet * | getToolbarActionSet () |
bool | addWordToDict (const UT_UCSChar *pWord, UT_uint32 len) |
bool | isWordInDict (const UT_UCSChar *pWord, UT_uint32 len) const |
void | suggestWord (UT_GenericVector< UT_UCSChar * > *pVecSuggestions, const UT_UCSChar *pWord, UT_uint32 lenWord) |
XAP_Prefs * | getPrefs () const |
bool | getPrefsValue (const gchar *szKey, const gchar **pszValue) const |
bool | getPrefsValue (const UT_String &stKey, UT_String &stValue) const |
bool | getPrefsValueBool (const gchar *szKey, bool *pbValue) const |
virtual XAP_DialogFactory * | getDialogFactory ()=0 |
virtual XAP_Toolbar_ControlFactory * | getControlFactory ()=0 |
virtual const XAP_StringSet * | getStringSet () const =0 |
virtual void | migrate (const char *oldName, const char *newName, const char *path) const |
virtual const char * | getUserPrivateDirectory () const =0 |
virtual const char * | getAbiSuiteLibDir () const |
virtual const char * | getAbiSuiteAppDir () const =0 |
virtual bool | findAbiSuiteLibFile (std::string &path, const char *filename, const char *subdir=0) |
virtual bool | findAbiSuiteAppFile (std::string &path, const char *filename, const char *subdir=0) |
virtual void | copyToClipboard (PD_DocumentRange *pDocRange, bool bUseClipboard=true)=0 |
virtual void | pasteFromClipboard (PD_DocumentRange *pDocRange, bool bUseClipboard, bool bHonorFormatting=true)=0 |
virtual bool | canPasteFromClipboard ()=0 |
virtual void | cacheCurrentSelection (AV_View *)=0 |
virtual void | addClipboardFmt (const char *) |
virtual void | deleteClipboardFmt (const char *) |
void | rememberFocussedFrame (void *pJustFocussedFrame) |
XAP_Frame * | getLastFocussedFrame () const |
XAP_Frame * | findValidFrame () const |
bool | safeCompare (XAP_Frame *lff, XAP_Frame *f) |
UT_sint32 | safefindFrame (XAP_Frame *f) const |
void | clearLastFocussedFrame () |
void | clearIdTable () |
bool | setDebugBool (void) |
bool | clearDebugBool (void) |
bool | isDebug (void) |
void | rememberModelessId (UT_sint32 id, XAP_Dialog_Modeless *pDialog) |
void | forgetModelessId (UT_sint32 id) |
bool | isModelessRunning (UT_sint32 id) |
XAP_Dialog_Modeless * | getModelessDialog (UT_sint32 id) |
void | closeModelessDlgs () |
void | notifyModelessDlgsOfActiveFrame (XAP_Frame *p_Frame) |
void | notifyModelessDlgsCloseFrame (XAP_Frame *p_Frame) |
virtual void | setViewSelection (AV_View *) |
virtual AV_View * | getViewSelection () |
virtual bool | setGeometry (UT_sint32 x, UT_sint32 y, UT_uint32 width, UT_uint32 height, UT_uint32 flags=0) |
virtual bool | getGeometry (UT_sint32 *x, UT_sint32 *y, UT_uint32 *width, UT_uint32 *height, UT_uint32 *flags=0) |
virtual void | parseAndSetGeometry (const char *string) |
XAP_Menu_Factory * | getMenuFactory (void) const |
XAP_Toolbar_Factory * | getToolbarFactory (void) const |
virtual BidiSupportType | theOSHasBidiSupport () const |
void | setEnableSmoothScrolling (bool b) |
bool | isSmoothScrollingEnabled (void) |
void | setBonoboRunning (void) |
bool | isBonoboRunning (void) const |
virtual void | getDefaultGeometry (UT_uint32 &, UT_uint32 &, UT_uint32 &) |
const UT_LangRecord * | getKbdLanguage () const |
void | setKbdLanguage (const char *pszLang) |
UT_UUIDGenerator * | getUUIDGenerator () const |
std::string | createUUIDString () const |
bool | openURL (const char *url) |
bool | openHelpURL (const char *url) |
UT_String | localizeHelpUrl (const char *pathBeforeLang, const char *pathAfterLang, const char *remoteURLbase) |
GR_GraphicsFactory * | getGraphicsFactory () const |
void | setDefaultGraphicsId (UT_uint32 i) |
GR_Graphics * | newGraphics (GR_AllocInfo &ai) const |
GR_Graphics * | newGraphics (UT_uint32 iClassId, GR_AllocInfo &ai) const |
virtual GR_Graphics * | newDefaultScreenGraphics () const =0 |
virtual UT_sint32 | setInputMode (const char *szName, bool bForce=false) |
const char * | getInputMode () const |
EV_EditEventMapper * | getEditEventMapper () const |
bool | addListener (AV_Listener *pListener, AV_ListenerId *pListenerId) |
bool | removeListener (AV_ListenerId listenerId) |
virtual bool | notifyListeners (AV_View *pView, const AV_ChangeMask hint, void *pPrivateData=NULL) |
bool | registerEmbeddable (GR_EmbedManager *pEmbed, const char *uid=NULL) |
bool | unRegisterEmbeddable (const char *uid) |
GR_EmbedManager * | getEmbeddableManager (GR_Graphics *pG, const char *szObjectType) |
XAP_Module * | getPlugin (const char *szPluginName) |
bool | saveState (bool bQuit) |
bool | retrieveState () |
virtual void | clearStateInfo () |
bool | getDisableDoubleBuffering () const |
void | setDisableDoubleBuffering (bool v) |
bool | getNoGUI () const |
void | setNoGUI (bool v) |
virtual void | catchSignals (int signum)=0 |
virtual void | saveRecoveryFiles ()=0 |
Static Public Member Functions | |
static const char * | getBuildId () |
static const char * | getBuildVersion () |
static const char * | getBuildOptions () |
static const char * | getBuildTarget () |
static const char * | getBuildCompileTime () |
static const char * | getBuildCompileDate () |
static const char * | getAbiSuiteHome () |
static XAP_App * | getApp () |
static const char * | findNearestFont (const char *pszFontFamily, const char *pszFontStyle, const char *pszFontVariant, const char *pszFontWeight, const char *pszFontStretch, const char *pszFontSize, const char *pszLang) |
static void | signalWrapper (int sig_num) |
Static Public Attributes | |
static const char * | s_szBuild_ID = ABI_BUILD_ID |
static const char * | s_szBuild_Version = PACKAGE_VERSION |
static const char * | s_szBuild_Options = ABI_BUILD_OPTIONS |
static const char * | s_szBuild_Target = ABI_BUILD_TARGET |
static const char * | s_szBuild_CompileTime = __TIME__ |
static const char * | s_szBuild_CompileDate = __DATE__ |
static const char * | s_szAbiSuite_Home = ABIWORD_DATADIR |
Protected Types | |
typedef std::map< std::string, UT_GenericVector< XAP_Frame * > * > | CloneMap |
Protected Member Functions | |
void | _setAbiSuiteLibDir (const char *sz) |
virtual const char * | _getKbdLanguage () |
void | _setUUIDGenerator (UT_UUIDGenerator *pG) |
virtual bool | _saveState (XAP_StateData &sd) |
virtual bool | _retrieveState (XAP_StateData &sd) |
Protected Attributes | |
const char * | m_szAppName |
const char * | m_szAbiSuiteLibDir |
EV_EditMethodContainer * | m_pEMC |
XAP_BindingSet * | m_pBindingSet |
EV_Menu_ActionSet * | m_pMenuActionSet |
EV_Toolbar_ActionSet * | m_pToolbarActionSet |
XAP_Dictionary * | m_pDict |
XAP_Prefs * | m_prefs |
UT_GenericVector< XAP_Frame * > | m_vecFrames |
CloneMap | m_hashClones |
XAP_Frame * | m_lastFocussedFrame |
XAP_Menu_Factory * | m_pMenuFactory |
XAP_Toolbar_Factory * | m_pToolbarFactory |
struct XAP_App::modeless_pair | m_IdTable [NUM_MODELESSID+1] |
bool | m_bAllowCustomizing |
bool | m_bAreCustomized |
bool | m_bDebugBool |
bool | m_bBonoboRunning |
bool | m_bEnableSmoothScrolling |
bool | m_bDisableDoubleBuffering |
bool | m_bNoGUI |
Static Protected Attributes | |
static XAP_App * | m_pApp = NULL |
Private Member Functions | |
XAP_App (const XAP_App &) | |
void | operator= (const XAP_App &) |
Private Attributes | |
const UT_LangRecord * | m_pKbdLang |
UT_UUIDGenerator * | m_pUUIDGenerator |
GR_GraphicsFactory * | m_pGraphicsFactory |
UT_uint32 | m_iDefaultGraphicsId |
XAP_InputModes * | m_pInputModes |
std::map< std::string, GR_EmbedManager * > | m_mapEmbedManagers |
XAP_AppImpl * | m_pImpl |
UT_GenericVector< AV_Listener * > | m_vecPluginListeners |
UT_ScriptLibrary * | m_pScriptLibrary |
typedef std::map<std::string, UT_GenericVector<XAP_Frame*>*> XAP_App::CloneMap [protected] |
XAP_App::XAP_App | ( | const char * | szAppName | ) |
XAP_App::~XAP_App | ( | ) | [virtual] |
References XAP_EncodingManager::Delete_instance(), DELETEP, GR_CharWidthsCache::destroyCharWidthsCache(), FREEP, XAP_EncodingManager::get_instance(), m_pApp, m_pBindingSet, m_pDict, m_pEMC, m_pGraphicsFactory, m_pImpl, m_pInputModes, m_pMenuActionSet, m_pMenuFactory, m_prefs, m_pScriptLibrary, m_pToolbarActionSet, m_pToolbarFactory, m_pUUIDGenerator, m_szAbiSuiteLibDir, m_vecFrames, XAP_Dictionary::save(), and UT_VECTOR_PURGEALL.
XAP_App::XAP_App | ( | const XAP_App & | ) | [private] |
virtual const char* XAP_App::_getKbdLanguage | ( | ) | [inline, protected, virtual] |
Reimplemented in XAP_Win32App.
Referenced by initialize().
bool XAP_App::_retrieveState | ( | XAP_StateData & | sd | ) | [protected, virtual] |
Implements the actual mechanism for retrieving of status data; derrived classes can override to provide methods suitable to their platform.
For now, this method does nothing; it could read state data in the profile if we wanted to. (For a working implementation see xap_UnixHildonApp.cpp)
returns true on success
Referenced by retrieveState().
bool XAP_App::_saveState | ( | XAP_StateData & | sd | ) | [protected, virtual] |
Implements the actual mechanism for storing of status data; derrived classes can override to provide methods suitable to their platform.
For now, this method does nothing; it could save state data in the profile if we wanted to. (For a working implementation see xap_UnixHildonApp.cpp)
returns true on success
Referenced by saveState().
void XAP_App::_setAbiSuiteLibDir | ( | const char * | sz | ) | [protected] |
References FREEP, and m_szAbiSuiteLibDir.
void XAP_App::_setUUIDGenerator | ( | UT_UUIDGenerator * | pG | ) | [inline, protected] |
virtual void XAP_App::addClipboardFmt | ( | const char * | ) | [inline, virtual] |
Referenced by register_mime_cb().
bool XAP_App::addListener | ( | AV_Listener * | pListener, | |
AV_ListenerId * | pListenerId | |||
) |
Plugins can register themselves here if they want to receive notifications of document changes.
References UT_GenericVector< T >::addItem(), UT_GenericVector< T >::getItemCount(), UT_GenericVector< T >::getNthItem(), m_vecPluginListeners, UT_GenericVector< T >::setNthItem(), and UT_DEBUGMSG.
Referenced by abi_plugin_register().
bool XAP_App::addWordToDict | ( | const UT_UCSChar * | pWord, | |
UT_uint32 | len | |||
) |
References XAP_Dictionary::addWord(), and m_pDict.
Referenced by SpellChecker::addToCustomDict().
virtual void XAP_App::cacheCurrentSelection | ( | AV_View * | ) | [pure virtual] |
Implemented in XAP_CocoaApp, XAP_UnixApp, and XAP_Win32App.
Referenced by FV_View::cmdPasteSelectionAt().
virtual bool XAP_App::canPasteFromClipboard | ( | ) | [pure virtual] |
Implemented in XAP_CocoaApp, XAP_UnixApp, and XAP_Win32App.
Referenced by Defun_EV_GetMenuItemState_Fn(), and Defun_EV_GetToolbarItemState_Fn().
virtual void XAP_App::catchSignals | ( | int | signum | ) | [pure virtual] |
Referenced by signalWrapper().
bool XAP_App::clearDebugBool | ( | void | ) | [inline] |
void XAP_App::clearIdTable | ( | ) |
References XAP_App::modeless_pair::id, m_IdTable, and XAP_App::modeless_pair::pDialog.
Referenced by initialize(), and XAP_App().
void XAP_App::clearLastFocussedFrame | ( | ) |
References m_lastFocussedFrame.
Referenced by s_closeWindow(), XAP_CocoaAppController::setCurrentView:inFrame:, and XAP_CocoaAppController::unsetCurrentView:inFrame:.
virtual void XAP_App::clearStateInfo | ( | ) | [inline, virtual] |
void XAP_App::closeModelessDlgs | ( | ) |
References XAP_Dialog_Modeless::destroy(), getModelessDialog(), XAP_App::modeless_pair::id, m_IdTable, and XAP_App::modeless_pair::pDialog.
Referenced by Defun(), s_closeWindow(), and saveState().
virtual void XAP_App::copyToClipboard | ( | PD_DocumentRange * | pDocRange, | |
bool | bUseClipboard = true | |||
) | [pure virtual] |
Implemented in XAP_CocoaApp, XAP_UnixApp, and XAP_Win32App.
Referenced by FV_View::_MergeCells(), FV_View::_populateThisHdrFtr(), FV_View::cmdCopy(), and FV_View::copyFrame().
std::string XAP_App::createUUIDString | ( | ) | const |
virtual void XAP_App::deleteClipboardFmt | ( | const char * | ) | [inline, virtual] |
Referenced by abi_plugin_unregister().
void XAP_App::enumerateDocuments | ( | UT_Vector & | v, | |
const AD_Document * | pExclude | |||
) | const |
Enumerates currently open document associated with the application, excluding document pointed to by pExclude
v,: | UT_Vector into which to store the document pointers |
pExclude: pointer to a document to exclude from enumeration, can be NULL (e.g., if this function is called from inside a document, it might be desirable to exclude that document)
References UT_GenericVector< T >::addItem(), UT_GenericVector< T >::findItem(), XAP_Frame::getCurrentDoc(), getFrame(), and getFrameCount().
Referenced by XAP_Dialog_ListDocuments::_init(), and getDocuments().
void XAP_App::enumerateFrames | ( | UT_Vector & | v | ) | const |
bool XAP_App::findAbiSuiteAppFile | ( | std::string & | path, | |
const char * | filename, | |||
const char * | subdir = 0 | |||
) | [virtual] |
Reimplemented in XAP_CocoaApp.
References getAbiSuiteAppDir(), and UT_isRegularFile().
bool XAP_App::findAbiSuiteLibFile | ( | std::string & | path, | |
const char * | filename, | |||
const char * | subdir = 0 | |||
) | [virtual] |
Reimplemented in XAP_CocoaApp.
References getAbiSuiteLibDir(), getUserPrivateDirectory(), and UT_isRegularFile().
Referenced by buildTemplateList(), XAP_CocoaApp::findAbiSuiteAppFile(), and XAP_CocoaApp::findAbiSuiteLibFile().
References UT_GenericVector< T >::findItem(), and m_vecFrames.
Referenced by AP_Frame::_replaceView(), Defun1(), fileOpen(), AP_Frame::loadDocument(), XAP_Win32Slurp::processCommand(), XAP_Win32Dialog_WindowMore::runModal(), XAP_UnixDialog_WindowMore::runModal(), and XAP_CocoaDialog_WindowMore::runModal().
UT_sint32 XAP_App::findFrame | ( | const char * | szFilename | ) | const |
References XAP_Frame::getFilename(), getFrame(), getFrameCount(), s, and UT_continue_if_fail.
const char * XAP_App::findNearestFont | ( | const char * | pszFontFamily, | |
const char * | pszFontStyle, | |||
const char * | pszFontVariant, | |||
const char * | pszFontWeight, | |||
const char * | pszFontStretch, | |||
const char * | pszFontSize, | |||
const char * | pszLang | |||
) | [static] |
Find the nearest matching font based on the provided parameters
TODO: we should use a more sophisticated description of fonts to allow for better matching
Referenced by pt_PieceTable::_loadBuiltinStyles().
XAP_Frame * XAP_App::findValidFrame | ( | ) | const |
References getFrame().
Referenced by XAP_Win32Dialog_PluginManager::event_Load().
bool XAP_App::forgetClones | ( | XAP_Frame * | pFrame | ) | [virtual] |
bool XAP_App::forgetFrame | ( | XAP_Frame * | pFrame | ) | [virtual] |
References UT_GenericVector< T >::deleteNthItem(), UT_GenericVector< T >::findItem(), UT_GenericVector< T >::getItemCount(), UT_GenericVector< T >::getNthItem(), XAP_Frame::getViewKey(), XAP_Frame::getViewNumber(), m_hashClones, m_lastFocussedFrame, m_vecFrames, notifyFrameCountChange(), notifyModelessDlgsCloseFrame(), XAP_Frame::setViewNumber(), XAP_Frame::updateTitle(), UT_ASSERT, UT_ASSERT_HARMLESS, UT_continue_if_fail, and UT_return_val_if_fail.
Referenced by abi_widget_destroy_gtk(), AP_Frame::buildFrame(), AP_UnixFrame::cloneFrame(), AP_CocoaFrame::cloneFrame(), AbiCommand::deleteCurrentDoc(), forgetClones(), and s_closeWindow().
void XAP_App::forgetModelessId | ( | UT_sint32 | id | ) |
References XAP_App::modeless_pair::id, m_IdTable, NUM_MODELESSID, and XAP_App::modeless_pair::pDialog.
Referenced by XAP_Dialog_Modeless::modeless_cleanup().
virtual const char* XAP_App::getAbiSuiteAppDir | ( | ) | const [pure virtual] |
Implemented in XAP_CocoaApp, XAP_UnixApp, and XAP_Win32App.
Referenced by abi_plugin_register(), and findAbiSuiteAppFile().
const char * XAP_App::getAbiSuiteHome | ( | ) | [static] |
References s_szAbiSuite_Home.
Referenced by XAP_Win32App::_setAbiSuiteLibDir(), XAP_UnixApp::_setAbiSuiteLibDir(), XAP_QtApp::_setAbiSuiteLibDir(), and XAP_CocoaApp::_setAbiSuiteLibDir().
const char * XAP_App::getAbiSuiteLibDir | ( | ) | const [virtual] |
References m_szAbiSuiteLibDir.
Referenced by AP_UnixDialog_New::_constructWindow(), Presentation::_loadPresentationBindings(), AP_Win32Dialog_New::_onInitDialog(), AP_Win32Dialog_New::_setFileName(), Defun1(), findAbiSuiteLibFile(), XAP_AppImpl::localizeHelpUrl(), and ServiceAccountHandler::ServiceAccountHandler().
XAP_App * XAP_App::getApp | ( | void | ) | [static] |
References m_pApp.
Referenced by _activateWindow(), AD_Document::_adjustHistoryOnSave(), IE_Imp_RTF::_appendField(), XAP_Win32FrameImpl::_close(), GR_Win32USPGraphics::_constructorCommonCode(), AP_Dialog_Columns::_convertToPreferredUnits(), XAP_Frame::_createAutoSaveTimer(), AP_Win32FrameImpl::_createDocumentWindow(), AP_CocoaFrameImpl::_createDocView, AP_CocoaDialog_Paragraph::_createGC, XAP_Win32FrameImpl::_createTopLevelWindow(), XAP_UnixFrameImpl::_createTopLevelWindow(), XAP_QtFrameImpl::_createTopLevelWindow(), XAP_CocoaFrameImpl::_createTopLevelWindow, AP_UnixFrame::_createViewGraphics(), AP_QtFrame::_createViewGraphics(), AP_TopRuler::_displayStatusMessage(), AP_LeftRuler::_displayStatusMessage(), AbiCollab_Command::_doCmdDebug(), AP_Win32FrameImpl::_DocumentWndProc(), IE_Imp_Text::_doEncodingDialog(), IE_Exp_Text::_doEncodingDialog(), IE_Exp_HTML::_doOptions(), fp_ForcedPageBreakRun::_draw(), fp_ForcedColumnBreakRun::_draw(), AP_TopRuler::_draw(), s_WML_Listener::_emitTOC(), XAP_Win32FrameImpl::_FrameWndProc(), AP_TopRuler::_getFirstPixelInColumn(), XAP_CocoaFrameImpl::_getMainMenu, AP_TopRuler::_getMarginMarkerRects(), AP_Win32Prefs::_getPrefsPathname(), AP_UnixPrefs::_getPrefsPathname(), AP_CocoaPrefs::_getPrefsPathname(), s_DocBook_Listener::_handleTOC(), _helpOpenURL(), ABI_Collab_Import::_import(), IE_Imp_GDA::_importDataModel(), AP_Frame::_importDocument(), PD_Document::_importFile(), XAP_Win32FrameImpl::_initialize(), XAP_UnixFrameImpl::_initialize(), XAP_QtFrameImpl::_initialize(), XAP_CocoaFrameImpl::_initialize, pt_PieceTable::_loadBuiltinStyles(), FakeAccountHandler::_loadDocument(), AP_Frame::_loadDocument(), Presentation::_loadPresentationBindings(), fl_CellLayout::_lookupProperties(), fl_TableLayout::_lookupProperties(), fl_DocSectionLayout::_lookupProperties(), UT_UUID::_makeUUID(), XAP_Win32FrameImpl::_newToolbar(), XAP_UnixFrameImpl::_newToolbar(), XAP_QtFrameImpl::_newToolbar(), ServiceWin32AccountHandler::_onCommand(), IE_Imp_AbiCollab::_openDocument(), ServiceAccountHandler::_openDocumentSlave(), _openRecent(), _openURL(), IE_Imp_Component::_parseStream(), IE_Imp_Object::_parseStream(), XAP_Win32Dialog_FileOpenSaveAs::_previewPicture(), XAP_UnixFrameImpl::_rebuildMenus(), XAP_CocoaFrameImpl::_rebuildMenus, EV_Win32Toolbar::_refreshItem(), SugarAccountHandler::_registerEditMethods(), GR_Win32Graphics::_remapGlyphs(), AP_Frame::_replaceView(), AccountHandler::_reportProtocolError(), XAP_Win32FrameImpl::_runModalContextMenu(), XAP_UnixFrameImpl::_runModalContextMenu(), PD_Document::_saveAs(), AbiCollabSaveInterceptor::_saveFailed(), AbiCollab::_setDocument(), XAP_Win32FrameImpl::_setFullScreen(), XAP_UnixFrameImpl::_setGeometry(), PD_RDFDialogsGTK::_setIcon(), XAP_UnixFrameImpl::_setInputMode(), XAP_CocoaFrameImpl::_setInputMode, AbiCollabSessionManager::_setupFrame(), fp_FieldRun::_setValue(), AP_Frame::_showDocument(), AP_Dialog_Options::_storeWindowData(), XAP_Win32FrameImpl::_updateTitle(), XAP_FrameImpl::_updateTitle(), _viewTBx(), IE_Exp_S5::_writeDocument(), IE_Exp_Cairo::_writeDocument(), abi_plugin_register(), abi_plugin_unregister(), abi_widget_destroy_gtk(), abi_widget_get_content(), abi_widget_get_selection(), abi_widget_invoke_ex(), AbiCollab_Command::AbiCollab_Command(), AbiCollabSaveInterceptor::AbiCollabSaveInterceptor(), AbiCommand::AbiCommand(), AbiCommand_registerMethod(), AbiCommand_RemoveFromMethods(), AbiGimp_addToMenus(), AbiGimp_invoke(), AbiGimp_RemoveFromMenus(), AbiGOComponent_Create(), AbiGOComponent_FileInsert(), AbiGOffice_addToMenus(), AbiGOffice_removeFromMenus(), AbiGoogle_invoke(), AbiMathView_addToMenus(), AbiMathView_FileInsert(), AbiMathView_LatexInsert(), AbiMathView_removeFromMenus(), AbiOts_invoke(), abiSetupModelessDialog(), AbiTest_registerMethod(), AbiTest_RemoveFromMethods(), AD_Document::AD_Document(), AD_VersionData::AD_VersionData(), EV_CocoaMenu::addToAppMenu, SpellChecker::addToCustomDict(), addToMenus(), AiksaurusABI_addToMenus(), AiksaurusABI_invoke(), AikSaurusABI_RemoveFromMenus(), AP_CreateToolbarLabelSet(), AP_FrameData::AP_FrameData(), AP_LeftRuler::AP_LeftRuler(), AP_Preview_Abi::AP_Preview_Abi(), ap_sbf_InsertMode::ap_sbf_InsertMode(), ap_sbf_PageInfo::ap_sbf_PageInfo(), AP_TopRuler::AP_TopRuler(), AP_Win32StatusBar::AP_Win32StatusBar(), XAP_CocoaAppController::application:openFile:, XAP_CocoaAppController::applicationDidFinishLaunching:, XAP_CocoaAppController::applicationOpenFile:, XAP_CocoaAppController::applicationOpenUntitledFile:, IE_Imp_RTF::ApplyParagraphAttributes(), IE_Imp_RTF::ApplySectionAttributes(), ApplySemanticStylesheets(), ServiceAccountHandler::askFilename(), ServiceAccountHandler::askPassword(), XMPPAccountHandler::authenticate(), BabelFish_addToMenus(), BabelFish_invoke(), BabelFish_RemoveFromMenus(), XAP_Frame::backup(), FV_ViewDoubleBuffering::beginDoubleBuffering(), XAP_UnixDialog_Print::BeginPrint(), EV_CocoaMenu::buildAppMenu, GR_GOChartManager::buildContextualMenu(), AP_Frame::buildFrame(), XAP_Menu_Factory::buildMenuLabelSet(), Stylist_tree::buildStyles(), buildTemplateList(), fp_FieldPageReferenceRun::calculateValue(), GR_Graphics::canBreak(), changed_cb(), checkViewModeIsPrint(), AbiCollabSessionManager::closeSession(), XAP_UnixFrameImpl::_fe::configure_event(), XMPPAccountHandler::connect(), convertMathMLtoLaTeX(), convertMathMLtoOMML(), convertOMMLtoMathML(), FV_View::copyTextToClipboard(), SpellChecker::couldNotLoadDictionary(), AP_Win32FrameImpl::createDocWndGraphics(), XAP_Menu_Factory::CreateMenuLabelSet(), XAP_Frame::createMessageBox(), XAP_Win32DialogBase::createModal(), XAP_Win32DialogBase::createModeless(), PD_XMLIDCreator::createUniqueXMLID(), PD_RDFSemanticItem::createUUIDNode(), AP_Win32TopRuler::createWindow(), AP_Win32StatusBar::createWindow(), AP_Win32LeftRuler::createWindow(), AP_CocoaPlugin_Document::currentDocument, AP_CocoaPlugin_ContextMenuItem::dealloc, AP_CocoaPlugin_EditMethod::dealloc, DECLARE_ABI_PLUGIN_METHOD(), Defun(), Defun0(), Defun1(), Defun_EV_GetMenuItemComputedLabel_Fn(), Defun_EV_GetMenuItemState_Fn(), Defun_EV_GetToolbarItemState_Fn(), XAP_UnixFrameImpl::_fe::delete_event(), dlgEditLatexEquation(), AP_CocoaPlugin_Document::documents, IE_Exp_EPUB::doOptions(), XAP_UnixFrameImpl::dragText(), AP_Lists_preview::draw(), GR_Win32Graphics::drawChars(), DumpEditMethods_invoke(), EnchantChecker::EnchantChecker(), FV_ViewDoubleBuffering::endDoubleBuffering(), ev_EditMethod_invoke(), ev_EditMethod_lookup(), EV_Toolbar::EV_Toolbar(), EV_Toolbar_Label::EV_Toolbar_Label(), XAP_Win32Dialog_PluginManager::event_Load(), XAP_UnixDialog_PluginManager::event_Load(), AP_CocoaDialog_New::event_ToggleOpenExisting, fileOpen(), fill_store(), AbiCollabSessionManager::findFrameForSession(), XAP_CocoaPlugin::findResourcePath:, Print_MailMerge_Listener::fireUpdate(), fl_AutoNum::fixHierarchy(), fp_TextRun::fp_TextRun(), AP_CocoaPlugin_Document::frameExists:, FreeTranslation_addToMenus(), FreeTranslation_invoke(), FreeTranslation_RemoveFromMenus(), Garble_registerMethod(), Garble_RemoveFromMethods(), GDA_addToMenus(), GDA_execSQL(), GDA_removeFromMenus(), GDict_addToMenus(), GDict_dlg_create(), GDict_invoke(), GDict_removeFromMenus(), GR_CairoGraphics::getAllFontNames(), XAP_Win32Toolbar_Icons::getAlphaBitmapForIcon(), XAP_Win32Toolbar_Icons::getBitmapForIcon(), FV_View::getColorSelBackground(), AP_UnixFrameImpl::getColorSelBackground(), AP_Dialog_MarkRevisions::getComment1(), fl_TOCLayout::getDefaultHeading(), ServiceAccountHandler::getDialogGenericInputId(), ServiceAccountHandler::getDialogGenericProgressId(), FL_DocLayout::getEmbedManager(), AP_RDFSemanticItemGTKInjected< AP_RDFContact >::getExportToFileName(), XAP_CocoaToolbar_Icons::getFilenameForIcon, AP_RDFSemanticItemGTKInjected< AP_RDFContact >::getImportFromFileName(), AD_Document::getNewUUID(), AD_Document::getNewUUID32(), AD_Document::getNewUUID64(), AP_Frame::getNewZoom(), AP_Dialog_ListRevisions::getNthItemText(), GR_Win32Graphics::getPrinterGraphics(), XAP_Win32Dialog_Print::getPrinterGraphicsContext(), XAP_CocoaDialog_Print::getPrinterGraphicsContext(), FL_DocLayout::getQuickPrintEmbedManager(), PD_Document::getStatusBar(), getStylesheetName(), DiskSessionRecorder::getTargetDirectory(), fp_Run::getVisDirection(), Google_addToMenus(), Google_removeFromMenus(), IE_Imp_RTF::HandleAbiEmbed(), IE_Imp_RTF::HandleAbiMathml(), IE_Imp_RTF::HandleAbiTable(), GR_Win32Graphics::handleSetCursorMessage(), IE_Imp_RTF::HandleStarKeyword(), helpLocalizeAndOpenURL(), IE_Exp_EPUB::IE_Exp_EPUB(), IE_Exp_HTML::IE_Exp_HTML(), IE_Exp_Text::IE_Exp_Text(), IE_Imp_Text::IE_Imp_Text(), AP_Frame::importDocument(), PD_RDFEvent::importFromData(), PD_RDFContact::importFromData(), XAP_CocoaToolPalette::init, AP_CocoaPlugin_EditMethod::init, XAP_Frame::initialize(), AP_CocoaPlugin_ContextMenuItem::initWithLabel:, PD_RDFSemanticItem::insert(), IE_Imp_RTF::insertStrux(), PD_RDFSemanticItem::insertTextWithXMLID(), IE_Imp_RDF::insertTextWithXMLID(), XAP_CocoaToolPalette::instance:, AbiCollabSaveInterceptor::intercept(), isImageSelected(), AP_TopRuler::isMouseOverTab(), AbiCollabSessionManager::joinSession(), ServiceAccountHandler::joinSessionAsync(), LinkGrammarWrap::LinkGrammarWrap(), BarbarismChecker::load(), XAP_CocoaModule::loadAllPlugins(), LoadBindings_registerMethod(), LoadBindings_RemoveFromMethods(), LoadBindingsDlg_invoke(), AP_Win32Prefs::loadBuiltinPrefs(), AP_Frame::loadDocument(), AbiCollabSessionManager::loadProfile(), XAP_AppImpl::localizeHelpUrl(), XAP_Frame::makeBackupName(), EV_CocoaFontTarget::menuSelected:, GOChartView::modify(), AP_UnixDialog_Styles::modifyRunModal(), AP_UnixTopRuler::_fe::motion_notify_event(), FV_UnixVisualDrag::mouseDrag(), FV_UnixVisualInlineImage::mouseDrag(), FV_UnixFrameEdit::mouseDrag(), AP_TopRuler::mouseMotion(), AP_TopRuler::mouseRelease(), AP_UnixApp::newDefaultScreenGraphics(), newDialogBuilder(), GR_Graphics::newNullGraphics(), ap_ViewListener::notify(), ap_sbf_InputMode::notify(), Stateful_ViewListener::notify(), onAboutDialogActivate(), XAP_Win32AppImpl::openURL(), Ots_addToMenus(), Ots_removeFromMenus(), AP_Prefs::overlaySystemPrefs(), PD_Document::PD_Document(), plugin_imp_lockGUI(), AP_Win32Toolbar_ZoomCombo::populate(), AP_UnixToolbar_ZoomCombo::populate(), AP_UnixToolbar_FontCombo::populate(), AP_QtToolbar_ZoomCombo::populate(), AP_QtToolbar_FontCombo::populate(), AP_CocoaToolbar_ZoomCombo::populate(), fl_DocListener::populateStrux(), Presentation::Presentation(), Presentation_context(), Presentation_registerMethod(), Presentation_RemoveFromMethods(), XAP_UnixDialog_FileOpenSaveAs::previewPicture(), AP_Convert::print(), AP_Convert::printFirstPage(), XAP_Win32Slurp::processCommand(), AbiCollabSessionManager::processPacket(), IE_Imp_EPUB::readStructure(), AP_UnixTopRuler::_fe::realize(), AP_UnixLeftRuler::_fe::realize(), IE_Exp_EPUB::registerDialogs(), AbiCollabSessionManager::registerDialogs(), AbiCollabSessionManager::removeBuddy(), GR_GOChartManager::removeContextualMenu(), removeFromMenus(), AP_UnixToolbar_StyleCombo::repopulate(), AP_QtToolbar_StyleCombo::repopulate(), InterruptableAsyncWorker< T >::run(), UT_runDialog_AskForPathname::run(), PD_RDFDialogsGTK::runInsertReferenceDialog(), XAP_Win32Dialog_Print::runModal(), XAP_Win32Dialog_About::runModal(), XAP_UnixDialog_FontChooser::runModal(), AP_UnixDialog_Styles::runModal(), AP_UnixDialog_Paragraph::runModal(), AP_UnixDialog_PageNumbers::runModal(), AP_UnixDialog_Lists::runModal(), AP_UnixDialog_Columns::runModal(), AP_CocoaDialog_PageNumbers::runModal, AP_CocoaDialog_Lists::runModal, AP_CocoaDialog_Columns::runModal, XAP_UnixDialog_Insert_Symbol::runModeless(), AP_UnixDialog_Lists::runModeless(), AP_UnixDialog_FormatTable::runModeless(), AP_UnixDialog_FormatFrame::runModeless(), AP_UnixDialog_Border_Shading::runModeless(), AP_CocoaDialog_FormatTable::runModeless, PD_RDFDialogsGTK::runSemanticStylesheetsDialog(), s_abi_widget_map_cb(), s_abicollab_accounts(), s_abicollab_add_menus(), s_abicollab_join(), s_abicollab_offer(), s_abicollab_remove_menus(), s_actuallyPrint(), s_actuallySaveAs(), s_addToolsToProvider(), s_AskForPathname(), s_closeWindow(), XAP_Win32Dialog_About::s_dlgProc(), s_doAboutDlg(), s_doBorderShadingDlg(), s_doBullets(), s_doContextMenu_no_move(), s_doFindOrFindReplaceDlg(), s_doFormatImageDlg(), s_doFormatTableDlg(), s_doGotoDlg(), s_doMergeCellsDlg(), s_doOptionsDlg(), s_doPrint(), s_doRDFEditorDlg(), s_doRDFQueryDlg(), s_doSplitCellsDlg(), s_doStylesDlg(), s_doWordCountDlg(), s_doZoomDlg(), s_drag_data_get_cb(), s_EditMethods_check_frame(), pt_PieceTable::s_getLocalisedStyleName(), pt_PieceTable::s_getUnlocalisedStyleName(), s_importFile(), s_InsertSymbolDlg(), s_loadDocument(), s_LoadingCursorCallback(), s_pasteFile(), s_PrintHookProc(), s_StartStopLoadingCursor(), sAddHelpButton(), SaveBindings_invoke(), XAP_Prefs::savePrefsFile(), GR_UnixCairoGraphics::scroll(), AP_CocoaPlugin_Document::selectMailMergeSource, PD_DocumentRDF::selectXMLIDs(), AbiCollabSessionManager::serializeDocument(), ServiceAccountHandler::ServiceAccountHandler(), PD_Document::setAttrProp(), AD_Document::setAutoRevisioning(), XAP_CocoaAppController::setCurrentView:inFrame:, AbiCollabSessionManager::setDocumentHandles(), GR_Win32USPGraphics::setPrintDC(), AP_StatusBar::setStatusMessage(), XAP_UnixFrameImpl::setTimeOfLastEvent(), XAP_CocoaFrameImpl::setTimeOfLastEvent, XAP_CocoaFrameImpl::setToolbarRect, XMPPAccountHandler::setup(), XAP_DiskStringSet::setValue(), AP_DiskStringSet::setValue(), FL_DocLayout::setView(), AP_Win32TopRuler::setView(), AP_Win32LeftRuler::setView(), XAP_Frame::setZoomPercentage(), GR_Win32USPGraphics::setZoomPercentage(), AP_RDFSemanticItemGTKInjected< AP_RDFContact >::showEditorWindow(), AD_Document::showHistory(), AbiCollabService_Export::signal(), signalWrapper(), XAP_Prefs::startElement(), GR_Win32PrintPreviewGraphics::startPage(), TelepathyAccountHandler::startSession(), AbiCollabSessionManager::startSession(), AbiCollabSessionManager::storeProfile(), IE_Imp_RTF::TranslateKeywordID(), AbiCollabSessionManager::unregisterDialogs(), XAP_CocoaAppController::unsetCurrentView:inFrame:, IE_FieldUpdater::updateFields(), AP_RDFLocationGTK::updateFromEditorData(), AP_RDFEventGTK::updateFromEditorData(), AP_RDFContactGTK::updateFromEditorData(), PD_Document::updateStatus(), URLDict_addToMenus(), URLDict_invoke(), URLDict_removeFromMenus(), XAP_CocoaPlugin::userResourcePath:, UT_Encoding::UT_Encoding(), UT_Language_updateLanguageNames(), EV_CocoaFontTarget::validateMenuItem:, XAP_FrameImpl::viewAutoUpdater(), Wikipedia_addToMenus(), Wikipedia_invoke(), Wikipedia_removeFromMenus(), XAP_CocoaToolPalette::windowDidLoad, XAP_CocoaDlg_Insert_SymbolController::windowDidLoad, AP_CocoaDialog_OptionsController::windowDidLoad, AP_CocoaDialog_ListsController::windowDidLoad, AP_CocoaDialog_BreakController::windowDidLoad, XAP_CocoaToolPalette::windowWillClose:, AP_Win32App::WinMain(), ODe_ThumbnailsWriter::writeThumbnails(), XAP_Dialog_Language::XAP_Dialog_Language(), XAP_Frame::XAP_Frame(), XAP_UnixApp::XAP_UnixApp(), XAP_UnixFontPreview::XAP_UnixFontPreview(), XAP_Win32PreviewWidget::XAP_Win32PreviewWidget(), AP_LeftRuler::~AP_LeftRuler(), and AP_TopRuler::~AP_TopRuler().
const char * XAP_App::getApplicationName | ( | ) | const |
const char * XAP_App::getApplicationTitleForTitleBar | ( | ) | const |
EV_EditBindingMap * XAP_App::getBindingMap | ( | const char * | szName | ) |
References XAP_BindingSet::getMap(), m_pBindingSet, and UT_return_val_if_fail.
Referenced by Presentation::_loadPresentationBindings(), AbiCollabSaveInterceptor::AbiCollabSaveInterceptor(), initialize(), and setInputMode().
XAP_BindingSet* XAP_App::getBindingSet | ( | void | ) | [inline] |
Referenced by AbiCollabSaveInterceptor::AbiCollabSaveInterceptor(), Defun1(), SaveBindings_invoke(), and LoadBindings::Set().
const char * XAP_App::getBuildCompileDate | ( | ) | [static] |
References s_szBuild_CompileDate.
const char * XAP_App::getBuildCompileTime | ( | ) | [static] |
References s_szBuild_CompileTime.
const char * XAP_App::getBuildId | ( | ) | [static] |
References s_szBuild_ID.
const char * XAP_App::getBuildOptions | ( | ) | [static] |
References s_szBuild_Options.
const char * XAP_App::getBuildTarget | ( | ) | [static] |
References s_szBuild_Target.
const char * XAP_App::getBuildVersion | ( | ) | [static] |
References s_szBuild_Version.
bool XAP_App::getClones | ( | UT_GenericVector< XAP_Frame * > * | pvClonesCopy, | |
XAP_Frame * | pFrame | |||
) | [virtual] |
virtual XAP_Toolbar_ControlFactory* XAP_App::getControlFactory | ( | ) | [pure virtual] |
Implemented in XAP_CocoaApp, XAP_UnixApp, XAP_QtApp, and XAP_Win32App.
virtual const char* XAP_App::getDefaultEncoding | ( | ) | const [pure virtual] |
Implemented in XAP_CocoaApp, XAP_UnixApp, XAP_QtApp, and XAP_Win32App.
Referenced by XAP_FrameImpl::viewAutoUpdater().
virtual void XAP_App::getDefaultGeometry | ( | UT_uint32 & | , | |
UT_uint32 & | , | |||
UT_uint32 & | ||||
) | [inline, virtual] |
Reimplemented in XAP_Win32App.
Referenced by XAP_Prefs::startElement(), and AP_Win32App::WinMain().
virtual XAP_DialogFactory* XAP_App::getDialogFactory | ( | ) | [pure virtual] |
Implemented in XAP_CocoaApp, XAP_UnixApp, XAP_QtApp, and XAP_Win32App.
Referenced by IE_Imp_Text::_doEncodingDialog(), IE_Exp_Text::_doEncodingDialog(), IE_Exp_HTML::_doOptions(), AP_Dialog_CollaborationJoin::_eventAddBuddy(), ServiceAccountHandler::_openDocumentSlave(), AbiMathView_LatexInsert(), ServiceAccountHandler::askFilename(), ServiceAccountHandler::askPassword(), AP_Dialog_CollaborationAccounts::createEditAccount(), AP_Dialog_CollaborationAccounts::createNewAccount(), Defun1(), dlgEditLatexEquation(), IE_Exp_EPUB::doOptions(), AP_CocoaDialog_New::event_ToggleOpenExisting, ServiceAccountHandler::getDialogGenericInputId(), ServiceAccountHandler::getDialogGenericProgressId(), LoadBindingsDlg_invoke(), IE_Exp_EPUB::registerDialogs(), AbiCollabSessionManager::registerDialogs(), XAP_DialogFactory::releaseDialog(), XAP_DialogFactory::requestDialog(), InterruptableAsyncWorker< T >::run(), UT_runDialog_AskForPathname::run(), s_abicollab_accounts(), s_abicollab_join(), s_abicollab_offer(), s_AskForPathname(), s_doAboutDlg(), s_doBorderShadingDlg(), s_doBullets(), s_doFindOrFindReplaceDlg(), s_doFormatTableDlg(), s_doGotoDlg(), s_doMergeCellsDlg(), s_doOptionsDlg(), s_doRDFEditorDlg(), s_doRDFQueryDlg(), s_doSplitCellsDlg(), s_doWordCountDlg(), s_InsertSymbolDlg(), AP_CocoaPlugin_Document::selectMailMergeSource, and AbiCollabSessionManager::unregisterDialogs().
bool XAP_App::getDisableDoubleBuffering | ( | ) | const |
References m_bDisableDoubleBuffering.
std::list< AD_Document * > XAP_App::getDocuments | ( | const AD_Document * | pExclude = 0 |
) | const |
References enumerateDocuments(), and UT_GenericVector< T >::size().
Referenced by ApplySemanticStylesheets().
EV_EditEventMapper * XAP_App::getEditEventMapper | ( | void | ) | const |
References XAP_InputModes::getCurrentMap(), m_pInputModes, and UT_return_val_if_fail.
Referenced by _ev_GetLabelName(), XAP_Win32FrameImpl::_initialize(), XAP_UnixFrameImpl::_initialize(), XAP_QtFrameImpl::_initialize(), XAP_CocoaFrameImpl::_initialize, XAP_UnixFrameImpl::_setInputMode(), XAP_CocoaFrameImpl::_setInputMode, EV_Menu::getLabelName(), and EV_UnixMenu::synthesizeMenu().
EV_EditMethodContainer * XAP_App::getEditMethodContainer | ( | ) | const |
References m_pEMC.
Referenced by _ev_GetLabelName(), XAP_Win32FrameImpl::_FrameWndProc(), Presentation::_loadPresentationBindings(), SugarAccountHandler::_registerEditMethods(), abi_widget_invoke_ex(), AbiCollabSaveInterceptor::AbiCollabSaveInterceptor(), AbiCommand_registerMethod(), AbiCommand_RemoveFromMethods(), AbiGimp_addToMenus(), AbiGimp_invoke(), AbiGimp_RemoveFromMenus(), AbiGOffice_addToMenus(), AbiGOffice_removeFromMenus(), AbiMathView_addToMenus(), AbiMathView_removeFromMenus(), AbiTest_registerMethod(), AbiTest_RemoveFromMethods(), addToMenus(), AiksaurusABI_addToMenus(), AikSaurusABI_RemoveFromMenus(), XAP_CocoaAppController::applicationOpenFile:, XAP_CocoaAppController::applicationOpenUntitledFile:, BabelFish_addToMenus(), BabelFish_RemoveFromMenus(), AP_CocoaPlugin_EditMethod::dealloc, XAP_UnixFrameImpl::_fe::delete_event(), DumpEditMethods_invoke(), Presentation::end(), ev_EditMethod_lookup(), FreeTranslation_addToMenus(), FreeTranslation_RemoveFromMenus(), Garble_registerMethod(), Garble_RemoveFromMethods(), GDA_addToMenus(), GDA_removeFromMenus(), GDict_addToMenus(), GDict_removeFromMenus(), EV_Menu::getLabelName(), Google_addToMenus(), Google_removeFromMenus(), XAP_CocoaToolPalette::init, AP_CocoaPlugin_EditMethod::init, AbiCommand::invoke(), LoadBindings_registerMethod(), LoadBindings_RemoveFromMethods(), EV_UnixMenu::menuEvent(), EV_QtMenu::menuEvent(), EV_CocoaMenu::menuEvent, EV_CocoaFontTarget::menuSelected:, EV_Win32Menu::onCommand(), Ots_addToMenus(), Ots_removeFromMenus(), plugin_imp_lockGUI(), Presentation_registerMethod(), Presentation_RemoveFromMethods(), removeFromMenus(), s_abicollab_add_menus(), s_abicollab_remove_menus(), s_proxy_activated(), setKbdLanguage(), Presentation::start(), EV_Win32Toolbar::toolbarEvent(), EV_UnixToolbar::toolbarEvent(), URLDict_addToMenus(), URLDict_removeFromMenus(), EV_CocoaMenu::validateMenuItem, Wikipedia_addToMenus(), and Wikipedia_removeFromMenus().
GR_EmbedManager * XAP_App::getEmbeddableManager | ( | GR_Graphics * | pG, | |
const char * | szObjectType | |||
) |
Return a copy of the requested embedable plugin or a default manager. The calling routine must delete this.
References GR_EmbedManager::create(), GR_EmbedManager::getObjectType(), m_mapEmbedManagers, and UT_DEBUGMSG.
Referenced by FL_DocLayout::getEmbedManager(), and FL_DocLayout::getQuickPrintEmbedManager().
const XAP_EncodingManager * XAP_App::getEncodingManager | ( | ) | const |
this function is silly
References XAP_EncodingManager::get_instance().
Referenced by GR_Graphics::canBreak(), and XAP_Win32Dialog_FontChooser::runModal().
References UT_GenericVector< T >::getItemCount(), UT_GenericVector< T >::getNthItem(), m_vecFrames, and UT_ASSERT.
Referenced by _activateWindow(), XAP_CocoaApp::_getFrontFrame(), XAP_Win32Dialog_WindowMore::_onInitDialog(), XAP_UnixDialog_WindowMore::_populateWindowData(), XAP_CocoaDialog_WindowMore::_populateWindowData(), AbiCollab::_setDocument(), AbiGimp_addToMenus(), AbiGimp_RemoveFromMenus(), AbiGOffice_addToMenus(), AbiGOffice_removeFromMenus(), addToMenus(), AiksaurusABI_addToMenus(), AikSaurusABI_RemoveFromMenus(), BabelFish_addToMenus(), BabelFish_RemoveFromMenus(), FV_View::cmdEditAnnotationWithDialog(), Defun(), Defun0(), Defun1(), Defun_EV_GetMenuItemComputedLabel_Fn(), Defun_EV_GetMenuItemState_Fn(), AP_CocoaPlugin_Document::documents, enumerateDocuments(), enumerateFrames(), fileOpen(), findFrame(), AbiCollabSessionManager::findFrameForSession(), findValidFrame(), focus_in_event_Modeless(), focus_in_event_ModelessOther(), focus_out_event_Modeless(), AP_CocoaPlugin_Document::frameExists:, FreeTranslation_addToMenus(), FreeTranslation_RemoveFromMenus(), GDA_addToMenus(), GDA_removeFromMenus(), GDict_addToMenus(), GDict_removeFromMenus(), XAP_Dialog_Modeless::getActiveFrame(), XAP_Dialog_WindowMore::getSelFrame(), AP_Dialog_Modal::getView(), Google_addToMenus(), Google_removeFromMenus(), Ots_addToMenus(), Ots_removeFromMenus(), XAP_Win32Slurp::processCommand(), rebuildMenus(), removeFromMenus(), s_abicollab_add_menus(), s_abicollab_remove_menus(), setInputMode(), GR_Win32USPGraphics::setPrintDC(), XAP_CocoaFrameImpl::setToolbarRect, GR_Win32USPGraphics::setZoomPercentage(), URLDict_addToMenus(), URLDict_removeFromMenus(), Wikipedia_addToMenus(), and Wikipedia_removeFromMenus().
UT_sint32 XAP_App::getFrameCount | ( | ) | const |
References UT_GenericVector< T >::getItemCount(), and m_vecFrames.
Referenced by XAP_Win32Dialog_WindowMore::_onInitDialog(), XAP_UnixDialog_WindowMore::_populateWindowData(), XAP_CocoaDialog_WindowMore::_populateWindowData(), AbiCollab::_setDocument(), XAP_UnixFrameImpl::_setGeometry(), abi_widget_destroy_gtk(), AbiGimp_addToMenus(), AbiGimp_RemoveFromMenus(), AbiGOffice_addToMenus(), AbiGOffice_removeFromMenus(), addToMenus(), AiksaurusABI_addToMenus(), AikSaurusABI_RemoveFromMenus(), BabelFish_addToMenus(), BabelFish_RemoveFromMenus(), FV_View::cmdEditAnnotationWithDialog(), Defun(), Defun0(), Defun1(), Defun_EV_GetMenuItemComputedLabel_Fn(), AP_CocoaPlugin_Document::documents, enumerateDocuments(), enumerateFrames(), findFrame(), AbiCollabSessionManager::findFrameForSession(), focus_in_event_Modeless(), focus_in_event_ModelessOther(), focus_out_event_Modeless(), AP_CocoaPlugin_Document::frameExists:, FreeTranslation_addToMenus(), FreeTranslation_RemoveFromMenus(), GDA_addToMenus(), GDA_removeFromMenus(), GDict_addToMenus(), GDict_removeFromMenus(), Google_addToMenus(), Google_removeFromMenus(), notifyFrameCountChange(), Ots_addToMenus(), Ots_removeFromMenus(), rebuildMenus(), removeFromMenus(), s_abicollab_add_menus(), s_abicollab_remove_menus(), s_closeWindow(), setInputMode(), GR_Win32USPGraphics::setPrintDC(), XAP_CocoaFrameImpl::setToolbarRect, GR_Win32USPGraphics::setZoomPercentage(), URLDict_addToMenus(), URLDict_removeFromMenus(), Wikipedia_addToMenus(), and Wikipedia_removeFromMenus().
bool XAP_App::getGeometry | ( | UT_sint32 * | x, | |
UT_sint32 * | y, | |||
UT_uint32 * | width, | |||
UT_uint32 * | height, | |||
UT_uint32 * | flags = 0 | |||
) | [virtual] |
References XAP_Prefs::getGeometry(), getPrefs(), and prefs.
Referenced by XAP_UnixFrameImpl::_setGeometry(), XAP_UnixFrameImpl::_fe::configure_event(), and XAP_Win32App::setupWindowFromPrefs().
GR_GraphicsFactory* XAP_App::getGraphicsFactory | ( | ) | const [inline] |
Referenced by AbiCollab_Command::_doCmdDebug(), XAP_UnixDialog_Insert_Symbol::_getGlistFonts(), AP_UnixDialog_Lists::_getGlistFonts(), AbiCollab_Command::AbiCollab_Command(), AbiCommand::AbiCommand(), initialize(), AP_UnixToolbar_FontCombo::populate(), AP_QtToolbar_FontCombo::populate(), AP_UnixToolbar_StyleCombo::repopulate(), AP_QtToolbar_StyleCombo::repopulate(), XAP_UnixDialog_FontChooser::runModal(), s_abi_widget_map_cb(), XAP_CocoaApp::XAP_CocoaApp(), XAP_QtApp::XAP_QtApp(), XAP_UnixApp::XAP_UnixApp(), and XAP_Win32App::XAP_Win32App().
XAP_AppImpl* XAP_App::getImpl | ( | ) | [inline] |
const char * XAP_App::getInputMode | ( | void | ) | const |
References XAP_InputModes::getCurrentMapName(), and m_pInputModes.
Referenced by AbiCollabSaveInterceptor::AbiCollabSaveInterceptor(), Defun1(), SaveBindings_invoke(), and Presentation::start().
const UT_LangRecord* XAP_App::getKbdLanguage | ( | ) | const [inline] |
Referenced by FV_View::_charInsert(), FV_View::cmdCharInsert(), and Defun().
XAP_Frame * XAP_App::getLastFocussedFrame | ( | ) | const |
References m_lastFocussedFrame, and safefindFrame().
Referenced by IE_Imp_RTF::_appendField(), IE_Imp_Text::_doEncodingDialog(), IE_Exp_Text::_doEncodingDialog(), IE_Exp_HTML::_doOptions(), AP_Dialog_CollaborationJoin::_eventAddBuddy(), AP_Dialog_MergeCells::_generateSrcDest(), AP_Dialog_CollaborationShare::_getActiveSession(), ABI_Collab_Import::_import(), IE_Imp_GDA::_importDataModel(), PD_Document::_importFile(), XAP_Dialog_ListDocuments::_init(), ServiceAccountHandler::_openDocumentSlave(), IE_Imp_Component::_parseStream(), IE_Imp_Object::_parseStream(), AP_Dialog_CollaborationShare::_populateShareState(), AccountHandler::_reportProtocolError(), AbiCollabSaveInterceptor::_saveFailed(), XAP_Win32FrameImpl::_setFullScreen(), PD_RDFDialogsGTK::_setIcon(), AbiCollabSessionManager::_setupFrame(), AbiGimp_invoke(), AbiGOComponent_Create(), AbiGOComponent_FileInsert(), AbiGoogle_invoke(), AbiMathView_FileInsert(), AbiOts_invoke(), AiksaurusABI_invoke(), AP_Dialog_FormatTable::applyChanges(), AP_Dialog_FormatFrame::applyChanges(), AP_Dialog_Border_Shading::applyChanges(), IE_Imp_RTF::ApplyParagraphAttributes(), IE_Imp_RTF::ApplySectionAttributes(), ServiceAccountHandler::askFilename(), AP_Dialog_FormatTable::askForGraphicPathName(), AP_Dialog_FormatFrame::askForGraphicPathName(), XMPPAccountHandler::authenticate(), AP_Dialog_SplitCells::autoUpdateMC(), AP_Dialog_MergeCells::autoUpdateMC(), BabelFish_invoke(), changed_cb(), AbiCollabSessionManager::closeSession(), XMPPAccountHandler::connect(), SpellChecker::couldNotLoadDictionary(), AP_Dialog_CollaborationAccounts::createEditAccount(), AP_Dialog_CollaborationAccounts::createNewAccount(), AP_CocoaPlugin_Document::currentDocument, DECLARE_ABI_PLUGIN_METHOD(), IE_Exp_EPUB::doOptions(), ev_EditMethod_invoke(), AP_Dialog_CollaborationShare::eventAccountChanged(), fl_AutoNum::fixHierarchy(), focus_in_event_Modeless(), focus_in_event_ModelessOther(), focus_out_event_Modeless(), FreeTranslation_invoke(), GDA_execSQL(), GDict_dlg_create(), GDict_invoke(), XAP_Dialog_Modeless::getActiveFrame(), AP_RDFSemanticItemGTKInjected< AP_RDFContact >::getExportToFileName(), AP_RDFSemanticItemGTKInjected< AP_RDFContact >::getImportFromFileName(), AP_Frame::getNewZoom(), PD_Document::getStatusBar(), AP_Dialog_Modal::getView(), IE_Imp_RTF::HandleAbiEmbed(), IE_Imp_RTF::HandleAbiMathml(), IE_Imp_RTF::HandleAbiTable(), IE_Imp_RTF::HandleStarKeyword(), PD_RDFEvent::importFromData(), PD_RDFContact::importFromData(), IE_Imp_RTF::insertStrux(), PD_RDFSemanticItem::insertTextWithXMLID(), IE_Imp_RDF::insertTextWithXMLID(), FV_View::isActive(), isImageSelected(), AbiCollabSessionManager::joinSession(), ServiceAccountHandler::joinSessionAsync(), LoadBindingsDlg_invoke(), EV_CocoaMenu::menuEvent, GOChartView::modify(), AP_UnixTopRuler::_fe::motion_notify_event(), Stateful_ViewListener::notify(), XAP_Win32AppImpl::openURL(), fl_DocListener::populateStrux(), XAP_Win32Slurp::processCommand(), AbiCollabSessionManager::processPacket(), AbiCollabSessionManager::removeBuddy(), InterruptableAsyncWorker< T >::run(), XAP_Win32Dialog_Print::runModal(), XAP_Win32Dialog_About::runModal(), AP_CocoaDialog_MailMerge::runModeless, s_abicollab_accounts(), s_abicollab_join(), s_abicollab_offer(), s_actuallyPrint(), s_closeWindow(), s_drag_data_get_cb(), s_EditMethods_check_frame(), saveState(), PD_DocumentRDF::selectXMLIDs(), AP_Dialog_Stylist::setAllSensitivities(), AP_Dialog_FormatTable::setAllSensitivities(), AP_Dialog_FormatFrame::setAllSensitivities(), AP_Dialog_Border_Shading::setCurBlockProps(), AP_Dialog_FormatTable::setCurCellProps(), AP_Dialog_FormatFrame::setCurFrameProps(), setKbdLanguage(), XMPPAccountHandler::setup(), AP_Dialog_CollaborationShare::share(), AP_Dialog_FormatTable::ShowErrorBox(), AP_Dialog_FormatFrame::ShowErrorBox(), IE_Imp_RTF::TranslateKeywordID(), XAP_CocoaAppController::unsetCurrentView:inFrame:, PD_Document::updateStatus(), URLDict_invoke(), EV_CocoaMenu::validateMenuItem, EV_CocoaFontTarget::validateMenuItem:, viewFromApp(), Wikipedia_invoke(), and ODe_ThumbnailsWriter::writeThumbnails().
const EV_Menu_ActionSet * XAP_App::getMenuActionSet | ( | ) | const |
References m_pMenuActionSet.
Referenced by EV_UnixMenu::_refreshMenu(), AbiCollabSaveInterceptor::AbiCollabSaveInterceptor(), AbiGimp_addToMenus(), AbiGOffice_addToMenus(), AbiMathView_addToMenus(), addToMenus(), AiksaurusABI_addToMenus(), BabelFish_addToMenus(), EV_CocoaMenu::buildAppMenu, GR_GOChartManager::buildContextualMenu(), XAP_UnixFrameImpl::_fe::delete_event(), FreeTranslation_addToMenus(), GDA_addToMenus(), GDict_addToMenus(), Google_addToMenus(), XAP_CocoaToolPalette::init, AP_CocoaPlugin_ContextMenuItem::initWithLabel:, LoadBindings_registerMethod(), EV_UnixMenu::menuEvent(), EV_QtMenu::menuEvent(), EV_CocoaMenu::menuEvent, EV_Win32Menu::onCommand(), EV_Win32Menu::onInitMenu(), Ots_addToMenus(), Presentation_registerMethod(), s_abicollab_add_menus(), EV_Win32Menu::synthesizeMenu(), EV_UnixMenu::synthesizeMenu(), EV_QtMenu::synthesizeMenu(), URLDict_addToMenus(), EV_CocoaMenu::validateMenuItem, and Wikipedia_addToMenus().
EV_Menu_ActionSet * XAP_App::getMenuActionSet | ( | ) |
References m_pMenuActionSet.
XAP_Menu_Factory* XAP_App::getMenuFactory | ( | void | ) | const [inline] |
Referenced by AbiGimp_addToMenus(), AbiGimp_RemoveFromMenus(), AbiGOffice_addToMenus(), AbiGOffice_removeFromMenus(), AbiMathView_addToMenus(), AbiMathView_removeFromMenus(), addToMenus(), AiksaurusABI_addToMenus(), AikSaurusABI_RemoveFromMenus(), BabelFish_addToMenus(), BabelFish_RemoveFromMenus(), GR_GOChartManager::buildContextualMenu(), AP_CocoaPlugin_ContextMenuItem::dealloc, Defun1(), EV_Menu::EV_Menu(), FreeTranslation_addToMenus(), FreeTranslation_RemoveFromMenus(), GDA_addToMenus(), GDA_removeFromMenus(), GDict_addToMenus(), GDict_removeFromMenus(), Google_addToMenus(), Google_removeFromMenus(), AP_CocoaPlugin_ContextMenuItem::initWithLabel:, LoadBindings_registerMethod(), LoadBindings_RemoveFromMethods(), Ots_addToMenus(), Ots_removeFromMenus(), Presentation_context(), Presentation_registerMethod(), Presentation_RemoveFromMethods(), GR_GOChartManager::removeContextualMenu(), removeFromMenus(), s_abicollab_add_menus(), s_abicollab_remove_menus(), s_doContextMenu_no_move(), URLDict_addToMenus(), URLDict_removeFromMenus(), Wikipedia_addToMenus(), and Wikipedia_removeFromMenus().
XAP_Dialog_Modeless * XAP_App::getModelessDialog | ( | UT_sint32 | id | ) |
References m_IdTable, and XAP_App::modeless_pair::pDialog.
Referenced by closeModelessDlgs(), notifyModelessDlgsCloseFrame(), and notifyModelessDlgsOfActiveFrame().
bool XAP_App::getNoGUI | ( | ) | const |
References m_bNoGUI.
XAP_Module * XAP_App::getPlugin | ( | const char * | szPluginName | ) |
Returns a pointer to the requested plugin if it is loaded. Return NULL otherwise.
References XAP_Module::getModuleInfo(), UT_GenericVector< T >::getNthItem(), instance, XAP_ModuleInfo::name, UT_GenericVector< T >::size(), and szName.
Referenced by FV_View::isGrammarLoaded(), and FV_View::isMathLoaded().
XAP_Prefs * XAP_App::getPrefs | ( | ) | const |
References m_prefs.
Referenced by GR_Win32USPGraphics::_constructorCommonCode(), AP_Dialog_Options::_event_SetDefaults(), PD_Document::_importFile(), _openRecent(), AP_Dialog_Options::_populateWindowData(), XAP_UnixDialog_FileOpenSaveAs::_run_gtk_main(), PD_Document::_saveAs(), XAP_UnixFrameImpl::_setGeometry(), AP_Dialog_Options::_storeDataForControl(), AP_Dialog_Options::_storeWindowData(), _viewTBx(), abi_plugin_register(), abi_widget_get_content(), abi_widget_get_selection(), AP_Dialog_Paragraph::AP_Dialog_Paragraph(), AP_LeftRuler::AP_LeftRuler(), AP_TopRuler::AP_TopRuler(), XAP_Frame::backup(), checkViewModeIsPrint(), Defun(), Defun1(), Defun_EV_GetMenuItemComputedLabel_Fn(), Defun_EV_GetMenuItemState_Fn(), FV_View::FV_View(), GR_CairoGraphics::getAllFontNames(), AP_Dialog_EpubExportOptions::getEpubExportDefaults(), getGeometry(), XAP_Dialog_HTMLOptions::getHTMLDefaults(), XAP_CocoaToolPalette::instance:, XAP_AppImpl::localizeHelpUrl(), PD_Document::PD_Document(), IE_Imp_EPUB::readStructure(), XAP_Toolbar_Factory::restoreToolbarsFromCurrentScheme(), s_AskForPathname(), s_doZoomDlg(), XAP_Dialog_HTMLOptions::saveDefaults(), AP_Dialog_EpubExportOptions::saveDefaults(), XAP_Toolbar_Factory::saveToolbarsInCurrentScheme(), AbiCollabSessionManager::serializeDocument(), PD_Document::setAttrProp(), setGeometry(), fl_DocSectionLayout::setPaperColor(), FL_DocLayout::setView(), XAP_Frame::setZoomPercentage(), FL_DocLayout::updateColor(), XAP_CocoaToolPalette::windowWillClose:, AP_LeftRuler::~AP_LeftRuler(), AP_TopRuler::~AP_TopRuler(), and FV_View::~FV_View().
bool XAP_App::getPrefsValue | ( | const gchar * | szKey, | |
const gchar ** | pszValue | |||
) | const |
References XAP_Prefs::getPrefsValue(), and m_prefs.
Referenced by XAP_Frame::_createAutoSaveTimer(), AP_Dialog_InsertTable::AP_Dialog_InsertTable(), FV_View::calculateZoomPercentForPageHeight(), FV_View::calculateZoomPercentForPageWidth(), FV_View::FV_View(), AP_Frame::getNewZoom(), EV_UnixToolbar::getStyle(), EV_QtToolbar::getStyle(), XAP_Frame::initialize(), initialize(), s_addToolsToProvider(), and EV_Win32Toolbar::synthesize().
References XAP_Prefs::getPrefsValue(), and m_prefs.
bool XAP_App::getPrefsValueBool | ( | const gchar * | szKey, | |
bool * | pbValue | |||
) | const |
References XAP_Prefs::getPrefsValueBool(), and m_prefs.
Referenced by FV_View::_charInsert(), AP_TopRuler::_draw(), AP_TopRuler::_getFirstPixelInColumn(), AP_TopRuler::_getMarginMarkerRects(), UT_UUID::_makeUUID(), FV_View::cmdCharInsert(), FV_View::FV_View(), fp_Run::getVisDirection(), IE_Exp_Text::IE_Exp_Text(), IE_Imp_Text::IE_Imp_Text(), XAP_Frame::initialize(), initialize(), AP_TopRuler::isMouseOverTab(), AP_TopRuler::mouseMotion(), AP_TopRuler::mouseRelease(), and setKbdLanguage().
virtual const XAP_StringSet* XAP_App::getStringSet | ( | ) | const [pure virtual] |
Implemented in XAP_CocoaApp, XAP_UnixApp, and XAP_Win32App.
Referenced by AD_Document::_adjustHistoryOnSave(), XAP_Win32Dialog_FileOpenSaveAs::_buildFilterList(), AP_UnixDialog_Styles::_constructFormatList(), AP_UnixDialog_Styles::_constructGnomeModifyButtons(), AP_UnixDialog_Styles::_constructModifyDialog(), AP_UnixDialog_Styles::_constructModifyDialogContents(), XAP_UnixDialog_Zoom::_constructWindow(), XAP_UnixDialog_WindowMore::_constructWindow(), XAP_UnixDialog_PluginManager::_constructWindow(), XAP_UnixDialog_Password::_constructWindow(), XAP_UnixDialog_Insert_Symbol::_constructWindow(), XAP_UnixDialog_Image::_constructWindow(), XAP_UnixDialog_HTMLOptions::_constructWindow(), XAP_UnixDialog_History::_constructWindow(), XAP_UnixDialog_Encoding::_constructWindow(), AP_UnixDialog_ToggleCase::_constructWindow(), AP_UnixDialog_Tab::_constructWindow(), AP_UnixDialog_Stylist::_constructWindow(), AP_UnixDialog_Styles::_constructWindow(), AP_UnixDialog_SplitCells::_constructWindow(), AP_UnixDialog_Spell::_constructWindow(), AP_UnixDialog_Replace::_constructWindow(), AP_UnixDialog_RDFQuery::_constructWindow(), AP_UnixDialog_RDFEditor::_constructWindow(), AP_UnixDialog_Paragraph::_constructWindow(), AP_UnixDialog_PageSetup::_constructWindow(), AP_UnixDialog_PageNumbers::_constructWindow(), AP_UnixDialog_Options::_constructWindow(), AP_UnixDialog_New::_constructWindow(), AP_UnixDialog_MetaData::_constructWindow(), AP_UnixDialog_MergeCells::_constructWindow(), AP_UnixDialog_MailMerge::_constructWindow(), AP_UnixDialog_Lists::_constructWindow(), AP_UnixDialog_InsertXMLID::_constructWindow(), AP_UnixDialog_InsertTable::_constructWindow(), AP_UnixDialog_InsertHyperlink::_constructWindow(), AP_UnixDialog_InsertBookmark::_constructWindow(), AP_UnixDialog_Insert_DateTime::_constructWindow(), AP_UnixDialog_HdrFtr::_constructWindow(), AP_UnixDialog_Goto::_constructWindow(), AP_UnixDialog_FormatTOC::_constructWindow(), AP_UnixDialog_FormatTable::_constructWindow(), AP_UnixDialog_FormatFrame::_constructWindow(), AP_UnixDialog_FormatFootnotes::_constructWindow(), AP_UnixDialog_Field::_constructWindow(), AP_UnixDialog_EpubExportOptions::_constructWindow(), AP_UnixDialog_Columns::_constructWindow(), AP_UnixDialog_Break::_constructWindow(), AP_UnixDialog_Border_Shading::_constructWindow(), AP_UnixDialog_Background::_constructWindow(), AP_UnixDialog_Annotation::_constructWindow(), AP_UnixDialog_ToggleCase::_constructWindowContents(), AP_UnixDialog_SplitCells::_constructWindowContents(), AP_UnixDialog_Paragraph::_constructWindowContents(), AP_UnixDialog_Options::_constructWindowContents(), AP_UnixDialog_MergeCells::_constructWindowContents(), AP_UnixDialog_Lists::_constructWindowContents(), AP_UnixDialog_InsertXMLID::_constructWindowContents(), AP_UnixDialog_InsertHyperlink::_constructWindowContents(), AP_UnixDialog_InsertBookmark::_constructWindowContents(), AP_UnixDialog_Columns::_constructWindowContents(), AP_UnixDialog_Background::_constructWindowContents(), AP_Dialog_Styles::_createCharPreviewFromGC(), AP_UnixDialog_FormatTOC::_createLevelItems(), AP_Dialog_Styles::_createParaPreviewFromGC(), AP_Dialog_Paragraph::_createPreviewFromGC(), AP_TopRuler::_displayStatusMessage(), AP_LeftRuler::_displayStatusMessage(), fp_ForcedPageBreakRun::_draw(), fp_ForcedColumnBreakRun::_draw(), s_WML_Listener::_emitTOC(), AP_UnixDialog_Lists::_fillBulletedStyleMenu(), AP_CocoaDialog_Lists::_fillBulletedStyleMenu, AP_Win32Dialog_Lists::_fillFoldingList(), AP_UnixDialog_Lists::_fillFontMenu(), AP_CocoaDialog_Lists::_fillFontMenu, AP_UnixDialog_Lists::_fillNoneStyleMenu(), AP_CocoaDialog_Lists::_fillNoneStyleMenu, AP_UnixDialog_Lists::_fillNumberedStyleMenu(), AP_CocoaDialog_Lists::_fillNumberedStyleMenu, AP_Win32Dialog_Lists::_fillStyleList(), AP_UnixDialog_Stylist::_fillTree(), AP_Win32Dialog_Lists::_fillTypeList(), XAP_Dialog_ListDocuments::_getHeading(), XAP_Dialog_ListDocuments::_getOKButtonText(), XAP_Dialog_ListDocuments::_getTitle(), s_DocBook_Listener::_handleTOC(), XAP_Win32Dialog_FileOpenSaveAs::_initPreviewDlg(), pt_PieceTable::_loadBuiltinStyles(), XAP_CocoaDialog_FileOpenSaveAs::_makeSavePanel, AP_Win32Dialog_Styles::_onCommand(), AP_Win32Dialog_Goto::_onCommand(), AP_Win32Dialog_Styles::_onDrawButton(), XAP_Win32Dialog_Zoom::_onInitDialog(), XAP_Win32Dialog_PluginManager::_onInitDialog(), XAP_Win32Dialog_ListDocuments::_onInitDialog(), XAP_Win32Dialog_Language::_onInitDialog(), XAP_Win32Dialog_Image::_onInitDialog(), XAP_Win32Dialog_FontChooser::_onInitDialog(), AP_Win32Dialog_WordCount::_onInitDialog(), AP_Win32Dialog_ToggleCase::_onInitDialog(), AP_Win32Dialog_Tab::_onInitDialog(), AP_Win32Dialog_Stylist::_onInitDialog(), AP_Win32Dialog_Styles::_onInitDialog(), AP_Win32Dialog_SplitCells::_onInitDialog(), AP_Win32Dialog_Spell::_onInitDialog(), AP_Win32Dialog_Replace::_onInitDialog(), AP_Win32Dialog_Paragraph::_onInitDialog(), AP_Win32Dialog_PageSetup_Sheet::_onInitDialog(), AP_Win32Dialog_PageNumbers::_onInitDialog(), AP_Win32Dialog_Options_Sheet::_onInitDialog(), AP_Win32Dialog_New::_onInitDialog(), AP_Win32Dialog_MergeCells::_onInitDialog(), AP_Win32Dialog_MarkRevisions::_onInitDialog(), AP_Win32Dialog_MailMerge::_onInitDialog(), AP_Win32Dialog_Lists::_onInitDialog(), AP_Win32Dialog_ListRevisions::_onInitDialog(), AP_Win32Dialog_InsertTable::_onInitDialog(), AP_Win32Dialog_InsertHyperlink::_onInitDialog(), AP_Win32Dialog_InsertBookmark::_onInitDialog(), AP_Win32Dialog_Insert_DateTime::_onInitDialog(), AP_Win32Dialog_HdrFtr::_onInitDialog(), AP_Win32Dialog_Goto::_onInitDialog(), AP_Win32Dialog_FormatTOC_Sheet::_onInitDialog(), AP_Win32Dialog_FormatTable::_onInitDialog(), AP_Win32Dialog_FormatFrame::_onInitDialog(), AP_Win32Dialog_FormatFootnotes::_onInitDialog(), AP_Win32Dialog_Field::_onInitDialog(), AP_Win32Dialog_EpubExportOptions::_onInitDialog(), AP_Win32Dialog_Columns::_onInitDialog(), AP_Win32Dialog_Break::_onInitDialog(), AP_Win32Dialog_Border_Shading::_onInitDialog(), AP_Win32Dialog_Annotation::_onInitDialog(), AP_Win32Dialog_Paragraph::_onInitTab(), AP_Dialog_Styles::_populateAbiPreview(), AP_UnixDialog_Styles::_populateModify(), XAP_UnixDialog_History::_populateWindowData(), XAP_UnixDialog_DocComparison::_populateWindowData(), XAP_Win32Dialog_FileOpenSaveAs::_previewPicture(), XAP_UnixDialog_PluginManager::_refresh(), EV_Win32Toolbar::_refreshItem(), XAP_UnixDialog_FileOpenSaveAs::_run_gtk_main(), AP_UnixDialog_Lists::_setRadioButtonLabels(), AP_Dialog_Goto::_setupJumpTargets(), AP_Win32Dialog_Spell::_showMisspelledWord(), XAP_FrameImpl::_updateTitle(), AP_UnixDialog_Spell::_updateWindow(), AbiGOComponent_Create(), AbiMathView_addToMenus(), AP_CreateToolbarLabelSet(), AP_Dialog_FormatTOC::AP_Dialog_FormatTOC(), AP_Dialog_ListRevisions::AP_Dialog_ListRevisions(), AP_Dialog_MarkRevisions::AP_Dialog_MarkRevisions(), AP_Preview_Paragraph::AP_Preview_Paragraph(), ap_sbf_InsertMode::ap_sbf_InsertMode(), ap_sbf_PageInfo::ap_sbf_PageInfo(), AP_Win32StatusBar::AP_Win32StatusBar(), XAP_Menu_Factory::buildMenuLabelSet(), Stylist_tree::buildStyles(), fp_FieldPageReferenceRun::calculateValue(), AP_UnixDialog_Latex::constructDialog(), XAP_UnixDialog_Language::constructWindow(), XAP_UnixDialog_FontChooser::constructWindow(), XAP_UnixDialog_DocComparison::constructWindow(), AP_UnixDialog_MarkRevisions::constructWindow(), AP_UnixDialog_ListRevisions::constructWindow(), XAP_UnixDialog_FontChooser::constructWindowContents(), XAP_Dialog_Insert_Symbol::ConstructWindowName(), AP_Dialog_WordCount::ConstructWindowName(), AP_Dialog_SplitCells::ConstructWindowName(), AP_Dialog_Replace::ConstructWindowName(), AP_Dialog_Modeless::ConstructWindowName(), AP_Dialog_MergeCells::ConstructWindowName(), AP_Dialog_Latex::ConstructWindowName(), AP_Dialog_Goto::ConstructWindowName(), AP_Dialog_FormatTable::ConstructWindowName(), AP_Dialog_FormatFrame::ConstructWindowName(), AP_Dialog_Border_Shading::ConstructWindowName(), SpellChecker::couldNotLoadDictionary(), XAP_Menu_Factory::CreateMenuLabelSet(), XAP_Frame::createMessageBox(), Defun(), Defun1(), Defun_EV_GetToolbarItemState_Fn(), AP_UnixDialog_Styles::event_basedOn(), AP_UnixDialog_Options::event_ChooseTransparentColor(), AP_UnixDialog_Styles::event_DeleteClicked(), AP_UnixDialog_Styles::event_followedBy(), AP_UnixDialog_Styles::event_ListClicked(), XAP_Win32Dialog_PluginManager::event_Load(), XAP_CocoaDialog_PluginManager::event_Load, AP_UnixDialog_Styles::event_Modify_OK(), AP_UnixDialog_Styles::event_ModifyClicked(), AP_UnixDialog_Styles::event_styleType(), AP_Win32Dialog_Styles::eventStyleType(), AP_Dialog_RDFQuery::executeQuery(), fill_store(), AP_Dialog_FormatTOC::fillTOCPropsFromDoc(), fl_TOCLayout::getDefaultHeading(), XAP_Dialog_Language::getDocDefaultLangCheckboxLabel(), XAP_Dialog_Language::getDocDefaultLangDescription(), getStylesheetName(), XAP_Toolbar_Factory::getToolbarNames(), XAP_Win32DialogBase::localizeControlText(), AP_Dialog_WordCount::localizeDialog(), XAP_Win32DialogBase::localizeDialogTitle(), XAP_Frame::makeBackupName(), AP_UnixDialog_Styles::new_styleName(), AP_Win32Toolbar_ZoomCombo::populate(), AP_UnixToolbar_ZoomCombo::populate(), AP_QtToolbar_ZoomCombo::populate(), AP_CocoaToolbar_ZoomCombo::populate(), fl_DocListener::populateStrux(), XAP_UnixDialog_FileOpenSaveAs::previewPicture(), XAP_UnixDialog_Print::PrintPage(), PD_RDFDialogsGTK::runInsertReferenceDialog(), XAP_Win32Dialog_FileOpenSaveAs::runModal(), XAP_Win32Dialog_About::runModal(), XAP_UnixDialog_FileOpenSaveAs::runModal(), XAP_UnixDialog_ClipArt::runModal(), XAP_QtDialog_FileOpenSaveAs::runModal(), XAP_CocoaDialog_WindowMore::runModal(), XAP_CocoaDialog_MessageBox::runModal(), XAP_CocoaDialog_FileOpenSaveAs::runModal, XAP_CocoaDialog_Encoding::runModal(), AP_Win32Dialog_Options::runModal(), AP_CocoaDialog_Insert_DateTime::runModal(), PD_RDFDialogsGTK::runSemanticStylesheetsDialog(), s_actuallyPrint(), s_doPrint(), pt_PieceTable::s_getLocalisedStyleName(), pt_PieceTable::s_getUnlocalisedStyleName(), s_LoadingCursorCallback(), s_PrintHookProc(), s_StartStopLoadingCursor(), sAddHelpButton(), AD_Document::setAutoRevisioning(), AbiCollabSessionManager::setDocumentHandles(), XAP_Dialog_Language::setDocumentLanguage(), XAP_Dialog_MessageBox::setMessage(), XAP_Dialog_MessageBox::setSecondaryMessage(), AP_UnixDialog_Goto::setupAnnotationList(), AP_RDFSemanticItemGTKInjected< AP_RDFContact >::showEditorWindow(), AD_Document::showHistory(), AP_Dialog_RDFEditor::statusIsTripleCount(), EV_QtToolbar::synthesize(), PD_Document::updateStatus(), UT_Encoding::UT_Encoding(), UT_Language_updateLanguageNames(), XAP_FrameImpl::viewAutoUpdater(), XAP_CocoaToolPalette::windowDidLoad, XAP_CocoaDlg_Insert_SymbolController::windowDidLoad, AP_CocoaDialog_OptionsController::windowDidLoad, AP_CocoaDialog_ListsController::windowDidLoad, AP_CocoaDialog_BreakController::windowDidLoad, XAP_Dialog_DocComparison::XAP_Dialog_DocComparison(), and XAP_Dialog_History::XAP_Dialog_History().
const EV_Toolbar_ActionSet * XAP_App::getToolbarActionSet | ( | ) | const |
References m_pToolbarActionSet.
Referenced by EV_Win32Toolbar::_refreshID(), AbiCollabSaveInterceptor::AbiCollabSaveInterceptor(), XAP_CocoaToolPalette::init, EV_CocoaFontTarget::menuSelected:, EV_Win32Toolbar::onDropArrow(), EV_Win32Toolbar::refreshToolbar(), EV_UnixToolbar::refreshToolbar(), XAP_Toolbar_Factory::restoreToolbarsFromCurrentScheme(), EV_Win32Toolbar::synthesize(), EV_UnixToolbar::synthesize(), EV_QtToolbar::synthesize(), EV_Win32Toolbar::toolbarEvent(), and EV_UnixToolbar::toolbarEvent().
EV_Toolbar_ActionSet * XAP_App::getToolbarActionSet | ( | ) |
References m_pToolbarActionSet.
XAP_Toolbar_Factory* XAP_App::getToolbarFactory | ( | void | ) | const [inline] |
virtual const char* XAP_App::getUserPrivateDirectory | ( | ) | const [pure virtual] |
Implemented in XAP_CocoaApp, XAP_UnixApp, XAP_QtApp, and XAP_Win32App.
Referenced by AP_UnixDialog_New::_constructWindow(), AP_Win32Prefs::_getPrefsPathname(), AP_UnixPrefs::_getPrefsPathname(), AP_CocoaPrefs::_getPrefsPathname(), AP_Win32Dialog_New::_onInitDialog(), AP_Win32Dialog_New::_setFileName(), abi_plugin_register(), findAbiSuiteLibFile(), DiskSessionRecorder::getTargetDirectory(), initialize(), XAP_CocoaModule::loadAllPlugins(), and SaveBindings_invoke().
UT_UUIDGenerator* XAP_App::getUUIDGenerator | ( | ) | const [inline] |
Referenced by AD_Document::AD_Document(), AD_VersionData::AD_VersionData(), PD_XMLIDCreator::createUniqueXMLID(), createUUIDString(), AD_Document::getNewUUID(), AD_Document::getNewUUID32(), AD_Document::getNewUUID64(), TelepathyAccountHandler::startSession(), and AbiCollabSessionManager::startSession().
virtual AV_View* XAP_App::getViewSelection | ( | ) | [inline, virtual] |
bool XAP_App::initialize | ( | const char * | szKeyBindingsKey, | |
const char * | szKeyBindingsDefaultValue | |||
) | [virtual] |
Reimplemented in XAP_CocoaApp, XAP_UnixApp, and XAP_Win32App.
References _getKbdLanguage(), clearIdTable(), XAP_InputModes::createInputMode(), FREEP, getBindingMap(), getGraphicsFactory(), getPrefsValue(), getPrefsValueBool(), getUserPrivateDirectory(), GR_GraphicsFactory::isRegistered(), XAP_Dictionary::load(), m_pApp, m_pDict, m_pInputModes, m_pScriptLibrary, GR_GraphicsFactory::registerAsDefault(), XAP_InputModes::setCurrentMap(), setEnableSmoothScrolling(), setKbdLanguage(), time, UT_ASSERT, UT_DEBUGMSG, UT_return_val_if_fail, UT_srandom(), UT_UNUSED, XAP_PREF_KEY_DefaultGraphics, and XAP_PREF_KEY_EnableSmoothScrolling.
bool XAP_App::isBonoboRunning | ( | void | ) | const [inline] |
Referenced by XAP_UnixFrameImpl::_fe::delete_event().
bool XAP_App::isDebug | ( | void | ) | [inline] |
bool XAP_App::isModelessRunning | ( | UT_sint32 | id | ) |
References XAP_App::modeless_pair::id, m_IdTable, NUM_MODELESSID, and UT_ASSERT.
Referenced by XAP_Dialog_Modeless::isRunning().
bool XAP_App::isSmoothScrollingEnabled | ( | void | ) | [inline] |
Referenced by GR_UnixCairoGraphics::scroll().
bool XAP_App::isWordInDict | ( | const UT_UCSChar * | pWord, | |
UT_uint32 | len | |||
) | const |
References XAP_Dictionary::isWord(), and m_pDict.
UT_String XAP_App::localizeHelpUrl | ( | const char * | pathBeforeLang, | |
const char * | pathAfterLang, | |||
const char * | remoteURLbase | |||
) | [inline] |
void XAP_App::migrate | ( | const char * | oldName, | |
const char * | newName, | |||
const char * | path | |||
) | const [virtual] |
Reimplemented in XAP_UnixApp.
References UT_UNUSED.
Referenced by AP_UnixPrefs::_getPrefsPathname(), and XAP_QtApp::getUserPrivateDirectory().
virtual GR_Graphics* XAP_App::newDefaultScreenGraphics | ( | ) | const [pure virtual] |
virtual XAP_Frame* XAP_App::newFrame | ( | ) | [pure virtual] |
Implemented in XAP_CocoaApp, XAP_UnixApp, and XAP_Win32App.
Referenced by XAP_Win32FrameImpl::_FrameWndProc(), AbiCollabSessionManager::_setupFrame(), AbiOts_invoke(), XAP_CocoaAppController::application:openFile:, Defun0(), Defun1(), fileOpen(), retrieveState(), s_importFile(), and s_loadDocument().
GR_Graphics * XAP_App::newGraphics | ( | UT_uint32 | iClassId, | |
GR_AllocInfo & | param | |||
) | const |
Use only if you require specific graphics, otherwise use newGraphics(GR_AllocInfo*)
References m_pGraphicsFactory, GR_GraphicsFactory::newGraphics(), and UT_return_val_if_fail.
GR_Graphics * XAP_App::newGraphics | ( | GR_AllocInfo & | param | ) | const |
This is the primary function for allocating graphics classes. It determines if screen or priter graphics is required and then allocates appropriate graphics respecting current setting.
References GRID_DEFAULT, GRID_DEFAULT_PRINT, GR_AllocInfo::isPrinterGraphics(), m_pGraphicsFactory, GR_GraphicsFactory::newGraphics(), and UT_return_val_if_fail.
Referenced by AP_Win32FrameImpl::_createDocumentWindow(), AP_CocoaFrameImpl::_createDocView, XAP_CocoaDialog_FontChooser::_createGC, AP_CocoaDialog_Paragraph::_createGC, AP_UnixFrame::_createViewGraphics(), AP_QtFrame::_createViewGraphics(), XAP_Win32Dialog_FileOpenSaveAs::_previewPicture(), AP_Win32FrameImpl::createDocWndGraphics(), AP_Win32TopRuler::createWindow(), AP_Win32LeftRuler::createWindow(), GR_Win32Graphics::getPrinterGraphics(), XAP_Win32Dialog_Print::getPrinterGraphicsContext(), XAP_CocoaDialog_Print::getPrinterGraphicsContext(), AP_UnixDialog_Styles::modifyRunModal(), AP_UnixApp::newDefaultScreenGraphics(), GR_Graphics::newNullGraphics(), XAP_UnixDialog_FileOpenSaveAs::previewPicture(), AP_UnixTopRuler::_fe::realize(), AP_UnixLeftRuler::_fe::realize(), AbiCommand::replaceDocument(), XAP_UnixDialog_FontChooser::runModal(), AP_UnixDialog_Styles::runModal(), AP_UnixDialog_Paragraph::runModal(), AP_UnixDialog_PageNumbers::runModal(), AP_UnixDialog_Lists::runModal(), AP_UnixDialog_Columns::runModal(), AP_CocoaDialog_PageNumbers::runModal, AP_CocoaDialog_Lists::runModal, AP_CocoaDialog_Columns::runModal, XAP_UnixDialog_Insert_Symbol::runModeless(), AP_UnixPreview_Annotation::runModeless(), AP_UnixDialog_Lists::runModeless(), AP_UnixDialog_FormatTable::runModeless(), AP_UnixDialog_FormatFrame::runModeless(), AP_UnixDialog_Border_Shading::runModeless(), AP_CocoaDialog_Lists::runModeless, AP_CocoaDialog_FormatTable::runModeless, AP_CocoaDialog_FormatFrame::runModeless, XAP_Win32Dialog_About::s_dlgProc(), AP_Win32TopRuler::setView(), AP_Win32LeftRuler::setView(), GR_Win32PrintPreviewGraphics::startPage(), XAP_UnixApp::XAP_UnixApp(), XAP_UnixFontPreview::XAP_UnixFontPreview(), and XAP_Win32PreviewWidget::XAP_Win32PreviewWidget().
void XAP_App::notifyFrameCountChange | ( | ) | [virtual] |
Reimplemented in XAP_CocoaApp.
References getFrameCount(), and UT_DEBUGMSG.
Referenced by forgetFrame(), and rememberFrame().
bool XAP_App::notifyListeners | ( | AV_View * | pView, | |
const AV_ChangeMask | hint, | |||
void * | pPrivateData = NULL | |||
) | [virtual] |
Send notifications to all the registered plugins
References AV_CHG_NONE, UT_GenericVector< T >::getItemCount(), UT_GenericVector< T >::getNthItem(), AV_Listener::getType(), m_vecPluginListeners, AV_ListenerExtra::notify(), and AV_Listener::notify().
Referenced by AV_View::notifyListeners().
void XAP_App::notifyModelessDlgsCloseFrame | ( | XAP_Frame * | p_Frame | ) |
References getModelessDialog(), and XAP_Dialog_Modeless::notifyCloseFrame().
Referenced by forgetFrame().
void XAP_App::notifyModelessDlgsOfActiveFrame | ( | XAP_Frame * | p_Frame | ) |
References getModelessDialog(), and XAP_Dialog_Modeless::setActiveFrame().
Referenced by rememberFocussedFrame().
bool XAP_App::openHelpURL | ( | const char * | url | ) | [inline] |
Referenced by _helpOpenURL().
bool XAP_App::openURL | ( | const char * | url | ) | [inline] |
void XAP_App::operator= | ( | const XAP_App & | ) | [private] |
void XAP_App::parseAndSetGeometry | ( | const char * | string | ) | [virtual] |
References setGeometry().
virtual void XAP_App::pasteFromClipboard | ( | PD_DocumentRange * | pDocRange, | |
bool | bUseClipboard, | |||
bool | bHonorFormatting = true | |||
) | [pure virtual] |
Implemented in XAP_CocoaApp, XAP_UnixApp, and XAP_Win32App.
Referenced by FV_View::_doPaste(), FV_View::_MergeCells(), and FV_View::_populateThisHdrFtr().
virtual void XAP_App::reallyExit | ( | ) | [pure virtual] |
Implemented in XAP_CocoaApp, XAP_UnixApp, XAP_QtApp, and XAP_Win32App.
Referenced by Defun(), s_closeWindow(), and saveState().
void XAP_App::rebuildMenus | ( | void | ) | [virtual] |
References getFrame(), and getFrameCount().
Referenced by AbiMathView_addToMenus(), AbiMathView_removeFromMenus(), and setInputMode().
bool XAP_App::registerEmbeddable | ( | GR_EmbedManager * | pEmbed, | |
const char * | uid = NULL | |||
) |
Register an embeddable plugin with XAP_App
References GR_EmbedManager::getObjectType(), m_mapEmbedManagers, and UT_return_val_if_fail.
Referenced by abi_plugin_register(), and register_mime_cb().
void XAP_App::rememberFocussedFrame | ( | void * | pJustFocussedFrame | ) |
References m_lastFocussedFrame, notifyModelessDlgsOfActiveFrame(), and safefindFrame().
Referenced by FV_View::focusChange(), rememberFrame(), s_abi_widget_map_cb(), and XAP_CocoaAppController::setCurrentView:inFrame:.
References UT_GenericVector< T >::addItem(), UT_GenericVector< T >::getItemCount(), UT_GenericVector< T >::getNthItem(), XAP_Frame::getViewKey(), m_hashClones, m_lastFocussedFrame, m_vecFrames, notifyFrameCountChange(), rememberFocussedFrame(), XAP_Frame::setViewNumber(), XAP_Frame::updateTitle(), UT_ASSERT, UT_continue_if_fail, and UT_return_val_if_fail.
Referenced by AP_Frame::_loadDocument(), AP_Frame::_replaceView(), AP_Frame::loadDocument(), s_abi_widget_map_cb(), and XAP_Frame::XAP_Frame().
void XAP_App::rememberModelessId | ( | UT_sint32 | id, | |
XAP_Dialog_Modeless * | pDialog | |||
) |
References XAP_App::modeless_pair::id, m_IdTable, NUM_MODELESSID, XAP_App::modeless_pair::pDialog, and UT_ASSERT.
Referenced by AP_UnixPreview_Annotation::_constructWindow(), abiSetupModelessDialog(), XAP_Win32Dialog_Insert_Symbol::runModeless(), XAP_Win32DialogHelper::runModeless(), XAP_CocoaDialog_Insert_Symbol::runModeless, AP_Win32Dialog_WordCount::runModeless(), AP_Win32Dialog_Stylist::runModeless(), AP_Win32Dialog_SplitCells::runModeless(), AP_Win32Dialog_Replace::runModeless(), AP_Win32Dialog_MergeCells::runModeless(), AP_Win32Dialog_MailMerge::runModeless(), AP_Win32Dialog_Latex::runModeless(), AP_Win32Dialog_Goto::runModeless(), AP_Win32Dialog_FormatTOC::runModeless(), AP_Win32Dialog_FormatTable::runModeless(), AP_Win32Dialog_FormatFrame::runModeless(), AP_Win32Dialog_Border_Shading::runModeless(), AP_CocoaDialog_WordCount::runModeless, AP_CocoaDialog_Replace::runModeless, AP_CocoaDialog_MailMerge::runModeless, AP_CocoaDialog_Lists::runModeless, AP_CocoaDialog_Latex::runModeless, and AP_CocoaDialog_Goto::runModeless.
bool XAP_App::removeListener | ( | AV_ListenerId | listenerId | ) |
Plugins must remove themselves if they've registered.
References UT_GenericVector< T >::deleteNthItem(), UT_GenericVector< T >::getNthItem(), and m_vecPluginListeners.
Referenced by abi_plugin_unregister().
bool XAP_App::retrieveState | ( | ) |
Does the work necessary to restore the application to a previously saved state. The actual mechanism through which the stored state data is retrieved is implemented in _retrieveState().
References _retrieveState(), AV_FOCUS_HERE, AD_Document::clearFilename(), XAP_StateData::filenames, AV_View::focusChange(), AD_Document::forceDirty(), UT_GenericVector< T >::getItemCount(), UT_GenericVector< T >::getNthItem(), HIBERNATED_EXT, XAP_StateData::iDocPos, XAP_StateData::iFileCount, XAP_StateData::iXScroll, XAP_StateData::iYScroll, m_vecFrames, newFrame(), AV_View::setPoint(), AV_View::setXScrollOffset(), AV_View::setYScrollOffset(), UT_ASSERT_HARMLESS, UT_OK, UT_return_val_if_fail, UT_SHOULD_NOT_HAPPEN, and XAP_SD_MAX_FILES.
References UT_GenericVector< T >::getItemCount(), UT_GenericVector< T >::getNthItem(), and m_vecFrames.
Referenced by getLastFocussedFrame(), and rememberFocussedFrame().
virtual void XAP_App::saveRecoveryFiles | ( | ) | [pure virtual] |
bool XAP_App::saveState | ( | bool | bQuit | ) |
References _saveState(), closeModelessDlgs(), file, XAP_StateData::filenames, XAP_Frame::getCurrentDoc(), XAP_Frame::getCurrentView(), AD_Document::getFilename(), UT_GenericVector< T >::getItemCount(), getLastFocussedFrame(), XAP_Frame::getNonDecoratedTitle(), XAP_StateData::iDocPos, XAP_StateData::iFileCount, AD_Document::isDirty(), XAP_StateData::iXScroll, XAP_StateData::iYScroll, m_vecFrames, reallyExit(), s, AD_Document::save(), AD_Document::saveAs(), UT_OK, UT_SAVE_NAMEERROR, UT_UTF8String::utf8_str(), and XAP_SD_MAX_FILES.
void XAP_App::setBonoboRunning | ( | void | ) | [inline] |
bool XAP_App::setDebugBool | ( | void | ) | [inline] |
void XAP_App::setDefaultGraphicsId | ( | UT_uint32 | i | ) |
void XAP_App::setDisableDoubleBuffering | ( | bool | v | ) |
References m_bDisableDoubleBuffering.
Referenced by AbiCommand::AbiCommand(), and setNoGUI().
void XAP_App::setEnableSmoothScrolling | ( | bool | b | ) |
References m_bEnableSmoothScrolling.
Referenced by AP_Dialog_Options::_storeWindowData(), FV_View::calculateNumHorizPages(), and initialize().
bool XAP_App::setGeometry | ( | UT_sint32 | x, | |
UT_sint32 | y, | |||
UT_uint32 | width, | |||
UT_uint32 | height, | |||
UT_uint32 | flags = 0 | |||
) | [virtual] |
References getPrefs(), prefs, and XAP_Prefs::setGeometry().
Referenced by XAP_Win32FrameImpl::_close(), XAP_UnixFrameImpl::_fe::configure_event(), and parseAndSetGeometry().
UT_sint32 XAP_App::setInputMode | ( | const char * | szName, | |
bool | bForce = false | |||
) | [virtual] |
References AV_CHG_INPUTMODE, XAP_InputModes::createInputMode(), getBindingMap(), XAP_InputModes::getCurrentMapName(), XAP_Frame::getCurrentView(), getFrame(), getFrameCount(), XAP_InputModes::getMapByName(), m_pApp, m_pInputModes, AV_View::notifyListeners(), rebuildMenus(), XAP_InputModes::setCurrentMap(), UT_DEBUGMSG, and UT_return_val_if_fail.
Referenced by XAP_UnixFrameImpl::_setInputMode(), XAP_CocoaFrameImpl::_setInputMode, Defun1(), Presentation::end(), LoadBindings::Set(), and Presentation::start().
void XAP_App::setKbdLanguage | ( | const char * | pszLang | ) |
translate given language tag into static UT_LangRecord stored in UT_Language class and set m_pKbdLang to it; do addtional processing to ensure the change propagates into the status bar
References EV_EditMethodContainer::findEditMethodByName(), EV_EditMethod::Fn(), XAP_Frame::getCurrentView(), getEditMethodContainer(), UT_Language::getLangRecordFromCode(), getLastFocussedFrame(), getPrefsValueBool(), m_pKbdLang, UT_LangRecord::m_szLangCode, UT_return_if_fail, and XAP_PREF_KEY_ChangeLanguageWithKeyboard.
Referenced by initialize().
void XAP_App::setNoGUI | ( | bool | v | ) |
References m_bNoGUI, and setDisableDoubleBuffering().
Referenced by AbiCommand::AbiCommand().
virtual void XAP_App::setViewSelection | ( | AV_View * | ) | [inline, virtual] |
Referenced by AP_Frame::_replaceView().
void XAP_App::signalWrapper | ( | int | sig_num | ) | [static] |
Signal function
References catchSignals(), and getApp().
Referenced by AP_UnixApp::catchSignals(), AP_QtApp::catchSignals(), and AP_CocoaApp::catchSignals().
void XAP_App::suggestWord | ( | UT_GenericVector< UT_UCSChar * > * | pVecSuggestions, | |
const UT_UCSChar * | pWord, | |||
UT_uint32 | lenWord | |||
) |
Look up the custom dictionary for suggested words
References m_pDict, and XAP_Dictionary::suggestWord().
virtual BidiSupportType XAP_App::theOSHasBidiSupport | ( | ) | const [inline, virtual] |
Reimplemented in XAP_CocoaApp, XAP_UnixApp, and XAP_Win32App.
Referenced by GR_Win32Graphics::drawChars(), fp_TextRun::fp_TextRun(), AP_Dialog_ListRevisions::getNthItemText(), and XAP_DiskStringSet::setValue().
bool XAP_App::unRegisterEmbeddable | ( | const char * | uid | ) |
UnRegister an embeddable plugin with XAP_App. The plugin itself is responsible for actually deleting the object.
References m_mapEmbedManagers.
Referenced by abi_plugin_unregister().
bool XAP_App::updateClones | ( | XAP_Frame * | pFrame | ) |
References UT_GenericVector< T >::getItemCount(), UT_GenericVector< T >::getNthItem(), XAP_Frame::getViewKey(), XAP_Frame::getViewNumber(), m_hashClones, XAP_Frame::updateTitle(), UT_ASSERT, UT_continue_if_fail, and UT_return_val_if_fail.
Referenced by Defun(), AbiCollabSaveInterceptor::intercept(), s_actuallySaveAs(), and AbiCollabService_Export::signal().
bool XAP_App::m_bAllowCustomizing [protected] |
bool XAP_App::m_bAreCustomized [protected] |
bool XAP_App::m_bBonoboRunning [protected] |
bool XAP_App::m_bDebugBool [protected] |
bool XAP_App::m_bDisableDoubleBuffering [protected] |
Referenced by getDisableDoubleBuffering(), and setDisableDoubleBuffering().
bool XAP_App::m_bEnableSmoothScrolling [protected] |
Referenced by setEnableSmoothScrolling().
bool XAP_App::m_bNoGUI [protected] |
Referenced by getNoGUI(), and setNoGUI().
CloneMap XAP_App::m_hashClones [protected] |
Referenced by forgetFrame(), getClones(), rememberFrame(), and updateClones().
UT_uint32 XAP_App::m_iDefaultGraphicsId [private] |
Referenced by setDefaultGraphicsId().
struct XAP_App::modeless_pair XAP_App::m_IdTable[NUM_MODELESSID+1] [protected] |
Referenced by clearIdTable(), closeModelessDlgs(), forgetModelessId(), getModelessDialog(), isModelessRunning(), and rememberModelessId().
XAP_Frame* XAP_App::m_lastFocussedFrame [protected] |
Referenced by clearLastFocussedFrame(), forgetFrame(), getLastFocussedFrame(), rememberFocussedFrame(), and rememberFrame().
std::map<std::string, GR_EmbedManager *> XAP_App::m_mapEmbedManagers [private] |
Referenced by getEmbeddableManager(), registerEmbeddable(), and unRegisterEmbeddable().
XAP_App * XAP_App::m_pApp = NULL [static, protected] |
Referenced by getApp(), initialize(), setInputMode(), XAP_App(), and ~XAP_App().
XAP_BindingSet* XAP_App::m_pBindingSet [protected] |
Referenced by getBindingMap(), and ~XAP_App().
XAP_Dictionary* XAP_App::m_pDict [protected] |
Referenced by addWordToDict(), initialize(), isWordInDict(), suggestWord(), and ~XAP_App().
EV_EditMethodContainer* XAP_App::m_pEMC [protected] |
Referenced by getEditMethodContainer(), and ~XAP_App().
GR_GraphicsFactory* XAP_App::m_pGraphicsFactory [private] |
Referenced by newGraphics(), XAP_App(), and ~XAP_App().
XAP_AppImpl* XAP_App::m_pImpl [private] |
Referenced by XAP_App(), and ~XAP_App().
XAP_InputModes* XAP_App::m_pInputModes [private] |
Referenced by getEditEventMapper(), getInputMode(), initialize(), setInputMode(), and ~XAP_App().
const UT_LangRecord* XAP_App::m_pKbdLang [private] |
Referenced by setKbdLanguage().
EV_Menu_ActionSet* XAP_App::m_pMenuActionSet [protected] |
Referenced by getMenuActionSet(), and ~XAP_App().
XAP_Menu_Factory* XAP_App::m_pMenuFactory [protected] |
Referenced by XAP_App(), and ~XAP_App().
XAP_Prefs* XAP_App::m_prefs [protected] |
Referenced by getPrefs(), getPrefsValue(), getPrefsValueBool(), setDefaultGraphicsId(), and ~XAP_App().
UT_ScriptLibrary* XAP_App::m_pScriptLibrary [private] |
Referenced by initialize(), and ~XAP_App().
EV_Toolbar_ActionSet* XAP_App::m_pToolbarActionSet [protected] |
Referenced by getToolbarActionSet(), and ~XAP_App().
XAP_Toolbar_Factory* XAP_App::m_pToolbarFactory [protected] |
Referenced by XAP_App(), and ~XAP_App().
UT_UUIDGenerator* XAP_App::m_pUUIDGenerator [private] |
Referenced by ~XAP_App().
const char* XAP_App::m_szAbiSuiteLibDir [protected] |
Referenced by _setAbiSuiteLibDir(), getAbiSuiteLibDir(), and ~XAP_App().
const char* XAP_App::m_szAppName [protected] |
Referenced by getApplicationName(), and getApplicationTitleForTitleBar().
UT_GenericVector<XAP_Frame*> XAP_App::m_vecFrames [protected] |
UT_GenericVector<AV_Listener *> XAP_App::m_vecPluginListeners [private] |
Referenced by addListener(), notifyListeners(), removeListener(), and XAP_App().
const char * XAP_App::s_szAbiSuite_Home = ABIWORD_DATADIR [static] |
Referenced by getAbiSuiteHome(), and XAP_App().
const char * XAP_App::s_szBuild_CompileDate = __DATE__ [static] |
const char * XAP_App::s_szBuild_CompileTime = __TIME__ [static] |
const char * XAP_App::s_szBuild_ID = ABI_BUILD_ID [static] |
Referenced by fp_FieldBuildIdRun::calculateValue(), getBuildId(), AP_CocoaApp::main(), and XAP_Prefs::savePrefsFile().
const char * XAP_App::s_szBuild_Options = ABI_BUILD_OPTIONS [static] |
const char * XAP_App::s_szBuild_Target = ABI_BUILD_TARGET [static] |
const char * XAP_App::s_szBuild_Version = PACKAGE_VERSION [static] |