Public Types | Public Member Functions | Static Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | Static Private Attributes | Friends

XAP_Frame Class Reference

#include <xap_Frame.h>

Inheritance diagram for XAP_Frame:
AP_Frame AP_CocoaFrame AP_QtFrame AP_UnixFrame AP_Win32Frame

List of all members.

Public Types

enum  tZoomType {
  z_200, z_100, z_75, z_PAGEWIDTH,
  z_WHOLEPAGE, z_PERCENT
}

Public Member Functions

 XAP_Frame (XAP_FrameImpl *pFrameImpl)
 XAP_Frame (XAP_Frame *pFrame)
virtual ~XAP_Frame ()
virtual bool initialize (const char *szKeyBindingsKey, const char *szKeyBindingsDefaultValue, const char *szMenuLayoutKey, const char *szMenuLayoutDefaultValue, const char *szMenuLabelSetKey, const char *szMenuLabelSetDefaultValue, const char *szToolbarLayoutsKey, const char *szToolbarLayoutsDefaultValue, const char *szToolbarLabelSetKey, const char *szToolbarLabelSetDefaultValue)
virtual XAP_FramecloneFrame ()=0
virtual XAP_FramebuildFrame (XAP_Frame *pClone)=0
virtual UT_Error loadDocument (AD_Document *pDoc)=0
virtual UT_Error loadDocument (const char *szFilename, int ieft)=0
virtual UT_Error loadDocument (const char *szFileName, int ieft, bool createNew)=0
virtual UT_Error loadDocument (GsfInput *input, int ieft)=0
virtual UT_Error importDocument (const char *szFilename, int ieft, bool markClean=false)=0
bool close ()
bool raise ()
bool show ()
bool updateTitle ()
void setCursor (GR_Graphics::Cursor cursor)
virtual void queue_resize ()
void setFullScreen (bool isFullScreen)
void hideMenuScroll (bool bHideMenuScroll)
virtual XAP_DialogFactorygetDialogFactory ()
virtual EV_Toolbar_newToolbar (XAP_Frame *frame, const char *szLayout, const char *szLanguage)
virtual EV_MenugetMainMenu ()
XAP_FrameImplgetFrameImpl () const
void nullUpdate () const
AV_ViewgetCurrentView () const
AD_DocumentgetCurrentDoc () const
void setView (AV_View *pView)
void setDoc (AD_Document *pDoc)
const char * getFilename () const
const UT_UTF8StringgetTitle () const
const char * getNonDecoratedTitle () const
XAP_FrameMode getFrameMode ()
void setFrameMode (XAP_FrameMode iFrameMode)
bool isDirty () const
void setViewNumber (UT_uint32 n)
UT_uint32 getViewNumber () const
const char * getViewKey () const
void * getFrameData () const
virtual void setXScrollRange ()=0
virtual void setYScrollRange ()=0
virtual void quickZoom (UT_uint32 iZoom)=0
bool runModalContextMenu (AV_View *pView, const char *szMenuName, UT_sint32 x, UT_sint32 y)
virtual void setZoomPercentage (UT_uint32 iZoom)
virtual UT_uint32 getZoomPercentage ()
void setZoomType (XAP_Frame::tZoomType z_Type)
XAP_Frame::tZoomType getZoomType ()
void updateZoom ()
void quickZoom (void)
virtual void setStatusMessage (const char *szMsg)=0
void setStatusMessage (const std::string &s)
virtual void toggleRuler (bool)
virtual void toggleTopRuler (bool)=0
virtual void toggleLeftRuler (bool)=0
virtual void toggleBar (UT_uint32, bool)
virtual void toggleStatusBar (bool)
virtual bool getBarVisibility (UT_uint32)
EV_MousegetMouse ()
EV_KeyboardgetKeyboard ()
EV_ToolbargetToolbar (UT_sint32 ibar)
UT_sint32 findToolbarNr (EV_Toolbar *pTB)
virtual void rebuildMenus (void)
bool repopulateCombos ()
void rebuildAllToolbars (void)
void refillToolbarsInFrameData (void)
void dragBegin (XAP_Toolbar_Id srcId, EV_Toolbar *pTBsrc)
void dragDropToIcon (XAP_Toolbar_Id srcId, XAP_Toolbar_Id destId, EV_Toolbar *pTBsrc, EV_Toolbar *pTBdest)
void dragDropToTB (XAP_Toolbar_Id srcId, EV_Toolbar *pTBsrc, EV_Toolbar *pTBdest)
void dragEnd (XAP_Toolbar_Id srcId)
bool isBackupRunning (void)
UT_sint32 getAutoSavePeriod (void)
void setAutoSaveFile (bool)
void setAutoSaveFilePeriod (int)
void setAutoSaveFileExt (const UT_String &)
XAP_Dialog_MessageBoxcreateMessageBox (XAP_String_Id id, XAP_Dialog_MessageBox::tButtons buttons, XAP_Dialog_MessageBox::tAnswer default_answer,...)
XAP_Dialog_MessageBox::tAnswer showMessageBox (XAP_String_Id id, XAP_Dialog_MessageBox::tButtons buttons, XAP_Dialog_MessageBox::tAnswer default_answer)
XAP_Dialog_MessageBox::tAnswer showMessageBox (const std::string &sz, XAP_Dialog_MessageBox::tButtons buttons, XAP_Dialog_MessageBox::tAnswer default_answer)
XAP_Dialog_MessageBox::tAnswer showMessageBox (const char *sz, XAP_Dialog_MessageBox::tButtons buttons, XAP_Dialog_MessageBox::tAnswer default_answer)
XAP_Dialog_MessageBox::tAnswer showMessageBox (XAP_String_Id id, XAP_Dialog_MessageBox::tButtons buttons, XAP_Dialog_MessageBox::tAnswer default_answer, const char *sz)
XAP_Dialog_MessageBox::tAnswer showMessageBox (XAP_Dialog_MessageBox *pDialog)
UT_Error backup (const char *stExt=0, UT_sint32 iEFT=-1)
 It saves the current document with an extension stExt.
