LibreOffice Module shell (master) 1
Public Member Functions | Protected Member Functions | Private Attributes | Friends | List of all members
list_view_builder Class Reference

#include <listviewbuilder.hxx>

Public Member Functions

virtual ~list_view_builder ()
 
void build (statistic_group_list_t &gl)
 

Protected Member Functions

 list_view_builder (HWND hwnd_list_view, const std::wstring &column1_title, const std::wstring &column2_title)
 
virtual void setup_list_view ()
 
virtual void insert_group (const std::wstring &title)
 
virtual void insert_item (const std::wstring &title, const std::wstring &value, bool is_editable)
 
HWND get_list_view () const
 

Private Attributes

int row_index_
 
HWND hwnd_list_view_
 
std::wstring column1_title_
 
std::wstring column2_title_
 
int group_count_
 
int row_count_
 

Friends

list_view_builder_ptr create_list_view_builder (HWND hwnd_lv, const std::wstring &col1, const std::wstring &col2)
 

Detailed Description

Definition at line 41 of file listviewbuilder.hxx.

Constructor & Destructor Documentation

◆ ~list_view_builder()

list_view_builder::~list_view_builder ( )
virtual

Definition at line 68 of file listviewbuilder.cxx.

◆ list_view_builder()

list_view_builder::list_view_builder ( HWND  hwnd_list_view,
const std::wstring &  column1_title,
const std::wstring &  column2_title 
)
protected

Definition at line 54 of file listviewbuilder.cxx.

Member Function Documentation

◆ build()

void list_view_builder::build ( statistic_group_list_t gl)

Definition at line 73 of file listviewbuilder.cxx.

References group, insert_group(), insert_item(), and setup_list_view().

◆ get_list_view()

HWND list_view_builder::get_list_view ( ) const
protected

Definition at line 170 of file listviewbuilder.cxx.

References hwnd_list_view_.

Referenced by insert_group(), and insert_item().

◆ insert_group()

void list_view_builder::insert_group ( const std::wstring &  title)
protectedvirtual

Definition at line 118 of file listviewbuilder.cxx.

References get_list_view(), group_count_, name, and row_count_.

Referenced by build().

◆ insert_item()

void list_view_builder::insert_item ( const std::wstring &  title,
const std::wstring &  value,
bool  is_editable 
)
protectedvirtual

◆ setup_list_view()

void list_view_builder::setup_list_view ( )
protectedvirtual

Friends And Related Function Documentation

◆ create_list_view_builder

list_view_builder_ptr create_list_view_builder ( HWND  hwnd_lv,
const std::wstring &  col1,
const std::wstring &  col2 
)
friend

Definition at line 47 of file listviewbuilder.cxx.

Member Data Documentation

◆ column1_title_

std::wstring list_view_builder::column1_title_
private

Definition at line 62 of file listviewbuilder.hxx.

◆ column2_title_

std::wstring list_view_builder::column2_title_
private

Definition at line 63 of file listviewbuilder.hxx.

◆ group_count_

int list_view_builder::group_count_
private

Definition at line 64 of file listviewbuilder.hxx.

Referenced by insert_group(), and insert_item().

◆ hwnd_list_view_

HWND list_view_builder::hwnd_list_view_
private

Definition at line 61 of file listviewbuilder.hxx.

Referenced by get_list_view(), and setup_list_view().

◆ row_count_

int list_view_builder::row_count_
private

Definition at line 65 of file listviewbuilder.hxx.

Referenced by insert_group(), and insert_item().

◆ row_index_

int list_view_builder::row_index_
private

Definition at line 60 of file listviewbuilder.hxx.

Referenced by insert_item().


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