#include "MetricsInfo.h"
#include "OutputParams.h"
#include "output_xhtml.h"
+#include "texstream.h"
#include "Text.h"
#include "support/debug.h"
int const ADD_TO_VSPACE_WIDTH = 5;
-} // namespace anon
+} // namespace
InsetVSpace::InsetVSpace(VSpace const & space)
: "vspace 1" + string(stringFromUnit(Length::defaultUnit()));
InsetVSpace::string2params(arg, vspace);
status.setOnOff(vspace == space_);
- }
+ }
status.setEnabled(true);
return true;
-
+
default:
return Inset::getStatus(cur, cmd, status);
}
dim.asc = height / 2 + (a - d) / 2; // align cursor with the
dim.des = height - dim.asc; // label text
dim.wid = ADD_TO_VSPACE_WIDTH + 2 * vspace_arrow_size + 5 + w;
- // Cache the inset dimension.
- setDimCache(mi, dim);
}