+2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
+
+ * ExternalSupport.C:
+ * ExternalTransforms.C:
+ * insetbox.C:
+ * insetbox.h: ws changes only
+
2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
* insetinclude.C (localDispatch): do not call
support::MakeAbsPath(params.filename.mangledFilename(),
buffer.temppath());
}
-
+
string str = doSubstitution(params, buffer, cit->second.product,
from_file);
str = substituteCommands(params, str, format);
}
output += what.str(1) + ",";
it = what[3].first;
- }
+ }
// Strip any trailing commas
// "...foo,,,]" -> "...foo"
break;
}
}
-
+
int i = 0;
os << "%\n";
// Adapt to column/text width correctly also if paragraphs indented:
if (stdwidth)
os << "\\noindent";
-
+
switch (btype) {
case Frameless:
break;
if (params_.hor_pos != 'c')
os << "[" << params_.hor_pos << "]";
}
-
+
os << "{";
break;
case ovalbox:
else
os << "%\n\\end{minipage}";
}
-
+
switch (btype) {
case Frameless:
break;
case Shadowbox:
os << "}";
break;
- }
+ }
os << "%\n";
-
+
i += 3;
return i;
}
string token;
if (!lex.isOK())
- return;
+ return;
lex.next();
token = lex.getString();
if (token == "position") {
lex.pushToken(token);
}
if (!lex.isOK())
- return;
+ return;
lex.next();
token = lex.getString();
if (token == "hor_pos") {
lex.pushToken(token);
}
if (!lex.isOK())
- return;
+ return;
lex.next();
token = lex.getString();
if (token == "has_inner_box") {
}
if (!lex.isOK())
- return;
+ return;
lex.next();
token = lex.getString();
if (token == "inner_pos") {
lex.pushToken(token);
}
if (!lex.isOK())
- return;
+ return;
lex.next();
token = lex.getString();
if (token == "use_parbox") {
lex.pushToken(token);
}
if (!lex.isOK())
- return;
+ return;
lex.next();
token = lex.getString();
if (token == "width") {
lex.pushToken(token);
}
if (!lex.isOK())
- return;
+ return;
lex.next();
token = lex.getString();
if (token == "special") {
lex.pushToken(token);
}
if (!lex.isOK())
- return;
+ return;
lex.next();
token = lex.getString();
if (token == "height") {
lex.pushToken(token);
}
if (!lex.isOK())
- return;
+ return;
lex.next();
token = lex.getString();
if (token == "height_special") {
struct InsetBoxParams {
///
InsetBoxParams(std::string const &);
- ///
+ ///
void write(std::ostream & os) const;
///
void read(LyXLex & lex);
void validate(LaTeXFeatures &) const;
///
InsetBoxParams const & params() const { return params_; }
- ///
+ ///
enum BoxType {
Frameless,
Boxed,