Classes | Defines | Functions | Variables

ap_EditMethods.cpp File Reference

#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include "xap_Features.h"
#include "ap_Features.h"
#include "ap_EditMethods.h"
#include "ut_locale.h"
#include "ut_debugmsg.h"
#include "ut_string.h"
#include "ut_std_string.h"
#include "ut_bytebuf.h"
#include "ut_Language.h"
#include "ev_EditMethod.h"
#include "xav_View.h"
#include "fv_View.h"
#include "fl_DocLayout.h"
#include "fl_AutoLists.h"
#include "fp_Page.h"
#include "fp_Line.h"
#include "fg_Graphic.h"
#include "pd_Document.h"
#include "gr_Graphics.h"
#include "gr_DrawArgs.h"
#include "xap_App.h"
#include "xap_Frame.h"
#include "xap_EditMethods.h"
#include "xap_Menu_Layouts.h"
#include "xap_Prefs.h"
#include "ap_Strings.h"
#include "ap_LoadBindings.h"
#include "ap_FrameData.h"
#include "ap_LeftRuler.h"
#include "ap_TopRuler.h"
#include "ap_Prefs.h"
#include "ut_string_class.h"
#include "ap_Dialog_Id.h"
#include "ap_Dialog_Replace.h"
#include "ap_Dialog_Goto.h"
#include "ap_Dialog_Break.h"
#include "ap_Dialog_InsertTable.h"
#include "ap_Dialog_Paragraph.h"
#include "ap_Dialog_PageNumbers.h"
#include "ap_Dialog_PageSetup.h"
#include "ap_Dialog_Lists.h"
#include "ap_Dialog_Options.h"
#include "ap_Dialog_RDFQuery.h"
#include "ap_Dialog_RDFEditor.h"
#include "ap_Dialog_Styles.h"
#include "ap_Dialog_Stylist.h"
#include "ap_Dialog_Tab.h"
#include "ap_Dialog_Insert_DateTime.h"
#include "ap_Dialog_Field.h"
#include "ap_Dialog_WordCount.h"
#include "ap_Dialog_Columns.h"
#include "ap_Dialog_ToggleCase.h"
#include "ap_Dialog_Background.h"
#include "ap_Dialog_New.h"
#include "ap_Dialog_HdrFtr.h"
#include "ap_Dialog_InsertBookmark.h"
#include "ap_Dialog_InsertHyperlink.h"
#include "ap_Dialog_InsertXMLID.h"
#include "ap_Dialog_MetaData.h"
#include "ap_Dialog_MarkRevisions.h"
#include "ap_Dialog_ListRevisions.h"
#include "ap_Dialog_MergeCells.h"
#include "ap_Dialog_SplitCells.h"
#include "ap_Dialog_FormatTable.h"
#include "ap_Dialog_Border_Shading.h"
#include "ap_Dialog_FormatFrame.h"
#include "ap_Dialog_FormatFootnotes.h"
#include "ap_Dialog_FormatTOC.h"
#include "ap_Dialog_MailMerge.h"
#include "ap_Dialog_Latex.h"
#include "fv_FrameEdit.h"
#include "fl_FootnoteLayout.h"
#include "gr_EmbedManager.h"
#include "fp_MathRun.h"
#include "ut_mbtowc.h"
#include "fp_EmbedRun.h"
#include "fp_FrameContainer.h"
#include "ap_Frame.h"
#include "xad_Document.h"
#include "xap_DialogFactory.h"
#include "xap_Dlg_About.h"
#include "xap_Dlg_ClipArt.h"
#include "xap_Dlg_MessageBox.h"
#include "xap_Dlg_FileOpenSaveAs.h"
#include "xap_Dlg_FontChooser.h"
#include "xap_Dlg_Print.h"
#include "xap_Dlg_PrintPreview.h"
#include "xap_Dlg_WindowMore.h"
#include "xap_Dlg_Zoom.h"
#include "xap_Dlg_Insert_Symbol.h"
#include "xap_Dlg_Language.h"
#include "xap_Dlg_PluginManager.h"
#include "xap_Dlg_Image.h"
#include "xap_Dlg_ListDocuments.h"
#include "xap_Dlg_History.h"
#include "xap_Dlg_DocComparison.h"
#include "ie_imp.h"
#include "ie_impGraphic.h"
#include "ie_exp.h"
#include "ie_types.h"
#include "ut_timer.h"
#include "ut_Script.h"
#include "ut_path.h"
#include "ie_mailmerge.h"
#include "gr_Painter.h"
#include "fp_FootnoteContainer.h"
#include "ap_Dialog_Annotation.h"
#include "ap_Preview_Annotation.h"
#include "pd_DocumentRDF.h"
#include <sstream>
#include <iterator>

Classes

class  ap_EditMethods
class  _Freq
class  FV_View_Insert_symbol_listener
class  OneShot_MailMerge_Listener
struct  selectReferenceToSemanticItemRing

Defines

#define _D_   EV_EMT_REQUIREDATA
#define _A_   EV_EMT_APP_METHOD
#define F(fn)   ap_EditMethods::fn
#define N(fn)   #fn
#define NF(fn)   N(fn), F(fn)
#define F(fn)   ap_EditMethods::fn
#define Defun(fn)   bool F(fn)(AV_View* pAV_View, EV_EditMethodCallData * pCallData )
#define Defun0(fn)   bool F(fn)(AV_View* /*pAV_View*/, EV_EditMethodCallData * /*pCallData*/)
#define Defun1(fn)   bool F(fn)(AV_View* pAV_View, EV_EditMethodCallData * /*pCallData*/)
#define EX(fn)   F(fn)(pAV_View, pCallData)
#define CHECK_FRAME   if(s_EditMethods_check_frame()) return true;
#define ABIWORD_VIEW   FV_View * pView = static_cast<FV_View *>(pAV_View);
#define PT_INC_SMALL   1.0
#define PT_INC_MEDIUM   2.0
#define PT_INC_LARGE   4.0
#define TOGGLE_INDENT_AMT   0.5

Functions

EV_EditMethodContainerAP_GetEditMethods (void)
static bool _openURL (const char *url)
static bool s_EditMethods_check_frame (void)
static bool lockGUI (void)
static bool unlockGUI (void)
static void _sFrequentRepeat (UT_Worker *pWorker)
 Defun1 (scrollPageDown)
 Defun1 (scrollPageUp)
 Defun1 (scrollPageLeft)
 Defun1 (scrollPageRight)
 Defun1 (scrollLineDown)
 Defun1 (scrollLineUp)
 Defun1 (scrollWheelMouseDown)
 Defun1 (scrollWheelMouseUp)
 Defun1 (scrollLineLeft)
 Defun1 (scrollLineRight)
 Defun1 (scrollToTop)
 Defun1 (scrollToBottom)
 Defun0 (fileNew)
static void s_LoadingCursorCallback (UT_Worker *pTimer)
static void s_StartStopLoadingCursor (bool bStartStop, XAP_Frame *pFrame)
static void s_TellSaveFailed (XAP_Frame *pFrame, const char *fileName, UT_Error errorCode)
static void s_TellNotImplemented (XAP_Frame *pFrame, const char *szWhat, int iLine)
static bool s_AskRevertFile (XAP_Frame *pFrame)
static bool s_AskCloseAllAndExit (XAP_Frame *pFrame)
static
XAP_Dialog_MessageBox::tAnswer 
s_AskSaveFile (XAP_Frame *pFrame)
static bool s_AskForPathname (XAP_Frame *pFrame, bool bSaveAs, XAP_Dialog_Id id, const char *pSuggestedName, char **ppPathname, IEFileType *ieft)
static bool s_AskForGraphicPathname (XAP_Frame *pFrame, char **ppPathname, IEGraphicFileType *iegft)
XAP_Dialog_MessageBox::tAnswer s_CouldNotLoadFileMessage (XAP_Frame *pFrame, const char *pNewFile, UT_Error errorCode)
UT_Error fileOpen (XAP_Frame *pFrame, const char *pNewFile, IEFileType ieft)
 Defun1 (importStyles)
 Defun1 (fileOpen)
static UT_Error s_importFile (XAP_Frame *pFrame, const char *pNewFile, IEFileType ieft)
 Defun1 (openTemplate)
 Defun (saveImmediate)
 Defun (fileSave)
static bool s_actuallySaveAs (AV_View *pAV_View, bool overwriteName)
 Defun1 (fileExport)
 Defun1 (fileImport)
 Defun1 (fileSaveAs)
 Defun1 (fileSaveTemplate)
 Defun1 (fileSaveAsWeb)
 Defun1 (fileSaveImage)
 Defun1 (fileSaveEmbed)
 Defun1 (filePreviewWeb)
 Defun1 (undo)
 Defun1 (redo)
 Defun1 (newWindow)
static bool _openRecent (AV_View *pAV_View, UT_sint32 ndx)
 Defun1 (openRecent_1)
 Defun1 (openRecent_2)
 Defun1 (openRecent_3)
 Defun1 (openRecent_4)
 Defun1 (openRecent_5)
 Defun1 (openRecent_6)
 Defun1 (openRecent_7)
 Defun1 (openRecent_8)
 Defun1 (openRecent_9)
static bool _activateWindow (AV_View *pAV_View, UT_sint32 ndx)
 Defun1 (activateWindow_1)
 Defun1 (activateWindow_2)
 Defun1 (activateWindow_3)
 Defun1 (activateWindow_4)
 Defun1 (activateWindow_5)
 Defun1 (activateWindow_6)
 Defun1 (activateWindow_7)
 Defun1 (activateWindow_8)
 Defun1 (activateWindow_9)
static bool s_doMoreWindowsDlg (XAP_Frame *pFrame, XAP_Dialog_Id id)
 Defun1 (dlgMoreWindows)
static bool s_doAboutDlg (XAP_Frame *pFrame, XAP_Dialog_Id id)
static bool s_doToggleCase (XAP_Frame *pFrame, FV_View *pView, XAP_Dialog_Id id)
 Defun1 (dlgToggleCase)
 Defun1 (rotateCase)
 Defun1 (dlgAbout)
 Defun1 (dlgMetaData)
 Defun1 (fileNewUsingTemplate)
static bool _helpOpenURL (const char *helpURL)
bool helpLocalizeAndOpenURL (const char *pathBeforeLang, const char *pathAfterLang, const char *remoteURLbase)
 Defun0 (helpContents)
 Defun0 (helpIntro)
 Defun0 (helpCheckVer)
 Defun0 (helpReportBug)
 Defun0 (helpSearch)
 Defun0 (helpCredits)
 Defun0 (helpAboutGnomeOffice)
 Defun1 (cycleWindows)
 Defun1 (cycleWindowsBck)
