summaryrefslogtreecommitdiff
path: root/svtools/source/brwbox/brwbox1.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/brwbox/brwbox1.cxx')
-rw-r--r--svtools/source/brwbox/brwbox1.cxx58
1 files changed, 0 insertions, 58 deletions
diff --git a/svtools/source/brwbox/brwbox1.cxx b/svtools/source/brwbox/brwbox1.cxx
index 61e17bd68a7e..870185098d0a 100644
--- a/svtools/source/brwbox/brwbox1.cxx
+++ b/svtools/source/brwbox/brwbox1.cxx
@@ -112,7 +112,6 @@ void BrowseBox::ConstructImpl( BrowserMode nMode )
}
-
BrowseBox::BrowseBox( vcl::Window* pParent, WinBits nBits, BrowserMode nMode )
:Control( pParent, nBits | WB_3DLOOK )
,DragSourceHelper( this )
@@ -123,7 +122,6 @@ BrowseBox::BrowseBox( vcl::Window* pParent, WinBits nBits, BrowserMode nMode )
}
-
BrowseBox::BrowseBox( vcl::Window* pParent, const ResId& rId, BrowserMode nMode )
:Control( pParent, rId )
,DragSourceHelper( this )
@@ -169,14 +167,12 @@ void BrowseBox::dispose()
}
-
short BrowseBox::GetCursorHideCount() const
{
return getDataWindow()->nCursorHidden;
}
-
void BrowseBox::DoShowCursor( const char * )
{
if (!getDataWindow())
@@ -195,7 +191,6 @@ void BrowseBox::DoShowCursor( const char * )
}
-
void BrowseBox::DoHideCursor( const char * )
{
short nHiddenCount = ++getDataWindow()->nCursorHidden;
@@ -212,14 +207,12 @@ void BrowseBox::DoHideCursor( const char * )
}
-
void BrowseBox::SetRealRowCount( const OUString &rRealRowCount )
{
getDataWindow()->aRealRowCount = rRealRowCount;
}
-
void BrowseBox::SetFont( const vcl::Font& rNewFont )
{
pDataWin->SetFont( rNewFont );
@@ -227,14 +220,12 @@ void BrowseBox::SetFont( const vcl::Font& rNewFont )
}
-
sal_uLong BrowseBox::GetDefaultColumnWidth( const OUString& _rText ) const
{
return GetDataWindow().GetTextWidth( _rText ) + GetDataWindow().GetTextWidth(OUString('0')) * 4;
}
-
void BrowseBox::InsertHandleColumn( sal_uLong nWidth )
{
@@ -265,7 +256,6 @@ void BrowseBox::InsertHandleColumn( sal_uLong nWidth )
}
-
void BrowseBox::InsertDataColumn( sal_uInt16 nItemId, const OUString& rText,
long nWidth, HeaderBarItemBits nBits, sal_uInt16 nPos )
{
@@ -410,7 +400,6 @@ void BrowseBox::FreezeColumn( sal_uInt16 nItemId, bool bFreeze )
}
-
void BrowseBox::SetColumnPos( sal_uInt16 nColumnId, sal_uInt16 nPos )
{
// never set pos of the handle column
@@ -529,7 +518,6 @@ void BrowseBox::SetColumnPos( sal_uInt16 nColumnId, sal_uInt16 nPos )
}
-
void BrowseBox::SetColumnTitle( sal_uInt16 nItemId, const OUString& rTitle )
{
@@ -574,7 +562,6 @@ void BrowseBox::SetColumnTitle( sal_uInt16 nItemId, const OUString& rTitle )
}
-
void BrowseBox::SetColumnWidth( sal_uInt16 nItemId, sal_uLong nWidth )
{
@@ -682,7 +669,6 @@ void BrowseBox::SetColumnWidth( sal_uInt16 nItemId, sal_uLong nWidth )
}
-
void BrowseBox::AutoSizeLastColumn()
{
if ( getDataWindow()->bAutoSizeLastCol &&
@@ -695,7 +681,6 @@ void BrowseBox::AutoSizeLastColumn()
}
-
void BrowseBox::RemoveColumn( sal_uInt16 nItemId )
{
@@ -778,7 +763,6 @@ void BrowseBox::RemoveColumn( sal_uInt16 nItemId )
}
-
void BrowseBox::RemoveColumns()
{
size_t nOldCount = pCols->size();
@@ -848,7 +832,6 @@ void BrowseBox::RemoveColumns()
}
-
OUString BrowseBox::GetColumnTitle( sal_uInt16 nId ) const
{
@@ -859,14 +842,12 @@ OUString BrowseBox::GetColumnTitle( sal_uInt16 nId ) const
}
-
long BrowseBox::GetRowCount() const
{
return nRowCount;
}
-
sal_uInt16 BrowseBox::ColCount() const
{
@@ -874,7 +855,6 @@ sal_uInt16 BrowseBox::ColCount() const
}
-
long BrowseBox::ImpGetDataRowHeight() const
{
@@ -886,7 +866,6 @@ long BrowseBox::ImpGetDataRowHeight() const
}
-
void BrowseBox::SetDataRowHeight( long nPixel )
{
@@ -896,7 +875,6 @@ void BrowseBox::SetDataRowHeight( long nPixel )
}
-
void BrowseBox::SetTitleLines( sal_uInt16 nLines )
{
@@ -904,7 +882,6 @@ void BrowseBox::SetTitleLines( sal_uInt16 nLines )
}
-
long BrowseBox::ScrollColumns( long nCols )
{
@@ -1047,7 +1024,6 @@ long BrowseBox::ScrollColumns( long nCols )
}
-
long BrowseBox::ScrollRows( long nRows )
{
@@ -1104,7 +1080,6 @@ long BrowseBox::ScrollRows( long nRows )
}
-
void BrowseBox::RowModified( long nRow, sal_uInt16 nColId )
{
@@ -1125,7 +1100,6 @@ void BrowseBox::RowModified( long nRow, sal_uInt16 nColId )
}
-
void BrowseBox::Clear()
{
@@ -1294,7 +1268,6 @@ void BrowseBox::RowInserted( long nRow, long nNumRows, bool bDoPaint, bool bKeep
}
-
void BrowseBox::RowRemoved( long nRow, long nNumRows, bool bDoPaint )
{
@@ -1466,14 +1439,12 @@ void BrowseBox::RowRemoved( long nRow, long nNumRows, bool bDoPaint )
}
-
bool BrowseBox::GoToRow( long nRow)
{
return GoToRow(nRow, false);
}
-
bool BrowseBox::GoToRow( long nRow, bool bRowColMove, bool bKeepSelection )
{
@@ -1560,7 +1531,6 @@ bool BrowseBox::GoToRow( long nRow, bool bRowColMove, bool bKeepSelection )
}
-
bool BrowseBox::GoToColumnId( sal_uInt16 nColId)
{
return GoToColumnId(nColId, true);
@@ -1626,7 +1596,6 @@ bool BrowseBox::GoToColumnId( sal_uInt16 nColId, bool bMakeVisible, bool bRowCol
}
-
bool BrowseBox::GoToRowColumnId( long nRow, sal_uInt16 nColId )
{
@@ -1657,7 +1626,6 @@ bool BrowseBox::GoToRowColumnId( long nRow, sal_uInt16 nColId )
}
-
void BrowseBox::SetNoSelection()
{
@@ -1697,7 +1665,6 @@ void BrowseBox::SetNoSelection()
}
-
void BrowseBox::SelectAll()
{
@@ -1763,7 +1730,6 @@ void BrowseBox::SelectAll()
}
-
void BrowseBox::SelectRow( long nRow, bool _bSelect, bool bExpand )
{
@@ -1836,7 +1802,6 @@ void BrowseBox::SelectRow( long nRow, bool _bSelect, bool bExpand )
}
-
long BrowseBox::GetSelectRowCount() const
{
@@ -1845,7 +1810,6 @@ long BrowseBox::GetSelectRowCount() const
}
-
void BrowseBox::SelectColumnPos( sal_uInt16 nNewColPos, bool _bSelect, bool bMakeVisible )
{
@@ -1910,7 +1874,6 @@ void BrowseBox::SelectColumnPos( sal_uInt16 nNewColPos, bool _bSelect, bool bMak
}
-
sal_uInt16 BrowseBox::GetSelectColumnCount() const
{
@@ -1926,7 +1889,6 @@ long BrowseBox::FirstSelectedColumn( ) const
}
-
long BrowseBox::FirstSelectedRow( bool bInverse )
{
@@ -1934,7 +1896,6 @@ long BrowseBox::FirstSelectedRow( bool bInverse )
}
-
long BrowseBox::NextSelectedRow()
{
@@ -1942,7 +1903,6 @@ long BrowseBox::NextSelectedRow()
}
-
long BrowseBox::LastSelectedRow()
{
@@ -1950,7 +1910,6 @@ long BrowseBox::LastSelectedRow()
}
-
bool BrowseBox::IsRowSelected( long nRow ) const
{
@@ -1958,7 +1917,6 @@ bool BrowseBox::IsRowSelected( long nRow ) const
}
-
bool BrowseBox::IsColumnSelected( sal_uInt16 nColumnId ) const
{
@@ -1967,7 +1925,6 @@ bool BrowseBox::IsColumnSelected( sal_uInt16 nColumnId ) const
}
-
void BrowseBox::MakeFieldVisible
(
long nRow, // line number of the field (starting with 0)
@@ -2036,7 +1993,6 @@ void BrowseBox::MakeFieldVisible
}
-
bool BrowseBox::IsFieldVisible( long nRow, sal_uInt16 nColumnId,
bool bCompletely ) const
{
@@ -2062,7 +2018,6 @@ bool BrowseBox::IsFieldVisible( long nRow, sal_uInt16 nColumnId,
}
-
Rectangle BrowseBox::GetFieldRectPixel( long nRow, sal_uInt16 nColumnId,
bool bRelToBrowser) const
{
@@ -2084,7 +2039,6 @@ Rectangle BrowseBox::GetFieldRectPixel( long nRow, sal_uInt16 nColumnId,
}
-
Rectangle BrowseBox::GetRowRectPixel( long nRow, bool bRelToBrowser ) const
{
@@ -2112,7 +2066,6 @@ Rectangle BrowseBox::GetRowRectPixel( long nRow, bool bRelToBrowser ) const
}
-
Rectangle BrowseBox::ImplFieldRectPixel( long nRow, sal_uInt16 nColumnId ) const
{
@@ -2142,7 +2095,6 @@ Rectangle BrowseBox::ImplFieldRectPixel( long nRow, sal_uInt16 nColumnId ) const
}
-
long BrowseBox::GetRowAtYPosPixel( long nY, bool bRelToBrowser ) const
{
@@ -2162,7 +2114,6 @@ long BrowseBox::GetRowAtYPosPixel( long nY, bool bRelToBrowser ) const
}
-
Rectangle BrowseBox::GetFieldRect( sal_uInt16 nColumnId ) const
{
@@ -2170,7 +2121,6 @@ Rectangle BrowseBox::GetFieldRect( sal_uInt16 nColumnId ) const
}
-
sal_uInt16 BrowseBox::GetColumnAtXPosPixel( long nX, bool ) const
{
@@ -2190,7 +2140,6 @@ sal_uInt16 BrowseBox::GetColumnAtXPosPixel( long nX, bool ) const
}
-
void BrowseBox::ReserveControlArea( sal_uInt16 nWidth )
{
@@ -2203,7 +2152,6 @@ void BrowseBox::ReserveControlArea( sal_uInt16 nWidth )
}
-
Rectangle BrowseBox::GetControlArea() const
{
@@ -2214,7 +2162,6 @@ Rectangle BrowseBox::GetControlArea() const
}
-
void BrowseBox::SetMode( BrowserMode nMode )
{
@@ -2341,7 +2288,6 @@ void BrowseBox::SetMode( BrowserMode nMode )
}
-
void BrowseBox::VisibleRowsChanged( long, sal_uInt16 )
{
@@ -2357,7 +2303,6 @@ void BrowseBox::VisibleRowsChanged( long, sal_uInt16 )
}
-
bool BrowseBox::IsCursorMoveAllowed( long, sal_uInt16 ) const
/* [Description]
@@ -2377,14 +2322,12 @@ bool BrowseBox::IsCursorMoveAllowed( long, sal_uInt16 ) const
}
-
long BrowseBox::GetDataRowHeight() const
{
return CalcZoom(nDataRowHeight ? nDataRowHeight : ImpGetDataRowHeight());
}
-
VclPtr<BrowserHeader> BrowseBox::CreateHeaderBar( BrowseBox* pParent )
{
VclPtr<BrowserHeader> pNewBar = VclPtr<BrowserHeader>::Create( pParent );
@@ -2462,7 +2405,6 @@ void BrowseBox::LoseFocus()
}
-
void BrowseBox::GetFocus()
{
OSL_TRACE( "BrowseBox: %p->GetFocus", this );