};
/// Special handling on output
enum ParamHandling {
- HANDLING_NONE, /// no special handling
- HANDLING_ESCAPE, /// escape special characters
- HANDLING_LATEXIFY /// transform special characters to LaTeX macros
+ HANDLING_NONE = 1, /// no special handling
+ HANDLING_ESCAPE = 2, /// escape special characters
+ HANDLING_LATEXIFY = 4, /// transform special characters to LaTeX macros
+ HANDLING_LTRIM = 8, /// trim blanks on the left
+ HANDLING_INDEX_ESCAPE = 16, /// escape makeindex special chars
};
///
class ParamData {
docstring const & defaultValue() const { return default_value_; }
///
bool operator==(ParamData const &) const;
- ///
+ ///
bool operator!=(ParamData const & rhs) const
{ return !(*this == rhs); }
private:
///
const_iterator const end() const { return info_.end(); }
/// \return true if name corresponds to a parameter of some sort.
- /// \return false if the parameter does not exist at all of it it
+ /// \return false if the parameter does not exist at all of it it
bool hasParam(std::string const & name) const;
///
ParamData const & operator[](std::string const & name) const;
/// are cleared except those that exist also in the new command.
/// What matters here is the parameter name, not position.
void setCmdName(std::string const & n);
- /// FIXME Would be better removed, but is used in BufferView.cpp in
+ /// FIXME Would be better removed, but is used in BufferView.cpp in
/// ways that make removal hard.
docstring getFirstNonOptParam() const;
/// get parameter \p name
void clear();
///
static bool isCompatibleCommand(InsetCode code, std::string const & s);
- ///
+ ///
ParamInfo const & info() const { return info_; }
///
docstring prepareCommand(OutputParams const & runparams,