UT_String makeBackupName (const char *szExt=0)
bool isStatusBarShown (void) const
bool isMenuBarShown (void) const
virtual void setStatusBarShown (bool)
virtual void setMenuBarShown (bool)
time_t getTimeSinceSave () const
bool isFrameLocked (void) const
void setFrameLocked (bool bLock)
bool isMenuScrollHidden (void) const
UT_RGBColor getColorSelBackground () const
UT_RGBColor getColorSelForeground () const
void dragText ()
virtual UT_sint32 getDocumentAreaXoff (void)
virtual UT_sint32 getDocumentAreaYoff (void)

Static Protected Member Functions

static int _getNextUntitledNumber ()

Protected Attributes

AD_Documentm_pDoc
AV_Viewm_pView
ap_ViewListenerm_pViewListener
AV_ListenerId m_lid
AV_ScrollObjm_pScrollObj
UT_uint32 m_nView
int m_iUntitled
ap_Scrollbar_ViewListenerm_pScrollbarViewListener
AV_ListenerId m_lidScrollbarViewListener
XAP_Frame::tZoomType m_zoomType
GR_Graphics::Cursor m_cursor
void * m_pData
bool m_bHideMenuScroll

Private Member Functions

void _createAutoSaveTimer ()
void _removeAutoSaveFile ()

Private Attributes

UT_UTF8String m_sTitle
UT_UTF8String m_sNonDecoratedTitle
UT_uint32 m_iIdAutoSaveTimer
UT_uint32 m_iAutoSavePeriod
UT_String m_stAutoSaveExt
UT_String m_stAutoSaveNamePrevious
bool m_bBackupRunning
bool m_bBackupInProgress
XAP_Toolbar_Id m_isrcId
UT_sint32 m_isrcTBNr
XAP_Toolbar_Id m_idestId
UT_sint32 m_idestTBNr
bool m_bisDragging
bool m_bHasDropped
bool m_bHasDroppedTB
bool m_bFirstDraw
bool m_bShowStatusbar
bool m_bShowMenubar
bool m_bIsFrameLocked
XAP_FrameImplm_pFrameImpl
UT_uint32 m_iZoomPercentage

Static Private Attributes

static int s_iUntitled = 0

Friends

class XAP_FrameImpl

Member Enumeration Documentation

Enumerator:
z_200 
z_100 
z_75 
z_PAGEWIDTH 
z_WHOLEPAGE 
z_PERCENT 

Constructor & Destructor Documentation

XAP_Frame::XAP_Frame ( XAP_FrameImpl pFrameImpl  ) 
XAP_Frame::XAP_Frame ( XAP_Frame pFrame  ) 

Member Function Documentation

int XAP_Frame::_getNextUntitledNumber ( void   )  [static, protected]
virtual EV_Toolbar* XAP_Frame::_newToolbar ( XAP_Frame frame,
const char *  szLayout,
const char *  szLanguage 
) [inline, virtual]
void XAP_Frame::_removeAutoSaveFile (  )  [private]
UT_Error XAP_Frame::backup ( const char *  szExt = 0,
UT_sint32  iEFT = -1 
)

It saves the current document with an extension stExt.

If the extension is empty, then it save the document with the default extension (as defined in the preferences dialog box)

References _removeAutoSaveFile(), UT_String::c_str(), XAP_App::getApp(), XAP_App::getPrefs(), m_bBackupInProgress, m_pDoc, m_stAutoSaveNamePrevious, makeBackupName(), AD_Document::saveAs(), XAP_Prefs::setIgnoreNextRecent(), UT_String::size(), UT_DEBUGMSG, and UT_OK.

Referenced by autoSaveCallback(), and AP_App::saveRecoveryFiles().

virtual XAP_Frame* XAP_Frame::buildFrame ( XAP_Frame pClone  )  [pure virtual]

Implemented in AP_Frame.

