#include <string.h>
#include <glib/gi18n.h>
#include <stdio.h>
#include <stdlib.h>
#include "abiwidget.h"
#include <gsf/gsf-input.h>
#include <gsf/gsf-output.h>
#include <gsf/gsf-input-memory.h>
#include <gsf/gsf-output-memory.h>
#include <gsf/gsf-utils.h>
#include "gr_CairoGraphics.h"
#include "gr_Painter.h"
#include "ev_EditMethod.h"
#include "ut_assert.h"
#include "fv_View.h"
#include "ap_UnixFrame.h"
#include "ap_FrameData.h"
#include "ap_FrameListener.h"
#include "pd_Document.h"
#include "ie_imp.h"
#include "ie_exp.h"
#include "ie_impGraphic.h"
#include "xap_UnixDialogHelper.h"
#include "ap_UnixFrameImpl.h"
#include "ap_UnixApp.h"
#include "ut_sleep.h"
#include "ut_std_string.h"
#include "fg_Graphic.h"
#include "fl_DocLayout.h"
#include "ut_go_file.h"
#include "ut_timer.h"
#include "ev_Toolbar_Actions.h"
#include "ap_Toolbar_Id.h"
#include "px_CR_Span.h"
#include "gr_UnixCairoGraphics.h"
#include "gr_UnixImage.h"
#include "gr_DrawArgs.h"
#include "fp_Page.h"
Classes | |
struct | _AbiPrivData |
class | Stateful_ViewListener |
class | AbiWidget_ViewListener |
class | AbiWidget_FrameListener |
Defines | |
#define | GET_CLASS(instance) G_TYPE_INSTANCE_GET_CLASS (instance, ABI_WIDGET_TYPE, AbiWidgetClass) |
#define | EM_NAME(n) _abi_em_##n |
#define | PUBLIC_EM_NAME(n) abi_widget_##n |
#define | EM_CHARPTR_INT_INT__BOOL(n, p) |
#define | EM_VOID__BOOL(n, p) |
#define | EM_INT_INT__BOOL(n, p) |
#define | EM_CHARPTR__BOOL(n, p) |
#define | INSTALL_VOID_SIGNAL(signal_offset, signal_name, signal_func) |
#define | INSTALL_BOOL_SIGNAL(signal_offset, signal_name, signal_func) |
#define | INSTALL_INT_SIGNAL(signal_offset, signal_name, signal_func) |
#define | INSTALL_DOUBLE_SIGNAL(signal_offset, signal_name, signal_func) |
#define | INSTALL_STRING_SIGNAL(signal_offset, signal_name, signal_func) |
#define | INSTALL_COLOR_SIGNAL(signal_offset, signal_name, signal_func) |
#define | FIRE_BOOL(query, var, fire) do { bool val = (query); if (val != var) { var = val; fire(val); } } while(0) |
#define | FIRE_SINT32(query, var, fire) do { UT_sint32 val = (query); if (val != var) { var = val; fire(val); } } while(0) |
#define | FIRE_UINT32(query, var, fire) do { UT_uint32 val = (query); if (val != var) { var = val; fire(val); } } while(0) |
#define | FIRE_UTF8STRING(query, var, fire) do { const UT_UTF8String& val = (query); if (val != var) { var = val; fire(val.utf8_str()); } } while(0) |
#define | FIRE_BOOL_CHARFMT(prop, prop_val, multiple, var, fire) |
#define | FIRE_DOUBLE_CHARFMT(prop, var, fire) do { const std::string & sz = PP_getAttribute(prop, props_in); if (!sz.empty()) { double val = g_ascii_strtod(sz.c_str(), NULL); if (val != var) { var = val; fire(val); } } } while(0) |
#define | FIRE_STRING_CHARFMT(prop, var, fire) do { const std::string & sz = PP_getAttribute(prop, props_in); if (!sz.empty()) { if (strcmp(var.utf8_str(), sz.c_str()) != 0) { var = sz; fire(sz.c_str()); } } } while(0) |
#define | FIRE_COLOR_CHARFMT(prop, var, fire) do { const std::string & sz = PP_getAttribute(prop, props_in); if (!sz.empty()) { UT_RGBColor val(0,0,0); UT_parseColor(sz.c_str(), val); if (val != var) { var = val; fire(val); } } } while(0) |
#define | TOOLBAR_DELAY 1000 |
Enumerations | |
enum | { ARG_0, CURSOR_ON, UNLINK_AFTER_LOAD, VIEWPARA, VIEWPRINTLAYOUT, VIEWNORMALLAYOUT, VIEWWEBLAYOUT, CONTENT, SELECTION, CONTENT_LENGTH, SELECTION_LENGTH, SHADOW_TYPE, ARG_LAST } |
enum | { SIGNAL_BOLD, SIGNAL_ITALIC, SIGNAL_UNDERLINE, SIGNAL_OVERLINE, SIGNAL_LINE_THROUGH, SIGNAL_TOPLINE, SIGNAL_BOTTOMLINE, SIGNAL_SUPERSCRIPT, SIGNAL_SUBSCRIPT, SIGNAL_COLOR, SIGNAL_CHANGED, SIGNAL_CAN_UNDO, SIGNAL_CAN_REDO, SIGNAL_FONT_SIZE, SIGNAL_FONT_FAMILY, SIGNAL_IS_DIRTY, SIGNAL_LEFT_ALIGN, SIGNAL_RIGHT_ALIGN, SIGNAL_CENTER_ALIGN, SIGNAL_JUSTIFY_ALIGN, SIGNAL_STYLE_NAME, SIGNAL_TEXT_SELECTED, SIGNAL_IMAGE_SELECTED, SIGNAL_SELECTION_CLEARED, SIGNAL_ENTER_SELECTION, SIGNAL_LEAVE_SELECTION, SIGNAL_TABLE_STATE, SIGNAL_PAGE_COUNT, SIGNAL_CURRENT_PAGE, SIGNAL_ZOOM_PERCENTAGE, SIGNAL_LAST } |
Functions | |
static gboolean | s_abi_widget_map_cb (GObject *w, gpointer p) |
void | g_cclosure_user_marshal_VOID__INT_INT_INT (GClosure *closure, GValue *, guint n_param_values, const GValue *param_values, gpointer, gpointer marshal_data) |
static void | _abi_widget_class_install_signals (AbiWidgetClass *klazz) |
static void | _abi_widget_unbindListener (AbiWidget *widget) |
static void | _abi_widget_releaseListener (AbiWidget *widget) |
static bool | _abi_widget_bindListenerToView (AbiWidget *widget, AV_View *pView) |
static void | s_LoadingCursorCallback (UT_Worker *pTimer) |
static void | s_StartStopLoadingCursor (bool bStartStop, XAP_Frame *pFrame) |
static gboolean | _abi_widget_set_show_margin (AbiWidget *abi, gboolean bShowMargin) |
gboolean | abi_widget_set_show_margin (AbiWidget *abi, gboolean bShowMargin) |
gboolean | abi_widget_get_show_margin (AbiWidget *abi) |
gboolean | abi_widget_set_show_authors (AbiWidget *abi, gboolean bShowAuthors) |
gboolean | abi_widget_get_show_authors (AbiWidget *abi) |
gboolean | abi_widget_set_word_selections (AbiWidget *abi, gboolean gb) |
gboolean | abi_widget_get_word_selections (AbiWidget *abi) |
gboolean | abi_widget_file_open (AbiWidget *abi) |
static IEFileType | s_abi_widget_get_file_type (const char *extension_or_mimetype, const char *contents, UT_uint32 contents_len, bool bImport) |
gchar * | abi_widget_get_content (AbiWidget *w, const char *extension_or_mimetype, const char *exp_props, gint *iLength) |
abi_widget_get_content: : an AbiWidget : content type for the returned selection : (allow-none): export properties : (out) (allow-none): length of returned selection, in bytes | |
gchar * | abi_widget_get_selection (AbiWidget *w, const gchar *extension_or_mimetype, gint *iLength) |
abi_widget_get_selection: : an AbiWidget : content type for the returned selection : (out) (allow-none): length of returned selection, in bytes | |
gboolean | abi_widget_get_mouse_pos (AbiWidget *w, gint32 *x, gint32 *y) |
abi_widget_get_mouse_pos: : an AbiWidget : (out): return value for the mouse position in the X axis : (out): return value for the mouse position in the Y axis | |
GdkPixbuf * | abi_widget_render_page_to_image (AbiWidget *abi, int iPage) |
abi_widget_render_page_to_image: | |
gboolean | abi_widget_set_font_name (AbiWidget *w, gchar *szName) |
gboolean | abi_widget_set_font_size (AbiWidget *w, gchar *szSize) |
gboolean | abi_widget_set_style (AbiWidget *w, gchar *szName) |
void | abi_widget_toggle_rulers (AbiWidget *abi, gboolean visible) |
gboolean | abi_widget_insert_table (AbiWidget *abi, gint32 rows, gint32 cols) |
gboolean | abi_widget_insert_image (AbiWidget *w, char *szFile, gboolean positioned) |
gboolean | abi_widget_set_text_color (AbiWidget *w, guint8 red, guint8 green, guint8 blue) |
const gchar ** | abi_widget_get_font_names (AbiWidget *) |
abi_widget_get_font_names: | |
gboolean | abi_widget_load_file (AbiWidget *w, const gchar *pszFile, const gchar *extension_or_mimetype) |
gboolean | abi_widget_load_file_from_gsf (AbiWidget *w, GsfInput *input) |
gboolean | abi_widget_load_file_from_memory (AbiWidget *w, const gchar *extension_or_mimetype, const gchar *buf, gint length) |
static void | abi_widget_get_prop (GObject *object, guint arg_id, GValue *arg, GParamSpec *) |
void | abi_widget_get_property (GObject *object, guint arg_id, GValue *arg, GParamSpec *pspec) |
static void | abi_widget_set_prop (GObject *object, guint arg_id, const GValue *arg, GParamSpec *) |
void | abi_widget_set_property (GObject *object, guint arg_id, const GValue *arg, GParamSpec *pspec) |
static void | abi_widget_get_preferred_height (GtkWidget *widget, int *minimum_height, int *natural_height) |
static void | abi_widget_get_preferred_width (GtkWidget *widget, int *minimum_width, int *natural_width) |
static void | abiwidget_add (GtkContainer *container, GtkWidget *widget) |
static void | abiwidget_remove (GtkContainer *container, GtkWidget *widget) |
static GType | abiwidget_child_type (GtkContainer *container) |
static void | abi_widget_init (AbiWidget *abi) |
static void | abi_widget_size_allocate (GtkWidget *widget, GtkAllocation *allocation) |
static void | abi_widget_grab_focus (GtkWidget *widget) |
static void | abi_widget_realize (GtkWidget *widget) |
static void | abi_widget_destroy_gtk (GtkWidget *object) |
static void | abi_widget_class_init (AbiWidgetClass *abi_class) |
static void | abi_widget_construct (AbiWidget *, const char *) |
void | abi_widget_turn_on_cursor (AbiWidget *abi) |
GType | abi_widget_get_type (void) |
GtkWidget * | abi_widget_new (void) |
abi_widget_new: | |
GtkWidget * | abi_widget_new_with_file (const gchar *file) |
abi_widget_new_with_file: | |
XAP_Frame * | abi_widget_get_frame (AbiWidget *w) |
gboolean | abi_widget_invoke (AbiWidget *w, const char *mthdName) |
abi_widget_invoke: | |
gboolean | abi_widget_invoke_ex (AbiWidget *w, const char *mthdName, const char *data, gint32 x, gint32 y) |
abi_widget_invoke_ex: | |
void | abi_widget_draw (AbiWidget *w) |
gboolean | abi_widget_save (AbiWidget *w, const char *fname, const char *extension_or_mimetype, const char *exp_props) |
gboolean | abi_widget_save_to_gsf (AbiWidget *w, GsfOutput *output, const char *extension_or_mimetype, const char *exp_props) |
gboolean | abi_widget_set_zoom_percentage (AbiWidget *w, guint32 zoom) |
guint32 | abi_widget_get_zoom_percentage (AbiWidget *w) |
static FV_View * | _get_fv_view (AbiWidget *w) |
void | abi_widget_set_find_string (AbiWidget *w, gchar *search_str) |
gboolean | abi_widget_find_next (AbiWidget *w, gboolean sel_start) |
gboolean | abi_widget_find_prev (AbiWidget *w) |
guint32 | abi_widget_get_page_count (AbiWidget *w) |
void | abi_widget_set_current_page (AbiWidget *w, guint32 curpage) |
guint32 | abi_widget_get_current_page_num (AbiWidget *w) |
Variables | |
static GtkBinClass * | parent_class = 0 |
static const guint32 | ABI_DEFAULT_WIDTH = 250 |
static const guint32 | ABI_DEFAULT_HEIGHT = 250 |
static guint | abiwidget_signals [SIGNAL_LAST] = { 0 } |
static bool | s_bFirstDrawDone = false |
static bool | s_bFreshDraw = false |
static UT_Timer * | s_pToUpdateCursor = NULL |
static XAP_Frame * | s_pLoadingFrame = NULL |
static AD_Document * | s_pLoadingDoc = NULL |
static UT_sint32 | s_iLastYScrollOffset = -1 |
static UT_sint32 | s_iLastXScrollOffset = -1 |
#define EM_CHARPTR__BOOL | ( | n, | ||
p | ||||
) |
static gboolean EM_NAME(n) (AbiWidget * w, const char * str) \ { \ return abi_widget_invoke_ex (w, #n, str, 0, 0); \ } \ extern "C" gboolean PUBLIC_EM_NAME(p) (AbiWidget * w, const char * str) \ { \ return GET_CLASS (w)->p (w, str); \ }
#define EM_CHARPTR_INT_INT__BOOL | ( | n, | ||
p | ||||
) |
static gboolean EM_NAME(n) (AbiWidget * w, const char * str, gint32 x, gint32 y) \ { \ return abi_widget_invoke_ex (w, #n, str, x, y); \ } \ extern "C" gboolean PUBLIC_EM_NAME(p) (AbiWidget * w, const char * str, gint32 x, gint32 y) \ { \ return GET_CLASS (w)->p (w, str, x, y); \ }
#define EM_INT_INT__BOOL | ( | n, | ||
p | ||||
) |
static gboolean EM_NAME(n) (AbiWidget * w, gint32 x, gint32 y) \ { \ return abi_widget_invoke_ex (w, #n, 0, x, y); \ } \ extern "C" gboolean PUBLIC_EM_NAME(p) (AbiWidget * w, gint32 x, gint32 y) \ { \ return GET_CLASS (w)->p (w, x, y); \ }
#define EM_NAME | ( | n | ) | _abi_em_##n |
Referenced by abi_widget_class_init().
#define EM_VOID__BOOL | ( | n, | ||
p | ||||
) |
static gboolean EM_NAME(n) (AbiWidget * w)\ { \ return abi_widget_invoke_ex (w, #n, 0, 0, 0); \ }\ extern "C" gboolean PUBLIC_EM_NAME(p) (AbiWidget * w)\ { \ return GET_CLASS (w)->p (w); \ }
#define FIRE_BOOL | ( | query, | ||
var, | ||||
fire | ||||
) | do { bool val = (query); if (val != var) { var = val; fire(val); } } while(0) |
Referenced by Stateful_ViewListener::notify().
#define FIRE_BOOL_CHARFMT | ( | prop, | ||
prop_val, | ||||
multiple, | ||||
var, | ||||
fire | ||||
) |
do {\ const std::string & sz = PP_getAttribute(prop, props_in); \ if (!sz.empty()) \ { bool val; \ if (multiple) \ val = (NULL != strstr(sz.c_str(), prop_val)); \ else \ val = (sz == prop_val); \ if (val != var) { \ var = val; \ fire(var); \ } \ } \ } while(0)
Referenced by Stateful_ViewListener::notify().
#define FIRE_COLOR_CHARFMT | ( | prop, | ||
var, | ||||
fire | ||||
) | do { const std::string & sz = PP_getAttribute(prop, props_in); if (!sz.empty()) { UT_RGBColor val(0,0,0); UT_parseColor(sz.c_str(), val); if (val != var) { var = val; fire(val); } } } while(0) |
Referenced by Stateful_ViewListener::notify().
#define FIRE_DOUBLE_CHARFMT | ( | prop, | ||
var, | ||||
fire | ||||
) | do { const std::string & sz = PP_getAttribute(prop, props_in); if (!sz.empty()) { double val = g_ascii_strtod(sz.c_str(), NULL); if (val != var) { var = val; fire(val); } } } while(0) |
Referenced by Stateful_ViewListener::notify().
#define FIRE_SINT32 | ( | query, | ||
var, | ||||
fire | ||||
) | do { UT_sint32 val = (query); if (val != var) { var = val; fire(val); } } while(0) |
Referenced by Stateful_ViewListener::notify().
#define FIRE_STRING_CHARFMT | ( | prop, | ||
var, | ||||
fire | ||||
) | do { const std::string & sz = PP_getAttribute(prop, props_in); if (!sz.empty()) { if (strcmp(var.utf8_str(), sz.c_str()) != 0) { var = sz; fire(sz.c_str()); } } } while(0) |
Referenced by Stateful_ViewListener::notify().
#define FIRE_UINT32 | ( | query, | ||
var, | ||||
fire | ||||
) | do { UT_uint32 val = (query); if (val != var) { var = val; fire(val); } } while(0) |
Referenced by Stateful_ViewListener::notify().
#define FIRE_UTF8STRING | ( | query, | ||
var, | ||||
fire | ||||
) | do { const UT_UTF8String& val = (query); if (val != var) { var = val; fire(val.utf8_str()); } } while(0) |
Referenced by Stateful_ViewListener::notify().
#define GET_CLASS | ( | instance | ) | G_TYPE_INSTANCE_GET_CLASS (instance, ABI_WIDGET_TYPE, AbiWidgetClass) |
#define INSTALL_BOOL_SIGNAL | ( | signal_offset, | ||
signal_name, | ||||
signal_func | ||||
) |
do { \ abiwidget_signals[signal_offset] = \ g_signal_new (signal_name, \ G_TYPE_FROM_CLASS (klazz), \ G_SIGNAL_RUN_LAST, \ G_STRUCT_OFFSET (AbiWidgetClass, signal_func), \ NULL, NULL, \ g_cclosure_marshal_VOID__BOOLEAN, \ G_TYPE_NONE, 1, G_TYPE_BOOLEAN); } while(0)
Referenced by _abi_widget_class_install_signals().
#define INSTALL_COLOR_SIGNAL | ( | signal_offset, | ||
signal_name, | ||||
signal_func | ||||
) |
do { \ abiwidget_signals[signal_offset] = \ g_signal_new (signal_name, \ G_TYPE_FROM_CLASS (klazz), \ G_SIGNAL_RUN_LAST, \ G_STRUCT_OFFSET (AbiWidgetClass, signal_func), \ NULL, NULL, \ g_cclosure_user_marshal_VOID__INT_INT_INT, \ G_TYPE_NONE, 3, G_TYPE_INT, G_TYPE_INT, G_TYPE_INT); } while(0)
Referenced by _abi_widget_class_install_signals().
#define INSTALL_DOUBLE_SIGNAL | ( | signal_offset, | ||
signal_name, | ||||
signal_func | ||||
) |
do { \ abiwidget_signals[signal_offset] = \ g_signal_new (signal_name, \ G_TYPE_FROM_CLASS (klazz), \ G_SIGNAL_RUN_LAST, \ G_STRUCT_OFFSET (AbiWidgetClass, signal_func), \ NULL, NULL, \ g_cclosure_marshal_VOID__DOUBLE, \ G_TYPE_NONE, 1, G_TYPE_DOUBLE); } while(0)
Referenced by _abi_widget_class_install_signals().
#define INSTALL_INT_SIGNAL | ( | signal_offset, | ||
signal_name, | ||||
signal_func | ||||
) |
do { \ abiwidget_signals[signal_offset] = \ g_signal_new (signal_name, \ G_TYPE_FROM_CLASS (klazz), \ G_SIGNAL_RUN_LAST, \ G_STRUCT_OFFSET (AbiWidgetClass, signal_func), \ NULL, NULL, \ g_cclosure_marshal_VOID__INT, \ G_TYPE_NONE, 1, G_TYPE_INT); } while(0)
Referenced by _abi_widget_class_install_signals().
#define INSTALL_STRING_SIGNAL | ( | signal_offset, | ||
signal_name, | ||||
signal_func | ||||
) |
do { \ abiwidget_signals[signal_offset] = \ g_signal_new (signal_name, \ G_TYPE_FROM_CLASS (klazz), \ G_SIGNAL_RUN_LAST, \ G_STRUCT_OFFSET (AbiWidgetClass, signal_func), \ NULL, NULL, \ g_cclosure_marshal_VOID__STRING, \ G_TYPE_NONE, 1, G_TYPE_STRING); } while(0)
Referenced by _abi_widget_class_install_signals().
#define INSTALL_VOID_SIGNAL | ( | signal_offset, | ||
signal_name, | ||||
signal_func | ||||
) |
do { \ abiwidget_signals[signal_offset] = \ g_signal_new (signal_name, \ G_TYPE_FROM_CLASS (klazz), \ G_SIGNAL_RUN_LAST, \ G_STRUCT_OFFSET (AbiWidgetClass, signal_func), \ NULL, NULL, \ g_cclosure_marshal_VOID__VOID, \ G_TYPE_NONE, 0); } while(0)
Referenced by _abi_widget_class_install_signals().
#define PUBLIC_EM_NAME | ( | n | ) | abi_widget_##n |
#define TOOLBAR_DELAY 1000 |
anonymous enum |
anonymous enum |
static void _abi_widget_class_install_signals | ( | AbiWidgetClass * | klazz | ) | [static] |
References INSTALL_BOOL_SIGNAL, INSTALL_COLOR_SIGNAL, INSTALL_DOUBLE_SIGNAL, INSTALL_INT_SIGNAL, INSTALL_STRING_SIGNAL, INSTALL_VOID_SIGNAL, SIGNAL_BOLD, SIGNAL_BOTTOMLINE, SIGNAL_CAN_REDO, SIGNAL_CAN_UNDO, SIGNAL_CENTER_ALIGN, SIGNAL_CHANGED, SIGNAL_COLOR, SIGNAL_CURRENT_PAGE, SIGNAL_ENTER_SELECTION, SIGNAL_FONT_FAMILY, SIGNAL_FONT_SIZE, SIGNAL_IMAGE_SELECTED, SIGNAL_IS_DIRTY, SIGNAL_ITALIC, SIGNAL_JUSTIFY_ALIGN, SIGNAL_LEAVE_SELECTION, SIGNAL_LEFT_ALIGN, SIGNAL_LINE_THROUGH, SIGNAL_OVERLINE, SIGNAL_PAGE_COUNT, SIGNAL_RIGHT_ALIGN, SIGNAL_SELECTION_CLEARED, SIGNAL_STYLE_NAME, SIGNAL_SUBSCRIPT, SIGNAL_SUPERSCRIPT, SIGNAL_TABLE_STATE, SIGNAL_TEXT_SELECTED, SIGNAL_TOPLINE, SIGNAL_UNDERLINE, and SIGNAL_ZOOM_PERCENTAGE.
Referenced by abi_widget_class_init().
static void _abi_widget_releaseListener | ( | AbiWidget * | widget | ) | [static] |
References DELETEP, _AbiPrivData::m_pViewListener, and _AbiWidget::priv.
Referenced by _abi_widget_bindListenerToView(), abi_widget_destroy_gtk(), and abi_widget_file_open().
static gboolean _abi_widget_set_show_margin | ( | AbiWidget * | abi, | |
gboolean | bShowMargin | |||
) | [static] |
References FV_View::calculateZoomPercentForPageWidth(), XAP_Frame::getCurrentView(), FV_View::getViewMode(), XAP_Frame::getZoomType(), _AbiPrivData::m_bMappedToScreen, _AbiPrivData::m_bShowMargin, _AbiPrivData::m_pFrame, _AbiWidget::priv, AP_Frame::quickZoom(), FV_View::setViewMode(), and UT_return_val_if_fail.
Referenced by abi_widget_set_show_margin(), and s_abi_widget_map_cb().
static void _abi_widget_unbindListener | ( | AbiWidget * | widget | ) | [static] |
References _AbiPrivData::m_pViewListener, _AbiWidget::priv, and Stateful_ViewListener::unbind().
Referenced by abi_widget_file_open().
References XAP_Frame::getCurrentView(), _AbiPrivData::m_pFrame, _AbiWidget::priv, UT_return_val_if_fail, and v.
Referenced by abi_widget_find_next(), abi_widget_find_prev(), and abi_widget_set_find_string().
static void abi_widget_class_init | ( | AbiWidgetClass * | abi_class | ) | [static] |
References _abi_widget_class_install_signals(), _AbiWidgetClass::align_center, _AbiWidgetClass::align_justify, _AbiWidgetClass::align_left, _AbiWidgetClass::align_right, CONTENT, CONTENT_LENGTH, _AbiWidgetClass::copy, CURSOR_ON, _AbiWidgetClass::cut, _AbiWidgetClass::delete_bob, _AbiWidgetClass::delete_bod, _AbiWidgetClass::delete_bol, _AbiWidgetClass::delete_bow, _AbiWidgetClass::delete_eob, _AbiWidgetClass::delete_eod, _AbiWidgetClass::delete_eol, _AbiWidgetClass::delete_eow, _AbiWidgetClass::delete_left, _AbiWidgetClass::delete_right, _AbiWidgetClass::edit_footer, _AbiWidgetClass::edit_header, EM_NAME, _AbiWidgetClass::file_open, _AbiWidgetClass::file_save, _AbiWidgetClass::insert_data, _AbiWidgetClass::insert_space, _AbiWidgetClass::invoke, _AbiWidgetClass::invoke_ex, _AbiWidgetClass::moveto_bob, _AbiWidgetClass::moveto_bod, _AbiWidgetClass::moveto_bol, _AbiWidgetClass::moveto_bop, _AbiWidgetClass::moveto_bow, _AbiWidgetClass::moveto_eob, _AbiWidgetClass::moveto_eod, _AbiWidgetClass::moveto_eol, _AbiWidgetClass::moveto_eop, _AbiWidgetClass::moveto_eow, _AbiWidgetClass::moveto_left, _AbiWidgetClass::moveto_next_line, _AbiWidgetClass::moveto_next_page, _AbiWidgetClass::moveto_next_screen, _AbiWidgetClass::moveto_prev_line, _AbiWidgetClass::moveto_prev_page, _AbiWidgetClass::moveto_prev_screen, _AbiWidgetClass::moveto_right, _AbiWidgetClass::moveto_to_xy, parent_class, _AbiWidgetClass::paste, _AbiWidgetClass::paste_special, _AbiWidgetClass::redo, _AbiWidgetClass::remove_footer, _AbiWidgetClass::remove_header, _AbiWidgetClass::save_immediate, _AbiWidgetClass::select_all, _AbiWidgetClass::select_block, _AbiWidgetClass::select_bob, _AbiWidgetClass::select_bod, _AbiWidgetClass::select_bol, _AbiWidgetClass::select_bow, _AbiWidgetClass::select_eob, _AbiWidgetClass::select_eod, _AbiWidgetClass::select_eol, _AbiWidgetClass::select_eow, _AbiWidgetClass::select_left, _AbiWidgetClass::select_line, _AbiWidgetClass::select_next_line, _AbiWidgetClass::select_page_down, _AbiWidgetClass::select_page_up, _AbiWidgetClass::select_prev_line, _AbiWidgetClass::select_right, _AbiWidgetClass::select_screen_down, _AbiWidgetClass::select_screen_up, _AbiWidgetClass::select_to_xy, _AbiWidgetClass::select_word, SELECTION, SELECTION_LENGTH, SHADOW_TYPE, _AbiWidgetClass::toggle_bold, _AbiWidgetClass::toggle_bottomline, _AbiWidgetClass::toggle_bullets, _AbiWidgetClass::toggle_insert_mode, _AbiWidgetClass::toggle_italic, _AbiWidgetClass::toggle_numbering, _AbiWidgetClass::toggle_overline, _AbiWidgetClass::toggle_plain, _AbiWidgetClass::toggle_strike, _AbiWidgetClass::toggle_sub, _AbiWidgetClass::toggle_super, _AbiWidgetClass::toggle_topline, _AbiWidgetClass::toggle_underline, _AbiWidgetClass::toggle_unindent, _AbiWidgetClass::undo, UNLINK_AFTER_LOAD, _AbiWidgetClass::view_formatting_marks, _AbiWidgetClass::view_normal_layout, _AbiWidgetClass::view_online_layout, _AbiWidgetClass::view_print_layout, VIEWNORMALLAYOUT, VIEWPARA, VIEWPRINTLAYOUT, VIEWWEBLAYOUT, _AbiWidgetClass::zoom_whole, and _AbiWidgetClass::zoom_width.
static void abi_widget_construct | ( | AbiWidget * | , | |
const char * | ||||
) | [static] |
References UT_DEBUGMSG.
Referenced by abi_widget_new(), and abi_widget_new_with_file().
static void abi_widget_destroy_gtk | ( | GtkWidget * | object | ) | [static] |
void abi_widget_draw | ( | AbiWidget * | w | ) |
gboolean abi_widget_file_open | ( | AbiWidget * | abi | ) |
References _abi_widget_releaseListener(), _abi_widget_unbindListener(), and abi_widget_invoke().
gboolean abi_widget_find_next | ( | AbiWidget * | w, | |
gboolean | sel_start | |||
) |
gboolean abi_widget_find_prev | ( | AbiWidget * | w | ) |
References _get_fv_view(), FV_View::findPrev(), FV_View::findSetStartAtInsPoint(), UT_return_val_if_fail, and v.
gchar* abi_widget_get_content | ( | AbiWidget * | w, | |
const char * | extension_or_mimetype, | |||
const char * | exp_props, | |||
gint * | iLength | |||
) |
abi_widget_get_content: : an AbiWidget : content type for the returned selection : (allow-none): export properties : (out) (allow-none): length of returned selection, in bytes
Gets all document contents
Returns: (transfer full): the selection, the caller must free the memory through g_free()
References gchar, XAP_App::getApp(), XAP_App::getPrefs(), _AbiPrivData::m_iContentLength, _AbiPrivData::m_pDoc, _AbiWidget::priv, s_abi_widget_get_file_type(), PD_Document::saveAs(), XAP_Prefs::setIgnoreNextRecent(), size, UT_OK, and UT_return_val_if_fail.
guint32 abi_widget_get_current_page_num | ( | AbiWidget * | w | ) |
const gchar** abi_widget_get_font_names | ( | AbiWidget * | ) |
abi_widget_get_font_names:
Returns: (transfer full): the font names.
References gchar, and GR_CairoGraphics::getAllFontNames().
References _AbiPrivData::m_pFrame, _AbiWidget::priv, and UT_return_val_if_fail.
gboolean abi_widget_get_mouse_pos | ( | AbiWidget * | w, | |
gint32 * | x, | |||
gint32 * | y | |||
) |
abi_widget_get_mouse_pos: : an AbiWidget : (out): return value for the mouse position in the X axis : (out): return value for the mouse position in the Y axis
Returns the mouse position relative to
Return value: TRUE if the mouse position could be retrieved
References XAP_Frame::getCurrentView(), FV_View::getGraphics(), FV_View::getMousePos(), _AbiPrivData::m_pFrame, _AbiWidget::priv, and GR_Graphics::tdu().
guint32 abi_widget_get_page_count | ( | AbiWidget * | w | ) |
static void abi_widget_get_preferred_height | ( | GtkWidget * | widget, | |
int * | minimum_height, | |||
int * | natural_height | |||
) | [static] |
References ABI_WIDGET.
static void abi_widget_get_preferred_width | ( | GtkWidget * | widget, | |
int * | minimum_width, | |||
int * | natural_width | |||
) | [static] |
References ABI_WIDGET.
static void abi_widget_get_prop | ( | GObject * | object, | |
guint | arg_id, | |||
GValue * | arg, | |||
GParamSpec * | ||||
) | [static] |
References ABI_WIDGET, abi_widget_get_content(), abi_widget_get_selection(), CONTENT, CONTENT_LENGTH, gchar, XAP_Frame::getFrameImpl(), AP_UnixFrameImpl::getShadowType(), _AbiPrivData::m_bUnlinkFileAfterLoad, _AbiPrivData::m_iContentLength, _AbiPrivData::m_iSelectionLength, _AbiPrivData::m_pFrame, _AbiWidget::priv, SELECTION, SELECTION_LENGTH, SHADOW_TYPE, and UNLINK_AFTER_LOAD.
Referenced by abi_widget_get_property().
void abi_widget_get_property | ( | GObject * | object, | |
guint | arg_id, | |||
GValue * | arg, | |||
GParamSpec * | pspec | |||
) |
References abi_widget_get_prop().
gchar* abi_widget_get_selection | ( | AbiWidget * | w, | |
const gchar * | extension_or_mimetype, | |||
gint * | iLength | |||
) |
abi_widget_get_selection: : an AbiWidget : content type for the returned selection : (out) (allow-none): length of returned selection, in bytes
Gets the current selection
Returns: (transfer full) (array length=iLength): the selection, the caller must free the memory through g_free()
References IE_Exp::constructExporter(), IE_Exp::copyToBuffer(), gchar, XAP_App::getApp(), XAP_Frame::getCurrentView(), UT_ByteBuf::getLength(), FV_View::getPoint(), UT_ByteBuf::getPointer(), XAP_App::getPrefs(), FV_View::getSelectionAnchor(), FV_View::isSelectionEmpty(), _AbiPrivData::m_iSelectionLength, _AbiPrivData::m_pDoc, _AbiPrivData::m_pFrame, _AbiWidget::priv, s_abi_widget_get_file_type(), XAP_Prefs::setIgnoreNextRecent(), size, and UT_return_val_if_fail.
Referenced by abi_widget_get_prop().
gboolean abi_widget_get_show_authors | ( | AbiWidget * | abi | ) |
References PD_Document::isShowAuthors(), _AbiPrivData::m_pDoc, and _AbiWidget::priv.
gboolean abi_widget_get_show_margin | ( | AbiWidget * | abi | ) |
References _AbiPrivData::m_bShowMargin, and _AbiWidget::priv.
GType abi_widget_get_type | ( | void | ) |
Referenced by abi_widget_new(), and abi_widget_new_with_file().
gboolean abi_widget_get_word_selections | ( | AbiWidget * | abi | ) |
References _AbiPrivData::m_bWordSelections, and _AbiWidget::priv.
guint32 abi_widget_get_zoom_percentage | ( | AbiWidget * | w | ) |
static void abi_widget_grab_focus | ( | GtkWidget * | widget | ) | [static] |
References ABI_WIDGET, XAP_Frame::getFrameImpl(), IS_ABI_WIDGET, and UT_return_if_fail.
static void abi_widget_init | ( | AbiWidget * | abi | ) | [static] |
References _AbiWidget::priv.
gboolean abi_widget_insert_image | ( | AbiWidget * | w, | |
char * | szFile, | |||
gboolean | positioned | |||
) |
gboolean abi_widget_insert_table | ( | AbiWidget * | abi, | |
gint32 | rows, | |||
gint32 | cols | |||
) |
gboolean abi_widget_invoke | ( | AbiWidget * | w, | |
const char * | mthdName | |||
) |
abi_widget_invoke:
Invoke any of abiword's edit methods by name
w | - An AbiWord widget | |
mthdName | - A null-terminated string representing the method's name |
example usage:
gboolean b = FALSE; GtkWidget * w = abi_widget_new ();
b = abi_widget_invoke (ABI_WIDGET(w), "alignCenter");
References abi_widget_invoke_ex().
Referenced by abi_widget_file_open().
gboolean abi_widget_invoke_ex | ( | AbiWidget * | w, | |
const char * | mthdName, | |||
const char * | data, | |||
gint32 | x, | |||
gint32 | y | |||
) |
abi_widget_invoke_ex:
Invoke any of abiword's edit methods by name
w | - An AbiWord widget | |
mthdName | - A null-terminated string representing the method's name | |
data | - an optional null-terminated string data to pass to the method | |
x | - an optional x-coordinate to pass to the method (usually 0) | |
y | - an optional y-coordinate to pass to the method (usuall 0) |
example usage:
gboolean b = FALSE; GtkWidget * w = abi_widget_new ();
b = abi_widget_invoke_ex (ABI_WIDGET(w), "insertData", "Hello World!", 0, 0); b = abi_widget_invoke_ex (ABI_WIDGET(w), "alignCenter", 0, 0, 0);
References EV_EditMethodContainer::findEditMethodByName(), EV_EditMethod::Fn(), XAP_App::getApp(), XAP_Frame::getCurrentView(), XAP_App::getEditMethodContainer(), _AbiPrivData::m_pFrame, EV_EditMethodCallData::m_xPos, EV_EditMethodCallData::m_yPos, method, _AbiWidget::priv, UT_UCS4String::size(), UT_UCS4String::ucs4_str(), UT_DEBUGMSG, UT_return_val_if_fail, and xxx_UT_DEBUGMSG.
Referenced by abi_widget_invoke(), abi_widget_set_font_name(), and abi_widget_set_font_size().
gboolean abi_widget_load_file | ( | AbiWidget * | w, | |
const gchar * | pszFile, | |||
const gchar * | extension_or_mimetype | |||
) |
References XAP_Frame::getCurrentView(), FV_View::getDocument(), GR_Graphics::GR_CURSOR_WAIT, AP_Frame::loadDocument(), _AbiPrivData::m_bMappedToScreen, _AbiPrivData::m_bUnlinkFileAfterLoad, _AbiPrivData::m_pDoc, _AbiPrivData::m_pFrame, _AbiWidget::priv, PD_Document::readFromFile(), s_abi_widget_get_file_type(), s_StartStopLoadingCursor(), XAP_Frame::setCursor(), UT_DEBUGMSG, and UT_return_val_if_fail.
gboolean abi_widget_load_file_from_gsf | ( | AbiWidget * | w, | |
GsfInput * | input | |||
) |
gboolean abi_widget_load_file_from_memory | ( | AbiWidget * | w, | |
const gchar * | extension_or_mimetype, | |||
const gchar * | buf, | |||
gint | length | |||
) |
References XAP_Frame::getCurrentView(), FV_View::getDocument(), GR_Graphics::GR_CURSOR_WAIT, AP_Frame::loadDocument(), _AbiPrivData::m_bMappedToScreen, _AbiPrivData::m_pDoc, _AbiPrivData::m_pFrame, _AbiWidget::priv, PD_Document::readFromFile(), s_abi_widget_get_file_type(), s_StartStopLoadingCursor(), XAP_Frame::setCursor(), UT_DEBUGMSG, and UT_return_val_if_fail.
GtkWidget* abi_widget_new | ( | void | ) |
abi_widget_new:
Creates a new AbiWord widget using an internal Abiword App
References abi_widget_construct(), abi_widget_get_type(), and UT_DEBUGMSG.
GtkWidget* abi_widget_new_with_file | ( | const gchar * | file | ) |
abi_widget_new_with_file:
Creates a new AbiWord widget and tries to load the file This uses an internal Abiword App
file | - A file on your HD |
References abi_widget_construct(), abi_widget_get_type(), and UT_return_val_if_fail.
static void abi_widget_realize | ( | GtkWidget * | widget | ) | [static] |
References ABI_WIDGET, IS_ABI_WIDGET, s_abi_widget_map_cb(), and UT_return_if_fail.
GdkPixbuf* abi_widget_render_page_to_image | ( | AbiWidget * | abi, | |
int | iPage | |||
) |
abi_widget_render_page_to_image:
Caller owns the returned GdkPixmap and must free it after use. The first page is "1"
Returns: (transfer full): the pixbuf.
References GR_Graphics::beginPaint(), GR_Painter::clearArea(), DELETEP, FV_View::draw(), GR_Graphics::endPaint(), XAP_Frame::getCurrentView(), FV_View::getGraphics(), FV_View::getLayout(), FL_DocLayout::getNthPage(), fp_Page::getOwningSection(), fl_DocSectionLayout::getTopMargin(), FV_View::getViewMode(), AV_View::getWindowHeight(), AV_View::getWindowWidth(), GR_Graphics::getZoomPercentage(), GR_UnixCairoGraphics::graphicsAllocator(), FL_DocLayout::incrementGraphicTick(), _AbiPrivData::m_pFrame, dg_DrawArgs::pG, _AbiWidget::priv, GR_CairoGraphics::setCairo(), FL_DocLayout::setQuickPrint(), GR_CairoGraphics::setZoomPercentage(), GR_Graphics::tdu(), dg_DrawArgs::xoff, xxx_UT_DEBUGMSG, and dg_DrawArgs::yoff.
gboolean abi_widget_save | ( | AbiWidget * | w, | |
const char * | fname, | |||
const char * | extension_or_mimetype, | |||
const char * | exp_props | |||
) |
References IS_ABI_WIDGET, _AbiPrivData::m_pDoc, _AbiWidget::priv, s_abi_widget_get_file_type(), UT_OK, and UT_return_val_if_fail.
gboolean abi_widget_save_to_gsf | ( | AbiWidget * | w, | |
GsfOutput * | output, | |||
const char * | extension_or_mimetype, | |||
const char * | exp_props | |||
) |
void abi_widget_set_current_page | ( | AbiWidget * | w, | |
guint32 | curpage | |||
) |
void abi_widget_set_find_string | ( | AbiWidget * | w, | |
gchar * | search_str | |||
) |
gboolean abi_widget_set_font_name | ( | AbiWidget * | w, | |
gchar * | szName | |||
) |
References abi_widget_invoke_ex(), IS_ABI_WIDGET, _AbiPrivData::m_pFrame, _AbiWidget::priv, and UT_return_val_if_fail.
gboolean abi_widget_set_font_size | ( | AbiWidget * | w, | |
gchar * | szSize | |||
) |
References abi_widget_invoke_ex(), IS_ABI_WIDGET, _AbiPrivData::m_pFrame, _AbiWidget::priv, and UT_return_val_if_fail.
static void abi_widget_set_prop | ( | GObject * | object, | |
guint | arg_id, | |||
const GValue * | arg, | |||
GParamSpec * | ||||
) | [static] |
References ABI_WIDGET, ABI_WIDGET_CLASS, abi_widget_turn_on_cursor(), CURSOR_ON, XAP_Frame::getFrameImpl(), _AbiPrivData::m_bUnlinkFileAfterLoad, _AbiPrivData::m_pFrame, _AbiWidget::priv, AP_UnixFrameImpl::setShadowType(), SHADOW_TYPE, UNLINK_AFTER_LOAD, UT_return_if_fail, _AbiWidgetClass::view_formatting_marks, _AbiWidgetClass::view_normal_layout, _AbiWidgetClass::view_online_layout, _AbiWidgetClass::view_print_layout, VIEWNORMALLAYOUT, VIEWPARA, VIEWPRINTLAYOUT, and VIEWWEBLAYOUT.
Referenced by abi_widget_set_property().
void abi_widget_set_property | ( | GObject * | object, | |
guint | arg_id, | |||
const GValue * | arg, | |||
GParamSpec * | pspec | |||
) |
References abi_widget_set_prop().
gboolean abi_widget_set_show_authors | ( | AbiWidget * | abi, | |
gboolean | bShowAuthors | |||
) |
gboolean abi_widget_set_show_margin | ( | AbiWidget * | abi, | |
gboolean | bShowMargin | |||
) |
References _abi_widget_set_show_margin(), _AbiPrivData::m_bShowMargin, and _AbiWidget::priv.
gboolean abi_widget_set_style | ( | AbiWidget * | w, | |
gchar * | szName | |||
) |
gboolean abi_widget_set_text_color | ( | AbiWidget * | w, | |
guint8 | red, | |||
guint8 | green, | |||
guint8 | blue | |||
) |
gboolean abi_widget_set_word_selections | ( | AbiWidget * | abi, | |
gboolean | gb | |||
) |
gboolean abi_widget_set_zoom_percentage | ( | AbiWidget * | w, | |
guint32 | zoom | |||
) |
static void abi_widget_size_allocate | ( | GtkWidget * | widget, | |
GtkAllocation * | allocation | |||
) | [static] |
References ABI_WIDGET, _AbiWidget::child, IS_ABI_WIDGET, and UT_return_if_fail.
void abi_widget_toggle_rulers | ( | AbiWidget * | abi, | |
gboolean | visible | |||
) |
References _AbiPrivData::m_pFrame, _AbiWidget::priv, and AP_UnixFrame::toggleRuler().
void abi_widget_turn_on_cursor | ( | AbiWidget * | abi | ) |
References AV_FOCUS_HERE, FV_View::focusChange(), XAP_Frame::getCurrentView(), _AbiPrivData::m_pFrame, _AbiWidget::priv, and UT_return_if_fail.
Referenced by abi_widget_set_prop().
static void abiwidget_add | ( | GtkContainer * | container, | |
GtkWidget * | widget | |||
) | [static] |
References ABI_WIDGET, parent_class, and UT_return_if_fail.
static GType abiwidget_child_type | ( | GtkContainer * | container | ) | [static] |
static void abiwidget_remove | ( | GtkContainer * | container, | |
GtkWidget * | widget | |||
) | [static] |
References ABI_WIDGET, parent_class, and UT_return_if_fail.
void g_cclosure_user_marshal_VOID__INT_INT_INT | ( | GClosure * | closure, | |
GValue * | , | |||
guint | n_param_values, | |||
const GValue * | param_values, | |||
gpointer | , | |||
gpointer | marshal_data | |||
) |
References cc, g_marshal_value_peek_int, UT_return_if_fail, and void().
static IEFileType s_abi_widget_get_file_type | ( | const char * | extension_or_mimetype, | |
const char * | contents, | |||
UT_uint32 | contents_len, | |||
bool | bImport | |||
) | [static] |
References IE_Imp::fileTypeForContents(), IE_Exp::fileTypeForMimetype(), IE_Imp::fileTypeForMimetype(), IE_Exp::fileTypeForSuffix(), IE_Imp::fileTypeForSuffix(), and IEFT_Unknown.
Referenced by abi_widget_get_content(), abi_widget_get_selection(), abi_widget_load_file(), abi_widget_load_file_from_memory(), abi_widget_save(), and abi_widget_save_to_gsf().
static gboolean s_abi_widget_map_cb | ( | GObject * | w, | |
gpointer | p | |||
) | [static] |
References _abi_widget_bindListenerToView(), _abi_widget_set_show_margin(), XAP_App::getApp(), XAP_Frame::getCurrentView(), FV_View::getDocument(), XAP_Frame::getFrameData(), XAP_Frame::getFrameImpl(), XAP_App::getGraphicsFactory(), GRID_UNIX_PANGO, IEFT_Unknown, AP_UnixFrame::initialize(), AP_Frame::loadDocument(), AP_FrameData::m_bIsWidget, _AbiPrivData::m_bMappedToScreen, _AbiPrivData::m_bShowMargin, _AbiPrivData::m_bWordSelections, _AbiPrivData::m_pDoc, _AbiPrivData::m_pFrame, _AbiPrivData::m_pFrameListener, _AbiWidget::priv, GR_GraphicsFactory::registerAsDefault(), XAP_App::rememberFocussedFrame(), XAP_App::rememberFrame(), AP_Frame::setDoWordSelections(), FV_View::setViewMode(), XAP_Frame::setZoomType(), AP_UnixFrame::toggleRuler(), UT_DEBUGMSG, UT_return_val_if_fail, VIEW_NORMAL, XAP_NoMenusWindowLess, and XAP_Frame::z_PAGEWIDTH.
Referenced by abi_widget_realize().
static void s_LoadingCursorCallback | ( | UT_Worker * | pTimer | ) | [static] |
References UT_String::c_str(), FL_DocLayout::countPages(), FV_View::draw(), XAP_App::getApp(), XAP_Frame::getCurrentView(), FV_View::getGraphics(), FV_View::getLayout(), FV_View::getPoint(), XAP_App::getStringSet(), XAP_StringSet::getValue(), AV_View::getXScrollOffset(), AV_View::getYScrollOffset(), GR_Graphics::GR_CURSOR_WAIT, GR_Graphics::setCursor(), XAP_Frame::setCursor(), XAP_Frame::setStatusMessage(), FL_DocLayout::updateLayout(), FV_View::updateScreen(), UT_ASSERT, and xxx_UT_DEBUGMSG.
Referenced by s_StartStopLoadingCursor().
static void s_StartStopLoadingCursor | ( | bool | bStartStop, | |
XAP_Frame * | pFrame | |||
) | [static] |
Control Method for the updating loader.
bool | bStartStop true to start the updating loader, flase to stop it after the document has loaded. | |
XAP_Frame | * pFrame Pointer to the new frame being loaded. |
References AV_FOCUS_HERE, DELETEP, FV_View::focusChange(), XAP_Frame::getCurrentDoc(), XAP_Frame::getCurrentView(), GR_Graphics::GR_CURSOR_DEFAULT, s_LoadingCursorCallback(), UT_Timer::set(), XAP_Frame::setCursor(), FV_View::setCursorToContext(), UT_Timer::start(), UT_Timer::static_constructor(), and UT_Timer::stop().
Referenced by abi_widget_load_file(), abi_widget_load_file_from_gsf(), and abi_widget_load_file_from_memory().
const guint32 ABI_DEFAULT_HEIGHT = 250 [static] |
const guint32 ABI_DEFAULT_WIDTH = 250 [static] |
guint abiwidget_signals[SIGNAL_LAST] = { 0 } [static] |
GtkBinClass* parent_class = 0 [static] |
Referenced by abi_widget_class_init(), abiwidget_add(), and abiwidget_remove().
bool s_bFirstDrawDone = false [static] |
bool s_bFreshDraw = false [static] |
UT_sint32 s_iLastXScrollOffset = -1 [static] |
UT_sint32 s_iLastYScrollOffset = -1 [static] |
AD_Document* s_pLoadingDoc = NULL [static] |
XAP_Frame* s_pLoadingFrame = NULL [static] |
UT_Timer* s_pToUpdateCursor = NULL [static] |