ReactOS 0.4.16-dev-1067-ge98bba2
|
#include "editor.h"
Go to the source code of this file.
Macros | |
#define | COPY_FIELD(m, f) |
#define | EFFECTS_MASK |
#define | DUMP(mask, name, fmt, field) |
#define | DUMP_EFFECT(mask, name) p += sprintf(p, "%-22s%s\n", name, (pFmt->dwMask & (mask)) ? ((pFmt->wEffects & ((mask) >> 16)) ? "yes" : "no") : "N/A"); |
#define | CHECK_FIELD(m, f) if (fmt->f != para->fmt.f) fmt->dwMask &= ~(m); |
#define DUMP_EFFECT | ( | mask, | |
name | |||
) | p += sprintf(p, "%-22s%s\n", name, (pFmt->dwMask & (mask)) ? ((pFmt->wEffects & ((mask) >> 16)) ? "yes" : "no") : "N/A"); |
#define EFFECTS_MASK |
void editor_get_selection_para_fmt | ( | ME_TextEditor * | editor, |
PARAFORMAT2 * | fmt | ||
) |
Definition at line 905 of file para.c.
Referenced by editor_handle_message(), and ME_RTFParAttrHook().
void editor_get_selection_paras | ( | ME_TextEditor * | editor, |
ME_Paragraph ** | para, | ||
ME_Paragraph ** | para_end | ||
) |
Definition at line 850 of file para.c.
Referenced by editor_get_selection_para_fmt(), editor_set_selection_para_fmt(), and ME_InvalidateSelection().
void editor_mark_rewrap_all | ( | ME_TextEditor * | editor | ) |
Definition at line 237 of file para.c.
Referenced by editor_handle_message(), fnTextSrv_TxDraw(), fnTextSrv_TxGetNaturalSize(), ME_RewrapRepaint(), and ME_SetDefaultCharFormat().
void editor_set_default_para_fmt | ( | ME_TextEditor * | editor, |
PARAFORMAT2 * | pFmt | ||
) |
Definition at line 960 of file para.c.
Referenced by handle_enter(), ME_InternalDeleteText(), ME_StreamIn(), and para_create().
BOOL editor_set_selection_para_fmt | ( | ME_TextEditor * | editor, |
const PARAFORMAT2 * | fmt | ||
) |
Definition at line 875 of file para.c.
Referenced by editor_handle_message(), and SpecialChar().
int get_total_width | ( | ME_TextEditor * | editor | ) |
Definition at line 69 of file para.c.
Referenced by para_destroy(), and wrap_marked_paras_dc().
void ME_DumpParaStyleToBuf | ( | const PARAFORMAT2 * | pFmt, |
char | buf[2048] | ||
) |
Definition at line 787 of file para.c.
void ME_MakeFirstParagraph | ( | ME_TextEditor * | editor | ) |
Definition at line 151 of file para.c.
Referenced by ME_MakeEditor().
ME_Cell * para_cell | ( | ME_Paragraph * | para | ) |
Definition at line 127 of file para.c.
Referenced by adjust_para_y(), cursor_move_line(), draw_paragraph(), draw_table_borders(), editor_draw(), ME_BeginRow(), ME_PlayUndoItem(), ME_RTFSpecialCharHook(), ME_WrapTextParagraph(), para_split(), pixel_pos_in_table_row(), stream_out_font_and_colour_tbls(), table_append_row(), table_insert_row_start_at_para(), table_outer_para(), table_protect_partial_deletion(), table_row_end(), table_row_end_cell(), table_row_first_cell(), table_row_start(), table_select_next_cell_or_append(), and table_update_flags().
|
static |
Definition at line 891 of file para.c.
Referenced by editor_get_selection_para_fmt().
|
static |
Definition at line 32 of file para.c.
Referenced by ME_MakeFirstParagraph(), and para_split().
void para_destroy | ( | ME_TextEditor * | editor, |
ME_Paragraph * | para | ||
) |
Definition at line 42 of file para.c.
Referenced by ME_DestroyEditor(), and para_join().
ME_Row * para_end_row | ( | ME_Paragraph * | para | ) |
Definition at line 141 of file para.c.
Referenced by cursor_from_virtual_coords(), cursor_move_line(), and ME_ArrowPageDown().
ME_Run * para_end_run | ( | ME_Paragraph * | para | ) |
Definition at line 117 of file para.c.
Referenced by editor_handle_message(), handle_enter(), ME_ExtendAnchorSelection(), ME_GetTextW(), ME_InsertTextFromCursor(), ME_MoveCursorChars(), ME_MoveCursorWords(), ME_SelectByType(), ME_SetCursorToEnd(), para_join(), table_append_row(), table_protect_partial_deletion(), and table_select_next_cell_or_append().
ME_Row * para_first_row | ( | ME_Paragraph * | para | ) |
Definition at line 132 of file para.c.
Referenced by cursor_from_virtual_coords(), cursor_move_line(), draw_table_borders(), editor_handle_message(), ME_ArrowPageUp(), row_from_row_number(), and row_number_from_char_ofs().
ME_Run * para_first_run | ( | ME_Paragraph * | para | ) |
Definition at line 104 of file para.c.
Referenced by cursor_from_char_ofs(), draw_table_borders(), handle_enter(), handle_wm_char(), itemize_para(), ME_ExtendAnchorSelection(), ME_MoveCursorChars(), ME_MoveCursorWords(), ME_RTFSpecialCharHook(), ME_SelectByType(), ME_SetCursorToStart(), ME_StreamIn(), ME_UpdateSelectionLinkAttribute(), ME_WrapTextParagraph(), para_join(), shape_para(), table_append_row(), table_insert_end_para(), table_insert_row_start_at_para(), table_move_from_row_start(), table_protect_partial_deletion(), and table_select_next_cell_or_append().
BOOL para_in_table | ( | ME_Paragraph * | para | ) |
Definition at line 122 of file para.c.
Referenced by draw_table_borders(), handle_enter(), handle_wm_char(), ME_BeginRow(), ME_RTFSpecialCharHook(), ME_StreamIn(), ME_StreamOutRTF(), table_append_row(), table_handle_tab(), table_protect_partial_deletion(), table_row_end_cell(), table_row_first_cell(), table_select_next_cell_or_append(), and wrap_marked_paras_dc().
ME_Paragraph * para_join | ( | ME_TextEditor * | editor, |
ME_Paragraph * | para, | ||
BOOL | use_first_fmt | ||
) |
Definition at line 683 of file para.c.
Referenced by ME_InternalDeleteText(), and ME_PlayUndoItem().
void para_mark_add | ( | ME_TextEditor * | editor, |
ME_Paragraph * | para | ||
) |
Definition at line 99 of file para.c.
Referenced by ME_MakeFirstParagraph(), and para_mark_rewrap().
void para_mark_remove | ( | ME_TextEditor * | editor, |
ME_Paragraph * | para | ||
) |
Definition at line 94 of file para.c.
Referenced by para_destroy().
void para_mark_rewrap | ( | ME_TextEditor * | editor, |
ME_Paragraph * | para | ||
) |
Definition at line 26 of file para.c.
Referenced by handle_enter(), ME_InternalDeleteText(), ME_PlayUndoItem(), ME_SetCharFormat(), para_join(), para_mark_rewrap_paras(), para_num_clear_list(), para_set_fmt(), para_split(), run_insert(), run_join(), and run_split().
|
static |
Definition at line 228 of file para.c.
Referenced by editor_mark_rewrap_all().
ME_Paragraph * para_next | ( | ME_Paragraph * | para | ) |
Definition at line 57 of file para.c.
Referenced by adjust_para_y(), cursor_from_char_ofs(), cursor_from_virtual_coords(), cursor_move_line(), draw_paragraph(), draw_table_borders(), editor_draw(), editor_first_para(), editor_get_selection_para_fmt(), editor_handle_message(), editor_propagate_char_ofs(), editor_set_selection_para_fmt(), get_unicode_text(), handle_enter(), handle_wm_char(), ITextRange_fnGetText(), ITextSelection_fnGetText(), ME_InternalDeleteText(), ME_MoveCursorChars(), ME_MoveCursorWords(), ME_RTFParAttrHook(), ME_RTFSpecialCharHook(), ME_StreamIn(), ME_UpdateSelectionLinkAttribute(), para_end_row(), para_join(), para_mark_rewrap_paras(), para_split(), pixel_pos_in_table_row(), range_GetChar(), row_from_row_number(), row_number_from_char_ofs(), table_append_row(), table_insert_row_start_at_para(), table_move_from_row_start(), table_protect_partial_deletion(), table_row_end(), table_row_first_cell(), table_select_next_cell_or_append(), and wrap_marked_paras_dc().
Definition at line 436 of file para.c.
Referenced by para_destroy(), and para_num_clear_list().
|
static |
Definition at line 447 of file para.c.
Referenced by para_join(), para_set_fmt(), and para_split().
|
static |
Definition at line 266 of file para.c.
Referenced by para_num_init().
|
static |
Definition at line 279 of file para.c.
Referenced by para_num_init().
void para_num_init | ( | ME_Context * | c, |
ME_Paragraph * | para | ||
) |
Definition at line 392 of file para.c.
Referenced by ME_WrapTextParagraph().
|
inlinestatic |
Definition at line 258 of file para.c.
Referenced by para_num_clear_list(), and para_num_get_num().
ME_Paragraph * para_prev | ( | ME_Paragraph * | para | ) |
Definition at line 63 of file para.c.
Referenced by cursor_from_virtual_coords(), cursor_move_line(), editor_get_selection_paras(), editor_handle_message(), handle_enter(), handle_wm_char(), ME_ArrowPageDown(), ME_GetTextW(), ME_InsertTextFromCursor(), ME_InvalidateSelection(), ME_MoveCursorChars(), ME_MoveCursorWords(), ME_SetCursorToEnd(), ME_UpdateSelectionLinkAttribute(), para_split(), pixel_pos_in_table_row(), stream_out_para_props(), table_insert_row_end(), table_insert_row_start(), table_outer_para(), table_protect_partial_deletion(), table_row_end_cell(), table_row_start(), and table_select_next_cell_or_append().
|
static |
Definition at line 458 of file para.c.
Referenced by editor_set_selection_para_fmt().
ME_Paragraph * para_split | ( | ME_TextEditor * | editor, |
ME_Run * | run, | ||
ME_Style * | style, | ||
const WCHAR * | eol_str, | ||
int | eol_len, | ||
int | paraFlags | ||
) |
Definition at line 540 of file para.c.
Referenced by ME_InsertTextFromCursor(), ME_PlayUndoItem(), and table_insert_end_para().
|
static |
WINE_DEFAULT_DEBUG_CHANNEL | ( | richedit | ) |