FRX SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
Classes | Public Member Functions | Protected Member Functions | Static Protected Member Functions | List of all members
TextEditorLine Class Reference

#include <TextEditorLine.h>

Classes

struct  TextEditorLineAdjust
 
struct  TextEditorLineAnalyze
 
struct  TextEditorLineDraw
 
struct  TextEditorLineExtents
 
struct  TextEditorLineNumberingControl
 
struct  TextEditorLineTabRun
 
struct  TextEditorLineTraits
 

Public Member Functions

 TextEditorLine (TextEditor *)
 
 TextEditorLine (TextEditorLine const &)
 
bool adjust_valid (void) const
 
bool change_case (bool, int, int)
 
bool end_of_column (void) const
 
bool end_of_paragraph (void) const
 
bool find_break (int, int &)
 
bool graphics_valid (void) const
 
bool in_bounds (TextEditorBounds const &, int, int)
 
bool is_empty (void) const
 
bool metrics_valid (void) const
 
bool numbering_overflow (void) const
 
bool numbering_restart (int) const
 
bool start_of_column (void) const
 
bool start_of_paragraph (void) const
 
bool traits_valid (void) const
 
bool write_dtext (CStringA &, int, int, TextEditorOutputState &) const
 
bool write_dtext (CStringA &, TextEditorOutputState &) const
 
bool write_dtext (CStringW &, int, int, TextEditorOutputState &) const
 
bool write_dtext (CStringW &, TextEditorOutputState &) const
 
CStringW const & string (void) const
 
AcGePoint2d const & extents (void) const
 
AcGePoint2d const & offset (void) const
 
AcGePoint3d cursor_position (int)
 
AcGePoint3d cursor_position (void)
 
AcGePoint3d const & draw_pos (void) const
 
TextEditorCharAttributes const & char_attributes (int) const
 
TextEditorCharCommandactive_command (int) const
 
TextEditorCharCommandList const & char_command_list (void) const
 
TextEditorLineoperator= (TextEditorLine const &)
 
TextEditorLineclone (int, int) const
 
TextEditorLinenext (void) const
 
TextEditorLineprev (void) const
 
double GetShdrawXMin (void) const
 
double GetShdrawYMax (void) const
 
double GetShdrawYMin (void) const
 
double align_factor (void) const
 
double ascent (void) const
 
double baseline_adjustment (void) const
 
double container_width (void) const
 
double descent (void) const
 
double edge_offset (void) const
 
double end_indent (void) const
 
double global_flow_adjustment (TextEditorCharAttributes const &) const
 
double height_scale (void) const
 
double local_flow_adjustment (int, double) const
 
double size (void) const
 
double spacing (double &, double &) const
 
double spacing (int) const
 
double start_indent (void) const
 
double trail (void) const
 
double width_scale (void) const
 
int container_index (void) const
 
int end_status (void) const
 
int find_beginning_of_word (int, int)
 
int find_end_of_word (int, int)
 
int index (void) const
 
int length (void) const
 
int move_index (int, int)
 
int numbering_value (int) const
 
int para_attributes_index (void) const
 
int start_status (void) const
 
TextEditorLineNumbering const * numbering (void) const
 
TextEditorLinePick pick_char (AcGePoint3d const &, int)
 
virtual ~TextEditorLine (void)
 
virtual void erase (void)
 
void adjust_dtext (void)
 
void adjust_mtext (void)
 
void align_dtext (void)
 
void append (TextEditorLine *)
 
void calc_numbering_indents (double &, double &)
 
void chop (void)
 
void convert_white_space (int, bool, TextEditorLine *)
 
void delete_character (int)
 
void delete_characters (int, int)
 
void delete_numbering_string (void)
 
void draw_dtext (void)
 
void draw_mtext (void)
 
void fit_dtext (void)
 
void flush_char_attributes (TextEditorCharAttributes const &, int, int)
 
void generate_numbering_string (TextEditorParaNumbering const &)
 
void get_characters (CStringW &, int, int) const
 
void get_commands (TextEditorCharCommandList &, int, int) const
 
