namespace lyx {
-
/// The reference inset
class InsetRef : public InsetCommand {
public:
void updateBuffer(ParIterator const & it, UpdateType);
///
void addToToc(DocIterator const &);
+ ///
+ bool forceLTR() const { return true; }
//@}
/// \name Static public methods obligated for InsetCommand derived classes
///
Inset * clone() const { return new InsetRef(*this); }
//@}
+
+ /// \return the label with things that need to be escaped escaped
+ docstring getEscapedLabel(OutputParams const &) const;
+ /// \return the command for a formatted reference to ref
+ /// \param label gets what follows the prefix, for refstyle
+ docstring getFormattedCmd(docstring const & ref, docstring & label) const;
- ///
- bool isLatex;
- /// Force inset into LTR environment if surroundings are RTL
- bool forceLTR() const { return true; }
///
mutable docstring screen_label_;
///