LibreOffice Module svtools (master) 1
|
#include <datwin.hxx>
Public Member Functions | |
BrowserColumn (sal_uInt16 nItemId, OUString aTitle, sal_uLong nWidthPixel, const Fraction &rCurrentZoom) | |
~BrowserColumn () | |
sal_uInt16 | GetId () const |
sal_uLong | Width () const |
OUString & | Title () |
bool | IsFrozen () const |
void | Freeze () |
void | Draw (BrowseBox const &rBox, OutputDevice &rDev, const Point &rPos) |
void | SetWidth (sal_uLong nNewWidthPixel, const Fraction &rCurrentZoom) |
void | ZoomChanged (const Fraction &rNewZoom) |
Private Attributes | |
sal_uInt16 | _nId |
sal_uLong | _nOriginalWidth |
sal_uLong | _nWidth |
OUString | _aTitle |
bool | _bFrozen |
Definition at line 53 of file datwin.hxx.
BrowserColumn::BrowserColumn | ( | sal_uInt16 | nItemId, |
OUString | aTitle, | ||
sal_uLong | nWidthPixel, | ||
const Fraction & | rCurrentZoom | ||
) |
Definition at line 90 of file datwin.cxx.
References _nOriginalWidth, _nWidth, Fraction::GetDenominator(), Fraction::GetNumerator(), and n.
BrowserColumn::~BrowserColumn | ( | ) |
Definition at line 105 of file datwin.cxx.
void BrowserColumn::Draw | ( | BrowseBox const & | rBox, |
OutputDevice & | rDev, | ||
const Point & | rPos | ||
) |
Definition at line 129 of file datwin.cxx.
References _nId, COL_BLACK(), BrowseBox::DoPaintField(), ButtonFrame::Draw(), OutputDevice::DrawLine(), BrowseBox::GetDataRowHeight(), BrowseBox::GetDataWindow(), GetId(), OutputDevice::GetLineColor(), vcl::Window::GetSizePixel(), LONG_MAX, MIN_COLUMNWIDTH, OutputDevice::SetLineColor(), Size::Width(), Width(), Point::X(), and Point::Y().
Referenced by BrowseBox::ImplPaintData().
|
inline |
Definition at line 72 of file datwin.hxx.
References _bFrozen.
|
inline |
Definition at line 66 of file datwin.hxx.
References _nId.
Referenced by Draw(), BrowseBox::Draw(), BrowseBox::ImplPaintData(), BrowseBox::MouseButtonDown(), BrowseBox::MouseMove(), BrowseBox::Paint(), BrowseBox::SetColumnPos(), and BrowseBox::ToggleSelection().
|
inline |
Definition at line 71 of file datwin.hxx.
References _bFrozen.
Referenced by BrowseBox::MouseButtonDown(), BrowseBox::SetColumnTitle(), and BrowseBox::SetColumnWidth().
Definition at line 109 of file datwin.cxx.
References _nOriginalWidth, _nWidth, Fraction::GetDenominator(), Fraction::GetNumerator(), LONG_MAX, and n.
Referenced by BrowseBox::Draw().
|
inline |
Definition at line 69 of file datwin.hxx.
References _aTitle.
Referenced by BrowseBox::Draw(), BrowseBox::Paint(), and BrowseBox::SetColumnTitle().
|
inline |
Definition at line 68 of file datwin.hxx.
References _nWidth.
Referenced by Draw(), BrowseBox::Draw(), BrowseBox::ImplPaintData(), BrowseBox::MouseButtonDown(), BrowseBox::MouseMove(), BrowseBox::Paint(), BrowseBox::SetColumnWidth(), and BrowseBox::ToggleSelection().
void BrowserColumn::ZoomChanged | ( | const Fraction & | rNewZoom | ) |
Definition at line 168 of file datwin.cxx.
References _nOriginalWidth, _nWidth, and n.
|
private |
Definition at line 58 of file datwin.hxx.
Referenced by Title().
|
private |
Definition at line 59 of file datwin.hxx.
Referenced by Freeze(), and IsFrozen().
|
private |
Definition at line 55 of file datwin.hxx.
|
private |
Definition at line 56 of file datwin.hxx.
Referenced by BrowserColumn(), SetWidth(), and ZoomChanged().
|
private |
Definition at line 57 of file datwin.hxx.
Referenced by BrowserColumn(), SetWidth(), Width(), and ZoomChanged().