static bool s_closeWindow (AV_View *pAV_View, EV_EditMethodCallData *pCallData, bool bCanExit)
 Defun (closeWindow)
 Defun (closeWindowX)
 Defun (querySaveAndExit)
 Defun1 (fileRevert)
 Defun1 (insertClipart)
 Defun1 (fileInsertGraphic)
 Defun1 (fileInsertPositionedGraphic)
 Defun1 (fileInsertPageBackgroundGraphic)
 Defun (selectObject)
 Defun (warpInsPtToXY)
static void sActualMoveLeft (AV_View *pAV_View, EV_EditMethodCallData *)
 Defun1 (warpInsPtLeft)
static void sActualMoveRight (AV_View *pAV_View, EV_EditMethodCallData *)
 Defun1 (warpInsPtRight)
 Defun1 (warpInsPtBOP)
 Defun1 (warpInsPtEOP)
 Defun1 (warpInsPtBOL)
 Defun1 (warpInsPtEOL)
 Defun1 (warpInsPtBOW)
 Defun1 (warpInsPtEOW)
 Defun0 (warpInsPtBOS)
 Defun0 (warpInsPtEOS)
 Defun1 (warpInsPtBOB)
 Defun1 (warpInsPtEOB)
 Defun1 (warpInsPtBOD)
 Defun1 (warpInsPtEOD)
 Defun1 (warpInsPtPrevPage)
 Defun1 (warpInsPtNextPage)
 Defun1 (warpInsPtPrevScreen)
 Defun1 (warpInsPtNextScreen)
 Defun1 (warpInsPtPrevLine)
 Defun1 (warpInsPtNextLine)
 Defun1 (cursorDefault)
 Defun1 (cursorIBeam)
 Defun1 (cursorTOC)
 Defun1 (cursorRightArrow)
 Defun1 (cursorVline)
 Defun1 (cursorTopCell)
 Defun1 (cursorHline)
 Defun1 (cursorLeftArrow)
 Defun1 (cursorImage)
 Defun1 (cursorImageSize)
static bool dlgEditLatexEquation (AV_View *pAV_View, EV_EditMethodCallData *, bool bStartDlg, PT_DocPosition pos)
 Defun1 (contextMenu)
static bool s_doContextMenu_no_move (EV_EditMouseContext emc, UT_sint32 xPos, UT_sint32 yPos, FV_View *pView, XAP_Frame *pFrame)
static bool s_doContextMenu (EV_EditMouseContext emc, UT_sint32 xPos, UT_sint32 yPos, FV_View *pView, XAP_Frame *pFrame)
 Defun (contextText)
 Defun (contextFrame)
 Defun (contextRevision)
 Defun (contextTOC)
 Defun (contextMath)
 Defun (contextImage)
 Defun (contextPosObject)
 Defun (contextEmbedLayout)
 Defun (contextHyperlink)
static void sActualDragToXY (AV_View *pAV_View, EV_EditMethodCallData *pCallData)
 Defun (dragToXY)
 Defun (dragToXYword)
 Defun (endDrag)
 Defun (extSelToXY)
 Defun1 (extSelLeft)
 Defun1 (extSelRight)
 Defun1 (extSelBOL)
 Defun1 (extSelEOL)
 Defun1 (extSelBOW)
 Defun1 (extSelEOW)
 Defun0 (extSelBOS)
 Defun0 (extSelEOS)
 Defun1 (extSelBOB)
 Defun1 (extSelEOB)
 Defun1 (extSelBOD)
 Defun1 (extSelEOD)
 Defun1 (extSelPrevLine)
 Defun1 (extSelNextLine)
 Defun1 (extSelPageDown)
 Defun1 (extSelPageUp)
 Defun1 (extSelScreenDown)
 Defun1 (extSelScreenUp)
 Defun (selectAll)
 Defun (selectWord)
 Defun (selectLine)
 Defun (selectBlock)
 Defun1 (selectTable)
 Defun (selectTOC)
 Defun (editLatexAtPos)
 Defun (editLatexEquation)
 Defun1 (editEmbed)
 Defun (selectMath)
 Defun1 (selectRow)
 Defun1 (selectCell)
 Defun1 (selectColumn)
 Defun (selectColumnClick)
static void sActualDelLeft (AV_View *pAV_View, EV_EditMethodCallData *)
 Defun1 (delLeft)
static void sActualDelRight (AV_View *pAV_View, EV_EditMethodCallData *)
 Defun1 (delRight)
 Defun1 (delBOL)
 Defun1 (delEOL)
 Defun1 (delBOW)
 Defun1 (delEOW)
 Defun0 (delBOS)
 Defun0 (delEOS)
 Defun1 (delBOB)
 Defun1 (delEOB)
 Defun1 (delBOD)
 Defun1 (delEOD)
 Defun (insertData)
 Defun (insertClosingParenthesis)
 Defun (insertOpeningParenthesis)
 Defun1 (insertLRM)
 Defun1 (insertRLM)
static bool s_doBookmarkDlg (FV_View *pView, bool)
 Defun1 (insertBookmark)
 Defun1 (deleteBookmark)
static bool s_xmlidDlg (FV_View *pView, bool)
 Defun1 (insertXMLID)
 Defun1 (deleteXMLID)
static bool s_doHyperlinkDlg (FV_View *pView)
 Defun1 (insertHyperlink)
 Defun (replaceChar)
 Defun0 (insertSoftBreak)
 Defun1 (insertParagraphBreak)
 Defun1 (insertSectionBreak)
 Defun1 (insertTab)
 Defun1 (insertTabCTL)
 Defun1 (insertTabShift)
 Defun1 (insertLineBreak)
 Defun1 (insertColumnBreak)
 Defun1 (insertColsBefore)
 Defun1 (insertColsAfter)
 Defun1 (insertRowsBefore)
 Defun1 (insertRowsAfter)
static bool s_doMergeCellsDlg (FV_View *pView)
 Defun1 (mergeCells)
static bool s_doSplitCellsDlg (FV_View *pView)
 Defun1 (splitCells)
static bool s_doFormatTableDlg (FV_View *pView)
 Defun1 (formatTable)
 Defun1 (formatTOC)
 Defun1 (deleteCell)
 Defun1 (deleteColumns)
 Defun1 (deleteRows)
 Defun1 (deleteTable)
 Defun1 (insertPageBreak)
 Defun1 (insertSpace)
 Defun1 (insertNBSpace)
 Defun1 (insertNBZWSpace)
 Defun1 (insertZWJoiner)
 Defun (insertGraveData)
 Defun (insertAcuteData)
 Defun (insertCircumflexData)
 Defun (insertTildeData)
 Defun (insertMacronData)
 Defun (insertBreveData)
 Defun (insertAbovedotData)
 Defun (insertDiaeresisData)
 Defun (insertDoubleacuteData)
 Defun (insertCaronData)
 Defun (insertCedillaData)
 Defun (insertOgonekData)
 Defun1 (cut)
 Defun1 (copy)
static void sActualPaste (AV_View *pAV_View, EV_EditMethodCallData *)
 Defun1 (paste)
 Defun (pasteSelection)
 Defun1 (pasteSpecial)
static bool checkViewModeIsPrint (FV_View *pView)
 Defun1 (editFooter)
 Defun1 (removeHeader)
 Defun1 (removeFooter)
 Defun1 (editHeader)
static bool s_doGotoDlg (FV_View *pView, XAP_Dialog_Id id)
 Defun1 (go)
static bool s_doFindOrFindReplaceDlg (FV_View *pView, XAP_Dialog_Id id)
 Defun1 (find)
 Defun1 (findAgain)
 Defun1 (replace)
static bool s_doLangDlg (FV_View *pView)
static bool s_doFontDlg (FV_View *pView)
static void s_TabSaveCallBack (AP_Dialog_Tab *, FV_View *pView, const char *szTabStops, const char *szDflTabStop, void *)
bool s_doTabDlg (FV_View *pView)
static bool s_doParagraphDlg (FV_View *pView)
static bool s_doOptionsDlg (FV_View *pView, int which=-1)
 Defun1 (dlgLanguage)
 Defun (language)
 Defun1 (dlgFont)
 Defun (fontFamily)
 Defun (fontSize)
static bool _fontSizeChange (FV_View *pView, bool bIncrease)
 Defun1 (fontSizeIncrease)
 Defun1 (fontSizeDecrease)
 Defun1 (cairoPrint)
 Defun1 (cairoPrintPreview)
 Defun1 (cairoPrintDirectly)
 Defun1 (formatPainter)
static bool _toggleSpanOrBlock (FV_View *pView, const gchar *prop, const gchar *vOn, const gchar *vOff, bool bMultiple, bool isSpan)
static bool _toggleSpan (FV_View *pView, const gchar *prop, const gchar *vOn, const gchar *vOff, bool bMultiple=false)
bool s_actuallyPrint (PD_Document *doc, GR_Graphics *pGraphics, FV_View *pPrintView, const char *pDocName, UT_uint32 nCopies, bool bCollate, UT_sint32 iWidth, UT_sint32 iHeight, UT_sint32 nToPage, UT_sint32 nFromPage)
bool s_actuallyPrint (PD_Document *doc, GR_Graphics *pGraphics, FV_View *pPrintView, const char *pDocName, UT_uint32 nCopies, bool bCollate, UT_sint32 iWidth, UT_sint32 iHeight, const std::set< UT_sint32 > &pages)
static bool s_doZoomDlg (FV_View *pView)
 Defun1 (zoom100)
 Defun1 (zoom200)
 Defun1 (zoom50)
 Defun1 (zoom75)
 Defun1 (zoomWidth)
 Defun1 (zoomWhole)
 Defun1 (zoomIn)
 Defun1 (zoomOut)
static bool s_doBreakDlg (FV_View *pView)
static bool s_InsertSymbolDlg (FV_View *pView, XAP_Dialog_Id id)
 Defun1 (print)
 Defun1 (dlgPlugins)
 Defun1 (dlgOptions)
static bool _viewTBx (AV_View *pAV_View, int num)
 Defun1 (viewTB1)
 Defun1 (viewTB2)
 Defun1 (viewTB3)
 Defun1 (viewTB4)
 Defun1 (viewStd)
 Defun1 (viewFormat)
 Defun1 (viewTable)
 Defun1 (viewExtra)
 Defun1 (lockToolbarLayout)
 Defun1 (defaultToolbarLayout)
 Defun1 (viewNormalLayout)
 Defun1 (viewWebLayout)
 Defun1 (viewPrintLayout)
 Defun1 (viewStatus)
 Defun1 (viewRuler)
 Defun1 (viewFullScreen)
 Defun1 (viewPara)
 Defun1 (viewHeadFoot)
 Defun1 (viewLockStyles)
 Defun (zoom)
 Defun1 (dlgZoom)
