This commit is contained in:
parent
5a924f4a0a
commit
b784a1c918
@ -498,9 +498,9 @@ namespace Volian.Print.Library
|
||||
cbd.FixedChangeColumn ?? 0 : AERLeftChangeBarLocation(formatInfo) :
|
||||
cbd.FixedChangeColumn ?? 0 : ChangeBarLocation(xoff, this, formatInfo, maxRNO);
|
||||
|
||||
if (myPageHelper.ChangeBarDefinition.MyChangeBarText == DocVersionConfig.PrintChangeBarText.ChgID)
|
||||
if (myPageHelper.ChangeBarDefinition.MyChangeBarText == PrintChangeBarText.ChgID)
|
||||
cbMess = itemInfo.UserID;
|
||||
else if (myPageHelper.ChangeBarDefinition.MyChangeBarText == DocVersionConfig.PrintChangeBarText.DateChgID)
|
||||
else if (myPageHelper.ChangeBarDefinition.MyChangeBarText == PrintChangeBarText.DateChgID)
|
||||
{
|
||||
string fmtDate = itemInfo.DTS.ToShortDateString();
|
||||
if (fmtDate.Length != 10) // need to add zeros
|
||||
@ -512,14 +512,14 @@ namespace Volian.Print.Library
|
||||
}
|
||||
cbMess = itemInfo.UserID + @"\n" + fmtDate;
|
||||
}
|
||||
else if (myPageHelper.ChangeBarDefinition.MyChangeBarText == DocVersionConfig.PrintChangeBarText.RevNum)
|
||||
else if (myPageHelper.ChangeBarDefinition.MyChangeBarText == PrintChangeBarText.RevNum)
|
||||
cbMess = myPageHelper.Rev;
|
||||
else if (myPageHelper.ChangeBarDefinition.MyChangeBarText == DocVersionConfig.PrintChangeBarText.UserDef)
|
||||
else if (myPageHelper.ChangeBarDefinition.MyChangeBarText == PrintChangeBarText.UserDef)
|
||||
cbMess = myPageHelper.ChangeBarDefinition.MyChangeBarMessage;
|
||||
|
||||
int msgAlign = Element.ALIGN_LEFT;
|
||||
if (myPageHelper.ChangeBarDefinition.MyChangeBarLoc == DocVersionConfig.PrintChangeBarLoc.LeftOfText ||
|
||||
(myPageHelper.ChangeBarDefinition.MyChangeBarLoc == DocVersionConfig.PrintChangeBarLoc.AERleftRNOright &&
|
||||
if (myPageHelper.ChangeBarDefinition.MyChangeBarLoc == PrintChangeBarLoc.LeftOfText ||
|
||||
(myPageHelper.ChangeBarDefinition.MyChangeBarLoc == PrintChangeBarLoc.AERleftRNOright &&
|
||||
!itemInfo.IsInRNO)) msgAlign = Element.ALIGN_RIGHT;
|
||||
return new vlnChangeBar(cb, this, (float)itemInfo.MyDocStyle.Layout.LeftMargin + (col * _CharsToTwips), yoff, msgAlign);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user