X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fbufferview_funcs.h;h=0d27e4650ac9958e7be378c439f3f9f544ed53a5;hb=b99a5acc7f18c3f885856fa962c0f0a63a0ca5ad;hp=e27fa0f66fbed217e94a3f2520318aea2d749ff3;hpb=35cf7dcb2bdfdcda465b69c58465f657c77fd9d7;p=lyx.git diff --git a/src/bufferview_funcs.h b/src/bufferview_funcs.h index e27fa0f66f..0d27e4650a 100644 --- a/src/bufferview_funcs.h +++ b/src/bufferview_funcs.h @@ -1,4 +1,14 @@ // -*- 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 @@ -6,55 +16,37 @@ 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(); -/// -extern void Table(); -/// -extern void Lang(BufferView *, string const &); -#ifndef NEW_INSETS -/// -extern void Melt(BufferView *); -#endif +extern void emph(BufferView *); /// -extern void Tex(BufferView *); +extern void bold(BufferView *); /// -extern void changeDepth(BufferView *, int); +extern void noun(BufferView *); /// -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