B2023-008: Blank lines printed before equation off sub-step in single column mode
This commit is contained in:
parent
69e77a92c1
commit
5bc4eb1eca
@ -4457,11 +4457,13 @@ namespace Volian.Print.Library
|
|||||||
if (MyFlexGrid.BorderStyle == C1.Win.C1FlexGrid.Util.BaseControls.BorderStyleEnum.None && !MyFlexGrid.TopRowHasBorder() && !MyItemInfo.IsCautionOrNotePart)
|
if (MyFlexGrid.BorderStyle == C1.Win.C1FlexGrid.Util.BaseControls.BorderStyleEnum.None && !MyFlexGrid.TopRowHasBorder() && !MyItemInfo.IsCautionOrNotePart)
|
||||||
yoffadj = -SixLinesPerInch;
|
yoffadj = -SixLinesPerInch;
|
||||||
}
|
}
|
||||||
|
// B2023-008: when an equation is off a paragraph sub-step in single column mode, extra lines were added so
|
||||||
|
// when in single column mode & the substep has an equation (rtfraw), then don't reset yoffright to yverybottom
|
||||||
|
bool rtfRawInSingleCol = (itemInfo.ColumnMode == ((int)VEPROMS.CSLA.Library.SectionConfig.SectionColumnMode.One-1)) && (itemInfo.Tables != null && itemInfo.Tables.Count > 0 && itemInfo.Tables[0].IsRtfRaw);
|
||||||
if (yOffRight < yoffRightParent) yOffRight = yoffRightParent;
|
if (yOffRight < yoffRightParent) yOffRight = yoffRightParent;
|
||||||
// find the very bottom Yoffset (don't do this is in single column mode for cautions/notes: B2016-261)
|
// find the very bottom Yoffset (don't do this is in single column mode for cautions/notes: B2016-261)
|
||||||
vlnParagraph parentPar = parent;
|
vlnParagraph parentPar = parent;
|
||||||
if (!((MyItemInfo.IsCaution || MyItemInfo.IsNote) && itemInfo.RNOLevel == 0))
|
if (!rtfRawInSingleCol && (!((MyItemInfo.IsCaution || MyItemInfo.IsNote) && itemInfo.RNOLevel == 0)))
|
||||||
{
|
{
|
||||||
while (parentPar != null && parentPar.MyItemInfo.IsStep)
|
while (parentPar != null && parentPar.MyItemInfo.IsStep)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user