#include "ColorCode.h"
#include "Text.h"
-#include "insets/InsetLayout.h"
-
namespace lyx {
class CompletionList;
///
void latex(otexstream &, OutputParams const &) const;
///
- int plaintext(odocstream &, OutputParams const &) const;
+ int plaintext(odocstringstream & ods, OutputParams const & op,
+ size_t max_length = INT_MAX) const;
///
int docbook(odocstream &, OutputParams const &) const;
///
///
void validate(LaTeXFeatures & features) const;
- /// return the optional argument(s) only
- void getOptArg(otexstream & os, OutputParams const &) const;
+ /// return the argument(s) only
+ void getArgs(otexstream & os, OutputParams const &, bool const post = false) const;
/// return x,y of given position relative to the inset's baseline
void cursorPos(BufferView const & bv, CursorSlice const & sl,
///
void toString(odocstream &) const;
///
- void forToc(docstring &, size_t) const;
+ void forOutliner(docstring &, size_t) const;
///
- void addToToc(DocIterator const &) const;
+ void addToToc(DocIterator const & di, bool output_active) const;
///
Inset * clone() const { return new InsetText(*this); }
///
docstring getCaptionText(OutputParams const &) const;
///
docstring getCaptionHTML(OutputParams const &) const;
+ ///
+ void iterateForToc(DocIterator const & cdit, bool output_active) const;
private:
///
bool drawFrame_;
///
ColorCode frame_color_;
///
- mutable pit_type old_pit;
- ///
mutable Text text_;
};