#include "Inset.h"
-#include "InsetCollapsable.h"
+#include "InsetCollapsible.h"
namespace lyx {
/////////////////////////////////////////////////////////////////////////
/// Used to insert IPA decorations
-class InsetIPADeco : public InsetCollapsable
+class InsetIPADeco : public InsetCollapsible
{
public:
///
int plaintext(odocstringstream & ods, OutputParams const & op,
size_t max_length = INT_MAX) const;
///
- int docbook(odocstream &, OutputParams const &) const;
+ void docbook(XMLStream &, OutputParams const &) const;
///
- docstring xhtml(XHTMLStream &, OutputParams const &) const;
+ docstring xhtml(XMLStream &, OutputParams const &) const;
///
bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const;
///
};
///
- InsetIPAChar() : Inset(0) {}
+ InsetIPAChar() : Inset(0), kind_(TONE_FALLING) {}
///
explicit InsetIPAChar(Kind k);
///
int plaintext(odocstringstream & ods, OutputParams const & op,
size_t max_length = INT_MAX) const;
///
- int docbook(odocstream &, OutputParams const &) const;
+ void docbook(XMLStream &, OutputParams const &) const;
///
- docstring xhtml(XHTMLStream &, OutputParams const &) const;
+ docstring xhtml(XMLStream &, OutputParams const &) const;
///
void toString(odocstream &) const;
///
- void forToc(docstring &, size_t) const;
+ void forOutliner(docstring &, size_t const, bool const) const;
///
InsetCode lyxCode() const { return IPACHAR_CODE; }
/// We don't need \begin_inset and \end_inset
/// should this inset be handled like a normal character?
bool isChar() const { return true; }
/// is this equivalent to a letter?
- bool isLetter() const;
- /// should we break lines after this inset?
- bool isLineSeparator() const;
+ bool isLetter() const { return true; }
private:
- Inset * clone() const { return new InsetIPAChar(*this); };
+ Inset * clone() const { return new InsetIPAChar(*this); }
/// And which kind is this?
Kind kind_;