Referenced by Defun1().

virtual XAP_Frame* XAP_Frame::cloneFrame (  )  [pure virtual]

Implemented in AP_CocoaFrame, AP_UnixFrame, AP_QtFrame, and AP_Win32Frame.

Referenced by Defun1().

bool XAP_Frame::close (  )  [inline]
void XAP_Frame::dragBegin ( XAP_Toolbar_Id  srcId,
EV_Toolbar pTBsrc 
)

Record stuff for start of drag.

Parameters:
XAP_Toolbar_Id srcId - source of Toolbar Icon.
EV_Toolbar * pTBSrc pointer to toolbar class that contains the icon.

References findToolbarNr(), m_bHasDropped, m_bHasDroppedTB, m_bisDragging, m_idestId, m_idestTBNr, m_isrcId, and m_isrcTBNr.

Referenced by _wd::s_drag_begin().

void XAP_Frame::dragDropToIcon ( XAP_Toolbar_Id  srcId,
XAP_Toolbar_Id  destId,
EV_Toolbar pTBsrc,
EV_Toolbar pTBdest 
)
void XAP_Frame::dragDropToTB ( XAP_Toolbar_Id  srcId,
EV_Toolbar pTBsrc,
EV_Toolbar pTBdest 
)
void XAP_Frame::dragEnd ( XAP_Toolbar_Id  srcId  ) 
void XAP_Frame::dragText (  ) 
UT_sint32 XAP_Frame::getAutoSavePeriod ( void   )  [inline]
virtual bool XAP_Frame::getBarVisibility ( UT_uint32   )  [inline, virtual]
UT_RGBColor XAP_Frame::getColorSelBackground (  )  const
UT_RGBColor XAP_Frame::getColorSelForeground (  )  const
AV_View * XAP_Frame::getCurrentView ( void   )  const

References m_pView.