static bool s_doInsertDateTime (FV_View *pView)
 Defun1 (insDateTime)
 Defun1 (insBreak)
static bool s_doInsertPageNumbers (FV_View *pView)
 Defun1 (insPageNo)
static bool s_doField (FV_View *pView)
 Defun1 (insField)
 Defun1 (insMailMerge)
 Defun1 (insFile)
 Defun1 (insSymbol)
 Defun1 (insTextBox)
 Defun1 (insFootnote)
static void insertAnnotation (FV_View *pView, bool bDescr)
 Defun1 (insAnnotation)
 Defun1 (insAnnotationFromSel)
 Defun1 (toggleDisplayAnnotations)
 Defun1 (editAnnotation)
 Defun1 (insTOC)
 Defun1 (insEndnote)
 Defun1 (toggleRDFAnchorHighlight)
static bool s_doRDFQueryDlg (FV_View *pView, XAP_Dialog_Id id, AP_Dialog_RDFQuery *&dialogret)
 Defun1 (rdfQuery)
static bool s_doRDFEditorDlg (FV_View *pView, XAP_Dialog_Id id, AP_Dialog_RDFEditor *&dialogret, bool rstrct)
 Defun1 (rdfEditor)
 Defun1 (rdfInsertNewContact)
 Defun1 (rdfInsertNewContactFromFile)
 Defun1 (rdfInsertRef)
 Defun1 (rdfQueryXMLIDs)
 Defun1 (dlgParagraph)
static bool s_doBullets (FV_View *pView)
 Defun1 (dlgBullets)
static bool s_doBorderShadingDlg (FV_View *pView)
 Defun1 (dlgBorders)
 Defun1 (setPosImage)
 Defun1 (dlgFmtPosImage)
static bool s_doFormatImageDlg (FV_View *pView, EV_EditMethodCallData *pCallData, bool bCtxtMenu)
 Defun (dlgFmtImageCtxt)
 Defun (dlgFmtImage)
 Defun (dlgColumns)
 Defun (style)
static bool s_doStylesDlg (FV_View *pView)
 Defun1 (formatFootnotes)
 Defun1 (dlgStyle)
 Defun1 (dlgStylist)
 Defun1 (dlgTabs)
 Defun0 (noop)
static bool s_doWordCountDlg (FV_View *pView)
 Defun1 (dlgWordCount)
static bool s_doInsertTableDlg (FV_View *pView)
 Defun1 (sortColsAscend)
 Defun1 (sortColsDescend)
 Defun1 (sortRowsAscend)
 Defun1 (sortRowsDescend)
 Defun1 (textToTable)
 Defun1 (textToTableTabs)
 Defun1 (textToTableCommas)
 Defun1 (textToTableSpaces)
 Defun1 (insertSumRows)
 Defun1 (insertSumCols)
 Defun1 (insertTable)
 Defun1 (toggleHidden)
 Defun1 (toggleBold)
 Defun1 (toggleItalic)
 Defun1 (toggleUline)
 Defun1 (toggleOline)
 Defun1 (toggleStrike)
 Defun1 (toggleTopline)
 Defun1 (toggleBottomline)
void s_getPageMargins (FV_View *pView, double &margin_left, double &margin_right, double &page_margin_left, double &page_margin_right, double &page_margin_top, double &page_margin_bottom)
 Defun1 (toggleIndent)
 Defun1 (toggleUnIndent)
 Defun1 (toggleSuper)
 Defun1 (toggleSub)
 Defun1 (toggleDirOverrideLTR)
 Defun1 (toggleDirOverrideRTL)
 Defun1 (toggleDomDirection)
 Defun1 (toggleDomDirectionSect)
 Defun1 (toggleDomDirectionDoc)
 Defun1 (doBullets)
 Defun1 (doNumbers)
 Defun (colorForeTB)
 Defun (colorBackTB)
 Defun1 (togglePlain)
 Defun1 (alignLeft)
 Defun1 (alignCenter)
 Defun1 (alignRight)
 Defun1 (alignJustify)
 Defun1 (setStyleHeading1)
 Defun1 (setStyleHeading2)
 Defun1 (setStyleHeading3)
 Defun1 (sectColumns1)
 Defun1 (sectColumns2)
 Defun1 (sectColumns3)
 Defun1 (paraBefore0)
 Defun1 (paraBefore12)
 Defun1 (singleSpace)
 Defun1 (middleSpace)
 Defun1 (doubleSpace)
 Defun1 (setEditVI)
 Defun1 (setInputVI)
 Defun1 (cycleInputMode)
 Defun1 (toggleInsertMode)
 Defun (viCmd_5e)
 Defun (viCmd_A)
 Defun (viCmd_C)
 Defun (viCmd_I)
 Defun (viCmd_J)
 Defun (viCmd_O)
 Defun (viCmd_P)
 Defun (viCmd_a)
 Defun (viCmd_o)
 Defun (viCmd_c24)
 Defun (viCmd_c28)
 Defun (viCmd_c29)
 Defun (viCmd_c5b)
 Defun (viCmd_c5d)
 Defun (viCmd_c5e)
 Defun (viCmd_cb)
 Defun (viCmd_cw)
 Defun (viCmd_d24)
 Defun (viCmd_d28)
 Defun (viCmd_d29)
 Defun (viCmd_d5b)
 Defun (viCmd_d5d)
 Defun (viCmd_d5e)
 Defun (viCmd_db)
 Defun (viCmd_dd)
 Defun (viCmd_dw)
 Defun (viCmd_y24)
 Defun (viCmd_y28)
 Defun (viCmd_y29)
 Defun (viCmd_y5b)
 Defun (viCmd_y5d)
 Defun (viCmd_y5e)
 Defun (viCmd_yb)
 Defun (viCmd_yw)
 Defun (viCmd_yy)
static bool s_AskForScriptName (XAP_Frame *pFrame, UT_String &stPathname, UT_ScriptIdType *ieft)
 Defun1 (mailMerge)
 Defun1 (scriptPlay)
 Defun (executeScript)
 Defun1 (dlgColorPickerFore)
 Defun1 (dlgColorPickerBack)
 Defun1 (dlgBackground)
 Defun1 (dlgHdrFtr)
 Defun1 (hyperlinkCopyLocation)
 Defun (hyperlinkJump)
 Defun1 (hyperlinkJumpPos)
 Defun1 (rdfAnchorEditTriples)
 Defun1 (rdfAnchorQuery)
 Defun1 (rdfAnchorEditSemanticItem)
 Defun1 (rdfAnchorExportSemanticItem)
static
selectReferenceToSemanticItemRing
getSelectReferenceToSemanticItemRing ()
static void setSemanticItemRing (PD_DocumentRDFHandle rdf, PD_RDFSemanticItemHandle h, const std::set< std::string > &xmlids, const std::string &xmlid)
static void rdfAnchorSelectPos (FV_View *pView, PD_DocumentRDFHandle rdf, PT_DocPosition pos, bool selectit=true)
static bool rdfAnchorContainsPoint (FV_View *pView, PD_DocumentRDFHandle rdf, PT_DocPosition pos)
 Defun1 (rdfAnchorSelectThisReferenceToSemanticItem)
 Defun1 (rdfAnchorSelectNextReferenceToSemanticItem)
 Defun1 (rdfAnchorSelectPrevReferenceToSemanticItem)
static PD_RDFSemanticItemHandlegetrdfSemitemSource ()
 Defun1 (rdfSemitemSetAsSource)
 Defun1 (rdfSemitemFindRelatedFoafKnows)
 Defun1 (rdfSemitemRelatedToSourceFoafKnows)
 Defun1 (rdfApplyCurrentStyleSheet)
 Defun1 (rdfStylesheetSettings)
 Defun1 (rdfDisassocateCurrentStyleSheet)
static void _rdfApplyStylesheet (FV_View *pView, std::string stylesheetName, PT_DocPosition pos)
 Defun1 (rdfApplyStylesheetContactName)
 Defun1 (rdfApplyStylesheetContactNameHomepagePhone)
 Defun1 (rdfApplyStylesheetContactNamePhone)
 Defun1 (rdfApplyStylesheetContactNick)
 Defun1 (rdfApplyStylesheetContactNickPhone)
 Defun1 (rdfApplyStylesheetEventName)
 Defun1 (rdfApplyStylesheetEventSummary)
 Defun1 (rdfApplyStylesheetEventSummaryLocation)
 Defun1 (rdfApplyStylesheetEventSummaryLocationTimes)
 Defun1 (rdfApplyStylesheetEventSummaryTimes)
 Defun1 (rdfApplyStylesheetLocationLatLong)
 Defun1 (rdfApplyStylesheetLocationName)
 Defun1 (deleteHyperlink)
 Defun (hyperlinkStatusBar)
static bool s_doMarkRevisions (XAP_Frame *pFrame, PD_Document *pDoc, FV_View *pView, bool bToggleMark, bool bForceNew)
 Defun1 (purgeAllRevisions)
 Defun1 (toggleAutoRevision)
 Defun1 (toggleMarkRevisions)
 Defun1 (startNewRevision)
 Defun1 (toggleShowRevisions)
 Defun1 (toggleShowRevisionsBefore)
 Defun1 (toggleShowRevisionsAfter)
 Defun1 (toggleShowRevisionsAfterPrevious)
 Defun (revisionAccept)
 Defun (revisionReject)
 Defun (revisionFindNext)
 Defun (revisionFindPrev)
static bool s_doListRevisions (XAP_Frame *pFrame, PD_Document *pDoc, FV_View *pView)
 Defun1 (revisionSetViewLevel)
 Defun (revisionNew)
 Defun (revisionSelect)
 Defun1 (history)
static PD_Documents_doListDocuments (XAP_Frame *pFrame, bool bExcludeCurrent, UT_uint32 iId)
 Defun1 (revisionCompareDocuments)
 Defun (beginVDrag)
 Defun (beginHDrag)
 Defun1 (clearSetCols)
 Defun1 (autoFitTable)
 Defun1 (clearSetRows)
 Defun (dragVline)
 Defun (dragHline)
 Defun (endDragVline)
 Defun (endDragHline)
 Defun (btn0InlineImage)
 Defun (btn1InlineImage)
 Defun (copyInlineImage)
static void sActualDragInlineImage (AV_View *pAV_View, EV_EditMethodCallData *pCallData)
 Defun (dragInlineImage)
 Defun (releaseInlineImage)
 Defun (btn0Frame)
 Defun (btn1Frame)
