X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fbufferview_funcs.h;h=01895550fbd8333a236443543f1f7ca3c4b5f747;hb=34d28f9daae536db06d6cf1a9dcf62dc0f5aa432;hp=e27fa0f66fbed217e94a3f2520318aea2d749ff3;hpb=35cf7dcb2bdfdcda465b69c58465f657c77fd9d7;p=lyx.git diff --git a/src/bufferview_funcs.h b/src/bufferview_funcs.h index e27fa0f66f..01895550fb 100644 --- a/src/bufferview_funcs.h +++ b/src/bufferview_funcs.h @@ -1,60 +1,58 @@ // -*- C++ -*- +/* This file is part of + * ====================================================== + * + * LyX, The Document Processor + * + * Copyright 1995 Matthias Ettrich + * Copyright 1995-2001 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 emph(BufferView *); /// -extern void Margin(BufferView *); -#endif -/// -extern void Figure(); -/// -extern void Table(); -/// -extern void Lang(BufferView *, string const &); -#ifndef NEW_INSETS -/// -extern void Melt(BufferView *); -#endif +extern void bold(BufferView *); /// -extern void Tex(BufferView *); +extern void noun(BufferView *); /// -extern void changeDepth(BufferView *, int); +extern void table(); /// -extern void Free(BufferView *); +extern void lang(BufferView *, string const &); /// -extern void ProhibitInput(BufferView *); +extern void number(BufferView *); /// -extern void AllowInput(BufferView *); +extern void tex(BufferView *); /// -extern void Code(BufferView *); +extern void changeDepth(BufferView *, LyXText *, int); /// -extern void Sans(BufferView *); +extern void code(BufferView *); /// -extern void Roman(BufferView *); +extern void sans(BufferView *); /// -extern void StyleReset(BufferView *); +extern void roman(BufferView *); /// -extern void Underline(BufferView *); +extern void styleReset(BufferView *); /// -extern void FontSize(BufferView *, string const &); +extern void underline(BufferView *); /// -extern string CurrentState(BufferView *); +extern void fontSize(BufferView *, string const &); +/// Returns the current font and depth as a message. +extern string const currentState(BufferView *); /// -extern void ToggleAndShow(BufferView *, LyXFont const &); +extern void toggleAndShow(BufferView *, LyXFont const &, + bool toggleall = true); #endif