]> git.lyx.org Git - lyx.git/blobdiff - src/output_latex.h
scanLog for checkout svn in VCS.
[lyx.git] / src / output_latex.h
index 9777eab0b4837f1f6dde0d37b1597918959765fc..3f22a159d7449a02b04ecfb69a61af1232042eae 100644 (file)
@@ -28,7 +28,7 @@ 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);
 
@@ -44,11 +44,14 @@ void latexParagraphs(Buffer const & buf,
                     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