// -*- C++ -*-
/* This file is part of
* ======================================================
- *
+ *
* LyX, The Document Processor
*
* Copyright 1995-2001 The LyX Team.
#ifndef INSETTABULAR_H
#define INSETTABULAR_H
-#include <sigc++/signal_system.h>
-#include <boost/smart_ptr.hpp>
-
#ifdef __GNUG__
#pragma interface
#endif
#include "lyxcursor.h"
#include "FuncStatus.h"
+#include <boost/scoped_ptr.hpp>
+
+#include <sigc++/signal_system.h>
+
class LyXLex;
class Painter;
class BufferView;
///
bool updateInsetInInset(BufferView *, Inset *);
///
- unsigned int insetInInsetY();
+ int insetInInsetY() const;
///
UpdatableInset * getLockingInset() const;
///
int getActCell() const { return actcell; }
///
void setFont(BufferView *, LyXFont const &, bool toggleall = false,
- bool selectall = false);
+ bool selectall = false);
///
int getMaxWidth(BufferView *, UpdatableInset const *) const;
///
void toggleSelection(BufferView *, bool kill_selection);
///
bool searchForward(BufferView *, string const &,
- bool = true, bool = false);
+ bool = true, bool = false);
bool searchBackward(BufferView *, string const &,
- bool = true, bool = false);
+ bool = true, bool = false);
// this should return true if we have a "normal" cell, otherwise true.
// "normal" means without width set!
bool forceDefaultParagraphs(Inset const * in) const;
-
+
//
// Public structures and variables
///
string selectNextWordInt(BufferView *, float & value) const;
///
bool insertAsciiString(BufferView *, string const & buf, bool usePaste);
-
+
//
// Private structures and variables
///