X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fbufferview_funcs.h;h=ad1b174c5d5931deaf9115e3366794f1a301af56;hb=c90c5e6386ce69c34c99b3594d6fa452e6a13161;hp=ada69da5ea9fcc786dd5b2dcf1732fcf01195b9b;hpb=ce363ba1012d517db9fd8a2a688ded914f347e04;p=lyx.git diff --git a/src/bufferview_funcs.h b/src/bufferview_funcs.h index ada69da5ea..ad1b174c5d 100644 --- a/src/bufferview_funcs.h +++ b/src/bufferview_funcs.h @@ -1,22 +1,41 @@ // -*- C++ -*- +/* This file is part of + * ====================================================== + * + * LyX, The Document Processor + * + * Copyright 1995 Matthias Ettrich + * Copyright 1995-2000 The LyX Team. + * + * ====================================================== */ + #ifndef BUFFERVIEW_FUNCS_H #define BUFFERVIEW_FUNCS_H +#ifdef __GNUG__ +#pragma interface +#endif + #include "LString.h" class BufferView; class LyXFont; +class LyXText; +#ifndef NEW_INSETS /// extern void Foot(BufferView *); +#endif /// extern void Emph(BufferView *); /// extern void Bold(BufferView *); /// extern void Noun(BufferView *); +#ifndef NEW_INSETS /// extern void Margin(BufferView *); +#endif /// extern void Figure(); /// @@ -24,13 +43,15 @@ extern void Table(); /// extern void Lang(BufferView *, string const &); /// +extern void Number(BufferView *); +#ifndef NEW_INSETS +/// extern void Melt(BufferView *); +#endif /// extern void Tex(BufferView *); /// -extern void changeDepth(BufferView *, int); -/// -extern void Free(BufferView *); +extern void changeDepth(BufferView *, LyXText *, int); /// extern void ProhibitInput(BufferView *); /// @@ -47,8 +68,8 @@ extern void StyleReset(BufferView *); extern void Underline(BufferView *); /// extern void FontSize(BufferView *, string const &); +/// Returns the current font and depth as a message. +extern string const CurrentState(BufferView *); /// -extern string CurrentState(BufferView *); -/// -extern void ToggleAndShow(BufferView *, LyXFont const &); +extern void ToggleAndShow(BufferView *, LyXFont const &, bool toggleall=true); #endif