Replace <u> within a PC P/C PSI Value with the current unit number.
This commit is contained in:
parent
570404687c
commit
1926a435b0
@ -2008,7 +2008,11 @@ namespace Volian.Print.Library
|
|||||||
if (qindx == -1)
|
if (qindx == -1)
|
||||||
{
|
{
|
||||||
val = procConfig.GetValue("PSI", token.Substring(4, token.Length - 5));
|
val = procConfig.GetValue("PSI", token.Substring(4, token.Length - 5));
|
||||||
|
if(val.Contains("<u>")) // Replace <u> with the current unit number
|
||||||
|
{
|
||||||
|
string unbr3 = MySection.MyDocVersion.DocVersionConfig.Unit_Number;
|
||||||
|
val=val.Replace("<u>", unbr3??"");
|
||||||
|
}
|
||||||
// MaxWidth is used to define width that the PSI text spans x-direction on page. If it is
|
// MaxWidth is used to define width that the PSI text spans x-direction on page. If it is
|
||||||
// defined, see if the text is too wide for a single line (SplitTextMaxWidth). The
|
// defined, see if the text is too wide for a single line (SplitTextMaxWidth). The
|
||||||
// AdjustTopMarginForMultLinePageListItem contains the y-adjustment that must be considered
|
// AdjustTopMarginForMultLinePageListItem contains the y-adjustment that must be considered
|
||||||
|
Loading…
x
Reference in New Issue
Block a user