Referenced by _abi_widget_set_show_margin(), IE_Imp_RTF::_appendField(), AP_Win32FrameImpl::_ContainerWndProc(), AP_Dialog_Paragraph::_createPreviewFromGC(), AP_Win32FrameImpl::_DocumentWndProc(), IE_Exp_HTML::_doOptions(), AP_Dialog_Tab::_event_Set(), AP_Dialog_Tab::_event_Update(), AP_UnixDialog_FormatTOC::_fillGUI(), XAP_Win32FrameImpl::_FrameWndProc(), AP_Dialog_MergeCells::_generateSrcDest(), _get_fv_view(), AP_CocoaFrameImpl::_graphicsUpdateCB, XAP_UnixFrameImpl::_imCommit(), XAP_UnixFrameImpl::_imDeleteSurrounding_cb(), ABI_Collab_Import::_import(), IE_Imp_GDA::_importDataModel(), XAP_UnixFrameImpl::_imPreeditChanged_cb(), XAP_UnixFrameImpl::_imPreeditEnd_cb(), XAP_UnixFrameImpl::_imPreeditStart_cb(), XAP_UnixFrameImpl::_imRetrieveSurrounding_cb(), XAP_Win32Dialog_Zoom::_onCommand(), IE_Imp_Component::_parseStream(), IE_Imp_Object::_parseStream(), AP_Dialog_Tab::_populateWindowData(), EV_Win32Toolbar::_refreshID(), AP_TopRuler::_refreshView(), XAP_UnixFrameImpl::_runModalContextMenu(), XAP_CocoaFrameImpl::_runModalContextMenu, AP_CocoaFrameImpl::_scrollAction, AP_Win32FrameImpl::_scrollFuncX(), AP_UnixFrame::_scrollFuncX(), AP_CocoaFrame::_scrollFuncX(), AP_Win32FrameImpl::_scrollFuncY(), AP_UnixFrame::_scrollFuncY(), AP_CocoaFrame::_scrollFuncY(), XAP_Win32FrameImpl::_setCursor(), XAP_UnixFrameImpl::_setCursor(), AP_UnixFrameImpl::_setScrollRange(), AP_Dialog_Tab::_storeWindowData(), AP_Dialog_Options::_storeWindowData(), AP_Win32FrameImpl::_toggleLeftRuler(), AP_Win32FrameImpl::_toggleTopRuler(), abi_widget_draw(), abi_widget_get_current_page_num(), abi_widget_get_mouse_pos(), abi_widget_get_page_count(), abi_widget_get_selection(), abi_widget_insert_image(), abi_widget_insert_table(), abi_widget_invoke_ex(), abi_widget_load_file(), abi_widget_load_file_from_memory(), abi_widget_render_page_to_image(), abi_widget_set_current_page(), abi_widget_set_style(), abi_widget_set_text_color(), abi_widget_turn_on_cursor(), AbiGimp_invoke(), AbiGoogle_invoke(), AbiMathView_FileInsert(), AbiOts_invoke(), AP_Dialog_MailMerge::addClicked(), AiksaurusABI_invoke(), AP_Dialog_Stylist::Apply(), AP_Dialog_FormatTOC::Apply(), AP_Dialog_FormatTable::applyChanges(), AP_Dialog_FormatFrame::applyChanges(), AP_Dialog_Border_Shading::applyChanges(), IE_Imp_RTF::ApplyParagraphAttributes(), IE_Imp_RTF::ApplySectionAttributes(), AP_Dialog_FormatTOC::applyTOCPropsToDoc(), AP_Dialog_FormatTable::askForGraphicPathName(), AP_Dialog_FormatFrame::askForGraphicPathName(), BabelFish_invoke(), XAP_UnixFrameImpl::_fe::button_press_event(), AP_UnixLeftRuler::_fe::button_press_event(), XAP_UnixFrameImpl::_fe::button_release_event(), AP_UnixLeftRuler::_fe::button_release_event(), changed_cb(), XAP_UnixFrameImpl::_fe::configure_event(), AP_Dialog_Latex::convertLatexToMathML(), DECLARE_ABI_PLUGIN_METHOD(), Defun(), XAP_UnixFrameImpl::_fe::delete_event(), EV_UnixToolbar::destroy(), XAP_UnixFrameImpl::_fe::do_ZoomUpdate(), IE_Exp_EPUB::doOptions(), ev_EditMethod_invoke(), XAP_UnixDialog_Zoom::event_RadioPageWidthClicked(), XAP_UnixDialog_Zoom::event_RadioWholePageClicked(), AP_UnixDialog_Paragraph::event_Tabs(), XAP_CocoaNSView::eventDelegate, XAP_UnixFrameImpl::_fe::expose(), fileOpen(), AP_Dialog_FormatTOC::fillTOCPropsFromDoc(), fl_AutoNum::fixHierarchy(), XAP_UnixFrameImpl::_fe::focus_in_event(), focus_in_event(), focus_in_event_Modeless(), focus_in_event_ModelessOther(), XAP_UnixFrameImpl::_fe::focus_out_event(), focus_out_event(), focus_out_event_Modeless(), FreeTranslation_invoke(), GDA_execSQL(), GDict_invoke(), AP_Dialog_Lists::getAvView(), AP_Dialog_FormatTOC::getNewStyle(), AP_Dialog_Replace::getView(), AP_Dialog_Modeless::getView(), AP_Dialog_Modal::getView(), AP_Dialog_Goto::getView(), XAP_Dialog_Zoom::getZoomPercent(), IE_Imp_RTF::HandleAbiEmbed(), IE_Imp_RTF::HandleAbiMathml(), IE_Imp_RTF::HandleAbiTable(), IE_Imp_RTF::HandleStarKeyword(), XAP_UnixFrameImpl::_fe::hScrollChanged(), AP_CocoaPlugin_Document::insertDocumentMailMergeField:, AP_Dialog_Latex::insertIntoDoc(), IE_Imp_RTF::insertStrux(), AP_CocoaPlugin_Document::insertText:, PD_RDFSemanticItem::insertTextWithXMLID(), IE_Imp_RDF::insertTextWithXMLID(), FV_View::isActive(), isImageSelected(), XAP_UnixFrameImpl::_fe::key_press_event(), AP_Win32Dialog_FormatTOC_Layout::loadCtrlsValuesForDetailsLevel(), EV_UnixMenu::menuEvent(), EV_QtMenu::menuEvent(), EV_CocoaMenu::menuEvent, XAP_UnixFrameImpl::_fe::motion_notify_event(), AP_UnixTopRuler::_fe::motion_notify_event(), AP_UnixLeftRuler::_fe::motion_notify_event(), ap_ViewListener::notify(), AP_UnixDialog_FormatFrame::notifyActiveFrame(), AP_CocoaDialog_Replace::notifyActiveFrame, EV_Win32Toolbar::onDropArrow(), AP_CocoaApp::pasteFromClipboard(), AP_Frame::quickZoom(), EV_UnixToolbar::rebuildToolbar(), XAP_Win32Dialog_PrintPreview::runModal(), XAP_Win32Dialog_Print::runModal(), XAP_Win32Dialog_About::runModal(), AP_Win32Dialog_Styles::runModal(), AP_UnixDialog_Styles::runModal(), AP_Win32Dialog_Replace::runModeless(), AP_CocoaDialog_Replace::runModeless, s_abi_widget_map_cb(), s_closeWindow(), s_dndDropEvent(), s_drag_data_get_cb(), s_EditMethods_check_frame(), s_LoadingCursorCallback(), s_loadUri(), _wd::s_new_table(), _wd::s_onInitMenu(), s_pasteFile(), s_pasteText(), s_proxy_activated(), s_StartStopLoadingCursor(), s_updateMailMergeFields(), XAP_App::saveState(), XAP_UnixFrameImpl::_fe::scroll_notify_event(), AP_CocoaPlugin_Document::selectedText, AP_CocoaPlugin_Document::selectWord, PD_DocumentRDF::selectXMLIDs(), XAP_Dialog_Insert_Symbol::setActiveFrame(), AP_Dialog_FormatTable::setAllSensitivities(), AP_Dialog_FormatFrame::setAllSensitivities(), AP_Dialog_WordCount::setCountFromActiveFrame(), AP_Dialog_Border_Shading::setCurBlockProps(), AP_Dialog_FormatTable::setCurCellProps(), AP_Dialog_FormatFrame::setCurFrameProps(), AP_UnixDialog_FormatTOC::setDetailsLevel(), AP_Dialog_FormatFootnotes::setFrame(), XAP_App::setInputMode(), XAP_App::setKbdLanguage(), GR_Win32USPGraphics::setPrintDC(), AP_Preview_Annotation::setSizeFromAnnotation(), XAP_UnixDialog_Print::setupPrint(), AP_Dialog_Replace::setView(), AP_Dialog_Modeless::setView(), AP_Dialog_Goto::setView(), AP_Dialog_Columns::setViewAndDoc(), AP_UnixFrame::setXScrollRange(), AP_UnixFrame::setYScrollRange(), GR_Win32USPGraphics::setZoomPercentage(), AbiWidget_FrameListener::signalFrame(), EV_Win32Toolbar::toolbarEvent(), EV_UnixToolbar::toolbarEvent(), IE_Imp_RTF::TranslateKeywordID(), AP_Dialog_Stylist::updateDialog(), AP_Dialog_FormatTOC::updateDialog(), URLDict_invoke(), EV_CocoaMenu::validateMenuItem, XAP_FrameImpl::viewAutoUpdater(), viewFromApp(), XAP_UnixFrameImpl::_fe::vScrollChanged(), Wikipedia_invoke(), ODe_ThumbnailsWriter::writeThumbnails(), and XAP_CocoaNSView::xapFrame.

