]> git.lyx.org Git - lyx.git/blobdiff - src/output_latex.h
Typos.
[lyx.git] / src / output_latex.h
index 886306fdd3ba872d07115c20c33d76e2308b78b6..3f22a159d7449a02b04ecfb69a61af1232042eae 100644 (file)
@@ -23,12 +23,12 @@ class Buffer;
 class BufferParams;
 class Encoding;
 class Paragraph;
-class ParagraphList;
 class OutputParams;
 class TexRow;
+class Text;
 
 /// Export up to \p number optarg insets
-int latexOptArgInsets(Buffer const & buf, Paragraph const & par,
+int latexOptArgInsets(Paragraph const & par,
                      odocstream & os, OutputParams const & runparams,
                      int number);
 
@@ -38,17 +38,20 @@ int latexOptArgInsets(Buffer const & buf, Paragraph const & par,
     \sa Buffer::writeLaTeXSource for the reason.
  */
 void latexParagraphs(Buffer const & buf,
-                    ParagraphList const & paragraphs,
+                    Text const & text,
                     odocstream & ofs,
                     TexRow & texrow,
                     OutputParams const &,
                     std::string const & everypar = std::string());
 
-/// Switch the encoding of \p os from runparams.encoding to \p newEnc if needed.
-/// \return (did the encoding change?, number of characters written to \p os)
+/** Switch the encoding of \p os from runparams.encoding to \p newEnc if needed.
+    \p force forces this also within non-default or -auto encodings.
+    \return (did the encoding change?, number of characters written to \p os)
+ */
 std::pair<bool, int> switchEncoding(odocstream & os,
                     BufferParams const & bparams,
-                    OutputParams const &, Encoding const & newEnc);
+                    OutputParams const &, Encoding const & newEnc,
+                    bool force = false);
 
 } // namespace lyx