Classes | Defines | Functions

fv_View.cpp File Reference

#include <stdlib.h>
#include <stdio.h>
#include <ctype.h>
#include <string.h>
#include <glib.h>
#include "ut_locale.h"
#include "pf_Frag.h"
#include "pf_Frag_Strux.h"
#include "ut_assert.h"
#include "ut_debugmsg.h"
#include "ut_growbuf.h"
#include "ev_Mouse.h"
#include "ut_misc.h"
#include "ut_string.h"
#include "ut_std_string.h"
#include "ut_bytebuf.h"
#include "ut_timer.h"
#include "ie_imp_RTF.h"
#include "ie_exp_RTF.h"
#include "xav_View.h"
#include "fl_DocLayout.h"
#include "fl_BlockLayout.h"
#include "fl_SectionLayout.h"
#include "fl_FootnoteLayout.h"
#include "fl_AutoNum.h"
#include "fp_Page.h"
#include "fp_PageSize.h"
#include "fp_Column.h"
#include "fp_Line.h"
#include "fp_Run.h"
#include "fp_TextRun.h"
#include "xap_Module.h"
#include "fg_Graphic.h"
#include "fg_GraphicRaster.h"
#include "pd_Document.h"
#include "pd_DocumentRDF.h"
#include "pd_Style.h"
#include "pp_Property.h"
#include "pp_AttrProp.h"
#include "gr_Graphics.h"
#include "gr_DrawArgs.h"
#include "ie_types.h"
#include "xap_App.h"
#include "xap_Frame.h"
#include "xap_Clipboard.h"
#include "ap_Features.h"
#include "ap_TopRuler.h"
#include "ap_LeftRuler.h"
#include "ap_Prefs.h"
#include "ap_Strings.h"
#include "fd_Field.h"
#include "ut_rand.h"
#include "fp_TableContainer.h"
#include "fl_TableLayout.h"
#include "xap_Dlg_Zoom.h"
#include "ap_Frame.h"
#include "ap_FrameData.h"
#include "fp_FrameContainer.h"
#include "xap_EncodingManager.h"
#include "gr_Painter.h"
#include "xap_DialogFactory.h"
#include "ap_Preview_Annotation.h"
#include "ap_Dialog_Id.h"
#include "fv_ViewDoubleBuffering.h"
#include "pp_Revision.h"
#include "fv_View.h"

Classes

class  _fmtPair
class  FV_Caret_Listener

Defines

#define BOOKMARK_NAME_SIZE   30
#define CHECK_WINDOW_SIZE   if(getWindowHeight() < m_pG->tlu(20)) return;
#define FRAME_MARGIN   144
#define TOP_OF_PAGE_OFFSET   100
#define SELDOWNCOLOR(v, w)   (v > w ? v - w : 0)
#define SELUPCOLOR(v, w)   (v > (255-w) ? 255 : v + w)

Functions

static void _toggleFirstCapital (const UT_UCSChar *src, UT_UCSChar *dest, UT_uint32 len, const UT_UCSChar *prev)
static void _toggleLower (const UT_UCSChar *src, UT_UCSChar *dest, UT_uint32 len)
static void _toggleUpper (const UT_UCSChar *src, UT_UCSChar *dest, UT_uint32 len)
static void _toggleToggle (const UT_UCSChar *src, UT_UCSChar *dest, UT_uint32 len)
static const gchar * x_getStyle (const PP_AttrProp *pAP, bool bBlock)
static bool s_notChar (UT_UCSChar c)

Define Documentation

#define BOOKMARK_NAME_SIZE   30
#define CHECK_WINDOW_SIZE   if(getWindowHeight() < m_pG->tlu(20)) return;
#define FRAME_MARGIN   144
#define SELDOWNCOLOR (   v,
  w 
)    (v > w ? v - w : 0)
#define SELUPCOLOR (   v,
  w 
)    (v > (255-w) ? 255 : v + w)
#define TOP_OF_PAGE_OFFSET   100

Function Documentation

static void _toggleFirstCapital ( const UT_UCSChar src,
UT_UCSChar dest,
UT_uint32  len,
const UT_UCSChar prev 
) [static]
static void _toggleLower ( const UT_UCSChar src,
UT_UCSChar dest,
UT_uint32  len 
) [static]

References UT_UCS4_tolower().

Referenced by FV_View::toggleCase().

static void _toggleToggle ( const UT_UCSChar src,
UT_UCSChar dest,
UT_uint32  len 
) [static]
static void _toggleUpper ( const UT_UCSChar src,
UT_UCSChar dest,
UT_uint32  len 
) [static]

References UT_UCS4_toupper().

Referenced by FV_View::toggleCase().

static bool s_notChar ( UT_UCSChar  c  )  [static]

References UCS_CR, UCS_FF, UCS_LF, UCS_TAB, and UCS_VTAB.

Referenced by FV_View::countWords().

static const gchar* x_getStyle ( const PP_AttrProp pAP,
bool  bBlock 
) [static]