X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FBufferParams.h;h=a3836a80c21695284d2fe4d793cf69fff4309438;hb=11e679f73ecca718c61307973c3d67739354e1c7;hp=9c558a6f5e2afaa58d15ada0b3fcf79886eaeb45;hpb=7bdc34a98700f487a923ea2b3546f476b9d5d98c;p=lyx.git diff --git a/src/BufferParams.h b/src/BufferParams.h index 9c558a6f5e..a3836a80c2 100644 --- a/src/BufferParams.h +++ b/src/BufferParams.h @@ -120,7 +120,7 @@ public: /// Set the LyX layout file this document is using. /// NOTE: This does not call makeDocumentClass() to update the local /// DocumentClass. That needs to be done manually. - /// \param filename the name of the layout file + /// \param classname: the name of the layout file bool setBaseClass(std::string const & classname); /// Adds the module information to the baseClass information to /// create our local DocumentClass. @@ -128,7 +128,7 @@ public: /// on to class BufferView::updateDocumentClass(). The exception, of course, /// is in GuiDocument, where we use a BufferParams simply to hold a copy of /// the parameters from the active Buffer. - void makeDocumentClass(); + void makeDocumentClass(bool const clone = false); /// Returns the DocumentClass currently in use: the BaseClass as modified /// by modules. DocumentClass const & documentClass() const; @@ -180,7 +180,7 @@ public: std::string getDefaultOutputFormat() const; /// return the output flavor of \p format or the default OutputParams::FLAVOR getOutputFlavor( - std::string const format = std::string()) const; + std::string const & format = std::string()) const; /// bool isExportable(std::string const & format) const; /// @@ -207,7 +207,7 @@ public: Font const getFont() const; /// translate quote style string to enum value - InsetQuotes::QuoteLanguage getQuoteStyle(std::string const qs) const; + InsetQuotes::QuoteLanguage getQuoteStyle(std::string const & qs) const; /* these are for the PaperLayout */ /// the papersize @@ -369,12 +369,12 @@ public: /// Split the index? bool use_indices; /// revision tracking for this buffer ? - bool trackChanges; + bool track_changes; /** This param decides whether change tracking marks should be used * in output (irrespective of how these marks are actually defined; * for instance, they may differ for DVI and PDF generation) */ - bool outputChanges; + bool output_changes; /// bool compressed; @@ -465,6 +465,8 @@ public: /// double html_math_img_scale; /// + double display_pixel_ratio; + /// std::string html_latex_start; /// std::string html_latex_end;