OpenCPN Partial API docs
|
This class takes multilined string and modifies it to fit into given width for given device. More...
#include <printtable.h>
Public Member Functions | |
void | Init (const wxString &_content, wxDC *_dc, int _width, int _cellpadding, bool bold_font=false) |
wxRect | GetRect () |
wxString | GetText () |
int | GetHeight () |
int | GetWidth () |
void | SetPage (int _page) |
void | SetHeight (int _height) |
int | GetPage () |
Protected Member Functions | |
void | Adjust () |
Protected Attributes | |
wxDC * | dc |
int | width |
int | height |
int | cellpadding |
wxString | content |
wxString | modified_content |
wxRect | rect |
int | page |
bool | bold_font |
This class takes multilined string and modifies it to fit into given width for given device.
If it is too wide for given DC (by class PrintTable ) it introduces new lines between words
Definition at line 113 of file printtable.h.
|
inline |
Definition at line 148 of file printtable.h.
|
protected |
Definition at line 89 of file printtable.cpp.
|
inline |
Definition at line 161 of file printtable.h.
|
inline |
Definition at line 173 of file printtable.h.
|
inline |
Definition at line 155 of file printtable.h.
|
inline |
Definition at line 158 of file printtable.h.
|
inline |
Definition at line 164 of file printtable.h.
void PrintCell::Init | ( | const wxString & | _content, |
wxDC * | _dc, | ||
int | _width, | ||
int | _cellpadding, | ||
bool | bold_font = false |
||
) |
Definition at line 78 of file printtable.cpp.
|
inline |
Definition at line 170 of file printtable.h.
|
inline |
Definition at line 167 of file printtable.h.
|
protected |
Definition at line 141 of file printtable.h.
|
protected |
Definition at line 125 of file printtable.h.
|
protected |
Definition at line 128 of file printtable.h.
|
protected |
Definition at line 116 of file printtable.h.
|
protected |
Definition at line 122 of file printtable.h.
|
protected |
Definition at line 131 of file printtable.h.
|
protected |
Definition at line 137 of file printtable.h.
|
protected |
Definition at line 134 of file printtable.h.
|
protected |
Definition at line 119 of file printtable.h.