InsetCode lyxCode() const { return SCRIPT_CODE; }
///
docstring layoutName() const;
+
+ ///
+ int topOffset(BufferView const *) const { return 0; }
+ ///
+ int bottomOffset(BufferView const *) const { return 0; }
///
- DisplayType display() const;
+ int leftOffset(BufferView const *) const { return 0; }
+ ///
+ int rightOffset(BufferView const *) const { return 0; }
+
///
void metrics(MetricsInfo &, Dimension &) const;
///
///
bool neverIndent() const { return true; }
///
+ bool inheritFont() const { return true; }
+ ///
int plaintext(odocstringstream & ods, OutputParams const & op,
size_t max_length = INT_MAX) const;
///
- int docbook(odocstream &, OutputParams const &) const;
+ void docbook(XMLStream &, OutputParams const &) const;
///
void edit(Cursor & cur, bool front,
EntryDirection entry_from = ENTRY_DIRECTION_IGNORE);
friend class InsetScriptParams;
///
InsetScriptParams params_;
+ /// The font of containing inset; this is necessary to compute shift
+ mutable FontInfo outer_font_;
};