virtual XAP_DialogFactory* XAP_Frame::getDialogFactory ( void   )  [inline, virtual]
virtual UT_sint32 XAP_Frame::getDocumentAreaXoff ( void   )  [inline, virtual]

Reimplemented in AP_UnixFrame.

virtual UT_sint32 XAP_Frame::getDocumentAreaYoff ( void   )  [inline, virtual]

Reimplemented in AP_UnixFrame.

void* XAP_Frame::getFrameData (  )  const [inline]

Referenced by AP_Win32FrameImpl::_ContainerWndProc(), AP_Win32FrameImpl::_createDocumentWindow(), AP_UnixFrameImpl::_createDocumentWindow(), AP_QtFrameImpl::_createDocumentWindow(), AP_CocoaFrameImpl::_createDocumentWindow, AP_Win32FrameImpl::_createLeftRuler(), AP_Win32FrameImpl::_createStatusBarWindow(), AP_UnixFrameImpl::_createStatusBarWindow(), AP_QtFrameImpl::_createStatusBarWindow(), AP_CocoaFrameImpl::_createStatusBarWindow, AP_Win32FrameImpl::_createTopRuler(), AP_TopRuler::_displayStatusMessage(), AP_LeftRuler::_displayStatusMessage(), AP_TopRuler::_ignoreEvent(), AP_LeftRuler::_ignoreEvent(), AP_Win32App::_pasteFormatFromClipboard(), AP_UnixFrameImpl::_refillToolbarsInFrameData(), AP_Win32FrameImpl::_showOrHideStatusbar(), AP_UnixFrameImpl::_showOrHideStatusbar(), AP_CocoaFrameImpl::_showOrHideStatusbar, AP_Win32FrameImpl::_showOrHideToolbars(), AP_UnixFrameImpl::_showOrHideToolbars(), AP_CocoaFrameImpl::_showOrHideToolbars, AP_Dialog_Options::_storeDataForControl(), AP_Dialog_Options::_storeWindowData(), _viewTBx(), XAP_UnixDialog_Print::BeginPrint(), checkViewModeIsPrint(), Defun(), Defun1(), Defun_EV_GetMenuItemState_Fn(), Defun_EV_GetToolbarItemState_Fn(), Drop(), fileOpen(), FV_View::FV_View(), AP_Win32Frame::getAPFrameData(), PD_Document::getStatusBar(), AP_Win32StatusBar::hide(), AP_TopRuler::isMouseOverTab(), FV_Caret_Listener::notify(), ap_sbf_InsertMode::notify(), FV_View::replaceGraphics(), AP_Dialog_Spell::runModal(), s_abi_widget_map_cb(), s_doMarkRevisions(), s_loadUri(), AP_TopRuler::setTableLineDrag(), AP_LeftRuler::setWidth(), AP_Win32StatusBar::show(), AP_UnixFrame::toggleBar(), AP_CocoaFrame::toggleBar(), AP_UnixFrame::toggleLeftRuler(), AP_CocoaFrame::toggleLeftRuler(), AP_UnixFrame::toggleRuler(), AP_CocoaFrame::toggleRuler(), AP_UnixFrame::toggleStatusBar(), AP_CocoaFrame::toggleStatusBar(), AP_UnixFrame::toggleTopRuler(), and AP_CocoaFrame::toggleTopRuler().

