+
+ /// writes \\, name(), and args in braces and '\\lyxlock' if necessary
+ void write(WriteStream & os) const;
+ /// writes [, name(), and args in []
+ void normalize(NormalStream & os) const;
+ ///
+ int latex(Buffer const &, std::ostream & os,
+ OutputParams const & runparams) const;
+
+protected:
+ ///
+ void priv_dispatch(LCursor & cur, FuncRequest & cmd);
+ /// do we want to handle this event?
+ bool getStatus(LCursor & cur, FuncRequest const & cmd,
+ FuncStatus & status) const;
+ ///
+ void handleFont(LCursor & cur,
+ std::string const & arg, std::string const & font);
+ ///
+ void handleFont2(LCursor & cur, std::string const & arg);
+
+ ///
+ bool interpret(LCursor & cur, char c);
+ ///
+ bool script(LCursor & cur, bool);
+
+
+private:
+ /// lfun handler
+ void lfunMousePress(LCursor &, FuncRequest &);
+ ///
+ void lfunMouseRelease(LCursor &, FuncRequest &);
+ ///
+ void lfunMouseMotion(LCursor &, FuncRequest &);