static void sActualDragFrame (AV_View *pAV_View, EV_EditMethodCallData *pCallData)
 Defun (dragFrame)
 Defun (releaseFrame)
 Defun1 (deleteFrame)
 Defun1 (cutFrame)
 Defun1 (copyFrame)
 Defun1 (selectFrame)
 Defun1 (dlgFormatFrame)
 Defun (cutVisualText)
 Defun (copyVisualText)
static void sActualVisualDrag (AV_View *pAV_View, EV_EditMethodCallData *pCallData)
 Defun (dragVisualText)
 Defun (pasteVisualText)
 Defun (btn0VisualText)
 Defun0 (repeatThisRow)
 Defun0 (removeThisRowRepeat)
 Defun1 (tableToTextCommas)
 Defun1 (tableToTextTabs)
 Defun1 (tableToTextCommasTabs)
 Defun1 (doEscape)

Variables

static EV_EditMethod s_arrayEditMethods []
static UT_Timers_pToUpdateCursor = NULL
static UT_Workers_pFrequentRepeat = NULL
static XAP_Frames_pLoadingFrame = NULL
static AD_Documents_pLoadingDoc = NULL
static bool s_LockOutGUI = false
static bool s_bFirstDrawDone = false
static UT_sint32 s_iLastYScrollOffset = -1
static UT_sint32 s_iLastXScrollOffset = -1
static bool s_bFreshDraw = false
static
FV_View_Insert_symbol_listener 
symbol_Listener
static const gchar * s_TBPrefsKeys []
static UT_sint32 sTopRulerHeight = 0
static UT_sint32 sLeftRulerPos = 0
static UT_sint32 siFixed = 0
static bool sReleaseInlineImage = false
static bool sReleaseFrame = false
static bool sEndVisualDrag = false

Define Documentation

#define _A_   EV_EMT_APP_METHOD
#define _D_   EV_EMT_REQUIREDATA
#define ABIWORD_VIEW   FV_View * pView = static_cast<FV_View *>(pAV_View);
#define CHECK_FRAME   if(s_EditMethods_check_frame()) return true;
#define Defun (   fn  )     bool F(fn)(AV_View* pAV_View, EV_EditMethodCallData * pCallData )
#define Defun0 (   fn  )     bool F(fn)(AV_View* /*pAV_View*/, EV_EditMethodCallData * /*pCallData*/)
#define Defun1 (   fn  )     bool F(fn)(AV_View* pAV_View, EV_EditMethodCallData * /*pCallData*/)
#define EX (   fn  )     F(fn)(pAV_View, pCallData)

Referenced by Defun(), fileOpen(), and s_closeWindow().

#define F (   fn  )     ap_EditMethods::fn
#define F (   fn  )     ap_EditMethods::fn
#define N (   fn  )     #fn
#define NF (   fn  )     N(fn), F(fn)
#define PT_INC_LARGE   4.0
#define PT_INC_MEDIUM   2.0
#define PT_INC_SMALL   1.0
#define TOGGLE_INDENT_AMT   0.5

Referenced by Defun1().


Function Documentation

static bool _activateWindow ( AV_View pAV_View,
UT_sint32  ndx 
) [static]
static bool _fontSizeChange ( FV_View pView,
bool  bIncrease 
) [static]
static bool _helpOpenURL ( const char *  helpURL  )  [static]
static bool _openRecent ( AV_View pAV_View,
UT_sint32  ndx 
) [static]
static bool _openURL ( const char *  url  )  [static]

References XAP_App::getApp(), and XAP_App::openURL().

Referenced by Defun0(), and Defun1().

static void _rdfApplyStylesheet ( FV_View pView,
std::string  stylesheetName,
PT_DocPosition  pos 
) [static]
static void _sFrequentRepeat ( UT_Worker pWorker  )  [static]

use this code to execute a one-off operation in an idle loop. This allows us to drop frequent events like those that come from arrow keys so we never get ahead of ourselves.

References DELETEP, UT_Worker::getInstanceData(), _Freq::m_pData, _Freq::m_pExe, _Freq::m_pView, UT_Worker::stop(), and xxx_UT_DEBUGMSG.

Referenced by Defun(), and Defun1().

static bool _toggleSpan ( FV_View pView,
const gchar *  prop,
const gchar *  vOn,
const gchar *  vOff,
bool  bMultiple = false 
) [static]

References _toggleSpanOrBlock().

Referenced by Defun1().

static bool _toggleSpanOrBlock ( FV_View pView,
const gchar *  prop,
const gchar *  vOn,
const gchar *  vOff,
bool  bMultiple,
bool  isSpan 
) [static]
static bool _viewTBx ( AV_View pAV_View,
int  num 
) [static]
EV_EditMethodContainer* AP_GetEditMethods ( void   ) 
static bool checkViewModeIsPrint ( FV_View pView  )  [static]
Defun ( dragVisualText   ) 
Defun ( contextText   ) 
Defun ( revisionAccept   ) 
Defun ( revisionReject   ) 
Defun ( revisionFindNext   ) 
Defun ( revisionFindPrev   ) 
Defun ( revisionNew   ) 
Defun ( revisionSelect   ) 
Defun ( beginVDrag   ) 
Defun ( beginHDrag   ) 
Defun ( dragVline   ) 
Defun ( dragHline   ) 
Defun ( endDragVline   ) 
Defun ( endDragHline   ) 
Defun ( btn0InlineImage   ) 
Defun ( btn1InlineImage   ) 
Defun ( copyInlineImage   ) 
Defun ( dragInlineImage   ) 
Defun ( releaseInlineImage   ) 
Defun ( btn0Frame   ) 
Defun ( btn1Frame   ) 
Defun ( pasteVisualText   ) 
Defun ( contextFrame   ) 
Defun ( language   ) 
Defun ( dragFrame   ) 
Defun ( releaseFrame   ) 
Defun ( cutVisualText   ) 
Defun ( contextRevision   ) 
Defun ( fontFamily   ) 
Defun ( copyVisualText   ) 
Defun ( fontSize   ) 
Defun ( contextTOC   ) 
Defun ( btn0VisualText   ) 
Defun ( contextImage   ) 
Defun ( contextPosObject   ) 
Defun ( contextMath   ) 
Defun ( contextEmbedLayout   ) 
Defun ( saveImmediate   ) 
Defun ( dragToXY   ) 
Defun ( dragToXYword   ) 

References UT_return_val_if_fail.

Defun ( contextHyperlink   ) 
Defun ( extSelToXY   ) 

References UT_return_val_if_fail.

Defun ( endDrag   ) 

References UT_return_val_if_fail.

Defun ( fileSave   ) 
Defun ( closeWindow   ) 
Defun ( selectAll   ) 
Defun ( zoom   ) 
Defun ( selectWord   ) 
Defun ( selectLine   ) 
Defun ( selectBlock   ) 
Defun ( selectTOC   ) 
Defun ( editLatexAtPos   ) 
Defun ( editLatexEquation   ) 
Defun ( closeWindowX   ) 

References s_closeWindow().

Defun ( selectMath   ) 
Defun ( selectColumnClick   ) 

References UT_return_val_if_fail.

Defun ( dlgFmtImageCtxt   ) 

References s_doFormatImageDlg().

Defun ( dlgFmtImage   ) 
Defun ( dlgColumns   ) 
Defun ( style   ) 
Defun ( querySaveAndExit   ) 
Defun ( selectObject   ) 
Defun ( warpInsPtToXY   ) 

References UT_return_val_if_fail.

Defun ( insertData   ) 
Defun ( insertClosingParenthesis   ) 
Defun ( insertOpeningParenthesis   ) 
Defun ( colorForeTB   ) 
Defun ( colorBackTB   ) 
Defun ( replaceChar   ) 

References EX.

Defun ( viCmd_5e   ) 

References EX.

Defun ( viCmd_A   ) 

References EX.

Defun ( viCmd_C   ) 

References EX.

Defun ( viCmd_I   ) 

References EX.

Defun ( viCmd_J   ) 

References EX.

Defun ( viCmd_O   ) 

References EX.

Defun ( viCmd_P   ) 

References EX.

Defun ( viCmd_a   ) 

References EX.

Defun ( viCmd_o   ) 

References EX.

Defun ( viCmd_c24   ) 

References EX.

Defun ( viCmd_c28   ) 

References EX.

Defun ( viCmd_c29   ) 

References EX.

Defun ( viCmd_c5b   ) 

References EX.

Defun ( viCmd_c5d   ) 

References EX.

Defun ( viCmd_c5e   ) 

References EX.

Defun ( viCmd_cb   ) 

References EX.

Defun ( viCmd_cw   ) 

References EX.

Defun ( viCmd_d24   ) 

References EX.

Defun ( viCmd_d28   ) 

References EX.

Defun ( viCmd_d29   ) 

References EX.

Defun ( viCmd_d5b   ) 

References EX.

Defun ( insertGraveData   ) 
Defun ( viCmd_d5d   ) 

References EX.

Defun ( viCmd_yb   ) 

References EX.

Defun ( viCmd_d5e   ) 

References EX.

Defun ( viCmd_db   ) 

References EX.

Defun ( viCmd_dd   ) 

References EX.

Defun ( viCmd_dw   ) 

References EX.

Defun ( viCmd_y24   ) 

References EX.

Defun ( viCmd_y28   ) 

References EX.

Defun ( viCmd_y29   ) 

References EX.

Defun ( viCmd_y5b   ) 

References EX.

Defun ( viCmd_y5d   ) 

References EX.

Defun ( viCmd_y5e   ) 

References EX.

Defun ( viCmd_yw   ) 

References EX.

Defun ( viCmd_yy   ) 

References EX.

Defun ( insertAcuteData   ) 
Defun ( executeScript   ) 
Defun ( hyperlinkJump   ) 
Defun ( insertCircumflexData   ) 
Defun ( insertMacronData   ) 
Defun ( insertBreveData   ) 
Defun ( insertTildeData   ) 
Defun ( insertAbovedotData   ) 
Defun ( insertDiaeresisData   ) 
Defun ( insertDoubleacuteData   ) 
Defun ( insertCaronData   ) 
Defun ( insertCedillaData   ) 
Defun ( insertOgonekData   ) 
Defun ( pasteSelection   ) 
Defun ( hyperlinkStatusBar   ) 
Defun0 ( removeThisRowRepeat   ) 
Defun0 ( fileNew   ) 
Defun0 ( extSelBOS   ) 
Defun0 ( extSelEOS   ) 
Defun0 ( helpCheckVer   ) 
Defun0 ( helpReportBug   ) 
Defun0 ( helpSearch   ) 
Defun0 ( helpCredits   ) 
Defun0 ( helpIntro   ) 
Defun0 ( helpAboutGnomeOffice   ) 

