X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FBufferParams.h;h=4e176c945e7dddd0b031c2f9c971f0218dcec37c;hb=747afa36cdf89fd5d0451ba2555fdb96e7c6a69d;hp=cf3c26696f508035f62bb958a7c4255fe4184d04;hpb=dcf06fdb22bf39637aa7e11e59ca281d921fcbc7;p=lyx.git diff --git a/src/BufferParams.h b/src/BufferParams.h index cf3c26696f..4e176c945e 100644 --- a/src/BufferParams.h +++ b/src/BufferParams.h @@ -184,8 +184,6 @@ public: /// returns \c true if the buffer contains a LaTeX document bool isLatex() const; - /// returns \c true if the buffer contains a DocBook document - bool isDocBook() const; /// returns \c true if the buffer contains a Wed document bool isLiterate() const; @@ -214,7 +212,12 @@ public: void clearIncludedChildren() { included_children_.clear(); } /// update aux files of unincluded children (with \includeonly) - bool maintain_unincluded_children; + enum ChildrenMaintenance { + CM_None, + CM_Mostly, + CM_Strict + }; + ChildrenMaintenance maintain_unincluded_children; /// returns the main font for the buffer (document) Font const getFont() const; @@ -434,7 +437,11 @@ public: */ bool output_changes; /// + bool change_bars; + /// bool compressed; + /// + bool postpone_fragile_content; /// the author list for the document AuthorList & authors(); @@ -466,7 +473,8 @@ public: XDVI }; /// - std::string paperSizeName(PapersizePurpose purpose) const; + std::string paperSizeName(PapersizePurpose purpose, + std::string const & psize = std::string()) const; /// set up if and how babel is called std::string babelCall(std::string const & lang_opts, bool const langoptions) const; /// return supported drivers for specific packages