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

XAP_UnixDialog_FileOpenSaveAs Class Reference

#include <xap_UnixDlg_FileOpenSaveAs.h>

Inheritance diagram for XAP_UnixDialog_FileOpenSaveAs:
XAP_Dialog_FileOpenSaveAs XAP_Dialog_AppPersistent XAP_Dialog_Persistent XAP_Dialog

List of all members.

Public Member Functions

 XAP_UnixDialog_FileOpenSaveAs (XAP_DialogFactory *pDlgFactory, XAP_Dialog_Id id)
virtual ~XAP_UnixDialog_FileOpenSaveAs (void)
virtual void runModal (XAP_Frame *pFrame)
gint previewPicture ()
void fileTypeChanged (GtkWidget *w)
void onDeleteCancel (void)

Static Public Member Functions

static XAP_Dialogstatic_constructor (XAP_DialogFactory *, XAP_Dialog_Id id)

Protected Member Functions

GdkPixbuf * pixbufForByteBuf (UT_ByteBuf *pBB)
GdkPixbuf * _loadXPM (UT_ByteBuf *pBB)
bool _run_gtk_main (XAP_Frame *pFrame, GtkWidget *filetypes_pulldown)
void _notifyError_OKOnly (XAP_Frame *pFrame, XAP_String_Id sid)
void _notifyError_OKOnly (XAP_Frame *pFrame, XAP_String_Id sid, const char *sz1)
bool _askOverwrite_YesNo (XAP_Frame *pFrame, const char *fileName)

Protected Attributes

GtkFileChooser * m_FC
GtkWidget * m_preview
XAP_Framem_pFrame
std::string m_finalPathnameCandidate

Private Attributes

bool m_bSave
GtkWidget * m_wFileTypes_PullDown

Constructor & Destructor Documentation

XAP_UnixDialog_FileOpenSaveAs::XAP_UnixDialog_FileOpenSaveAs ( XAP_DialogFactory pDlgFactory,
XAP_Dialog_Id  id 
)

Referenced by static_constructor().

XAP_UnixDialog_FileOpenSaveAs::~XAP_UnixDialog_FileOpenSaveAs ( void   )  [virtual]

Member Function Documentation

bool XAP_UnixDialog_FileOpenSaveAs::_askOverwrite_YesNo ( XAP_Frame pFrame,
const char *  fileName 
) [protected]
void XAP_UnixDialog_FileOpenSaveAs::_notifyError_OKOnly ( XAP_Frame pFrame,
XAP_String_Id  sid,
const char *  sz1 
) [protected]
void XAP_UnixDialog_FileOpenSaveAs::_notifyError_OKOnly ( XAP_Frame pFrame,
XAP_String_Id  sid 
) [protected]
void XAP_UnixDialog_FileOpenSaveAs::onDeleteCancel ( void   ) 
GdkPixbuf * XAP_UnixDialog_FileOpenSaveAs::pixbufForByteBuf ( UT_ByteBuf pBB  )  [protected]
void XAP_UnixDialog_FileOpenSaveAs::runModal ( XAP_Frame pFrame  )  [virtual]

Implements XAP_Dialog_FileOpenSaveAs.

References _run_gtk_main(), abiSetupModalDialog(), centerDialog(), convertMnemonics(), dialog_response(), file, file_selection_changed(), FREEP, fsel_key_event(), gchar, XAP_Frame::getFrameImpl(), XAP_App::getStringSet(), XAP_UnixFrameImpl::getTopLevelWindow(), XAP_StringSet::getValueUTF8(), XAP_Dialog_FileOpenSaveAs::m_answer, m_bSave, XAP_Dialog_FileOpenSaveAs::m_bSuggestName, m_FC, XAP_Dialog_FileOpenSaveAs::m_finalPathname, m_finalPathnameCandidate, XAP_Dialog::m_id, XAP_Dialog_FileOpenSaveAs::m_initialPathname, XAP_Dialog_FileOpenSaveAs::m_nDefaultFileType, XAP_Dialog_FileOpenSaveAs::m_nFileType, XAP_Dialog_FileOpenSaveAs::m_nTypeList, XAP_Dialog::m_pApp, XAP_Dialog_FileOpenSaveAs::m_persistPathname, m_preview, XAP_Dialog_FileOpenSaveAs::m_szDescriptions, XAP_Dialog_FileOpenSaveAs::m_szSuffixes, m_wFileTypes_PullDown, IE_Exp::preferredSuffixForFileType(), PREVIEW_HEIGHT, PREVIEW_WIDTH, s, s_delete_clicked(), s_file_activated(), s_filetypechanged(), s_preview_draw(), UT_ASSERT, UT_go_dirname_from_uri(), UT_go_filename_to_uri(), UT_go_path_is_path(), UT_go_path_is_uri(), UT_pathSuffix(), UT_SHOULD_NOT_HAPPEN, UT_UTF8String::utf8_str(), XAP_appendComboBoxTextAndInt(), XAP_comboBoxGetActiveInt(), XAP_DIALOG_ID_FILE_EXPORT, XAP_DIALOG_ID_FILE_IMPORT, XAP_DIALOG_ID_FILE_OPEN, XAP_DIALOG_ID_FILE_SAVE_IMAGE, XAP_DIALOG_ID_FILE_SAVEAS, XAP_DIALOG_ID_INSERT_FILE, XAP_DIALOG_ID_INSERT_PICTURE, XAP_DIALOG_ID_INSERTMATHML, XAP_DIALOG_ID_INSERTOBJECT, XAP_DIALOG_ID_PRINTTOFILE, XAP_DIALOG_ID_RECORDTOFILE, XAP_DIALOG_ID_REPLAYFROMFILE, XAP_makeGtkComboBoxText(), and xxx_UT_DEBUGMSG.

XAP_Dialog * XAP_UnixDialog_FileOpenSaveAs::static_constructor ( XAP_DialogFactory pFactory,
XAP_Dialog_Id  id 
) [static]

Member Data Documentation

Referenced by previewPicture(), and runModal().


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