#include "ut_assert.h"#include "xap_App.h"#include "xap_UnixApp.h"#include "xap_Frame.h"#include "ap_Strings.h"#include "ut_string_class.h"#include "xap_UnixDialogHelper.h"#include "xap_GtkSignalBlocker.h"#include "xap_GtkComboBoxHelpers.h"#include "ap_UnixDialog_PageSetup.h"#include <string.h>#include <gdk/gdkkeysyms.h>#include <gtk/gtk.h>#include "orient-vertical.xpm"#include "orient-horizontal.xpm"#include "margin.xpm"#include "ut_debugmsg.h"Defines | |
| #define | _(a, x) _0(pSS, a##_STRING_ID_##x) |
| #define | FMT_STRING "%0.2f" |
Functions | |
| static GtkWidget * | create_pixmap (const char **data) |
| static char * | _ev_convert (char *bufResult, const char *szString) |
| char * | _0 (const XAP_StringSet *pSS, XAP_String_Id id) |
| static void | s_Landscape_changed (GtkWidget *w, AP_UnixDialog_PageSetup *dlg) |
| static void | s_page_size_changed (GtkWidget *w, AP_UnixDialog_PageSetup *dlg) |
| static void | s_page_units_changed (GtkWidget *w, AP_UnixDialog_PageSetup *dlg) |
| static void | s_margin_units_changed (GtkWidget *w, AP_UnixDialog_PageSetup *dlg) |
| static void | s_entryPageWidth_changed (GtkWidget *w, AP_UnixDialog_PageSetup *dlg) |
| static void | s_entryPageHeight_changed (GtkWidget *w, AP_UnixDialog_PageSetup *dlg) |
| void | Markup (GtkWidget *widget, const XAP_StringSet *, char *string) |
Variables | |
| static UT_Dimension | last_margin_unit = DIM_IN |
| static char | _ev_buf [256] |
Referenced by AP_UnixDialog_PageSetup::_constructWindow().
| #define FMT_STRING "%0.2f" |
| char* _0 | ( | const XAP_StringSet * | pSS, | |
| XAP_String_Id | id | |||
| ) | [inline] |
References _ev_buf, _ev_convert(), and XAP_StringSet::getValueUTF8().
| static char* _ev_convert | ( | char * | bufResult, | |
| const char * | szString | |||
| ) | [static] |
| static GtkWidget* create_pixmap | ( | const char ** | data | ) | [static] |
| void Markup | ( | GtkWidget * | widget, | |
| const XAP_StringSet * | , | |||
| char * | string | |||
| ) |
References UT_String::c_str(), FREEP, gchar, UT_String_sprintf(), and UT_XML_cloneNoAmpersands().
Referenced by AP_UnixDialog_PageSetup::_constructWindow().
| static void s_entryPageHeight_changed | ( | GtkWidget * | w, | |
| AP_UnixDialog_PageSetup * | dlg | |||
| ) | [static] |
References AP_UnixDialog_PageSetup::doHeightEntry(), and UT_return_if_fail.
Referenced by AP_UnixDialog_PageSetup::_connectSignals().
| static void s_entryPageWidth_changed | ( | GtkWidget * | w, | |
| AP_UnixDialog_PageSetup * | dlg | |||
| ) | [static] |
References AP_UnixDialog_PageSetup::doWidthEntry(), and UT_return_if_fail.
Referenced by AP_UnixDialog_PageSetup::_connectSignals().
| static void s_Landscape_changed | ( | GtkWidget * | w, | |
| AP_UnixDialog_PageSetup * | dlg | |||
| ) | [static] |
References AP_UnixDialog_PageSetup::event_LandscapeChanged(), and UT_return_if_fail.
Referenced by AP_UnixDialog_PageSetup::_connectSignals().
| static void s_margin_units_changed | ( | GtkWidget * | w, | |
| AP_UnixDialog_PageSetup * | dlg | |||
| ) | [static] |
References AP_UnixDialog_PageSetup::event_MarginUnitsChanged(), and UT_return_if_fail.
Referenced by AP_UnixDialog_PageSetup::_connectSignals().
| static void s_page_size_changed | ( | GtkWidget * | w, | |
| AP_UnixDialog_PageSetup * | dlg | |||
| ) | [static] |
References AP_UnixDialog_PageSetup::event_PageSizeChanged(), and UT_return_if_fail.
Referenced by AP_UnixDialog_PageSetup::_constructWindow().
| static void s_page_units_changed | ( | GtkWidget * | w, | |
| AP_UnixDialog_PageSetup * | dlg | |||
| ) | [static] |
References AP_UnixDialog_PageSetup::event_PageUnitsChanged(), and UT_return_if_fail.
Referenced by AP_UnixDialog_PageSetup::_connectSignals().
UT_Dimension last_margin_unit = DIM_IN [static] |
1.7.1