void insert_character (int, wchar_t, TextEditorCharAttributes const &)
 
void insert_character (wchar_t)
 
void insert_character (wchar_t, TextEditorCharAttributes const &)
 
void insert_string (CStringW const &)
 
void merge (TextEditorLine *, bool)
 
void move_index (int)
 
void remove_character (void)
 
void scale_text_height (double)
 
void set_adjust_valid (bool)
 
void set_char_attributes (TextEditorCharAttributes const &, int, int)
 
void set_character (int, wchar_t)
 
void set_container_index (int)
 
void set_container_width (double)
 
void set_draw_pos (AcGePoint3d const &)
 
void set_end_status (int)
 
void set_graphics_valid (bool)
 
void set_index (int)
 
void set_metrics_valid (bool)
 
void set_next (TextEditorLine *)
 
void set_numbering_restart (int, bool)
 
void set_numbering_value (int, int)
 
void set_offset (AcGePoint2d const &)
 
void set_para_attributes_index (int)
 
void set_prev (TextEditorLine *)
 
void set_size (double)
 
void set_start_status (int)
 
void set_traits_valid (bool)
 
void split (TextEditorLine *)
 
void toggle_control (int, bool)
 
void write_mtext (CStringA &, int, int, TextEditorOutputState &)
 
void write_mtext (CStringA &, TextEditorOutputState &)
 
void write_mtext (CStringW &, int, int, TextEditorOutputState &)
 
void write_mtext (CStringW &, TextEditorOutputState &)
 
void write_unicode_text (CStringW &)
 
wchar_t auto_character (int) const
 
wchar_t character (int) const
 
wchar_t next_char (int) const
 
wchar_t prev_char (int) const
 

Protected Member Functions

bool is_word_stop (int, int) const
 
TextEditoreditor (void) const
 
TextEditorLineTraits const * traits (void)
 
virtual TextEditorLineNumberingControlnumbering_control (void)
 
virtual TextEditorLineNumberingControl const * numbering_control (void) const
 
virtual void post_adjust (void)
 
virtual void post_draw (void)
 
virtual void pre_adjust (void)
 
virtual void pre_draw (void)
 
virtual void render_text (wchar_t const *, int, AcGePoint3d const &, TextEditorCharAttributes const &)
 
virtual void render_text_highlight (TextEditorPointPair const &, TextEditorCharAttributes const &)
 
virtual void render_text_highlight (TextEditorPointPair const &, TextEditorVectorPair const &, TextEditorCharAttributes const &)
 
virtual void render_text_line (TextEditorPointPair const &)
 
virtual void set_numbering_control (TextEditorLineNumberingControl const *)
 
void calc_extents (int, int, bool, TextEditorLineExtents &)
 

Static Protected Member Functions

static bool __cdecl is_justifiable_char (wchar_t)
 

Detailed Description

Definition at line 32 of file TextEditorLine.h.

Constructor & Destructor Documentation

◆ TextEditorLine() [1/2]

TextEditorLine::TextEditorLine ( TextEditor * )

◆ TextEditorLine() [2/2]

TextEditorLine::TextEditorLine ( TextEditorLine const & )

◆ ~TextEditorLine()

virtual TextEditorLine::~TextEditorLine ( void )
virtual

Member Function Documentation

◆ active_command()

TextEditorCharCommand * TextEditorLine::active_command ( int ) const

◆ adjust_dtext()

void TextEditorLine::adjust_dtext ( void )

◆ adjust_mtext()

void TextEditorLine::adjust_mtext ( void )

◆ adjust_valid()

bool TextEditorLine::adjust_valid ( void ) const

◆ align_dtext()

void TextEditorLine::align_dtext ( void )

◆ align_factor()

double TextEditorLine::align_factor ( void ) const

◆ append()

void TextEditorLine::append ( TextEditorLine * )

◆ ascent()

double TextEditorLine::ascent ( void ) const

◆ auto_character()

wchar_t TextEditorLine::auto_character ( int ) const

◆ baseline_adjustment()

double TextEditorLine::baseline_adjustment ( void ) const

