B2023-052: Inconsistent change bar location
B2023-052: Beaver Valley - Inconsistent change bar location
This commit is contained in:
parent
3dd59e20d8
commit
620d5dab42
Binary file not shown.
Binary file not shown.
@ -577,6 +577,18 @@ namespace VEPROMS.CSLA.Library
|
|||||||
return LazyLoad(ref _FooterLength, "@FooterLength");
|
return LazyLoad(ref _FooterLength, "@FooterLength");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// B2023-052: Beaver Valley - Inconsistent change bar location
|
||||||
|
private LazyLoad<float?> _AbsChgBarAdj;
|
||||||
|
[Category("Location")]
|
||||||
|
[DisplayName("Absolute change bar adjustment for margin differences")]
|
||||||
|
[Description("Absolute change bar adjustment for margin differences")]
|
||||||
|
public float? AbsChgBarAdj
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return LazyLoad(ref _AbsChgBarAdj, "@AbsChgBarAdj");
|
||||||
|
}
|
||||||
|
}
|
||||||
#endregion
|
#endregion
|
||||||
#region LeftMargin
|
#region LeftMargin
|
||||||
private LazyLoad<float?> _LeftMargin;
|
private LazyLoad<float?> _LeftMargin;
|
||||||
|
@ -5562,6 +5562,10 @@ namespace Volian.Print.Library
|
|||||||
!itemInfo.IsInRNO)) msgAlign = Element.ALIGN_RIGHT;
|
!itemInfo.IsInRNO)) msgAlign = Element.ALIGN_RIGHT;
|
||||||
float coltotwips = col * itemInfo.FormatStepData.Font.CharsToTwips;
|
float coltotwips = col * itemInfo.FormatStepData.Font.CharsToTwips;
|
||||||
if (cbd.AbsoluteFixedChangeColumn) coltotwips = col * itemInfo.ActiveFormat.PlantFormat.FormatData.Font.CharsToTwips;
|
if (cbd.AbsoluteFixedChangeColumn) coltotwips = col * itemInfo.ActiveFormat.PlantFormat.FormatData.Font.CharsToTwips;
|
||||||
|
// B2023-052: Beaver Valley - Inconsistent change bar location - used AbsoluteFixedChangeColumn flag, but the LeftMargin
|
||||||
|
// was still added in, thus sections had different locations for change bar if sections had different left margin. Use
|
||||||
|
// adjustment, 'AbsChgBarAdj'
|
||||||
|
coltotwips += itemInfo.MyDocStyle.Layout.AbsChgBarAdj ?? 0;
|
||||||
if (itemInfo.IsFigure) coltotwips = col * itemInfo.ActiveFormat.PlantFormat.FormatData.Font.CharsToTwips;
|
if (itemInfo.IsFigure) coltotwips = col * itemInfo.ActiveFormat.PlantFormat.FormatData.Font.CharsToTwips;
|
||||||
return new vlnChangeBar(cb, this, (float)itemInfo.MyDocStyle.Layout.LeftMargin + coltotwips, yoff, msgAlign,
|
return new vlnChangeBar(cb, this, (float)itemInfo.MyDocStyle.Layout.LeftMargin + coltotwips, yoff, msgAlign,
|
||||||
myPageHelper.ChangeBarDefinition.MyChangeBarText == PrintChangeBarText.RevNum,
|
myPageHelper.ChangeBarDefinition.MyChangeBarText == PrintChangeBarText.RevNum,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user