+2000-04-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * src/lyxparagraph.h: make strict InsetTable public.
+
+ * src/support/lyxstring.h: change lyxstring::difference_type to be
+ ptrdiff_t. Add std:: modifiers to streams.
+
+ * src/font.C: include the <cctype> header, for islower() and
+ isupper().
+
2000-04-03 Lars Gullik Bjønnes <larsbj@lyx.org>
* src/font.[Ch]: new files. Contains the metric functions for
src/insets/form_url.C
src/insets/insetbib.C
src/insets/inset.C
-src/insets/inseteditor.C
src/insets/inseterror.C
src/insets/insetert.C
src/insets/insetfoot.C
src/sp_form.C
src/support/filetools.C
src/support/getUserName.C
+src/support/path.C
src/support/path.h
src/TableLayout.C
src/text2.C
#include <config.h>
+#include <cctype>
+
#include "font.h"
#include "FontLoader.h"
#include "lyxrc.h"
/** returns the number of rows (\n's) of generated tex code.
fragile != 0 means, that the inset should take care about
fragile commands by adding a \protect before.
- If the freee_spc (freespacing) variable is set, then this inset
+ If the free_spc (freespacing) variable is set, then this inset
is in a free-spacing paragraph.
*/
virtual int Latex(std::ostream &, signed char fragile,
///
void SimpleDocBookOneTablePar(std::ostream &, string & extra,
int & desc_on, int depth);
+ ///
+ struct InsetTable {
+ ///
+ size_type pos;
+ ///
+ Inset * inset;
+ ///
+ InsetTable(size_type p, Inset * i) { pos = p; inset = i;}
+ };
private:
/** A font entry covers a range of positions. Notice that the
entries in the list are inserted in random order.
LyXFont font;
};
///
- struct InsetTable {
- ///
- size_type pos;
- ///
- Inset * inset;
- ///
- InsetTable(size_type p, Inset * i) { pos = p; inset = i;}
- };
- ///
typedef std::list<FontTable> FontList;
///
FontList fontlist;
void swap(lyxstring & s1, lyxstring & s2);
-istream & operator>>(istream &, lyxstring &);
-ostream & operator<<(ostream &, lyxstring const &);
-istream & getline(istream &, lyxstring &, lyxstring::value_type delim = '\n');
+std::istream & operator>>(std::istream &, lyxstring &);
+std::ostream & operator<<(std::ostream &, lyxstring const &);
+std::istream & getline(std::istream &, lyxstring &, lyxstring::value_type delim = '\n');
#endif