• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

xap_UnixDlg_HTMLOptions.h

Go to the documentation of this file.
00001 /* -*- mode: C++; tab-width: 4; c-basic-offset: 4; -*- */
00002 
00003 /* AbiSource Application Framework
00004  * Copyright (C) 2002 AbiSource, Inc.
00005  *
00006  * This program is free software; you can redistribute it and/or
00007  * modify it under the terms of the GNU General Public License
00008  * as published by the Free Software Foundation; either version 2
00009  * of the License, or (at your option) any later version.
00010  *
00011  * This program is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  * GNU General Public License for more details.
00015  *
00016  * You should have received a copy of the GNU General Public License
00017  * along with this program; if not, write to the Free Software
00018  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
00019  * 02110-1301 USA.
00020  */
00021 
00022 #ifndef XAP_UNIXDIALOG_HTMLOPTIONS_H
00023 #define XAP_UNIXDIALOG_HTMLOPTIONS_H
00024 
00025 #include "ut_types.h"
00026 
00027 #include "xap_UnixDialogHelper.h"
00028 #include "xap_Dialog.h"
00029 
00030 #include "xap_Dlg_HTMLOptions.h"
00031 
00032 class XAP_Frame;
00033 
00034 class XAP_UnixDialog_HTMLOptions : public XAP_Dialog_HTMLOptions
00035 {
00036 public:
00037     XAP_UnixDialog_HTMLOptions (XAP_DialogFactory * pDlgFactory, XAP_Dialog_Id id);
00038 
00039     virtual ~XAP_UnixDialog_HTMLOptions (void);
00040 
00041     virtual void            runModal (XAP_Frame * pFrame);
00042 
00043     static XAP_Dialog *     static_constructor (XAP_DialogFactory *, XAP_Dialog_Id id);
00044 
00045     void            toggle_Is4 ();
00046     void            toggle_AbiWebDoc ();
00047     void            toggle_DeclareXML ();
00048     void            toggle_AllowAWML ();
00049     void            toggle_EmbedCSS ();
00050     void            toggle_EmbedImages ();
00051         void            toggle_MathMLRenderPNG ();
00052     void            toggle_SplitDocument();
00053     void            refreshStates ();
00054 
00055  private:
00056     void            event_OK (void);
00057     void            event_SaveSettings (void);
00058     void            event_RestoreSettings (void);
00059     void            event_Cancel (void);
00060 
00061     GtkWidget *     _constructWindow (void);
00062 
00063     GtkWidget *     m_windowMain;
00064 
00065     GtkWidget *     m_wIs4;
00066     GtkWidget *     m_wAbiWebDoc;
00067     GtkWidget *     m_wDeclareXML;
00068     GtkWidget *     m_wAllowAWML;
00069     GtkWidget *     m_wEmbedCSS;
00070     GtkWidget *     m_wEmbedImages;
00071         GtkWidget *     m_wMathMLRenderPNG;
00072     GtkWidget *     m_wSplitDocument;
00073 };
00074 
00075 #endif /* XAP_UNIXDIALOG_HTMLOPTIONS_H */
00076 
00077 
00078 

Generated on Sun Feb 14 2021 for AbiWord by  doxygen 1.7.1