X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fcontrollers%2FControlExternal.h;h=f1db7bd9588a87c8f327fa9084d6c7eb8045bf87;hb=8c374dcefb84080c388715fcd7626df2ef940bdd;hp=48c3386b22def2c5d654f34383801d39e43f2a23;hpb=1e8ce6117746cf80d0e495c797c12092d641f9f0;p=lyx.git diff --git a/src/frontends/controllers/ControlExternal.h b/src/frontends/controllers/ControlExternal.h index 48c3386b22..f1db7bd958 100644 --- a/src/frontends/controllers/ControlExternal.h +++ b/src/frontends/controllers/ControlExternal.h @@ -16,6 +16,8 @@ #include "Dialog.h" +#include "support/types.h" + #include #include @@ -28,6 +30,7 @@ namespace lyx { namespace external { class Template; +class RotationDataType; } // namespace external } // namespace lyx @@ -61,9 +64,26 @@ public: lyx::external::Template getTemplate(int) const; /// std::string const Browse(std::string const &) const; + + /// Read the Bounding Box from a eps or ps-file + std::string const readBB(std::string const & file); + /// + void bbChanged(bool val) { bb_changed_ = val; } + bool bbChanged() const { return bb_changed_; } private: /// boost::scoped_ptr params_; + bool bb_changed_; }; + +namespace lyx { +namespace external { + +std::vector const & all_origins(); +std::string const origin_gui_str(lyx::size_type i); + +} // namespace external +} // namespace lyx + #endif // CONTROLEXTERNAL_H