References _openURL().

Defun0 ( helpContents   ) 
Defun0 ( noop   ) 
Defun0 ( delBOS   ) 
Defun0 ( delEOS   ) 
Defun0 ( repeatThisRow   ) 
Defun0 ( insertSoftBreak   ) 
Defun0 ( warpInsPtBOS   ) 
Defun0 ( warpInsPtEOS   ) 
Defun1 ( setStyleHeading2   ) 
Defun1 ( setStyleHeading1   ) 
Defun1 ( alignJustify   ) 
Defun1 ( paraBefore0   ) 
Defun1 ( alignCenter   ) 
Defun1 ( warpInsPtEOL   ) 
Defun1 ( togglePlain   ) 

removes the "props" attribute, i.e., all non-style based formatting

References PD_Document::areStylesLocked(), FV_View::getDocument(), FV_View::resetCharFormat(), and UT_return_val_if_fail.

Defun1 ( deleteBookmark   ) 

References s_doBookmarkDlg().

Defun1 ( doNumbers   ) 
Defun1 ( toggleMarkRevisions   ) 
Defun1 ( doBullets   ) 
Defun1 ( deleteFrame   ) 
Defun1 ( toggleDomDirectionSect   ) 
Defun1 ( dlgFont   ) 
Defun1 ( toggleDirOverrideRTL   ) 

References _toggleSpan().

Defun1 ( toggleDirOverrideLTR   ) 

References _toggleSpan().

Defun1 ( toggleSub   ) 

References _toggleSpan().

Defun1 ( toggleSuper   ) 

References _toggleSpan().

Defun1 ( toggleUnIndent   ) 
Defun1 ( toggleIndent   ) 
Defun1 ( activateWindow_5   ) 

References _activateWindow().

Defun1 ( toggleShowRevisionsBefore   ) 
Defun1 ( toggleTopline   ) 

References _toggleSpan().

Defun1 ( toggleStrike   ) 

References _toggleSpan().

Defun1 ( toggleOline   ) 

References _toggleSpan().

Defun1 ( toggleUline   ) 

References _toggleSpan().

Defun1 ( toggleItalic   ) 

References _toggleSpan().

Defun1 ( toggleBold   ) 

References _toggleSpan().

Defun1 ( toggleShowRevisionsAfter   ) 
Defun1 ( cursorHline   ) 
Defun1 ( insertSumCols   ) 
Defun1 ( insertSumRows   ) 
Defun1 ( textToTableSpaces   ) 
Defun1 ( textToTableCommas   ) 
Defun1 ( textToTableTabs   ) 
Defun1 ( textToTable   ) 
Defun1 ( sortRowsDescend   ) 

References UT_UNUSED.

Defun1 ( sortRowsAscend   ) 

References UT_UNUSED.

Defun1 ( sortColsDescend   ) 

References UT_UNUSED.

Defun1 ( sortColsAscend   ) 

References UT_UNUSED.

Defun1 ( fileOpen   ) 
Defun1 ( dlgWordCount   ) 

References s_doWordCountDlg().

Defun1 ( removeHeader   ) 
Defun1 ( removeFooter   ) 
Defun1 ( dlgTabs   ) 

References s_doTabDlg().

Defun1 ( cutFrame   ) 
Defun1 ( dlgStyle   ) 
Defun1 ( formatFootnotes   ) 
Defun1 ( dlgFormatFrame   ) 
Defun1 ( cursorImage   ) 
Defun1 ( rdfApplyStylesheetEventSummaryLocationTimes   ) 
Defun1 ( filePreviewWeb   ) 
Defun1 ( selectColumn   ) 
Defun1 ( activateWindow_6   ) 

References _activateWindow().

Defun1 ( dlgFmtPosImage   ) 

References FV_View::activateFrame(), AP_PREF_KEY_RulerUnits, UT_String::c_str(), FV_View::convertPositionedToInLine(), dim, FL_FRAME_WRAPPER_IMAGE, gchar, fl_DocSectionLayout::getActualColumnHeight(), fl_DocSectionLayout::getActualColumnWidth(), XAP_Dialog_Image::getAnswer(), fl_ContainerLayout::getAP(), XAP_App::getApp(), PP_AttrProp::getAttribute(), fp_Container::getColumn(), FV_View::getCurrentBlock(), XAP_Dialog_Image::getDescription(), XAP_Frame::getDialogFactory(), fl_BlockLayout::getDocSectionLayout(), fl_ContainerLayout::getFirstContainer(), FV_View::getFrameLayout(), fl_FrameLayout::getFramePositionTo(), FV_View::getFrameStrings_view(), fl_FrameLayout::getFrameWrapMode(), XAP_Dialog_Image::getHeightString(), fp_Container::getPage(), FV_View::getPageScreenOffsets(), AV_View::getParentData(), XAP_Dialog_Image::getPositionTo(), PP_AttrProp::getProperty(), XAP_Dialog_Image::getTitle(), XAP_Dialog_Image::getWidthString(), XAP_Dialog_Image::getWrapping(), fp_FrameContainer::getX(), fp_FrameContainer::getXPad(), fp_FrameContainer::getY(), fp_FrameContainer::getYPad(), XAP_Dialog_Image::isTightWrap(), fl_FrameLayout::isTightWrap(), POSITION_TO_COLUMN, POSITION_TO_PAGE, POSITION_TO_PARAGRAPH, XAP_Frame::raise(), XAP_DialogFactory::requestDialog(), XAP_Dialog_Image::runModal(), fv_FrameStrings::sColXpos, fv_FrameStrings::sColYpos, FV_View::setCharFormat(), XAP_Dialog_Image::setDescription(), FV_View::setFrameFormat(), XAP_Dialog_Image::setHeight(), XAP_Dialog_Image::setInHdrFtr(), XAP_Dialog_Image::setMaxHeight(), XAP_Dialog_Image::setMaxWidth(), XAP_Dialog_Image::setPositionTo(), XAP_Dialog_Image::setPreferedUnits(), XAP_Dialog_Image::setTightWrap(), XAP_Dialog_Image::setTitle(), XAP_Dialog_Image::setWidth(), XAP_Dialog_Image::setWrapping(), fv_FrameStrings::sPageXpos, fv_FrameStrings::sPageYpos, fv_FrameStrings::sPrefColumn, fv_FrameStrings::sXpos, fv_FrameStrings::sYpos, FV_View::updateScreen(), UT_DEBUGMSG, UT_determineDimension(), UT_reformatDimensionString(), UT_return_val_if_fail, UT_UTF8String::utf8_str(), WRAP_NONE, WRAP_TEXTBOTH, WRAP_TEXTLEFT, WRAP_TEXTRIGHT, and XAP_DIALOG_ID_IMAGE.

Defun1 ( setPosImage   ) 
Defun1 ( copyFrame   ) 
Defun1 ( go   ) 

References s_doGotoDlg().

Defun1 ( dlgBullets   ) 
Defun1 ( selectFrame   ) 
Defun1 ( dlgParagraph   ) 
Defun1 ( contextMenu   ) 
Defun1 ( rdfInsertRef   ) 
Defun1 ( rdfInsertNewContactFromFile   ) 
Defun1 ( rdfInsertNewContact   ) 
Defun1 ( clearSetCols   ) 
Defun1 ( autoFitTable   ) 
Defun1 ( rdfQuery   ) 

References s_doRDFQueryDlg().

Defun1 ( find   ) 
Defun1 ( toggleRDFAnchorHighlight   ) 
Defun1 ( insEndnote   ) 
Defun1 ( insTOC   ) 
Defun1 ( editAnnotation   ) 
Defun1 ( toggleDisplayAnnotations   ) 
Defun1 ( insAnnotationFromSel   ) 
Defun1 ( activateWindow_7   ) 

References _activateWindow().

Defun1 ( replace   ) 
Defun1 ( activateWindow_9   ) 

References _activateWindow().

Defun1 ( insTextBox   ) 
Defun1 ( insSymbol   ) 

References s_InsertSymbolDlg().

Defun1 ( insFile   ) 
Defun1 ( insMailMerge   ) 
Defun1 ( insField   ) 

References s_doField().

Defun1 ( activateWindow_8   ) 

References _activateWindow().

Defun1 ( cursorLeftArrow   ) 
Defun1 ( clearSetRows   ) 
Defun1 ( insBreak   ) 
Defun1 ( insDateTime   ) 

References s_doInsertDateTime().

Defun1 ( dlgLanguage   ) 

References s_doLangDlg().

Defun1 ( dlgZoom   ) 

References s_doZoomDlg().

Defun1 ( extSelEOD   ) 
Defun1 ( viewLockStyles   ) 
Defun1 ( findAgain   ) 
Defun1 ( openTemplate   ) 
Defun1 ( viewFullScreen   ) 
Defun1 ( viewRuler   ) 
Defun1 ( viewStatus   ) 
Defun1 ( scrollLineRight   ) 
Defun1 ( viewWebLayout   ) 
Defun1 ( viewNormalLayout   ) 
Defun1 ( defaultToolbarLayout   ) 
Defun1 ( lockToolbarLayout   ) 
Defun1 ( viewExtra   ) 
Defun1 ( viewTable   ) 
Defun1 ( viewFormat   ) 
Defun1 ( viewStd   ) 
Defun1 ( viewTB4   ) 

References _viewTBx().

Defun1 ( viewTB3   ) 

References _viewTBx().

Defun1 ( viewTB2   ) 

References _viewTBx().

Defun1 ( viewTB1   ) 

References _viewTBx().

Defun1 ( extSelRight   ) 
Defun1 ( dlgOptions   ) 

References s_doOptionsDlg().

Defun1 ( dlgPlugins   ) 
Defun1 ( print   ) 

References s_doPrint(), and UT_UNUSED.

Defun1 ( history   ) 
Defun1 ( cursorImageSize   ) 
Defun1 ( revisionCompareDocuments   ) 
Defun1 ( tableToTextCommasTabs   ) 
Defun1 ( zoomWhole   ) 
Defun1 ( zoomWidth   ) 
Defun1 ( zoom75   ) 
Defun1 ( dlgMoreWindows   ) 
Defun1 ( fontSizeDecrease   ) 

References _fontSizeChange().