XAP_FrameImpl* XAP_Frame::getFrameImpl (  )  const [inline]

Referenced by EV_Win32Toolbar::_addToRebar(), AP_UnixFrame::_bindToolbars(), AP_CocoaFrame::_bindToolbars(), EV_Win32Toolbar::_ComboWndProc(), AP_UnixFrame::_createViewGraphics(), AP_QtFrame::_createViewGraphics(), AP_CocoaFrame::_createViewGraphics(), AP_Win32FrameImpl::_DocumentWndProc(), XAP_Win32FrameImpl::_FrameWndProc(), EV_Win32Toolbar::_getBandForHwnd(), EV_UnixToolbar::_getContainer(), AP_UnixFrame::_getDocumentAreaHeight(), AP_CocoaFrame::_getDocumentAreaHeight(), AP_UnixFrame::_getDocumentAreaWidth(), AP_CocoaFrame::_getDocumentAreaWidth(), AP_Frame::_replaceView(), AP_UnixFrame::_scrollFuncX(), AP_CocoaFrame::_scrollFuncX(), AP_UnixFrame::_scrollFuncY(), AP_CocoaFrame::_scrollFuncY(), XAP_Win32FrameImpl::_setFullScreen(), PD_RDFDialogsGTK::_setIcon(), AP_UnixFrame::_setViewFocus(), AP_CocoaFrame::_setViewFocus(), abi_widget_get_prop(), abi_widget_grab_focus(), abi_widget_set_prop(), AbiGOComponent_Create(), abiSetupModalDialog(), abiSetupModelessDialog(), AP_CocoaStatusBar::AP_CocoaStatusBar, AP_UnixLeftRuler::AP_UnixLeftRuler(), AP_UnixTopRuler::AP_UnixTopRuler(), XAP_Win32DialogBase::createModal(), XAP_Win32DialogBase::createModeless(), DragOver(), Drop(), XAP_Win32App::enableAllTopLevelWindows(), FV_UnixSelectionHandles::FV_UnixSelectionHandles(), AP_Win32Frame::getAPWin32FrameImpl(), AP_UnixFrame::getDocumentAreaXoff(), AP_UnixFrame::getDocumentAreaYoff(), EV_Win32Toolbar::hide(), AP_UnixFrame::initialize(), AP_QtFrame::initialize(), AP_CocoaFrame::initialize(), XAP_Win32DialogHelper::isParentFrame(), GOChartView::modify(), FV_UnixVisualDrag::mouseDrag(), FV_UnixVisualInlineImage::mouseDrag(), FV_UnixFrameEdit::mouseDrag(), AP_Win32App::newDefaultScreenGraphics(), AP_UnixApp::newDefaultScreenGraphics(), XAP_Win32Dialog_Insert_Symbol::notifyActiveFrame(), AP_Win32Dialog_WordCount::notifyActiveFrame(), AP_Win32Dialog_SplitCells::notifyActiveFrame(), AP_Win32Dialog_Replace::notifyActiveFrame(), AP_Win32Dialog_MergeCells::notifyActiveFrame(), AP_Win32Dialog_Latex::notifyActiveFrame(), AP_Win32Dialog_Goto::notifyActiveFrame(), AP_Win32Dialog_FormatTable::notifyActiveFrame(), AP_Win32Dialog_FormatFrame::notifyActiveFrame(), AP_Win32Dialog_Border_Shading::notifyActiveFrame(), XAP_Win32Dialog_Insert_Symbol::notifyCloseFrame(), XAP_Win32DialogBase::notifyCloseFrame(), AP_Win32Dialog_Replace::notifyCloseFrame(), AP_Win32Dialog_Latex::notifyCloseFrame(), AP_Win32Dialog_Goto::notifyCloseFrame(), EV_Win32Toolbar::onDropArrow(), XAP_Win32AppImpl::openURL(), EV_UnixMenuBar::rebuildMenuBar(), XAP_Win32PropertySheet::runModal(), XAP_Win32Dialog_Print::runModal(), XAP_Win32Dialog_MessageBox::runModal(), XAP_Win32Dialog_FontChooser::runModal(), XAP_Win32Dialog_FileOpenSaveAs::runModal(), XAP_Win32Dialog_About::runModal(), XAP_Win32DialogHelper::runModal(), XAP_UnixHildonDialog_FontChooser::runModal(), XAP_UnixDialog_Print::runModal(), XAP_UnixDialog_MessageBox::runModal(), XAP_UnixDialog_FileOpenSaveAs::runModal(), XAP_QtDialog_FileOpenSaveAs::runModal(), AP_Win32Dialog_Spell::runModal(), AP_Win32Dialog_Paragraph::runModal(), AP_Win32Dialog_GenericProgress::runModal(), AP_Win32Dialog_GenericInput::runModal(), AP_Win32Dialog_EpubExportOptions::runModal(), AP_Win32Dialog_CollaborationShare::runModal(), AP_Win32Dialog_CollaborationJoin::runModal(), AP_Win32Dialog_CollaborationEditAccount::runModal(), AP_Win32Dialog_CollaborationAddAccount::runModal(), AP_Win32Dialog_CollaborationAccounts::runModal(), AP_Win32Dialog_Background::runModal(), AP_UnixDialog_Columns::runModal(), XAP_Win32PropertySheet::runModeless(), XAP_Win32DialogHelper::runModeless(), s_abi_widget_map_cb(), XAP_Win32DialogHelper::setParentFrame(), XAP_CocoaFrameImpl::setToolbarRect, AP_UnixFrame::setXScrollRange(), AP_CocoaFrame::setXScrollRange(), AP_UnixFrame::setYScrollRange(), AP_CocoaFrame::setYScrollRange(), EV_Win32Toolbar::show(), EV_Win32Toolbar::synthesize(), EV_UnixToolbar::synthesize(), EV_QtToolbar::synthesize(), EV_UnixMenu::synthesizeMenu(), EV_UnixMenuBar::synthesizeMenuBar(), EV_QtMenuBar::synthesizeMenuBar(), AP_UnixFrame::toggleLeftRuler(), AP_CocoaFrame::toggleLeftRuler(), AP_CocoaFrame::toggleRuler(), AP_UnixFrame::toggleTopRuler(), AP_CocoaFrame::toggleTopRuler(), EV_Win32Toolbar::toolbarEvent(), AP_UnixLeftRuler::~AP_UnixLeftRuler(), and AP_UnixTopRuler::~AP_UnixTopRuler().

