#include "layout.h"
#include "lyxfunc.h"
+using std::ostream;
using std::endl;
extern BufferView * current_view;
}
+bool InsetInclude::display() const
+{
+ return !isInput();
+}
+
+
string InsetInclude::getScreenLabel() const
{
string temp;
}
+void InsetInclude::setContents(string const & c)
+{
+ InsetCommand::setContents(c);
+ filename = MakeAbsPath(contents,
+ OnlyPath(getMasterFilename()));
+}
+
+
bool InsetInclude::loadIfNeeded() const
{
if (isNoLoad() || isVerb()) return false;
int InsetInclude::Latex(ostream & os,
- signed char /*fragile*/, bool /*fs*/) const
+ bool /*fragile*/, bool /*fs*/) const
{
// Do nothing if no file name has been specified
if (contents.empty())