X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Foutput_latex.h;h=fdbc38febb327ab4ea28ac822de3b2f3fd6c3930;hb=f58d7dfe7b86ebaca38301747643c4fb460365fe;hp=89f8ac6a383aeb5614addd41d1fe0149c81a4653;hpb=37f41fd4b56c54764014c93c003be555f3fd6421;p=lyx.git diff --git a/src/output_latex.h b/src/output_latex.h index 89f8ac6a38..fdbc38febb 100644 --- a/src/output_latex.h +++ b/src/output_latex.h @@ -16,8 +16,6 @@ #include "support/docstream.h" #include "Layout.h" -#include "Paragraph.h" -#include "ParIterator.h" #include "ParagraphList.h" @@ -29,9 +27,17 @@ class Encoding; class Layout; class Paragraph; class OutputParams; -class TexRow; class Text; +/** Register a language switch when using polyglossia. + Set \p localswitch to true if the \text command is used. + */ +void pushPolyglossiaLang(std::string const & lang, bool localswitch = false); + +/** Unregister the last language switch when using polyglossia. + */ +void popPolyglossiaLang(); + /** Export optional and required arguments of the paragraph \p par. Non-existing required arguments are output empty: {}. */