B2017- 092 Added logic to the PDF generation so that duplicate PDF Bookmarks are not added for steps containing supplemental information.
This commit is contained in:
parent
68aa1e9aab
commit
4f5585e332
@ -2610,6 +2610,8 @@ namespace Volian.Print.Library
|
|||||||
}
|
}
|
||||||
public void Add(ItemInfo itemInfo, string title, PdfDestination pdfDestination)
|
public void Add(ItemInfo itemInfo, string title, PdfDestination pdfDestination)
|
||||||
{
|
{
|
||||||
|
foreach (PageBookmark pb in this)
|
||||||
|
if (pb.Title == title) return;
|
||||||
Add(new PageBookmark(itemInfo, title, pdfDestination));
|
Add(new PageBookmark(itemInfo, title, pdfDestination));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user