// parameters to set options in the
// minipage inset.
InsetMinipage::Position imp = static_cast<InsetMinipage::Position>(minipar->params.pextraAlignment());
+ string pextraWidth = minipar->params.pextraWidth();
+ string pextraWidthp = minipar->params.pextraWidthp();
+ bool pextraHfill = minipar->params.pextraHfill();
LyXParagraph * tmp = minipar;
while (tmp) {
tmp->params.pextraType(0);
InsetMinipage * mini = new InsetMinipage;
mini->pos(imp);
+ mini->width(pextraWidth);
+ mini->widthp(pextraWidthp);
mini->inset->par = minipar;
// Insert the minipage last in the
// previous paragraph.
par->previous()->InsertInset(par->previous()->size(), mini);
+#warning insert a hfill-character here if pextraHfill == true
minipar = par;
} else {
lyxerr << "new minipage par" << endl;
// do want to use some of these parameters
// to set options in the minipage inset.
InsetMinipage::Position imp = static_cast<InsetMinipage::Position>(minipar->params.pextraAlignment());
+ string pextraWidth = minipar->params.pextraWidth();
+ string pextraWidthp = minipar->params.pextraWidthp();
+ bool pextraHfill = minipar->params.pextraHfill();
LyXParagraph * tmp = minipar;
while (tmp) {
tmp->params.pextraType(0);
InsetMinipage * mini = new InsetMinipage;
mini->pos(imp);
+ mini->width(pextraWidth);
+ mini->widthp(pextraWidthp);
mini->inset->par = minipar;
par->previous()->InsertInset(par->previous()->size(), mini);
+#warning insert a hfill-character here if pextraHfill == true
minipar = 0;
} else if (par->params.pextraType() == LyXParagraph::PEXTRA_MINIPAGE) {