-int getEndLabel(Paragraph * para, BufferParams const & bparams);
-#endif
-
-Paragraph * TeXDeeper(Buffer const * buf,
- BufferParams const & bparams,
- Paragraph * pit,
- std::ostream & os, TexRow & texrow);
-
-Paragraph * TeXEnvironment(Buffer const * buf,
- BufferParams const & bparams,
- Paragraph * pit,
- std::ostream & os, TexRow & texrow);
-
-Paragraph * TeXOnePar(Buffer const * buf,
- BufferParams const & bparams,
- Paragraph * pit,
- std::ostream & os, TexRow & texrow,
- bool moving_arg);
+int getEndLabel(pit_type par, ParagraphList const & plist);
+
+LyXFont const outerFont(pit_type par_offset, ParagraphList const & pars);
+
+/// return the number of InsetOptArg in a paragraph
+int numberOfOptArgs(Paragraph const & par);
+
+
+} // namespace lyx