#include <xap_UnixApp.h>
Classes | |
| struct | windowGeometry |
Public Types | |
| enum | { GEOMETRY_FLAG_POS = 1 << 0, GEOMETRY_FLAG_SIZE = 1 << 1 } |
Public Member Functions | |
| XAP_UnixApp (const char *szAppName) | |
| virtual | ~XAP_UnixApp () |
| virtual const char * | getDefaultEncoding () const |
| virtual bool | initialize (const char *szKeyBindingsKey, const char *szKeyBindingsDefaultValue) |
| void | shutdown () |
| virtual XAP_Frame * | newFrame ()=0 |
| virtual void | reallyExit () |
| virtual XAP_DialogFactory * | getDialogFactory () |
| virtual XAP_Toolbar_ControlFactory * | getControlFactory () |
| virtual const XAP_StringSet * | getStringSet () const =0 |
| virtual const char * | getAbiSuiteAppDir () const =0 |
| virtual const std::string & | getAbiSuiteAppUIDir () const =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 |
| void | migrate (const char *oldName, const char *newName, const char *path) const |
| virtual const char * | getUserPrivateDirectory () const |
| virtual void | setSelectionStatus (AV_View *pView)=0 |
| virtual void | clearSelection ()=0 |
| virtual bool | getCurrentSelection (const char **formatList, void **ppData, UT_uint32 *pLen, const char **pszFormatFound)=0 |
| virtual void | cacheCurrentSelection (AV_View *)=0 |
| virtual XAP_UnixClipboard * | getClipboard ()=0 |
| virtual void | setWinGeometry (int x, int y, UT_uint32 width, UT_uint32 height, UT_uint32 flags) |
| virtual void | getWinGeometry (int *x, int *y, UT_uint32 *width, UT_uint32 *height, UT_uint32 *flags) |
| void | setTimeOfLastEvent (UT_uint32 eventTime) |
| UT_uint32 | getTimeOfLastEvent () const |
| virtual XAP_App::BidiSupportType | theOSHasBidiSupport () const |
| char ** | getTmpFile (void) |
| void | removeTmpFile (void) |
Protected Member Functions | |
| void | _setAbiSuiteLibDir () |
Protected Attributes | |
| AP_UnixDialogFactory | m_dialogFactory |
| AP_UnixToolbar_ControlFactory | m_controlFactory |
| windowGeometry | m_geometry |
| UT_uint32 | m_eventTime |
| char * | m_szTmpFile |
| XAP_UnixApp::XAP_UnixApp | ( | const char * | szAppName | ) |
References _setAbiSuiteLibDir(), XAP_App::_setUUIDGenerator(), XAP_App::getApp(), XAP_App::getGraphicsFactory(), CairoNull_Graphics::graphicsAllocator(), GR_UnixCairoGraphics::graphicsAllocator(), CairoNull_Graphics::graphicsDescriptor(), GR_UnixCairoGraphics::graphicsDescriptor(), GRID_CAIRO_NULL, m_geometry, XAP_App::newGraphics(), GR_GraphicsFactory::registerAsDefault(), GR_GraphicsFactory::registerClass(), CairoNull_Graphics::s_getClassId(), GR_UnixCairoGraphics::s_getClassId(), UT_ASSERT, and UT_UNUSED.
| XAP_UnixApp::~XAP_UnixApp | ( | ) | [virtual] |
References removeTmpFile().
| void XAP_UnixApp::_setAbiSuiteLibDir | ( | ) | [protected] |
References gchar, and XAP_App::getAbiSuiteHome().
Referenced by XAP_UnixApp().
| virtual bool XAP_UnixApp::canPasteFromClipboard | ( | ) | [pure virtual] |
Implements XAP_App.
| virtual void XAP_UnixApp::clearSelection | ( | ) | [pure virtual] |
| virtual void XAP_UnixApp::copyToClipboard | ( | PD_DocumentRange * | pDocRange, | |
| bool | bUseClipboard = true | |||
| ) | [pure virtual] |
Implements XAP_App.
| virtual const char* XAP_UnixApp::getAbiSuiteAppDir | ( | ) | const [pure virtual] |
Implements XAP_App.
| virtual const std::string& XAP_UnixApp::getAbiSuiteAppUIDir | ( | ) | const [pure virtual] |
| virtual XAP_UnixClipboard* XAP_UnixApp::getClipboard | ( | ) | [pure virtual] |
| XAP_Toolbar_ControlFactory * XAP_UnixApp::getControlFactory | ( | void | ) | [virtual] |
Implements XAP_App.
References m_controlFactory.
Referenced by EV_UnixToolbar::repopulateStyles(), and EV_UnixToolbar::synthesize().
| virtual bool XAP_UnixApp::getCurrentSelection | ( | const char ** | formatList, | |
| void ** | ppData, | |||
| UT_uint32 * | pLen, | |||
| const char ** | pszFormatFound | |||
| ) | [pure virtual] |
Referenced by s_drag_data_get_cb().
| virtual const char* XAP_UnixApp::getDefaultEncoding | ( | ) | const [inline, virtual] |
Implements XAP_App.
| XAP_DialogFactory * XAP_UnixApp::getDialogFactory | ( | void | ) | [virtual] |
Implements XAP_App.
References m_dialogFactory.
| virtual const XAP_StringSet* XAP_UnixApp::getStringSet | ( | ) | const [pure virtual] |
Implements XAP_App.
Referenced by XAP_UnixDialog_MessageBox::runModal(), and EV_UnixToolbar::synthesize().
| UT_uint32 XAP_UnixApp::getTimeOfLastEvent | ( | ) | const [inline] |
| char** XAP_UnixApp::getTmpFile | ( | void | ) | [inline] |
| const char * XAP_UnixApp::getUserPrivateDirectory | ( | void | ) | const [virtual] |
| bool XAP_UnixApp::initialize | ( | const char * | szKeyBindingsKey, | |
| const char * | szKeyBindingsDefaultValue | |||
| ) | [virtual] |
Reimplemented from XAP_App.
| void XAP_UnixApp::migrate | ( | const char * | oldName, | |
| const char * | newName, | |||
| const char * | path | |||
| ) | const [virtual] |
| virtual void XAP_UnixApp::pasteFromClipboard | ( | PD_DocumentRange * | pDocRange, | |
| bool | bUseClipboard, | |||
| bool | bHonorFormatting = true | |||
| ) | [pure virtual] |
Implements XAP_App.
| void XAP_UnixApp::reallyExit | ( | void | ) | [virtual] |
Implements XAP_App.
| void XAP_UnixApp::removeTmpFile | ( | void | ) |
References m_szTmpFile.
Referenced by FV_UnixVisualDrag::mouseDrag(), FV_UnixVisualInlineImage::mouseDrag(), FV_UnixFrameEdit::mouseDrag(), and ~XAP_UnixApp().
| virtual void XAP_UnixApp::setSelectionStatus | ( | AV_View * | pView | ) | [pure virtual] |
| void XAP_UnixApp::setTimeOfLastEvent | ( | UT_uint32 | eventTime | ) |
References m_eventTime.
| void XAP_UnixApp::shutdown | ( | ) |
| virtual XAP_App::BidiSupportType XAP_UnixApp::theOSHasBidiSupport | ( | ) | const [inline, virtual] |
Reimplemented from XAP_App.
Referenced by getControlFactory().
AP_UnixDialogFactory XAP_UnixApp::m_dialogFactory [protected] |
Referenced by getDialogFactory().
UT_uint32 XAP_UnixApp::m_eventTime [protected] |
Referenced by setTimeOfLastEvent().
windowGeometry XAP_UnixApp::m_geometry [protected] |
Referenced by getWinGeometry(), setWinGeometry(), and XAP_UnixApp().
char* XAP_UnixApp::m_szTmpFile [protected] |
Referenced by removeTmpFile().
1.7.1