#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 BOOKMARK_NAME_SIZE 30 |
| #define CHECK_WINDOW_SIZE if(getWindowHeight() < m_pG->tlu(20)) return; |
Referenced by FV_View::setXScrollOffset(), and FV_View::setYScrollOffset().
| #define FRAME_MARGIN 144 |
| #define SELDOWNCOLOR | ( | v, | ||
| w | ||||
| ) | (v > w ? v - w : 0) |
Referenced by FV_View::_drawResizeHandle().
| #define SELUPCOLOR | ( | v, | ||
| w | ||||
| ) | (v > (255-w) ? 255 : v + w) |
Referenced by FV_View::_drawResizeHandle().
| #define TOP_OF_PAGE_OFFSET 100 |
| static void _toggleFirstCapital | ( | const UT_UCSChar * | src, | |
| UT_UCSChar * | dest, | |||
| UT_uint32 | len, | |||
| const UT_UCSChar * | prev | |||
| ) | [static] |
References UT_UCS4_isspace(), UT_UCS4_tolower(), and UT_UCS4_toupper().
Referenced by FV_View::toggleCase().
| 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] |
References UT_UCS4_islower(), UT_UCS4_tolower(), and UT_UCS4_toupper().
Referenced by FV_View::toggleCase().
| 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] |
| static const gchar* x_getStyle | ( | const PP_AttrProp * | pAP, | |
| bool | bBlock | |||
| ) | [static] |
References gchar, PP_AttrProp::getAttribute(), PT_STYLE_ATTRIBUTE_NAME, and UT_return_val_if_fail.
Referenced by FV_View::getStyle().
1.7.1