This commit is contained in:
parent
a9ab86f6ae
commit
b80375164e
@ -953,6 +953,16 @@ namespace Volian.Print.Library
|
||||
float yOffset = (pageItem.Token.Contains("1") && titleLines.Count <= 2) ? 0 : (-6 * (titleLines.Count - 1));
|
||||
int cnt = 0;
|
||||
|
||||
// if the title broke into two lines & proctitle1 & proctitle2 are on the same line, handle that
|
||||
// and return the string:
|
||||
if (titleLines.Count == 2 && pageItem.Token.Contains("1") && pageItem.Token.Contains("2"))
|
||||
{
|
||||
plstr = plstr.Replace("{PROCTITLE1}", titleLines[0]);
|
||||
plstr = plstr.Replace("[PROCTITLE1]", titleLines[0]);
|
||||
plstr = plstr.Replace("{PROCTITLE2}", titleLines[1]);
|
||||
plstr = plstr.Replace("[PROCTITLE2]", titleLines[1]);
|
||||
return plstr;
|
||||
}
|
||||
foreach (string line in titleLines)
|
||||
{
|
||||
cnt++;
|
||||
|
Loading…
x
Reference in New Issue
Block a user