◆ calc_extents()

void TextEditorLine::calc_extents ( int ,
int ,
bool ,
TextEditorLineExtents &  )
protected

◆ calc_numbering_indents()

void TextEditorLine::calc_numbering_indents ( double & ,
double &  )

◆ change_case()

bool TextEditorLine::change_case ( bool ,
int ,
int  )

◆ char_attributes()

TextEditorCharAttributes const & TextEditorLine::char_attributes ( int ) const

◆ char_command_list()

TextEditorCharCommandList const & TextEditorLine::char_command_list ( void ) const

◆ character()

wchar_t TextEditorLine::character ( int ) const

◆ chop()

void TextEditorLine::chop ( void )

◆ clone()

TextEditorLine * TextEditorLine::clone ( int ,
int  ) const

◆ container_index()

int TextEditorLine::container_index ( void ) const

◆ container_width()

double TextEditorLine::container_width ( void ) const

◆ convert_white_space()

void TextEditorLine::convert_white_space ( int ,
bool ,
TextEditorLine *  )

◆ cursor_position() [1/2]

AcGePoint3d TextEditorLine::cursor_position ( int )

◆ cursor_position() [2/2]

AcGePoint3d TextEditorLine::cursor_position ( void )

◆ delete_character()

void TextEditorLine::delete_character ( int )

◆ delete_characters()

void TextEditorLine::delete_characters ( int ,
int  )

◆ delete_numbering_string()

void TextEditorLine::delete_numbering_string ( void )

◆ descent()

double TextEditorLine::descent ( void ) const

◆ draw_dtext()

void TextEditorLine::draw_dtext ( void )

◆ draw_mtext()

void TextEditorLine::draw_mtext ( void )

◆ draw_pos()

AcGePoint3d const & TextEditorLine::draw_pos ( void ) const

◆ edge_offset()

double TextEditorLine::edge_offset ( void ) const

◆ editor()

TextEditor * TextEditorLine::editor ( void ) const
protected

◆ end_indent()

double TextEditorLine::end_indent ( void ) const

◆ end_of_column()

bool TextEditorLine::end_of_column ( void ) const

◆ end_of_paragraph()

bool TextEditorLine::end_of_paragraph ( void ) const

◆ end_status()

int TextEditorLine::end_status ( void ) const

◆ erase()

virtual void TextEditorLine::erase ( void )
virtual

◆ extents()

AcGePoint2d const & TextEditorLine::extents ( void ) const

◆ find_beginning_of_word()

int TextEditorLine::find_beginning_of_word ( int ,
int  )

◆ find_break()

bool TextEditorLine::find_break ( int ,
int &  )

◆ find_end_of_word()

int TextEditorLine::find_end_of_word ( int ,
int  )

◆ fit_dtext()

void TextEditorLine::fit_dtext ( void )

◆ flush_char_attributes()

void TextEditorLine::flush_char_attributes ( TextEditorCharAttributes const & ,
int ,
int  )

◆ generate_numbering_string()

void TextEditorLine::generate_numbering_string ( TextEditorParaNumbering const & )

◆ get_characters()

void TextEditorLine::get_characters ( CStringW & ,
int ,
int  ) const

◆ get_commands()

void TextEditorLine::get_commands ( TextEditorCharCommandList & ,
int ,
int  ) const

◆ GetShdrawXMin()

double TextEditorLine::GetShdrawXMin ( void ) const

◆ GetShdrawYMax()

double TextEditorLine::GetShdrawYMax ( void ) const

◆ GetShdrawYMin()

double TextEditorLine::GetShdrawYMin ( void ) const

◆ global_flow_adjustment()

double TextEditorLine::global_flow_adjustment ( TextEditorCharAttributes const & ) const

◆ graphics_valid()

bool TextEditorLine::graphics_valid ( void ) const

◆ height_scale()

double TextEditorLine::height_scale ( void ) const

◆ in_bounds()

bool TextEditorLine::in_bounds ( TextEditorBounds const & ,
int ,
int  )

◆ index()

int TextEditorLine::index ( void ) const

