class TeXErrors;
class LaTeXFeatures;
class Language;
+class ParIterator;
+
+// When lyx 1.3.x starts we should enable this
+// btw. we should also test this with 1.2 so that we
+// do not get any surprises. (Lgb)
+//#define NO_COMPABILITY 1
///
struct DEPCLEAN {
string const & token, int & pos,
Paragraph::depth_type & depth,
LyXFont &);
+ ///
+ void insertStringAsLines(Paragraph *&, Paragraph::size_type &,
+ LyXFont const &, string const &) const;
+#ifndef NO_COMPABILITY
+ ///
+ void insertErtContents(Paragraph * par, int & pos,
+ LyXFont const & font,
+ bool set_inactive = true);
+#endif
+ ///
+ Paragraph * getParFromID(int id) const;
private:
/// Parse a single inset.
void readInset(LyXLex &, Paragraph *& par, int & pos, LyXFont &);
TexRow texrow;
private:
///
- void docBookHandleCaption(std::ostream & os, string & inner_tag,
+ void docbookHandleCaption(std::ostream & os, string & inner_tag,
Paragraph::depth_type depth, int desc_on,
Paragraph * & par);
/// Open SGML/XML tag.
inset_iterator inset_iterator_end() {
return inset_iterator();
}
+ ///
+ inset_iterator inset_const_iterator_begin() const {
+ return inset_iterator(paragraph);
+ }
+ ///
+ inset_iterator inset_const_iterator_end() const {
+ return inset_iterator();
+ }
+
+ ///
+ ParIterator par_iterator_begin();
+ ///
+ ParIterator par_iterator_end();
+
+ ///
+ Inset * getInsetFromID(int id_arg) const;
};
Buffer::inset_iterator const & iter2) {
return !(iter1 == iter2);
}
+
#endif