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

ap_UnixDialog_FormatFootnotes.h

Go to the documentation of this file.
00001 /* AbiWord
00002  * Copyright (C) 2003 Martin Sevior
00003  *
00004  * This program is free software; you can redistribute it and/or
00005  * modify it under the terms of the GNU General Public License
00006  * as published by the Free Software Foundation; either version 2
00007  * of the License, or (at your option) any later version.
00008  *
00009  * This program is distributed in the hope that it will be useful,
00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012  * GNU General Public License for more details.
00013  *
00014  * You should have received a copy of the GNU General Public License
00015  * along with this program; if not, write to the Free Software
00016  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
00017  * 02111-1307, USA.
00018  */
00019 
00020 #ifndef AP_UNIXDIALOG_FORMATFOOTNOTES_H
00021 #define AP_UNIXDIALOG_FORMATFOOTNOTES_H
00022 
00023 #include "ap_Dialog_FormatFootnotes.h"
00024 #include "xap_Gtk2Compat.h"
00025 
00026 class XAP_UnixFrame;
00027 
00028 /*****************************************************************/
00029 
00030 ABI_EXPORT class AP_UnixDialog_FormatFootnotes: public AP_Dialog_FormatFootnotes
00031 {
00032 public:
00033     AP_UnixDialog_FormatFootnotes(XAP_DialogFactory * pDlgFactory, XAP_Dialog_Id id);
00034     virtual ~AP_UnixDialog_FormatFootnotes(void);
00035 
00036     virtual void            runModal(XAP_Frame * pFrame);
00037 
00038     static XAP_Dialog *     static_constructor(XAP_DialogFactory *, XAP_Dialog_Id id);
00039 
00040     void event_Apply(void);
00041     void event_Cancel(void);
00042     void event_Delete(void);
00043     void refreshVals(void);
00044     void event_MenuFootnoteChange(GtkWidget * widget);
00045     void event_MenuEndnoteChange(GtkWidget * widget);
00046     void event_MenuStyleFootnoteChange(GtkWidget * widget);
00047     void event_MenuStyleEndnoteChange(GtkWidget * widget);
00048     void event_FootInitialValueChange(void);
00049     void event_EndInitialValueChange(void);
00050     void event_EndRestartSection();
00051 private:
00052     virtual GtkWidget *     _constructWindow(void);
00053     void _constructWindowContents (GtkWidget * container);
00054     void _connectSignals(void);
00055 
00056     enum
00057       {
00058         BUTTON_CANCEL = GTK_RESPONSE_CANCEL,
00059         BUTTON_OK = GTK_RESPONSE_OK,
00060         BUTTON_DELETE
00061       } ResponseId ;
00062 
00063     GtkWidget *   m_windowMain;
00064     GtkWidget *   m_wButtonApply;
00065     GtkComboBox *   m_wFootnotesStyleMenu;
00066     GtkComboBox*   m_wFootnoteNumberingMenu;
00067     GtkWidget *   m_wFootnoteSpin;
00068     GtkAdjustment *   m_oFootnoteSpinAdj;
00069 
00070     GtkComboBox *   m_wEndnotesStyleMenu;
00071     GtkComboBox*   m_wEndnotesPlaceMenu;
00072     GtkWidget *   m_wEndnotesRestartOnSection;
00073     GtkWidget *   m_wEndnoteSpin;
00074     GtkAdjustment *   m_oEndnoteSpinAdj;
00075 
00076     guint         m_FootnoteSpinHanderID;
00077     guint         m_EndnoteSpinHanderID;
00078     guint         m_EndRestartSectionID;
00079     guint         m_FootNumberingID;
00080     guint         m_EndPlaceID;
00081     guint         m_FootStyleID;
00082     guint         m_EndStyleID;
00083 
00084     GtkWidget *   m_wEnd123;
00085     GtkWidget *   m_wEnd123Brack;
00086     GtkWidget *   m_wEnd123Paren;
00087     GtkWidget *   m_wEnd123OpenParen;
00088     GtkWidget *   m_wEndLower;
00089     GtkWidget *   m_wEndLowerParen;
00090     GtkWidget *   m_wEndLowerOpenParen;
00091     GtkWidget *   m_wEndUpper;
00092     GtkWidget *   m_wEndUpperParen;
00093     GtkWidget *   m_wEndUpperOpenParen;
00094     GtkWidget *   m_wEndRomanLower;
00095     GtkWidget *   m_wEndRomanLowerParen;
00096     GtkWidget *   m_wEndRomanUpper;
00097     GtkWidget *   m_wEndRomanUpperParen;
00098 
00099 
00100     GtkWidget *   m_wFoot123;
00101     GtkWidget *   m_wFoot123Brack;
00102     GtkWidget *   m_wFoot123Paren;
00103     GtkWidget *   m_wFoot123OpenParen;
00104     GtkWidget *   m_wFootLower;
00105     GtkWidget *   m_wFootLowerParen;
00106     GtkWidget *   m_wFootLowerOpenParen;
00107     GtkWidget *   m_wFootUpper;
00108     GtkWidget *   m_wFootUpperParen;
00109     GtkWidget *   m_wFootUpperOpenParen;
00110     GtkWidget *   m_wFootRomanLower;
00111     GtkWidget *   m_wFootRomanLowerParen;
00112     GtkWidget *   m_wFootRomanUpper;
00113     GtkWidget *   m_wFootRomanUpperParen;
00114 
00115 };
00116 
00117 #endif /* AP_UNIXDIALOG_FORMATFOOTNOTES_H */

Generated on Sun May 27 2012 for AbiWord by  doxygen 1.7.1