]> git.lyx.org Git - lyx.git/blobdiff - src/Font.h
Fix #10328.
[lyx.git] / src / Font.h
index b845666d143e0666fa91696212be306acadeff60..f623a48c754d5c80063ae92dbed2f9930b35a2e0 100644 (file)
@@ -33,7 +33,7 @@ class Font {
 
 public:
        ///
-       explicit Font(FontInfo = sane_font, Language const * l = 0);
+       explicit Font(FontInfo = sane_font, Language const * l = nullptr);
 
        ///
        FontInfo & fontInfo() { return bits_; }
@@ -72,10 +72,11 @@ public:
            to this font. Returns number of chars written. Base is the
            font state active now.
        */
-       int latexWriteStartChanges(odocstream &, BufferParams const & bparams,
+       int latexWriteStartChanges(otexstream &, BufferParams const & bparams,
                                   OutputParams const & runparams,
                                   Font const & base,
-                                  Font const & prev) const;
+                                  Font const & prev,
+                                  bool const & non_inherit_inset = false) const;
 
        /** Writes the tail of the LaTeX needed to change to this font.
            Returns number of chars written. Base is the font state we want
@@ -86,11 +87,12 @@ public:
                                 Font const & base,
                                 Font const & next,
                                 bool & needPar,
-                                bool const & closeLanguage = true) const;
+                                bool const & closeLanguage = true,
+                                bool const & non_inherit_inset = false) const;
 
 
        /// Build GUI description of font state
-       docstring const stateText(BufferParams * params = 0, bool const terse = false) const;
+       docstring const stateText(BufferParams * params = nullptr, bool const terse = false) const;
 
        ///
        void validate(LaTeXFeatures & features) const;