int docbook(odocstream &, OutputParams const &) const;
///
docstring xhtml(XHTMLStream &, OutputParams const &) const;
- // FIXME XHTMLStream to be removed
- docstring xhtml(odocstream &, OutputParams const &) const
- { return docstring (); }
+ ///
+ enum XHTMLOptions {
+ JustText = 0,
+ WriteOuterTag = 1,
+ WriteLabel = 2,
+ WriteInnerTag = 4,
+ WriteEverything = 7
+ };
+ ///
+ docstring insetAsXHTML(XHTMLStream &, OutputParams const &,
+ XHTMLOptions) const;
///
void validate(LaTeXFeatures & features) const;
void appendParagraphs(ParagraphList &);
///
- void addPreview(graphics::PreviewLoader &) const;
+ void addPreview(DocIterator const &, graphics::PreviewLoader &) const;
///
void edit(Cursor & cur, bool front, EntryDirection entry_from);
{ return getLayout().allowParagraphCustomization(); }
/// Update the counters of this inset and of its contents
- virtual void updateLabels(ParIterator const &);
+ virtual void updateLabels(ParIterator const &, bool);
/// 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_;
///
mutable Text text_;
};
+
+InsetText::XHTMLOptions operator|(InsetText::XHTMLOptions a1, InsetText::XHTMLOptions a2);
+
} // namespace lyx
#endif