Defun1 ( cairoPrint   ) 
Defun1 ( scrollToTop   ) 
Defun1 ( cairoPrintPreview   ) 
Defun1 ( cairoPrintDirectly   ) 
Defun1 ( revisionSetViewLevel   ) 
Defun1 ( doEscape   ) 
Defun1 ( formatPainter   ) 
Defun1 ( editHeader   ) 
Defun1 ( startNewRevision   ) 
Defun1 ( scrollToBottom   ) 
Defun1 ( zoom100   ) 
Defun1 ( zoom200   ) 
Defun1 ( dlgToggleCase   ) 
Defun1 ( zoom50   ) 
Defun1 ( scrollPageUp   ) 
Defun1 ( editFooter   ) 
Defun1 ( zoomIn   ) 
Defun1 ( zoomOut   ) 
Defun1 ( rotateCase   ) 
Defun1 ( toggleShowRevisionsAfterPrevious   ) 
Defun1 ( extSelLeft   ) 
Defun1 ( dlgAbout   ) 
Defun1 ( rdfSemitemSetAsSource   ) 
Defun1 ( fileExport   ) 

References s_actuallySaveAs().

Defun1 ( dlgMetaData   ) 
Defun1 ( extSelBOL   ) 
Defun1 ( extSelEOL   ) 
Defun1 ( fileNewUsingTemplate   ) 
Defun1 ( extSelBOW   ) 
Defun1 ( extSelEOW   ) 
Defun1 ( activateWindow_2   ) 

References _activateWindow().

Defun1 ( toggleShowRevisions   ) 
Defun1 ( fileImport   ) 
Defun1 ( scrollPageLeft   ) 
Defun1 ( extSelBOB   ) 
Defun1 ( pasteSpecial   ) 
Defun1 ( cursorTopCell   ) 
Defun1 ( paste   ) 
Defun1 ( viewPrintLayout   ) 
Defun1 ( copy   ) 
Defun1 ( cut   ) 
Defun1 ( activateWindow_3   ) 

References _activateWindow().

Defun1 ( extSelEOB   ) 
Defun1 ( insertRowsAfter   ) 
Defun1 ( cursorIBeam   ) 
Defun1 ( paraBefore12   ) 
Defun1 ( cursorDefault   ) 
Defun1 ( scrollLineLeft   ) 
Defun1 ( warpInsPtNextLine   ) 
Defun1 ( rdfApplyStylesheetContactName   ) 
Defun1 ( toggleAutoRevision   ) 
Defun1 ( openRecent_9   ) 

References _openRecent().

Defun1 ( warpInsPtNextScreen   ) 

References UT_return_val_if_fail.

Defun1 ( insertZWJoiner   ) 
Defun1 ( insertNBZWSpace   ) 
Defun1 ( warpInsPtNextPage   ) 

References UT_return_val_if_fail.

Defun1 ( fileSaveAs   ) 

References s_actuallySaveAs().

Defun1 ( insertPageBreak   ) 
Defun1 ( viewPara   ) 
Defun1 ( deleteRows   ) 
Defun1 ( viewHeadFoot   ) 
Defun1 ( deleteColumns   ) 
Defun1 ( openRecent_8   ) 

References _openRecent().

Defun1 ( deleteCell   ) 
Defun1 ( warpInsPtEOD   ) 
Defun1 ( tableToTextCommas   ) 
Defun1 ( extSelBOD   ) 
Defun1 ( dlgBackground   ) 
Defun1 ( hyperlinkCopyLocation   ) 
Defun1 ( hyperlinkJumpPos   ) 
Defun1 ( scrollWheelMouseDown   ) 
Defun1 ( rdfAnchorExportSemanticItem   ) 
Defun1 ( insertColsBefore   ) 
Defun1 ( insertColumnBreak   ) 
Defun1 ( fileSaveTemplate   ) 
Defun1 ( insertTabShift   ) 
Defun1 ( rdfAnchorSelectPrevReferenceToSemanticItem   ) 
Defun1 ( warpInsPtBOL   ) 
Defun1 ( setInputVI   ) 
Defun1 ( insertParagraphBreak   ) 
Defun1 ( warpInsPtEOP   ) 
Defun1 ( extSelPrevLine   ) 

References UT_return_val_if_fail.

Defun1 ( extSelNextLine   ) 

References UT_return_val_if_fail.

Defun1 ( setStyleHeading3   ) 
Defun1 ( deleteXMLID   ) 

References s_xmlidDlg().

Defun1 ( alignRight   ) 
Defun1 ( alignLeft   ) 
Defun1 ( warpInsPtLeft   ) 
Defun1 ( insertBookmark   ) 

References s_doBookmarkDlg().

Defun1 ( toggleDomDirectionDoc   ) 
Defun1 ( toggleDomDirection   ) 
Defun1 ( insertLRM   ) 
Defun1 ( newWindow   ) 
Defun1 ( scrollLineUp   ) 
Defun1 ( toggleBottomline   ) 

References _toggleSpan().

Defun1 ( delEOD   ) 
Defun1 ( delBOD   ) 
Defun1 ( delEOB   ) 
Defun1 ( toggleHidden   ) 

References _toggleSpan().

Defun1 ( redo   ) 

References UT_return_val_if_fail.

Defun1 ( fileInsertGraphic   ) 
Defun1 ( delEOW   ) 
Defun1 ( delBOW   ) 
Defun1 ( delEOL   ) 
Defun1 ( delBOL   ) 
Defun1 ( delRight   ) 
Defun1 ( dlgStylist   ) 
Defun1 ( delLeft   ) 
Defun1 ( fileSaveEmbed   ) 
Defun1 ( rdfApplyStylesheetEventSummaryLocation   ) 
Defun1 ( scrollLineDown   ) 
Defun1 ( selectCell   ) 
Defun1 ( dlgBorders   ) 
Defun1 ( editEmbed   ) 
Defun1 ( rdfQueryXMLIDs   ) 
Defun1 ( deleteHyperlink   ) 
Defun1 ( rdfEditor   ) 

References s_doRDFEditorDlg().

Defun1 ( fileSaveImage   ) 
Defun1 ( selectTable   ) 
Defun1 ( purgeAllRevisions   ) 
Defun1 ( fileSaveAsWeb   ) 
Defun1 ( insAnnotation   ) 
Defun1 ( insFootnote   ) 
Defun1 ( extSelScreenUp   ) 

References UT_return_val_if_fail.

Defun1 ( rdfApplyStylesheetEventSummaryTimes   ) 
Defun1 ( extSelPageDown   ) 

References UT_return_val_if_fail.

Defun1 ( insPageNo   ) 
Defun1 ( extSelPageUp   ) 

References UT_return_val_if_fail.

Defun1 ( scrollPageRight   ) 
Defun1 ( extSelScreenDown   ) 

References UT_return_val_if_fail.

Defun1 ( cycleInputMode   ) 
Defun1 ( insertTab   ) 
Defun1 ( rdfApplyStylesheetLocationLatLong   ) 
Defun1 ( insertTabCTL   ) 
Defun1 ( toggleInsertMode   ) 
Defun1 ( rdfApplyStylesheetLocationName   ) 
Defun1 ( cycleWindows   ) 
Defun1 ( singleSpace   ) 
Defun1 ( rdfApplyStylesheetContactNameHomepagePhone   ) 
Defun1 ( rdfApplyStylesheetContactNick   ) 
Defun1 ( cycleWindowsBck   ) 
Defun1 ( selectRow   ) 
Defun1 ( rdfApplyStylesheetContactNickPhone   ) 
Defun1 ( rdfApplyStylesheetEventSummary   ) 
Defun1 ( rdfApplyStylesheetEventName   ) 
Defun1 ( middleSpace   ) 
Defun1 ( rdfApplyStylesheetContactNamePhone   ) 
Defun1 ( undo   ) 

References UT_return_val_if_fail.

Defun1 ( fileRevert   ) 
Defun1 ( doubleSpace   ) 
Defun1 ( insertClipart   ) 
Defun1 ( setEditVI   ) 
Defun1 ( sectColumns1   ) 
Defun1 ( mailMerge   ) 
Defun1 ( rdfSemitemFindRelatedFoafKnows   ) 
Defun1 ( fileInsertPositionedGraphic   ) 
Defun1 ( delBOB   ) 
Defun1 ( insertTable   ) 

References s_doInsertTableDlg().

Defun1 ( fileInsertPageBackgroundGraphic   ) 
Defun1 ( rdfStylesheetSettings   ) 
Defun1 ( fontSizeIncrease   ) 

References _fontSizeChange().

Defun1 ( rdfDisassocateCurrentStyleSheet   ) 
Defun1 ( rdfSemitemRelatedToSourceFoafKnows   ) 
Defun1 ( activateWindow_4   ) 

References _activateWindow().

Defun1 ( cursorVline   ) 
Defun1 ( cursorRightArrow   ) 
Defun1 ( cursorTOC   ) 
Defun1 ( openRecent_6   ) 

References _openRecent().

Defun1 ( rdfAnchorEditTriples   ) 

References s_doRDFEditorDlg().

Defun1 ( tableToTextTabs   ) 
Defun1 ( warpInsPtPrevLine   ) 
Defun1 ( scrollWheelMouseUp   ) 
Defun1 ( warpInsPtPrevScreen   ) 

References UT_return_val_if_fail.

Defun1 ( insertSpace   ) 
Defun1 ( deleteTable   ) 
Defun1 ( warpInsPtEOB   ) 
Defun1 ( formatTable   ) 

References s_doFormatTableDlg().

Defun1 ( warpInsPtBOD   ) 
Defun1 ( splitCells   ) 

References s_doSplitCellsDlg().

Defun1 ( dlgColorPickerBack   ) 
Defun1 ( insertNBSpace   ) 
Defun1 ( rdfAnchorEditSemanticItem   ) 
Defun1 ( warpInsPtBOW   ) 
Defun1 ( rdfAnchorSelectNextReferenceToSemanticItem   ) 
Defun1 ( insertSectionBreak   ) 
Defun1 ( openRecent_3   ) 

References _openRecent().

Defun1 ( insertHyperlink   ) 
Defun1 ( warpInsPtRight   ) 
Defun1 ( rdfApplyCurrentStyleSheet   ) 
Defun1 ( insertRLM   ) 
Defun1 ( openRecent_1   ) 

References _openRecent().

Defun1 ( openRecent_2   ) 

References _openRecent().

Defun1 ( insertXMLID   ) 

References s_xmlidDlg(), and UT_DEBUGMSG.

Defun1 ( warpInsPtBOP   ) 
Defun1 ( sectColumns2   ) 
Defun1 ( sectColumns3   ) 
Defun1 ( openRecent_4   ) 

References _openRecent().

Defun1 ( scriptPlay   ) 
Defun1 ( rdfAnchorQuery   ) 

References UT_return_val_if_fail.

