lyx_mirror/src/support/counter_reps.h
Richard Kimberly Heck 684d27c0fb New counter manipulation inset.
This inset allows counters to be set, reset, saved, restored, etc,
both in the LyX GUI and in the output; optionally, the effect can be
limited to the GUI. Of course, LaTeX provides means for doing all of
these things, so they could previously be done with ERT, as far as
the output is concerned. But there was no mechanism for manipulating
counters in the GUI and none for other output formats.
2020-04-30 23:09:36 -04:00

34 lines
780 B
C++

// -*- C++ -*-
/**
* \file counter_reps.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author Lars Gullik Bjønnes
* \author Richard Kimberly Heck (roman numerals)
* \author Jean-Marc Lasgouttes
*
* Full author contact details are available in file CREDITS.
*
* A collection of helper functions to convert counters to different
* formats.
*/
#ifndef COUNTER_REPS_H
#define COUNTER_REPS_H
#include "support/strfwd.h"
namespace lyx {
char loweralphaCounter(int const n);
char alphaCounter(int const n);
char hebrewCounter(int const n);
docstring const romanCounter(int const n);
docstring const lowerromanCounter(int const n);
docstring const fnsymbolCounter(int const n);
} // namespace lyx
#endif