◆ insert_character() [1/3]

void TextEditorLine::insert_character ( int ,
wchar_t ,
TextEditorCharAttributes const &  )

◆ insert_character() [2/3]

void TextEditorLine::insert_character ( wchar_t )

◆ insert_character() [3/3]

void TextEditorLine::insert_character ( wchar_t ,
TextEditorCharAttributes const &  )

◆ insert_string()

void TextEditorLine::insert_string ( CStringW const & )

◆ is_empty()

bool TextEditorLine::is_empty ( void ) const

◆ is_justifiable_char()

static bool __cdecl TextEditorLine::is_justifiable_char ( wchar_t )
staticprotected

◆ is_word_stop()

bool TextEditorLine::is_word_stop ( int ,
int  ) const
protected

◆ length()

int TextEditorLine::length ( void ) const

◆ local_flow_adjustment()

double TextEditorLine::local_flow_adjustment ( int ,
double  ) const

◆ merge()

void TextEditorLine::merge ( TextEditorLine * ,
bool  )

◆ metrics_valid()

bool TextEditorLine::metrics_valid ( void ) const

◆ move_index() [1/2]

void TextEditorLine::move_index ( int )

◆ move_index() [2/2]

int TextEditorLine::move_index ( int ,
int  )

◆ next()

TextEditorLine * TextEditorLine::next ( void ) const

◆ next_char()

wchar_t TextEditorLine::next_char ( int ) const

◆ numbering()

TextEditorLineNumbering const * TextEditorLine::numbering ( void ) const

◆ numbering_control() [1/2]

virtual TextEditorLineNumberingControl * TextEditorLine::numbering_control ( void )
protectedvirtual

◆ numbering_control() [2/2]

virtual TextEditorLineNumberingControl const * TextEditorLine::numbering_control ( void ) const
protectedvirtual

◆ numbering_overflow()

bool TextEditorLine::numbering_overflow ( void ) const

◆ numbering_restart()

bool TextEditorLine::numbering_restart ( int ) const

◆ numbering_value()

int TextEditorLine::numbering_value ( int ) const

◆ offset()

AcGePoint2d const & TextEditorLine::offset ( void ) const

◆ operator=()

TextEditorLine & TextEditorLine::operator= ( TextEditorLine const & )

◆ para_attributes_index()

int TextEditorLine::para_attributes_index ( void ) const

◆ pick_char()

TextEditorLinePick TextEditorLine::pick_char ( AcGePoint3d const & ,
int  )

◆ post_adjust()

virtual void TextEditorLine::post_adjust ( void )
protectedvirtual

◆ post_draw()

virtual void TextEditorLine::post_draw ( void )
protectedvirtual

◆ pre_adjust()

virtual void TextEditorLine::pre_adjust ( void )
protectedvirtual

◆ pre_draw()

virtual void TextEditorLine::pre_draw ( void )
protectedvirtual

◆ prev()

TextEditorLine * TextEditorLine::prev ( void ) const

◆ prev_char()

wchar_t TextEditorLine::prev_char ( int ) const

◆ remove_character()

void TextEditorLine::remove_character ( void )

◆ render_text()

virtual void TextEditorLine::render_text ( wchar_t const * ,
int ,
AcGePoint3d const & ,
TextEditorCharAttributes const &  )
protectedvirtual

◆ render_text_highlight() [1/2]

virtual void TextEditorLine::render_text_highlight ( TextEditorPointPair const & ,
TextEditorCharAttributes const &  )
protectedvirtual

◆ render_text_highlight() [2/2]

virtual void TextEditorLine::render_text_highlight ( TextEditorPointPair const & ,
TextEditorVectorPair const & ,
TextEditorCharAttributes const &  )
protectedvirtual

◆ render_text_line()

virtual void TextEditorLine::render_text_line ( TextEditorPointPair const & )
protectedvirtual

◆ scale_text_height()

void TextEditorLine::scale_text_height ( double )

◆ set_adjust_valid()

void TextEditorLine::set_adjust_valid ( bool )

◆ set_char_attributes()

