Adjusted bottom continue message for formats CWE, CWE00, EXCLN, EXCLN00 and EXCLN01
Changed bottom continue message to be limited by the bottom margin. Previously the continue message overlapped the border. Removed Debug Output Replaced Unit ID token "<ID>" in transition text for the section number.
This commit is contained in:
@@ -812,17 +812,17 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
case 1:
|
||||
tb.Append(" (Next Page)");
|
||||
Console.WriteLine("Next Page: {0}", tb._FromItem.ShortPath);
|
||||
//Console.WriteLine("Next Page: {0}", tb._FromItem.ShortPath);
|
||||
break;
|
||||
case -1:
|
||||
tb.Append(" (Previous Page)");
|
||||
Console.WriteLine("Prev Page: {0}", tb._FromItem.ShortPath);
|
||||
//Console.WriteLine("Prev Page: {0}", tb._FromItem.ShortPath);
|
||||
break;
|
||||
case 0:
|
||||
break;
|
||||
default:
|
||||
tb.Append(string.Format(" (Page {0})", tb._ToItem.PageNumber + 1));
|
||||
Console.WriteLine("Page: {0}, {1}", tb._FromItem.ShortPath, tb._ToItem.PageNumber);
|
||||
//Console.WriteLine("Page: {0}, {1}", tb._FromItem.ShortPath, tb._ToItem.PageNumber);
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -1060,7 +1060,8 @@ namespace VEPROMS.CSLA.Library
|
||||
ItemInfo tmpitm = TranGetSectionItem(itminfo);
|
||||
if (!tmpitm.IsSection) return "";
|
||||
string str = tmpitm.MyContent.Number;
|
||||
str = Regex.Replace(str, @"\<[uU]\>", itminfo.MyDocVersion.DocVersionConfig.Unit_Number);
|
||||
str = Regex.Replace(str, @"\<U\>", itminfo.MyDocVersion.DocVersionConfig.Unit_Number, RegexOptions.IgnoreCase );
|
||||
str = Regex.Replace(str, @"\<ID\>", itminfo.MyDocVersion.DocVersionConfig.Unit_ID, RegexOptions.IgnoreCase);
|
||||
return (str);
|
||||
}
|
||||
private static string TranGetSectionTitle(TransitionBuilder tb, ItemInfo itminfo)
|
||||
|
Reference in New Issue
Block a user