Kaydet (Commit) 7bd0adc6 authored tarafından Philipp Riemer's avatar Philipp Riemer

fix indentation

Change-Id: Iea68e50e9f91c3fa2467201247bd1aaf4e943cf0
üst fe8e4192
......@@ -71,7 +71,7 @@ namespace dbaui
class ClipboardInvalidator
{
private:
AutoTimer m_aInvalidateTimer;
AutoTimer m_aInvalidateTimer;
OTableEditorCtrl* m_pOwner;
public:
......@@ -84,7 +84,7 @@ namespace dbaui
friend class OTableEditorCtrl::ClipboardInvalidator;
ClipboardInvalidator m_aInvalidate;
ClipboardInvalidator m_aInvalidate;
protected:
virtual void Command( const CommandEvent& rEvt );
......@@ -115,40 +115,45 @@ namespace dbaui
virtual sal_Bool IsInsertNewAllowed( long nRow );
virtual sal_Bool IsDeleteAllowed( long nRow );
void ClearModified();
void ClearModified();
void SetPrimaryKey( sal_Bool bSet );
sal_Bool IsPrimaryKey();
void SetPrimaryKey( sal_Bool bSet );
sal_Bool IsPrimaryKey();
DECL_LINK(ControlPreNotifyHdl, NotifyEvent*);
public:
OTableEditorCtrl(Window* pParentWin);
virtual ~OTableEditorCtrl();
virtual sal_Bool CursorMoving(long nNewRow, sal_uInt16 nNewCol);
virtual void UpdateAll();
virtual ~OTableEditorCtrl();
virtual sal_Bool CursorMoving(long nNewRow, sal_uInt16 nNewCol);
virtual void UpdateAll();
SfxUndoManager& GetUndoManager() const;
void SetDescrWin( OTableFieldDescWin* pWin ){ pDescrWin = pWin; if (pDescrWin && pActRow) pDescrWin->DisplayData(pActRow->GetActFieldDescr()); }
sal_Bool SaveCurRow();
void SwitchType( const TOTypeInfoSP& _pType );
void SetDescrWin( OTableFieldDescWin* pWin )
{
pDescrWin = pWin;
if (pDescrWin && pActRow)
pDescrWin->DisplayData(pActRow->GetActFieldDescr());
}
sal_Bool SaveCurRow();
void SwitchType( const TOTypeInfoSP& _pType );
/// force displaying of the given row
void DisplayData( long nRow, sal_Bool bGrabFocus = sal_True );
void DisplayData( long nRow, sal_Bool bGrabFocus = sal_True );
virtual void SetCellData( long nRow, sal_uInt16 nColId, const TOTypeInfoSP& _pTypeInfo );
virtual void SetCellData( long nRow, sal_uInt16 nColId, const ::com::sun::star::uno::Any& _rSaveData );
virtual void SetCellData( long nRow, sal_uInt16 nColId, const TOTypeInfoSP& _pTypeInfo );
virtual void SetCellData( long nRow, sal_uInt16 nColId, const ::com::sun::star::uno::Any& _rSaveData );
virtual ::com::sun::star::uno::Any GetCellData( long nRow, sal_uInt16 nColId );
virtual void SetControlText( long nRow, sal_uInt16 nColId, const String& rText );
virtual String GetControlText( long nRow, sal_uInt16 nColId );
virtual void SetControlText( long nRow, sal_uInt16 nColId, const String& rText );
virtual String GetControlText( long nRow, sal_uInt16 nColId );
virtual OTableDesignView* GetView() const;
::std::vector< ::boost::shared_ptr<OTableRow> >* GetRowList(){ return m_pRowList; }
::boost::shared_ptr<OTableRow> GetActRow(){ return pActRow; }
void CellModified( long nRow, sal_uInt16 nColId );
void SetReadOnly( sal_Bool bRead=sal_True );
void CellModified( long nRow, sal_uInt16 nColId );
void SetReadOnly( sal_Bool bRead=sal_True );
virtual void Init();
virtual void DeactivateCell(sal_Bool bUpdate = sal_True);
......@@ -160,7 +165,7 @@ namespace dbaui
OFieldDescription* GetFieldDescr( long nRow );
// window overloads
virtual long PreNotify( NotifyEvent& rNEvt );
virtual long PreNotify( NotifyEvent& rNEvt );
// IClipboardTest
virtual sal_Bool isCutAllowed() { return IsCutAllowed(); }
......
......@@ -127,7 +127,7 @@ public:
void InsertText( const OUString& rNew, sal_Bool bSelect = sal_False );
sal_Bool KeyInput( const KeyEvent& rKeyEvent );
sal_Bool KeyInput( const KeyEvent& rKeyEvent );
void Paint( const Rectangle& rRect );
void MouseButtonUp( const MouseEvent& rMouseEvent );
void MouseButtonDown( const MouseEvent& rMouseEvent );
......@@ -144,7 +144,7 @@ public:
void Undo();
void Redo();
sal_Bool Read( SvStream& rInput );
sal_Bool Read( SvStream& rInput );
void SetStartDocPos( const Point& rPos );
const Point& GetStartDocPos() const;
......@@ -153,18 +153,18 @@ public:
Point GetWindowPos( const Point& rDocPos ) const;
void SetInsertMode( sal_Bool bInsert );
sal_Bool IsInsertMode() const;
sal_Bool IsInsertMode() const;
void SetAutoIndentMode( sal_Bool bAutoIndent );
void SetReadOnly( sal_Bool bReadOnly );
sal_Bool IsReadOnly() const;
sal_Bool IsReadOnly() const;
void SetAutoScroll( sal_Bool bAutoScroll );
sal_Bool IsAutoScroll() const;
sal_Bool IsAutoScroll() const;
sal_Bool SetCursorAtPoint( const Point& rPointPixel );
sal_Bool IsSelectionAtPoint( const Point& rPointPixel );
sal_Bool SetCursorAtPoint( const Point& rPointPixel );
sal_Bool IsSelectionAtPoint( const Point& rPointPixel );
void SetPaintSelection( sal_Bool bPaint);
......
......@@ -78,28 +78,28 @@ struct ImpSdrPathDragData : public SdrDragStatUserData
XPolygon aXP; // section of the original polygon
bool bValid; // FALSE = too few points
bool bClosed; // closed object?
sal_uInt16 nPoly; // number of the polygon in the PolyPolygon
sal_uInt16 nPnt; // number of point in the above polygon
sal_uInt16 nPntAnz; // number of points of the polygon
sal_uInt16 nPntMax; // maximum index
sal_uInt16 nPoly; // number of the polygon in the PolyPolygon
sal_uInt16 nPnt; // number of point in the above polygon
sal_uInt16 nPntAnz; // number of points of the polygon
sal_uInt16 nPntMax; // maximum index
bool bBegPnt; // dragged point is first point of a Polyline
bool bEndPnt; // dragged point is finishing point of a Polyline
sal_uInt16 nPrevPnt; // index of previous point
sal_uInt16 nNextPnt; // index of next point
sal_uInt16 nPrevPnt; // index of previous point
sal_uInt16 nNextPnt; // index of next point
bool bPrevIsBegPnt; // previous point is first point of a Polyline
bool bNextIsEndPnt; // next point is first point of a Polyline
sal_uInt16 nPrevPrevPnt; // index of point before previous point
sal_uInt16 nNextNextPnt; // index of point after next point
sal_uInt16 nPrevPrevPnt; // index of point before previous point
sal_uInt16 nNextNextPnt; // index of point after next point
bool bControl; // point is a control point
bool bIsPrevControl; // point is a control point before a support point
bool bIsNextControl; // point is a control point after a support point
bool bPrevIsControl; // if nPnt is a support point: a control point comes before
bool bNextIsControl; // if nPnt is a support point: a control point comes after
sal_uInt16 nPrevPrevPnt0;
sal_uInt16 nPrevPnt0;
sal_uInt16 nPnt0;
sal_uInt16 nNextPnt0;
sal_uInt16 nNextNextPnt0;
sal_uInt16 nPrevPrevPnt0;
sal_uInt16 nPrevPnt0;
sal_uInt16 nPnt0;
sal_uInt16 nNextPnt0;
sal_uInt16 nNextNextPnt0;
bool bEliminate; // delete point? (is set by MovDrag)
bool mbMultiPointDrag;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment