+ void clearRemovedModules() { removed_modules_.clear(); }
+ /// Get the local layouts
+ docstring getLocalLayout(bool forced) const;
+ /// Set the local layouts
+ void setLocalLayout(docstring const & layout, bool forced);
+
+ /// 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;
+
+ /// return the format of the buffer on a string
+ std::string bufferFormat() const;
+ /// return the default output format of the current backend
+ std::string getDefaultOutputFormat() const;
+ /// return the output flavor of \p format or the default
+ OutputParams::FLAVOR getOutputFlavor(
+ std::string const & format = std::string()) const;
+ ///
+ bool isExportable(std::string const & format, bool need_viewable) const;
+ ///
+ std::vector<const Format *> const & exportableFormats(bool only_viewable) const;
+ /// the backends appropriate for use with this document.
+ /// so, e.g., latex is excluded , if we're using non-TeX fonts
+ std::vector<std::string> backends() const;
+
+ /// List of included children (for includeonly)
+ std::list<std::string> const & getIncludedChildren() const
+ { return included_children_; }
+ ///
+ void addIncludedChildren(std::string const & child)
+ { included_children_.push_back(child); }
+ /// Clear the list of included children
+ void clearIncludedChildren() { included_children_.clear(); }
+
+ /// update aux files of unincluded children (with \includeonly)
+ bool maintain_unincluded_children;