Defun1 ( dlgColorPickerFore   ) 
Defun1 ( insertLineBreak   ) 
Defun1 ( mergeCells   ) 

References s_doMergeCellsDlg().

Defun1 ( formatTOC   ) 
Defun1 ( warpInsPtBOB   ) 
Defun1 ( openRecent_7   ) 

References _openRecent().

Defun1 ( dlgHdrFtr   ) 

References AP_DIALOG_ID_HDRFTR, AV_CHG_ALL, FV_View::clearHdrFtrEdit(), FV_View::createThisHdrFtr(), FL_HDRFTR_FOOTER, FL_HDRFTR_FOOTER_EVEN, FL_HDRFTR_FOOTER_FIRST, FL_HDRFTR_FOOTER_LAST, FL_HDRFTR_HEADER, FL_HDRFTR_HEADER_EVEN, FL_HDRFTR_HEADER_FIRST, FL_HDRFTR_HEADER_LAST, FREEP, AP_Dialog_HdrFtr::FtrEven, AP_Dialog_HdrFtr::FtrFirst, AP_Dialog_HdrFtr::FtrLast, gchar, AP_Dialog_HdrFtr::getAnswer(), fl_ContainerLayout::getContainerType(), FV_View::getCurrentBlock(), XAP_Frame::getDialogFactory(), fl_BlockLayout::getDocSectionLayout(), fl_DocSectionLayout::getFooter(), fl_DocSectionLayout::getFooterEven(), fl_DocSectionLayout::getFooterFirst(), fl_DocSectionLayout::getFooterLast(), fl_DocSectionLayout::getHeader(), fl_DocSectionLayout::getHeaderEven(), fl_DocSectionLayout::getHeaderFirst(), fl_DocSectionLayout::getHeaderLast(), AV_View::getParentData(), AP_Dialog_HdrFtr::getRestartValue(), FV_View::getSectionFormat(), AP_Dialog_HdrFtr::getValue(), AP_Dialog_HdrFtr::HdrEven, AP_Dialog_HdrFtr::HdrFirst, AP_Dialog_HdrFtr::HdrLast, FV_View::isHdrFtrEdit(), AP_Dialog_HdrFtr::isRestart(), AP_Dialog_HdrFtr::isRestartChanged(), FV_View::notifyListeners(), FV_View::populateThisHdrFtr(), XAP_Frame::raise(), XAP_DialogFactory::releaseDialog(), FV_View::removeThisHdrFtr(), XAP_DialogFactory::requestDialog(), FV_View::RestoreSavedPieceTableState(), AP_Dialog_HdrFtr::runModal(), AP_Dialog_HdrFtr::setRestart(), FV_View::setSectionFormat(), FV_View::SetupSavePieceTableState(), AP_Dialog_HdrFtr::setValue(), UT_ASSERT, UT_getAttribute(), UT_return_val_if_fail, and FV_View::warpInsPtToXY().

Defun1 ( warpInsPtPrevPage   ) 

References UT_return_val_if_fail.

Defun1 ( scrollPageDown   ) 
Defun1 ( openRecent_5   ) 

References _openRecent().

Defun1 ( activateWindow_1   ) 

References _activateWindow().

Defun1 ( rdfAnchorSelectThisReferenceToSemanticItem   ) 
Defun1 ( insertRowsBefore   ) 
Defun1 ( insertColsAfter   ) 
Defun1 ( importStyles   ) 
Defun1 ( warpInsPtEOW   ) 
static bool dlgEditLatexEquation ( AV_View pAV_View,
EV_EditMethodCallData ,
bool  bStartDlg,
PT_DocPosition  pos 
) [static]
UT_Error fileOpen ( XAP_Frame pFrame,
const char *  pNewFile,
IEFileType  ieft 
)
static PD_RDFSemanticItemHandle& getrdfSemitemSource (  )  [static]

Referenced by Defun1().

static selectReferenceToSemanticItemRing& getSelectReferenceToSemanticItemRing (  )  [static]
bool helpLocalizeAndOpenURL ( const char *  pathBeforeLang,
const char *  pathAfterLang,
const char *  remoteURLbase 
)
static void insertAnnotation ( FV_View pView,
bool  bDescr 
) [static]
static bool lockGUI ( void   )  [static]

Call this if you want to prevent GUI operations on AbiWord.

References s_LockOutGUI.

static bool rdfAnchorContainsPoint ( FV_View pView,
PD_DocumentRDFHandle  rdf,
PT_DocPosition  pos 
) [static]
static void rdfAnchorSelectPos ( FV_View pView,
PD_DocumentRDFHandle  rdf,
PT_DocPosition  pos,
bool  selectit = true 
) [static]
bool s_actuallyPrint ( PD_Document doc,
GR_Graphics pGraphics,
FV_View pPrintView,
const char *  pDocName,
UT_uint32  nCopies,
bool  bCollate,
UT_sint32  iWidth,
UT_sint32  iHeight,
UT_sint32  nToPage,
UT_sint32  nFromPage 
)
bool s_actuallyPrint ( PD_Document doc,
GR_Graphics pGraphics,
FV_View pPrintView,
const char *  pDocName,
UT_uint32  nCopies,
bool  bCollate,
UT_sint32  iWidth,
UT_sint32  iHeight,
const std::set< UT_sint32 > &  pages 
)
static bool s_actuallySaveAs ( AV_View pAV_View,
bool  overwriteName 
) [static]
static bool s_AskCloseAllAndExit ( XAP_Frame pFrame  )  [static]
static bool s_AskForGraphicPathname ( XAP_Frame pFrame,
char **  ppPathname,
IEGraphicFileType iegft 
) [static]
static bool s_AskForPathname ( XAP_Frame pFrame,
bool  bSaveAs,
XAP_Dialog_Id  id,
const char *  pSuggestedName,
char **  ppPathname,
IEFileType ieft 
) [static]
static bool s_AskForScriptName ( XAP_Frame pFrame,
UT_String stPathname,
UT_ScriptIdType ieft 
) [static]
static bool s_AskRevertFile ( XAP_Frame pFrame  )  [static]
static XAP_Dialog_MessageBox::tAnswer s_AskSaveFile ( XAP_Frame pFrame  )  [static]
static bool s_closeWindow ( AV_View pAV_View,
EV_EditMethodCallData pCallData,
bool  bCanExit 
) [static]
XAP_Dialog_MessageBox::tAnswer s_CouldNotLoadFileMessage ( XAP_Frame pFrame,
const char *  pNewFile,
UT_Error  errorCode 
)
static bool s_doAboutDlg ( XAP_Frame pFrame,
XAP_Dialog_Id  id 
) [static]
static bool s_doBookmarkDlg ( FV_View pView,
bool   
) [static]
static bool s_doBorderShadingDlg ( FV_View pView  )  [static]
static bool s_doBreakDlg ( FV_View pView  )  [static]
static bool s_doBullets ( FV_View pView  )  [static]
static bool s_doContextMenu ( EV_EditMouseContext  emc,
UT_sint32  xPos,
UT_sint32  yPos,
FV_View pView,
XAP_Frame pFrame 
) [static]
static bool s_doContextMenu_no_move ( EV_EditMouseContext  emc,
UT_sint32  xPos,
UT_sint32  yPos,
FV_View pView,
XAP_Frame pFrame 
) [static]
static bool s_doField ( FV_View pView  )  [static]
static bool s_doFindOrFindReplaceDlg ( FV_View pView,
XAP_Dialog_Id  id 
) [static]
static bool s_doFontDlg ( FV_View pView  )  [static]

References UT_String::c_str(), UT_String::clear(), FREEP, gchar, XAP_Dialog_FontChooser::getAnswer(), XAP_Dialog_FontChooser::getChangedBGColor(), XAP_Dialog_FontChooser::getChangedBottomline(), XAP_Dialog_FontChooser::getChangedColor(), XAP_Dialog_FontChooser::getChangedFontFamily(), XAP_Dialog_FontChooser::getChangedFontSize(), XAP_Dialog_FontChooser::getChangedFontStyle(), XAP_Dialog_FontChooser::getChangedFontWeight(), XAP_Dialog_FontChooser::getChangedHidden(), XAP_Dialog_FontChooser::getChangedOverline(), XAP_Dialog_FontChooser::getChangedStrikeOut(), XAP_Dialog_FontChooser::getChangedSubScript(), XAP_Dialog_FontChooser::getChangedSuperScript(), XAP_Dialog_FontChooser::getChangedTextTransform(), XAP_Dialog_FontChooser::getChangedTopline(), XAP_Dialog_FontChooser::getChangedUnderline(), FV_View::getCharFormat(), fg_FillType::getColor(), FV_View::getCurrentPage(), XAP_Frame::getDialogFactory(), fp_Page::getFillType(), FL_DocLayout::getGraphics(), FV_View::getLayout(), AV_View::getParentData(), FV_View::getSelectionText(), FV_View::isSelectionEmpty(), UT_RGBColor::m_blu, UT_RGBColor::m_grn, UT_RGBColor::m_red, XAP_Frame::raise(), XAP_DialogFactory::releaseDialog(), XAP_DialogFactory::requestDialog(), XAP_Dialog_FontChooser::runModal(), s, XAP_Dialog_FontChooser::setBackGroundColor(), XAP_Dialog_FontChooser::setBGColor(), FV_View::setCharFormat(), XAP_Dialog_FontChooser::setColor(), XAP_Dialog_FontChooser::setDrawString(), XAP_Dialog_FontChooser::setFontDecoration(), XAP_Dialog_FontChooser::setFontFamily(), XAP_Dialog_FontChooser::setFontSize(), XAP_Dialog_FontChooser::setFontStyle(), XAP_Dialog_FontChooser::setFontWeight(), XAP_Dialog_FontChooser::setGraphicsContext(), XAP_Dialog_FontChooser::setHidden(), XAP_Dialog_FontChooser::setSubScript(), XAP_Dialog_FontChooser::setSuperScript(), XAP_Dialog_FontChooser::setTextTransform(), text, UT_DEBUGMSG, UT_getAttribute(), and UT_return_val_if_fail.

Referenced by Defun1().

static bool s_doFormatImageDlg ( FV_View pView,
EV_EditMethodCallData pCallData,
bool  bCtxtMenu 
) [static]

