]> git.lyx.org Git - lyx.git/blobdiff - src/Format.h
* de/UserGuide: some translation work.
[lyx.git] / src / Format.h
index 3737f4c4526c80580325c3be5a7169a546e6937c..07a9c1b9f9ab612cd91ff6c08c762eb30cef2747 100644 (file)
@@ -34,6 +34,8 @@ public:
                document = 1,
                /// Set if this format can contain vector graphics.
                vector = 2,
+               /// This format should  appear in the File > Export menu
+               export_menu = 4
        };
        ///
        Format(std::string const & n, std::string const & e, std::string const & p,
@@ -76,6 +78,8 @@ public:
        bool vectorFormat() const { return flags_ & vector; }
        ///
        void setFlags(int v) { flags_ = v; }
+       ///
+       bool inExportMenu() const { return flags_ & export_menu; }
 private:
        /// Internal name. Needs to be unique.
        std::string name_;
@@ -143,8 +147,6 @@ public:
        void setViewer(std::string const & name, std::string const & command);
        ///
        void setEditor(std::string const & name, std::string const & command);
-       /// Currently used by hyperlink insets and GuiCitation
-       bool viewURL(docstring const & url);
        /// View the given file. Buffer used for DVI's paper orientation.
        bool view(Buffer const & buffer, support::FileName const & filename,
                  std::string const & format_name) const;