]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetRef.h
InsetTabular.cpp: fix #6585 also for wrapped floats - thanks Vincent
[lyx.git] / src / insets / InsetRef.h
index 40ee1ef25639c3e78d6b10b7c17ba6362918a931..5d2483fe0f3d76251f488db6d81eba1835e15776 100644 (file)
@@ -17,7 +17,6 @@
 
 namespace lyx {
 
-
 /// The reference inset
 class InsetRef : public InsetCommand {
 public:
@@ -67,6 +66,8 @@ 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
@@ -96,11 +97,13 @@ private:
        ///
        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_;
        ///