int plaintext(odocstringstream & ods, OutputParams const & op,
size_t max_length = INT_MAX) const;
///
- int docbook(odocstream &, OutputParams const &) const;
- ///
docstring xhtml(XMLStream &, OutputParams const &) const;
///
enum XHTMLOptions {
docstring insetAsXHTML(XMLStream &, OutputParams const &,
XHTMLOptions) const;
///
+ void docbook(XMLStream &, OutputParams const &, XHTMLOptions opts) const;
+ ///
+ void docbook(XMLStream &, OutputParams const &) const;
+ ///
void validate(LaTeXFeatures & features) const;
/// return the argument(s) only
///
virtual bool allowMultiPar() const { return getLayout().isMultiPar(); }
///
+ bool isInTitle() const { return intitle_context_; }
+ ///
/// should paragraphs be forced to use the empty layout?
virtual bool forcePlainLayout(idx_type = 0) const
{ return getLayout().forcePlainLayout(); }
///
void completionPosAndDim(Cursor const &, int & x, int & y, Dimension & dim) const;
/// returns the text to be used as tooltip
- /// \param prefix: a string that will preced the tooltip,
+ /// \param prefix: a string that will precede the tooltip,
/// e.g., "Index: ".
/// \param len: length of the resulting string
/// NOTE This routine is kind of slow. It's fine to use it within the
/// true if the inset contains change
mutable bool is_changed_;
///
+ bool intitle_context_;
+ ///
ColorCode frame_color_;
///
Text text_;