virtual EV_Menu* XAP_Frame::getMainMenu (  )  [inline, virtual]
const char * XAP_Frame::getNonDecoratedTitle (  )  const
time_t XAP_Frame::getTimeSinceSave (  )  const
const char * XAP_Frame::getViewKey ( void   )  const
UT_uint32 XAP_Frame::getZoomPercentage ( void   )  [virtual]
void XAP_Frame::hideMenuScroll ( bool  bHideMenuScroll  )  [inline]
virtual UT_Error XAP_Frame::importDocument ( const char *  szFilename,
int  ieft,
bool  markClean = false 
) [pure virtual]

Implemented in AP_Frame.

Referenced by s_importFile().

bool XAP_Frame::initialize ( const char *  szKeyBindingsKey,
const char *  szKeyBindingsDefaultValue,
const char *  szMenuLayoutKey,
const char *  szMenuLayoutDefaultValue,
const char *  szMenuLabelSetKey,
const char *  szMenuLabelSetDefaultValue,
const char *  szToolbarLayoutsKey,
const char *  szToolbarLayoutsDefaultValue,
const char *  szToolbarLabelSetKey,
const char *  szToolbarLabelSetDefaultValue 
) [virtual]
bool XAP_Frame::isBackupRunning ( void   )  [inline]
bool XAP_Frame::isFrameLocked ( void   )  const [inline]
bool XAP_Frame::isMenuBarShown ( void   )  const [inline]
bool XAP_Frame::isStatusBarShown ( void   )  const [inline]

Referenced by AP_Frame::_showDocument().

virtual UT_Error XAP_Frame::loadDocument ( const char *  szFilename,
int  ieft 
) [pure virtual]

Implemented in AP_Frame.

virtual UT_Error XAP_Frame::loadDocument ( const char *  szFileName,
int  ieft,
bool  createNew 
) [pure virtual]

Implemented in AP_Frame.

virtual UT_Error XAP_Frame::loadDocument ( GsfInput *  input,
int  ieft 
) [pure virtual]

Implemented in AP_Frame.

void XAP_Frame::rebuildAllToolbars ( void   ) 

This method rebuilds all the toolbars in the frame. Useful for when the user wants to revert to default toolbars.

References XAP_FrameImpl::_rebuildToolbar(), UT_GenericVector< T >::getItemCount(), m_pFrameImpl, and XAP_FrameImpl::m_vecToolbars.

void XAP_Frame::refillToolbarsInFrameData ( void   )  [inline]
bool XAP_Frame::runModalContextMenu ( AV_View pView,
const char *  szMenuName,
UT_sint32  x,
UT_sint32  y 
) [inline]
void XAP_Frame::setAutoSaveFileExt ( const UT_String stExt  ) 

References m_stAutoSaveExt.

Referenced by AbiCommand::replaceDocument().

void XAP_Frame::setAutoSaveFilePeriod ( int  min  ) 
void XAP_Frame::setDoc ( AD_Document pDoc  )  [inline]
void XAP_Frame::setFrameLocked ( bool  bLock  )  [inline]
void XAP_Frame::setFrameMode ( XAP_FrameMode  iFrameMode  ) 
void XAP_Frame::setFullScreen ( bool  isFullScreen  )  [inline]

Referenced by Defun1().

