IP2 Background: Fixes for bad pagination within Step Description table & width of some sub-steps
This commit is contained in:
parent
8c806ccd97
commit
d8b0f21619
@ -3935,12 +3935,20 @@ namespace Volian.Print.Library
|
||||
// for IP2 backgrounds, set widths appropriately for template items:
|
||||
if (itemInfo.IsStep && ((itemInfo.MyActiveSection.MyDocStyle.StructureStyle.Style & E_DocStructStyle.DSS_PageListSpBckgrnd) == E_DocStructStyle.DSS_PageListSpBckgrnd))
|
||||
{
|
||||
if (itemInfo.IsStep && itemInfo.FormatStepData.Type.ToUpper() == "TITLEWITHTEXTBELOW")
|
||||
if (itemInfo.FormatStepData.Type.ToUpper() == "TITLEWITHTEXTBELOW")
|
||||
{
|
||||
Width = MyParent.Width;
|
||||
return;
|
||||
}
|
||||
if (widOvrd == 0 && itemInfo.MyParent.IsStep && itemInfo.MyParent.FormatStepData.Type.ToUpper() == "TITLEWITHTEXTBELOW")
|
||||
if (itemInfo.MyPrevious != null && itemInfo.MyPrevious.FormatStepData.Type == "TitleWithTextBelow")
|
||||
{
|
||||
Width = MyParent.MyParent.Width;
|
||||
return;
|
||||
}
|
||||
if (widOvrd == 0 && itemInfo.MyParent.IsStep &&
|
||||
(itemInfo.MyParent.FormatStepData.Type.ToUpper() == "TITLEWITHTEXTBELOW" ||
|
||||
(((itemInfo.MyActiveSection.MyDocStyle.StructureStyle.Style & E_DocStructStyle.DSS_PageListSpBckgrnd) == E_DocStructStyle.DSS_PageListSpBckgrnd) &&
|
||||
itemInfo.FormatStepData != null && MyParent.MyItemInfo.MyPrevious != null && MyParent.MyItemInfo.MyPrevious.FormatStepData.Type == "TitleWithTextBelow")))
|
||||
{
|
||||
Width = MyParent.MyParent.Width + (MyParent.MyParent.MyTab != null ? MyParent.MyParent.MyTab.Width : 0);
|
||||
Width -= (MyTab != null ? MyTab.Width : 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user