void TextEditorLine::set_char_attributes ( TextEditorCharAttributes const & ,
int ,
int  )

◆ set_character()

void TextEditorLine::set_character ( int ,
wchar_t  )

◆ set_container_index()

void TextEditorLine::set_container_index ( int )

◆ set_container_width()

void TextEditorLine::set_container_width ( double )

◆ set_draw_pos()

void TextEditorLine::set_draw_pos ( AcGePoint3d const & )

◆ set_end_status()

void TextEditorLine::set_end_status ( int )

◆ set_graphics_valid()

void TextEditorLine::set_graphics_valid ( bool )

◆ set_index()

void TextEditorLine::set_index ( int )

◆ set_metrics_valid()

void TextEditorLine::set_metrics_valid ( bool )

◆ set_next()

void TextEditorLine::set_next ( TextEditorLine * )

◆ set_numbering_control()

virtual void TextEditorLine::set_numbering_control ( TextEditorLineNumberingControl const * )
protectedvirtual

◆ set_numbering_restart()

void TextEditorLine::set_numbering_restart ( int ,
bool  )

◆ set_numbering_value()

void TextEditorLine::set_numbering_value ( int ,
int  )

◆ set_offset()

void TextEditorLine::set_offset ( AcGePoint2d const & )

◆ set_para_attributes_index()

void TextEditorLine::set_para_attributes_index ( int )

◆ set_prev()

void TextEditorLine::set_prev ( TextEditorLine * )

◆ set_size()

void TextEditorLine::set_size ( double )

◆ set_start_status()

void TextEditorLine::set_start_status ( int )

◆ set_traits_valid()

void TextEditorLine::set_traits_valid ( bool )

◆ size()

double TextEditorLine::size ( void ) const

◆ spacing() [1/2]

double TextEditorLine::spacing ( double & ,
double &  ) const

◆ spacing() [2/2]

double TextEditorLine::spacing ( int ) const

◆ split()

void TextEditorLine::split ( TextEditorLine * )

◆ start_indent()

double TextEditorLine::start_indent ( void ) const

◆ start_of_column()

bool TextEditorLine::start_of_column ( void ) const

◆ start_of_paragraph()

bool TextEditorLine::start_of_paragraph ( void ) const

◆ start_status()

int TextEditorLine::start_status ( void ) const

◆ string()

CStringW const & TextEditorLine::string ( void ) const

◆ toggle_control()

void TextEditorLine::toggle_control ( int ,
bool  )

◆ trail()

double TextEditorLine::trail ( void ) const

◆ traits()

TextEditorLineTraits const * TextEditorLine::traits ( void )
protected

◆ traits_valid()

bool TextEditorLine::traits_valid ( void ) const

◆ width_scale()

double TextEditorLine::width_scale ( void ) const

◆ write_dtext() [1/4]

bool TextEditorLine::write_dtext ( CStringA & ,
int ,
int ,
TextEditorOutputState &  ) const

◆ write_dtext() [2/4]

bool TextEditorLine::write_dtext ( CStringA & ,
TextEditorOutputState &  ) const

◆ write_dtext() [3/4]

bool TextEditorLine::write_dtext ( CStringW & ,
int ,
int ,
TextEditorOutputState &  ) const

◆ write_dtext() [4/4]

bool TextEditorLine::write_dtext ( CStringW & ,
TextEditorOutputState &  ) const

◆ write_mtext() [1/4]

void TextEditorLine::write_mtext ( CStringA & ,
int ,
int ,
TextEditorOutputState &  )

◆ write_mtext() [2/4]

void TextEditorLine::write_mtext ( CStringA & ,
TextEditorOutputState &  )

◆ write_mtext() [3/4]

void TextEditorLine::write_mtext ( CStringW & ,
int ,
int ,
TextEditorOutputState &  )

◆ write_mtext() [4/4]

void TextEditorLine::write_mtext ( CStringW & ,
TextEditorOutputState &  )

◆ write_unicode_text()

void TextEditorLine::write_unicode_text ( CStringW & )

The documentation for this class was generated from the following file: