rotateAngle = "0"; // angle of rotation in degrees
rotateOrigin.erase(); // Origin of rotation
special.erase(); // additional userdefined stuff
+ groupId.clear();
}
rotateAngle = igp.rotateAngle;
rotateOrigin = igp.rotateOrigin;
special = igp.special;
+ groupId = igp.groupId;
}
left.rotateAngle == right.rotateAngle &&
left.rotateOrigin == right.rotateOrigin &&
- left.special == right.special;
+ left.special == right.special &&
+ left.groupId == right.groupId;
}
os << "\trotateOrigin " << rotateOrigin << '\n';
if (!special.empty())
os << "\tspecial " << special << '\n';
+ if (!groupId.empty())
+ os << "\tgroupId "<< groupId << '\n';
}
if (token == "filename") {
lex.eatLine();
filename.set(lex.getString(), bufpath);
- } else if (token == "embed") {
- lex.next();
- string const name = lex.getString();
- filename.setInzipName(name);
- filename.setEmbed(!name.empty());
} else if (token == "lyxscale") {
lex.next();
lyxscale = lex.getInteger();
} else if (token == "special") {
lex.eatLine();
special = lex.getString();
+ } else if (token == "groupId") {
+ lex.eatLine();
+ groupId = lex.getString();
// catch and ignore following two old-format tokens and their arguments.
// e.g. "size_kind scale" clashes with the setting of the
graphics::Params InsetGraphicsParams::as_grfxParams() const
{
graphics::Params pars;
- pars.filename = filename.availableFile();
- pars.icon = filename.embedded() ? "pin.png" : "";
+ pars.filename = filename;
pars.scale = lyxscale;
pars.angle = convert<double>(rotateAngle);