• 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., 51 Franklin Street, Fifth Floor, Boston, MA
00017  * 02110-1301 USA.
00018  */
00019 
00020 #ifndef AP_UNIXDIALOG_FORMATFOOTNOTES_H
00021 #define AP_UNIXDIALOG_FORMATFOOTNOTES_H
00022 
00023 #include "ap_Dialog_FormatFootnotes.h"
00024 
00025 class XAP_UnixFrame;
00026 
00027 /*****************************************************************/
00028 
00029 ABI_EXPORT class AP_UnixDialog_FormatFootnotes: public AP_Dialog_FormatFootnotes
00030 {
00031 public:
00032     AP_UnixDialog_FormatFootnotes(XAP_DialogFactory * pDlgFactory, XAP_Dialog_Id id);
00033     virtual ~AP_UnixDialog_FormatFootnotes(void);
00034 
00035     virtual void            runModal(XAP_Frame * pFrame);
00036 
00037     static XAP_Dialog *     static_constructor(XAP_DialogFactory *, XAP_Dialog_Id id);
00038 
00039     void event_Apply(void);
00040     void event_Cancel(void);
00041     void event_Delete(void);
00042     void refreshVals(void);
00043     void event_MenuFootnoteChange(GtkWidget * widget);
00044     void event_MenuEndnoteChange(GtkWidget * widget);
00045     void event_MenuStyleFootnoteChange(GtkWidget * widget);
00046     void event_MenuStyleEndnoteChange(GtkWidget * widget);
00047     void event_FootInitialValueChange(void);
00048     void event_EndInitialValueChange(void);
00049     void event_EndRestartSection();
00050 private:
00051     virtual GtkWidget *     _constructWindow(void);
00052     void _constructWindowContents (GtkWidget * container);
00053     void _connectSignals(void);
00054 
00055     enum
00056       {
00057         BUTTON_CANCEL = GTK_RESPONSE_CANCEL,
00058         BUTTON_OK = GTK_RESPONSE_OK,
00059         BUTTON_DELETE
00060       } ResponseId ;
00061 
00062     GtkWidget *   m_windowMain;
00063     GtkWidget *   m_wButtonApply;
00064     GtkComboBox *   m_wFootnotesStyleMenu;
00065     GtkComboBox*   m_wFootnoteNumberingMenu;
00066     GtkWidget *   m_wFootnoteSpin;
00067     GtkAdjustment *   m_oFootnoteSpinAdj;
00068 
00069     GtkComboBox *   m_wEndnotesStyleMenu;
00070     GtkComboBox*   m_wEndnotesPlaceMenu;
00071     GtkWidget *   m_wEndnotesRestartOnSection;
00072     GtkWidget *   m_wEndnoteSpin;
00073     GtkAdjustment *   m_oEndnoteSpinAdj;
00074 
00075     guint         m_FootnoteSpinHanderID;
00076     guint         m_EndnoteSpinHanderID;
00077     guint         m_EndRestartSectionID;
00078     guint         m_FootNumberingID;
00079     guint         m_EndPlaceID;
00080     guint         m_FootStyleID;
00081     guint         m_EndStyleID;
00082 
00083     GtkWidget *   m_wEnd123;
00084     GtkWidget *   m_wEnd123Brack;
00085     GtkWidget *   m_wEnd123Paren;
00086     GtkWidget *   m_wEnd123OpenParen;
00087     GtkWidget *   m_wEndLower;
00088     GtkWidget *   m_wEndLowerParen;
00089     GtkWidget *   m_wEndLowerOpenParen;
00090     GtkWidget *   m_wEndUpper;
00091     GtkWidget *   m_wEndUpperParen;
00092     GtkWidget *   m_wEndUpperOpenParen;
00093     GtkWidget *   m_wEndRomanLower;
00094     GtkWidget *   m_wEndRomanLowerParen;
00095     GtkWidget *   m_wEndRomanUpper;
00096     GtkWidget *   m_wEndRomanUpperParen;
00097 
00098 
00099     GtkWidget *   m_wFoot123;
00100     GtkWidget *   m_wFoot123Brack;
00101     GtkWidget *   m_wFoot123Paren;
00102     GtkWidget *   m_wFoot123OpenParen;
00103     GtkWidget *   m_wFootLower;
00104     GtkWidget *   m_wFootLowerParen;
00105     GtkWidget *   m_wFootLowerOpenParen;
00106     GtkWidget *   m_wFootUpper;
00107     GtkWidget *   m_wFootUpperParen;
00108     GtkWidget *   m_wFootUpperOpenParen;
00109     GtkWidget *   m_wFootRomanLower;
00110     GtkWidget *   m_wFootRomanLowerParen;
00111     GtkWidget *   m_wFootRomanUpper;
00112     GtkWidget *   m_wFootRomanUpperParen;
00113 
00114 };
00115 
00116 #endif /* AP_UNIXDIALOG_FORMATFOOTNOTES_H */

Generated on Sun Feb 14 2021 for AbiWord by  doxygen 1.7.1