fdo#39468: Translated German to English
Change-Id: Ica935c641d3858ae875410efc7fe531835feadf8 Reviewed-on: https://gerrit.libreoffice.org/11373 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
This commit is contained in:
committed by
Thomas Arnhold
parent
1ea8f156ac
commit
86aed3ca6a
@@ -931,10 +931,10 @@ protected:
|
|||||||
*/
|
*/
|
||||||
virtual void onDisconnectedValidator( );
|
virtual void onDisconnectedValidator( );
|
||||||
|
|
||||||
/** nFieldType ist der Typ des Feldes, an das das Model gebunden werden soll.
|
/** nFieldType is the type of the field, on which the model will be linked.
|
||||||
Das Binden erfolgt genau dann, wenn Rueckgabewert sal_True.
|
The linking happens when sal_True is returned.
|
||||||
Die Standard-Implementation erlaubt alles ausser den drei binary-Typen und
|
The default-implementation allows everything but the three binary types
|
||||||
FieldType_OTHER.
|
and FieldType_OTHER.
|
||||||
*/
|
*/
|
||||||
virtual bool approveDbColumnType(sal_Int32 _nColumnType);
|
virtual bool approveDbColumnType(sal_Int32 _nColumnType);
|
||||||
|
|
||||||
@@ -1009,7 +1009,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
public:
|
public:
|
||||||
// UNO Anbindung
|
// UNO link
|
||||||
DECLARE_UNO3_AGG_DEFAULTS(OBoundControlModel, OControlModel)
|
DECLARE_UNO3_AGG_DEFAULTS(OBoundControlModel, OControlModel)
|
||||||
virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation( const ::com::sun::star::uno::Type& _rType ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
|
virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation( const ::com::sun::star::uno::Type& _rType ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
|
||||||
|
|
||||||
|
@@ -319,18 +319,18 @@ protected:
|
|||||||
sal_uInt16 ColCount() const;
|
sal_uInt16 ColCount() const;
|
||||||
|
|
||||||
// software plug for database access
|
// software plug for database access
|
||||||
// Der RowCount wird jetzt intern automatisch gezaehlt
|
// RowCount is counted automatically
|
||||||
// (ueber RowInserted und RowRemoved), daher ist das Ueberladen
|
// (with the help of RowInserted and RowRemoved), so overloading of
|
||||||
// dieser Methode ueberfluessig!
|
// the method is needless
|
||||||
public:
|
public:
|
||||||
virtual long GetRowCount() const SAL_OVERRIDE;
|
virtual long GetRowCount() const SAL_OVERRIDE;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
// fuer Anzeige im VScrollBar z.B. auf "?" oder setzen
|
// for display in VScrollBar set it e.g. on "?"
|
||||||
void SetRealRowCount( const OUString &rRealRowCount );
|
void SetRealRowCount( const OUString &rRealRowCount );
|
||||||
|
|
||||||
// Return Value muss immer sal_True sein - SeekRow *muss* klappen!
|
// Return Value has to be sal_True always - SeekRow *has* to work!
|
||||||
// (sonst ASSERT) MI: wer hat das eingebaut? Das darf nicht so sein!
|
// (else ASSERT) MI: who integrated that? It must not be like that!
|
||||||
|
|
||||||
/** seeks for the given row position
|
/** seeks for the given row position
|
||||||
@param nRow
|
@param nRow
|
||||||
@@ -342,39 +342,36 @@ protected:
|
|||||||
virtual void PaintData( Window& rWin, const Rectangle& rRect );
|
virtual void PaintData( Window& rWin, const Rectangle& rRect );
|
||||||
virtual void PaintField( OutputDevice& rDev, const Rectangle& rRect,
|
virtual void PaintField( OutputDevice& rDev, const Rectangle& rRect,
|
||||||
sal_uInt16 nColumnId ) const = 0;
|
sal_uInt16 nColumnId ) const = 0;
|
||||||
// Benachrichtigung an die abgeleitete Klasse, dass sich der sichtbare
|
// Advice for the subclass: the visible scope of rows has changed.
|
||||||
// Bereich von Rows geaendert hat. Aus dieser Methode heraus darf
|
// The subclass is able to announce changes of the model with the
|
||||||
// die abgeleitete Klasse Aenderungen des Model mit Hilfe der Methoden
|
// help of the methods RowInserted and RowRemoved. Because of the
|
||||||
// RowInserted und RowRemoved bekanntgeben. Mit sich daraus ergebenden
|
// new status a paint is induced (SeekRow is called etc).
|
||||||
// neuen Zustand wird anschliessend ein Paint veranlasst (und entsprechend
|
|
||||||
// SeekRow etc. gerufen).
|
|
||||||
//
|
//
|
||||||
// Parameter: nNewTopRow: Nr. der neuen TopRow (kann von VisibleRowsChanged
|
// parameters: nNewTopRow: number of the new TopRow (can get changed from
|
||||||
// durch Aufruf von RowInserted und RowDeleted noch veraendert werden).
|
// VisibleRowsChanged by request of RowInserted and RowDeleted).
|
||||||
// nNumRows: Anzahl der sichtbaren Rows (auch eine teilweise sichtbare Row
|
// nNumRows: number of visible rows (a partial visible row is counted too)
|
||||||
// wird mitgezaehlt).
|
|
||||||
//
|
//
|
||||||
// Moegliche Ursachen fuer die Aenderung des sichtbaren Bereiches:
|
// Possible reason for changing the visible scope:
|
||||||
// - Vor dem sichtbaren Bereich sind Rows eingefuegt oder geloescht worden,
|
// - in front of the visible scope rows were inserted or removed, so the
|
||||||
// dadurch aendert sich nur die Numerierung der sichtbaren Rows
|
// numbering of the visible scope has changed
|
||||||
// - Scrollen (und daraus resultierend eine andere erste sichtbare Row)
|
// - Scrolling (and thereof resulting in another first visible row)
|
||||||
// - Resize des Fensters
|
// - Resize the window
|
||||||
virtual void VisibleRowsChanged( long nNewTopRow, sal_uInt16 nNumRows);
|
virtual void VisibleRowsChanged( long nNewTopRow, sal_uInt16 nNumRows);
|
||||||
|
|
||||||
// Anzahl sichtbarer Rows in dem Fenster (inkl. "angeschnittener" Rows)
|
// number of visible rows in the window (incl. "truncated" rows)
|
||||||
sal_uInt16 GetVisibleRows()
|
sal_uInt16 GetVisibleRows()
|
||||||
{ return (sal_uInt16)((pDataWin->GetOutputSizePixel().Height() - 1 )/ GetDataRowHeight() + 1); }
|
{ return (sal_uInt16)((pDataWin->GetOutputSizePixel().Height() - 1 )/ GetDataRowHeight() + 1); }
|
||||||
long GetTopRow() { return nTopRow; }
|
long GetTopRow() { return nTopRow; }
|
||||||
sal_uInt16 GetFirstVisibleColNumber() const { return nFirstCol; }
|
sal_uInt16 GetFirstVisibleColNumber() const { return nFirstCol; }
|
||||||
|
|
||||||
// Focus-Rect ein-/ausschalten
|
// Focus-Rect enable / disable
|
||||||
void DoShowCursor( const char *pWhoLog );
|
void DoShowCursor( const char *pWhoLog );
|
||||||
void DoHideCursor( const char *pWhoLog );
|
void DoHideCursor( const char *pWhoLog );
|
||||||
short GetCursorHideCount() const;
|
short GetCursorHideCount() const;
|
||||||
|
|
||||||
virtual BrowserHeader* CreateHeaderBar( BrowseBox* pParent );
|
virtual BrowserHeader* CreateHeaderBar( BrowseBox* pParent );
|
||||||
|
|
||||||
// HACK(virtuelles Create wird im Ctor nicht gerufen)
|
// HACK(virtual create is not called in Ctor)
|
||||||
void SetHeaderBar( BrowserHeader* );
|
void SetHeaderBar( BrowserHeader* );
|
||||||
|
|
||||||
long CalcReverseZoom(long nVal);
|
long CalcReverseZoom(long nVal);
|
||||||
@@ -406,7 +403,7 @@ public:
|
|||||||
BrowserMode nMode = 0 );
|
BrowserMode nMode = 0 );
|
||||||
virtual ~BrowseBox();
|
virtual ~BrowseBox();
|
||||||
|
|
||||||
// ererbte ueberladene Handler
|
// inherited overloaded handler
|
||||||
virtual void StateChanged( StateChangedType nStateChange ) SAL_OVERRIDE;
|
virtual void StateChanged( StateChangedType nStateChange ) SAL_OVERRIDE;
|
||||||
virtual void MouseButtonDown( const MouseEvent& rEvt ) SAL_OVERRIDE;
|
virtual void MouseButtonDown( const MouseEvent& rEvt ) SAL_OVERRIDE;
|
||||||
virtual void MouseMove( const MouseEvent& rEvt ) SAL_OVERRIDE;
|
virtual void MouseMove( const MouseEvent& rEvt ) SAL_OVERRIDE;
|
||||||
|
Reference in New Issue
Block a user