///
InsetGraphics const * asInsetGraphics() const { return this; }
-private:
- ///
- InsetGraphics(InsetGraphics const &);
-
///
bool isLabeled() const { return true; }
- void metrics(MetricsInfo &, Dimension &) const;
///
bool hasSettings() 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;
///
- docstring xhtml(XHTMLStream & os, OutputParams const &) const;
+ docstring xhtml(XMLStream & os, OutputParams const &) const;
/** Tell LyX what the latex features you need i.e. what latex packages
you need to be included.
*/
docstring layoutName() const { return from_ascii("Graphics"); }
/// Get the inset parameters, used by the GUIndependent dialog.
InsetGraphicsParams const & params() const;
+
+ ///
+ int topOffset(BufferView const *) const { return 0; }
+ ///
+ int bottomOffset(BufferView const *) const { return 0; }
+ ///
+ int leftOffset(BufferView const *) const { return 0; }
+ ///
+ int rightOffset(BufferView const *) const { return 0; }
+
+ ///
+ void metrics(MetricsInfo &, Dimension &) const;
///
void draw(PainterInfo & pi, int x, int y) const;
///
std::string createLatexOptions(bool const ps) const;
/// Create length values for docbook export.
docstring toDocbookLength(Length const & len) const;
- /// Create the atributes for docbook export.
+ /// Create the attributes for docbook export.
docstring createDocBookAttributes() const;
/// Convert the file if needed, and return the location of the file.
/// This version is for use with LaTeX-style output.
///
OutputParams::CtObject CtObject(OutputParams const &) const { return OutputParams::CT_OBJECT; }
+private:
+ ///
+ InsetGraphics(InsetGraphics const &);
+
///
InsetGraphicsParams params_;
/// holds the entity name that defines the graphics location (SGML).