: cacheHandle(0), imageLoaded(false)
{}
+
InsetGraphics::~InsetGraphics()
{
// Emits the hide signal to the dialog connected (if any)
hideDialog();
}
+
char const *
InsetGraphics::statusMessage() const
{
return msg;
}
+
int InsetGraphics::ascent(BufferView *, LyXFont const &) const
{
LyXImage * pixmap = 0;
}
}
+
void InsetGraphics::draw(BufferView * bv, LyXFont const & font,
int baseline, float & x, bool) const
{
}
-
string const
InsetGraphics::prepareFile(Buffer const *buf) const
{
return outfile;
}
+
int InsetGraphics::Latex(Buffer const *buf, ostream & os,
bool /*fragile*/, bool/*fs*/) const
{
return 0;
}
+
// For explanation on inserting graphics into DocBook checkout:
// http://linuxdoc.org/LDP/LDP-Author-Guide/inserting-pictures.html
// See also the docbook guide at http://www.docbook.org/
features.subfigure = true;
}
+
// Update the inset after parameters changed (read from file or changed in
// dialog.
void InsetGraphics::updateInset() const
cacheHandle = temp;
}
+
bool InsetGraphics::setParams(InsetGraphicsParams const & params)
{
// If nothing is changed, just return and say so.
return true;
}
+
InsetGraphicsParams InsetGraphics::getParams() const
{
return params;
}
+
Inset * InsetGraphics::Clone(Buffer const &) const
{
+#warning use the copy constructor instead. (Lgb)
InsetGraphics * newInset = new InsetGraphics;
newInset->cacheHandle = cacheHandle;