Fixed B2015-005: Last bullet had inconsistent line spacing compared to previous bulleted sub-step
This commit is contained in:
parent
1c07d2d503
commit
c3f58a6df7
@ -4136,6 +4136,13 @@ namespace Volian.Print.Library
|
|||||||
if (MyItemInfo.MyParent.NextItem != null && MyItemInfo.MyParent.NextItem.MyContent.Type == MyItemInfo.MyContent.Type) return 0;
|
if (MyItemInfo.MyParent.NextItem != null && MyItemInfo.MyParent.NextItem.MyContent.Type == MyItemInfo.MyContent.Type) return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// B2015-005: if there isn't a blank line after this step && it has children, see if there shouldn't be
|
||||||
|
// a blank line, i.e. if the first substep child's type is the same as this.
|
||||||
|
if (!MyItemInfo.IsHigh && everyNLines == 99 && MyItemInfo.NextItem == null && MyItemInfo.HasChildren)
|
||||||
|
{
|
||||||
|
ItemInfo chld = MyItemInfo.FirstChild(E_FromType.Step);
|
||||||
|
if (chld != null && chld.MyContent.Type == MyItemInfo.MyContent.Type) return 0;
|
||||||
|
}
|
||||||
if (MyItemInfo.Ordinal % everyNLines == 0 || MyItemInfo.NextItem == null) return SixLinesPerInch;
|
if (MyItemInfo.Ordinal % everyNLines == 0 || MyItemInfo.NextItem == null) return SixLinesPerInch;
|
||||||
// Pagination issue to be used with yEndsWithBlankLine in Pagination code, but not checked in yet.
|
// Pagination issue to be used with yEndsWithBlankLine in Pagination code, but not checked in yet.
|
||||||
//if (MyItemInfo.Ordinal % everyNLines == 0 || MyItemInfo.NextItem == null) return SixLinesPerInch;
|
//if (MyItemInfo.Ordinal % everyNLines == 0 || MyItemInfo.NextItem == null) return SixLinesPerInch;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user