Turn on indent of sub-sections in Table of Contents. Count the pages of the Cover, List of Effective Pages, and Table of Contents when generating the Table of Contents.
Put a page number for the Valve List sections in the Table of Contents Fix the bolded numbers problem in the Table of Contents
This commit is contained in:
parent
09c88e8948
commit
6f1d41879f
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -512,8 +512,10 @@ namespace Volian.Print.Library
|
||||
{
|
||||
PageCount pc = MyPageHelper.MyTOCPageCounts[tocKey];
|
||||
if (pc.Total == 0)
|
||||
{
|
||||
pc.Total = MyPageHelper.CurrentTOCPageNumber + 1;
|
||||
pc.DrawTemplates();
|
||||
pc.DrawTemplates();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -2421,9 +2423,11 @@ namespace Volian.Print.Library
|
||||
float addExtraSpace = 0;
|
||||
if (MyItemInfo.FormatStepData != null && MyItemInfo.ActiveFormat.MyStepSectionLayoutData.CustomSpacing)
|
||||
addExtraSpace = MyItemInfo.FormatStepData.StepLayoutData.STExtraSpace ?? 0;
|
||||
if (MyItemInfo.MyParent != null && MyItemInfo.MyParent.FormatStepData != null &&
|
||||
MyItemInfo.MyParent.FormatStepData.Type != "TitleWithTextRight")
|
||||
addExtraSpace = (MyItemInfo.FormatStepData == null) ? 0 : MyItemInfo.FormatStepData.StepLayoutData.STExtraSpace ?? 0;
|
||||
//if (MyItemInfo.MyParent != null && MyItemInfo.MyParent.FormatStepData != null &&
|
||||
// MyItemInfo.MyParent.FormatStepData.Type != "TitleWithTextRight")
|
||||
// addExtraSpace = (MyItemInfo.FormatStepData == null) ? 0 : MyItemInfo.FormatStepData.StepLayoutData.STExtraSpace ?? 0;
|
||||
if (MyItemInfo.MyParent != null && MyItemInfo.MyParent.FormatStepData != null)
|
||||
addExtraSpace = (MyItemInfo.MyParent.FormatStepData.Type == "TitleWithTextRight" || MyItemInfo.FormatStepData == null) ? 0 : MyItemInfo.FormatStepData.StepLayoutData.STExtraSpace ?? 0;
|
||||
// If a high level step, the 16bit code uses the value of the extra space
|
||||
// from the high level step format regardless of what type of high level step it is:
|
||||
// Added check for UseSTExtraRealValue, if set, we want to use what is set for the specific step type
|
||||
|
Loading…
x
Reference in New Issue
Block a user