///
docstring insetAsXHTML(XHTMLStream &, OutputParams const &,
XHTMLOptions) const;
- // FIXME XHTMLStream to be removed
- docstring xhtml(odocstream &, OutputParams const &) const
- { return docstring (); }
///
void validate(LaTeXFeatures & features) const;
///
void setFrameColor(ColorCode);
///
- bool showInsetDialog(BufferView *) const;
- ///
Text * getText(int i) const {
return (i == 0) ? const_cast<Text*>(&text_) : 0;
}
ParagraphList const & paragraphs() const;
///
bool insetAllowed(InsetCode) const { return !getLayout().isPassThru(); }
- /// Allow spellchecking, except for insets with latex_language
- bool allowSpellCheck() const { return !getLayout().isPassThru(); }
+ ///
+ bool allowSpellCheck() const { return getLayout().spellcheck() && !getLayout().isPassThru(); }
///
virtual bool isMacroScope() const { return false; }
///
{ return getLayout().allowParagraphCustomization(); }
/// Update the counters of this inset and of its contents
- virtual void updateLabels(ParIterator const &, bool);
+ virtual void updateBuffer(ParIterator const &, UpdateType);
/// the string that is passed to the TOC
void tocString(odocstream &) const;
///
///
docstring getCaptionHTML(OutputParams const &) const;
private:
- ///
- void initParagraphs(UsePlain type);
- ///
- void setParagraphOwner();
///
bool drawFrame_;
///