B2016-262 & B2016-263: for search results & report, print ‘Equation’ for Document text rather than rtf
Additional functionality for Equation Editor, bring up equation editor tool (from registry setting) on Equation button click B2016-265, print proper size of change bar B2016-261: don’t print extra blank lines for a table/equation/figure after caution/note off many lined step in single column mode
This commit is contained in:
@@ -105,14 +105,15 @@ namespace Volian.Print.Library
|
||||
_MsgAtTop = msgAtTop;
|
||||
Messages = new SortedDictionary<float, vlnChangeBarMessage>();
|
||||
// if there is an RNO separator, add the separator's height in too.
|
||||
Height = parent.Height * MyPageHelper.YMultiplier + (parent.MyItemInfo.IsFigure?SixLinesPerInch:0);
|
||||
float scale = parent.MyItemInfo.IsRtfRaw ? 0.6f : 1; // use scale for equations (B2016-265)
|
||||
Height = (scale * parent.Height) * MyPageHelper.YMultiplier + (parent.MyItemInfo.IsFigure?SixLinesPerInch:0);
|
||||
foreach (vlnPrintObject vpo in parent.PartsBelow)
|
||||
{
|
||||
if (vpo is vlnRNOSeparator)
|
||||
{
|
||||
// see if any of children don't have changebar
|
||||
if ((vpo as vlnRNOSeparator).ExtendChangeBar)
|
||||
_YExtendLine = (vpo.Height + vpo.YOffset - (parent.Height + parent.YOffset)) * MyPageHelper.YMultiplier;
|
||||
_YExtendLine = (vpo.Height + vpo.YOffset - ((scale * parent.Height) + parent.YOffset)) * MyPageHelper.YMultiplier;
|
||||
}
|
||||
}
|
||||
foreach (vlnPrintObject vph in parent.PartsAbove)
|
||||
|
Reference in New Issue
Block a user