References AP_PREF_KEY_RulerUnits, UT_String::c_str(), FV_View::cmdSelect(), FV_View::convertInLineToPositioned(), dim, fl_BlockLayout::findRunAtOffset(), FREEP, gchar, fl_DocSectionLayout::getActualColumnHeight(), fl_DocSectionLayout::getActualColumnWidth(), XAP_Dialog_Image::getAnswer(), XAP_App::getApp(), PP_AttrProp::getAttribute(), FV_View::getAttributes(), fp_Run::getBlock(), FV_View::getBlockAtPosition(), FV_View::getCharFormat(), fp_Line::getColumn(), fp_ContainerObject::getContainerType(), FV_View::getCurrentBlock(), XAP_Dialog_Image::getDescription(), XAP_Frame::getDialogFactory(), FV_View::getDocPositionFromLastXY(), fl_BlockLayout::getDocSectionLayout(), fp_Run::getHeight(), XAP_Dialog_Image::getHeightString(), fp_Run::getLine(), fp_Line::getPage(), AV_View::getParentData(), FV_View::getPoint(), fl_BlockLayout::getPosition(), XAP_Dialog_Image::getPositionTo(), fl_BlockLayout::getRightMargin(), FV_View::getSelectedImage(), XAP_Dialog_Image::getTitle(), fp_Run::getType(), fp_Page::getWidth(), fp_ContainerObject::getWidth(), fp_Run::getWidth(), XAP_Dialog_Image::getWidthString(), XAP_Dialog_Image::getWrapping(), fp_VerticalContainer::getX(), fp_Line::getX(), fp_Run::getX(), fl_BlockLayout::getXYOffsetToLine(), fp_ContainerObject::getY(), fp_Line::getY(), FV_View::isInHdrFtr(), XAP_Dialog_Image::isTightWrap(), EV_EditMethodCallData::m_xPos, XAP_Frame::raise(), XAP_DialogFactory::releaseDialog(), XAP_DialogFactory::requestDialog(), XAP_Dialog_Image::runModal(), FV_View::setCharFormat(), XAP_Dialog_Image::setDescription(), XAP_Dialog_Image::setHeight(), XAP_Dialog_Image::setInHdrFtr(), XAP_Dialog_Image::setMaxHeight(), XAP_Dialog_Image::setMaxWidth(), XAP_Dialog_Image::setPreferedUnits(), XAP_Dialog_Image::setTitle(), XAP_Dialog_Image::setWidth(), FV_View::updateScreen(), UT_ASSERT, UT_ASSERT_HARMLESS, UT_convertInchesToDimensionString(), UT_convertToInches(), UT_convertToLogicalUnits(), UT_DEBUG_ONLY_ARG, UT_DEBUGMSG, UT_determineDimension(), UT_formatDimensionedValue(), UT_getAttribute(), UT_LAYOUT_RESOLUTION, UT_return_val_if_fail, UT_SHOULD_NOT_HAPPEN, UT_String_setProperty(), UT_UTF8String::utf8_str(), WRAP_INLINE, and XAP_DIALOG_ID_IMAGE.

Referenced by Defun().

static bool s_doFormatTableDlg ( FV_View pView  )  [static]
static bool s_doGotoDlg ( FV_View pView,
XAP_Dialog_Id  id 
) [static]
static bool s_doHyperlinkDlg ( FV_View pView  )  [static]
static bool s_doInsertDateTime ( FV_View pView  )  [static]
static bool s_doInsertPageNumbers ( FV_View pView  )  [static]
static bool s_doInsertTableDlg ( FV_View pView  )  [static]
static bool s_doLangDlg ( FV_View pView  )  [static]
static PD_Document* s_doListDocuments ( XAP_Frame pFrame,
bool  bExcludeCurrent,
UT_uint32  iId 
) [static]

This function can be used to raise one of the ListDocuments dialogues

Parameters:
pFrame,: the active frame
bExcludeCurrent,: true if current document is to be excluded from the list
iId,: the dialogue iId determining which of the ListDocuments variants to raise
Returns:
: returns pointer to the document user selected or NULL

References XAP_Dialog_ListDocuments::getAnswer(), XAP_Frame::getDialogFactory(), XAP_Dialog_ListDocuments::getDocument(), AD_Document::getFilename(), XAP_Frame::raise(), XAP_DialogFactory::releaseDialog(), XAP_DialogFactory::requestDialog(), XAP_Dialog_ListDocuments::runModal(), XAP_Dialog_ListDocuments::setIncludeActiveDoc(), UT_DEBUGMSG, and UT_return_val_if_fail.

Referenced by Defun1().

static bool s_doListRevisions ( XAP_Frame pFrame,
PD_Document pDoc,
FV_View pView 
) [static]
static bool s_doMarkRevisions ( XAP_Frame pFrame,
PD_Document pDoc,
FV_View pView,
bool  bToggleMark,
bool  bForceNew 
) [static]
static bool s_doMergeCellsDlg ( FV_View pView  )  [static]
static bool s_doMoreWindowsDlg ( XAP_Frame pFrame,
XAP_Dialog_Id  id 
) [static]
static bool s_doOptionsDlg ( FV_View pView,
int  which = -1 
) [static]
static bool s_doParagraphDlg ( FV_View pView  )  [static]
static bool s_doRDFEditorDlg ( FV_View pView,
XAP_Dialog_Id  id,
AP_Dialog_RDFEditor *&  dialogret,
bool  rstrct 
) [static]
static bool s_doRDFQueryDlg ( FV_View pView,
XAP_Dialog_Id  id,
AP_Dialog_RDFQuery *&  dialogret 
) [static]
static bool s_doSplitCellsDlg ( FV_View pView  )  [static]
static bool s_doStylesDlg ( FV_View pView  )  [static]
bool s_doTabDlg ( FV_View pView  ) 
static bool s_doToggleCase ( XAP_Frame pFrame,
FV_View pView,
XAP_Dialog_Id  id 
) [static]
static bool s_doWordCountDlg ( FV_View pView  )  [static]
static bool s_doZoomDlg ( FV_View pView  )  [static]
static bool s_EditMethods_check_frame ( void   )  [static]

This little macro locks out loading frames from any activity thus preventing segfaults.

Also used to lock out operations during a frequently repeated event (like holding down an arrow key)

References XAP_App::getApp(), XAP_Frame::getCurrentDoc(), XAP_Frame::getCurrentView(), XAP_App::getLastFocussedFrame(), AV_View::getPoint(), AV_View::isLayoutFilling(), s_LockOutGUI, and xxx_UT_DEBUGMSG.

void s_getPageMargins ( FV_View pView,
double &  margin_left,
double &  margin_right,
double &  page_margin_left,
double &  page_margin_right,
double &  page_margin_top,
double &  page_margin_bottom 
)
static UT_Error s_importFile ( XAP_Frame pFrame,
const char *  pNewFile,
IEFileType  ieft 
) [static]
static bool s_InsertSymbolDlg ( FV_View pView,
XAP_Dialog_Id  id 
) [static]
static void s_LoadingCursorCallback ( UT_Worker pTimer  )  [static]
static void s_StartStopLoadingCursor ( bool  bStartStop,
XAP_Frame pFrame 
) [static]

Control Method for the updating loader.

Parameters:
bool bStartStop true to start the updating loader, flase to stop it after the document has loaded.
XAP_Frame * pFrame Pointer to the new frame being loaded.

References AV_FOCUS_HERE, DELETEP, FV_View::focusChange(), XAP_App::getApp(), XAP_Frame::getCurrentDoc(), XAP_Frame::getCurrentView(), XAP_App::getStringSet(), XAP_StringSet::getValue(), GR_Graphics::GR_CURSOR_DEFAULT, s_LoadingCursorCallback(), UT_Timer::set(), XAP_Frame::setCursor(), FV_View::setCursorToContext(), XAP_Frame::setStatusMessage(), UT_Timer::start(), UT_Timer::static_constructor(), and UT_Timer::stop().

Referenced by Defun1(), fileOpen(), and s_importFile().

static void s_TabSaveCallBack ( AP_Dialog_Tab ,
FV_View pView,
const char *  szTabStops,
const char *  szDflTabStop,
void *   
) [static]
static void s_TellNotImplemented ( XAP_Frame pFrame,
const char *  szWhat,
int  iLine 
) [static]
static void s_TellSaveFailed ( XAP_Frame pFrame,
const char *  fileName,
UT_Error  errorCode 
) [static]
static bool s_xmlidDlg ( FV_View pView,
bool   
) [static]
static void sActualDelLeft ( AV_View pAV_View,
EV_EditMethodCallData  
) [static]

References UT_return_if_fail.

Referenced by Defun1().

static void sActualDelRight ( AV_View pAV_View,
EV_EditMethodCallData  
) [static]

References UT_return_if_fail.

Referenced by Defun1().

static void sActualDragFrame ( AV_View pAV_View,
EV_EditMethodCallData pCallData 
) [static]
static void sActualDragInlineImage ( AV_View pAV_View,
EV_EditMethodCallData pCallData 
) [static]
static void sActualDragToXY ( AV_View pAV_View,
EV_EditMethodCallData pCallData 
) [static]
static void sActualMoveLeft ( AV_View pAV_View,
EV_EditMethodCallData  
) [static]
static void sActualMoveRight ( AV_View pAV_View,
EV_EditMethodCallData  
) [static]
static void sActualPaste ( AV_View pAV_View,
EV_EditMethodCallData  
) [static]

References FV_View::cmdPaste().

Referenced by Defun1().

static void sActualVisualDrag ( AV_View pAV_View,
EV_EditMethodCallData pCallData 
) [static]
static void setSemanticItemRing ( PD_DocumentRDFHandle  rdf,
PD_RDFSemanticItemHandle  h,
const std::set< std::string > &  xmlids,
const std::string &  xmlid 
) [static]
static bool unlockGUI ( void   )  [static]

Call this to allow GUI operations on AbiWord.

References s_LockOutGUI.


Variable Documentation

bool s_bFirstDrawDone = false [static]

Callback function to implement the updating loader. This enables the user to see the document as soon as possible and updates the size of the scroll bars as the document is loaded.

bool s_bFreshDraw = false [static]
bool s_LockOutGUI = false [static]
UT_Worker* s_pFrequentRepeat = NULL [static]
AD_Document* s_pLoadingDoc = NULL [static]
XAP_Frame* s_pLoadingFrame = NULL [static]
UT_Timer* s_pToUpdateCursor = NULL [static]
const gchar* s_TBPrefsKeys[] [static]
Initial value:
 {


    
    AP_PREF_KEY_StandardBarVisible,
    AP_PREF_KEY_FormatBarVisible,
    AP_PREF_KEY_TableBarVisible,
    AP_PREF_KEY_ExtraBarVisible

}
bool sEndVisualDrag = false [static]
UT_sint32 siFixed = 0 [static]
UT_sint32 sLeftRulerPos = 0 [static]
bool sReleaseFrame = false [static]
bool sReleaseInlineImage = false [static]
UT_sint32 sTopRulerHeight = 0 [static]