virtual void XAP_Frame::setMenuBarShown ( bool   )  [inline, virtual]
virtual void XAP_Frame::setStatusBarShown ( bool   )  [inline, virtual]
void XAP_Frame::setStatusMessage ( const std::string &  s  )  [inline]
void XAP_Frame::setViewNumber ( UT_uint32  n  ) 

References m_nView.

Referenced by XAP_App::forgetFrame(), and XAP_App::rememberFrame().

virtual void XAP_Frame::setXScrollRange (  )  [pure virtual]
XAP_Dialog_MessageBox::tAnswer XAP_Frame::showMessageBox ( const std::string &  sz,
XAP_Dialog_MessageBox::tButtons  buttons,
XAP_Dialog_MessageBox::tAnswer  default_answer 
)

References showMessageBox().

XAP_Dialog_MessageBox::tAnswer XAP_Frame::showMessageBox ( XAP_String_Id  id,
XAP_Dialog_MessageBox::tButtons  buttons,
XAP_Dialog_MessageBox::tAnswer  default_answer,
const char *  sz 
)
XAP_Dialog_MessageBox::tAnswer XAP_Frame::showMessageBox ( XAP_String_Id  id,
XAP_Dialog_MessageBox::tButtons  buttons,
XAP_Dialog_MessageBox::tAnswer  default_answer 
)

References createMessageBox().

Referenced by XAP_UnixDialog_FileOpenSaveAs::_askOverwrite_YesNo(), AbiCollab_Command::_doCmdDebug(), _errorMessage(), PD_Document::_importFile(), AP_Dialog_Replace::_messageFinishedFind(), AP_Dialog_Replace::_messageFinishedReplace(), XAP_UnixDialog_FileOpenSaveAs::_notifyError_OKOnly(), AP_Win32Dialog_Styles::_onCommand(), AP_Win32Dialog_PageSetup_Sheet::_onCommand(), AP_Win32Dialog_Styles::_onInitDialog(), FV_View::_prefsListener(), AccountHandler::_reportProtocolError(), AD_Document::_restoreVersion(), XAP_UnixDialog_FileOpenSaveAs::_run_gtk_main(), AbiCollabSaveInterceptor::_saveFailed(), AP_CocoaDialog_PageSetup::_validate, AbiGimp_invoke(), AbiOts_invoke(), XMPPAccountHandler::authenticate(), checkViewModeIsPrint(), AbiCollabSessionManager::closeSession(), FV_View::cmdInsertBookmark(), FV_View::cmdInsertHyperlink(), FV_View::cmdInsertXMLID(), XMPPAccountHandler::connect(), SpellChecker::couldNotLoadDictionary(), DECLARE_ABI_PLUGIN_METHOD(), Defun(), Defun1(), AP_UnixDialog_Styles::event_DeleteClicked(), XAP_Win32Dialog_PluginManager::event_Load(), XAP_CocoaDialog_PluginManager::event_Load, AP_UnixDialog_Styles::event_Modify_OK(), AP_UnixDialog_Styles::event_ModifyClicked(), AP_UnixDialog_PageSetup::event_OK(), FV_View::gotoTarget(), ServiceAccountHandler::joinSessionAsync(), AP_App::openCmdLineFiles(), AbiCollabSessionManager::processPacket(), AD_Document::purgeAllRevisions(), AbiCollabSessionManager::removeBuddy(), s_AskCloseAllAndExit(), s_AskRevertFile(), s_AskSaveFile(), s_CouldNotLoadFileMessage(), s_doToggleCase(), s_TellNotImplemented(), s_TellSaveFailed(), XMPPAccountHandler::setup(), AP_Dialog_CollaborationShare::share(), AP_Dialog_FormatTable::ShowErrorBox(), AP_Dialog_FormatFrame::ShowErrorBox(), AD_Document::showHistory(), showMessageBox(), and AP_Win32App::WinMain().

virtual void XAP_Frame::toggleBar ( UT_uint32  ,
bool   
) [inline, virtual]
virtual void XAP_Frame::toggleLeftRuler ( bool   )  [pure virtual]
virtual void XAP_Frame::toggleRuler ( bool   )  [inline, virtual]
virtual void XAP_Frame::toggleStatusBar ( bool   )  [inline, virtual]
virtual void XAP_Frame::toggleTopRuler ( bool   )  [pure virtual]

Friends And Related Function Documentation

friend class XAP_FrameImpl [friend]

Member Data Documentation

Referenced by backup().

Referenced by setAutoSaveFile().

bool XAP_Frame::m_bHasDropped [private]

Referenced by dragBegin(), and dragDropToIcon().

Referenced by dragBegin(), and dragDropToTB().

bool XAP_Frame::m_bHideMenuScroll [protected]
bool XAP_Frame::m_bisDragging [private]

Referenced by dragBegin().

bool XAP_Frame::m_bShowMenubar [private]
int XAP_Frame::s_iUntitled = 0 [static, private]

Referenced by _getNextUntitledNumber().


The documentation for this class was generated from the following files: