Debian Codegraph @

src/af/xap/gtk/xap_UnixDlg_HTMLOptions.h

raw
1 /* -*- mode: C++; tab-width: 4; c-basic-offset: 4; -*- */
2
3 /* AbiSource Application Framework
4 * Copyright (C) 2002 AbiSource, Inc.
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version 2
9 * of the License, or (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
19 * 02110-1301 USA.
20 */
21
22 #ifndef XAP_UNIXDIALOG_HTMLOPTIONS_H
23 #define XAP_UNIXDIALOG_HTMLOPTIONS_H
24
25 #include "ut_types.h"
26
27 #include "xap_UnixDialogHelper.h"
28 #include "xap_Dialog.h"
29
30 #include "xap_Dlg_HTMLOptions.h"
31
32 class XAP_Frame;
33
34 class XAP_UnixDialog_HTMLOptions : public XAP_Dialog_HTMLOptions
35 {
36 public:
37 XAP_UnixDialog_HTMLOptions (XAP_DialogFactory * pDlgFactory, XAP_Dialog_Id id);
38
39 virtual ~XAP_UnixDialog_HTMLOptions (void);
40
41 virtual void runModal (XAP_Frame * pFrame);
42
43 static XAP_Dialog * static_constructor (XAP_DialogFactory *, XAP_Dialog_Id id);
44
45 void toggle_Is4 ();
46 void toggle_AbiWebDoc ();
47 void toggle_DeclareXML ();
48 void toggle_AllowAWML ();
49 void toggle_EmbedCSS ();
50 void toggle_EmbedImages ();
51 void toggle_MathMLRenderPNG ();
52 void toggle_SplitDocument();
53 void refreshStates ();
54
55 private:
56 void event_OK (void);
57 void event_SaveSettings (void);
58 void event_RestoreSettings (void);
59 void event_Cancel (void);
60
61 GtkWidget * _constructWindow (void);
62
63 GtkWidget * m_windowMain;
64
65 GtkWidget * m_wIs4;
66 GtkWidget * m_wAbiWebDoc;
67 GtkWidget * m_wDeclareXML;
68 GtkWidget * m_wAllowAWML;
69 GtkWidget * m_wEmbedCSS;
70 GtkWidget * m_wEmbedImages;
71 GtkWidget * m_wMathMLRenderPNG;
72 GtkWidget * m_wSplitDocument;
73 };
74
75 #endif /* XAP_UNIXDIALOG_HTMLOPTIONS_H */
76
77
78