Replace ‘?’ with ‘_’ for pdf filename so file can be created
Allow for setting of section’s ‘Default Step Section’ property Fix page numbering for {secondary page} page list token
This commit is contained in:
@@ -952,7 +952,7 @@ namespace Volian.Print.Library
|
||||
//}
|
||||
if (args.MyText.Contains("{SECONDARYPAGE}") || args.MyText.Contains("{SECONDARYOF}"))
|
||||
{
|
||||
string key = "SecondaryPage." + MySection.ItemID;
|
||||
string key = "SecondaryPage." + MySection.DisplayNumber;
|
||||
string txt = args.MyText.Replace("{SECONDARYPAGE}", "{PAGE}").Replace("{SECONDARYOF}", "{OF}");
|
||||
MyPdfContentByte.AddTemplate(MyPageCounts.AddToTemplateList(key, MyPdfWriter, txt, args.MySvgText.Font, args.MySvgText.Align, args.MySvgText.FillColor), args.MySvgScale.X(args.MySvgText.X), args.MySvgScale.Y(MyPdfContentByte, args.MySvgText.Y));
|
||||
return string.Empty;
|
||||
|
Reference in New Issue
Block a user