]> git.lyx.org Git - lyx.git/blobdiff - src/paragraph_funcs.h
Move #includes out of header files.
[lyx.git] / src / paragraph_funcs.h
index cc8722eb446d3dcf303167d96fb99d358064c99f..7a7c763f0dbc0f640b6ff3751388ed9b65720815 100644 (file)
@@ -6,7 +6,7 @@
  *
  * \author Lars Gullik Bjønnes
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
 #ifndef PARAGRAPH_FUNCS_H
@@ -20,6 +20,7 @@ class BufferParams;
 class TexRow;
 class LatexRunParams;
 class LyXLex;
+class InsetOld;
 
 ///
 void breakParagraph(BufferParams const & bparams,
@@ -61,7 +62,7 @@ int getEndLabel(ParagraphList::iterator pit,
                ParagraphList const & plist);
 
 
-void latexParagraphs(Buffer const * buf,
+void latexParagraphs(Buffer const & buf,
                     ParagraphList const & paragraphs,
                     std::ostream & ofs,
                     TexRow & texrow,
@@ -74,4 +75,11 @@ int readParagraph(Buffer & buf, Paragraph & par, LyXLex & lex);
 LyXFont const outerFont(ParagraphList::iterator pit,
                        ParagraphList const & plist);
 
+/// find outermost paragraph containing an inset
+ParagraphList::iterator outerPar(Buffer const & buf, InsetOld const * inset);
+
+/// find owning paragraph containing an inset
+Paragraph const & ownerPar(Buffer const & buf, InsetOld const * inset);
+
+
 #endif // PARAGRAPH_FUNCS_H