mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-24 18:43:37 +00:00
b9d61343fc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2175 a592a061-630c-0410-9148-cb99ea01b6c8
60 lines
1.2 KiB
C++
60 lines
1.2 KiB
C++
// -*- 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;
|
|
|
|
///
|
|
extern void Emph(BufferView *);
|
|
///
|
|
extern void Bold(BufferView *);
|
|
///
|
|
extern void Noun(BufferView *);
|
|
///
|
|
extern void Figure();
|
|
///
|
|
extern void Table();
|
|
///
|
|
extern void Lang(BufferView *, string const &);
|
|
///
|
|
extern void Number(BufferView *);
|
|
///
|
|
extern void Tex(BufferView *);
|
|
///
|
|
extern void changeDepth(BufferView *, LyXText *, int);
|
|
///
|
|
extern void Code(BufferView *);
|
|
///
|
|
extern void Sans(BufferView *);
|
|
///
|
|
extern void Roman(BufferView *);
|
|
///
|
|
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 void ToggleAndShow(BufferView *, LyXFont const &, bool toggleall=true);
|
|
#endif
|