private void CompilePrintPages()
        {
            int staffGroupIndex;

            var page = new PrintPage { PrintPageItems = new ObservableCollection<PrintPageItem>() };

            var p = new PrintPageItem();
            p = SetPrintProvenance(p);
            p.Staffgroup = null;
            page.PrintPageItems.Add(p);

            for (staffGroupIndex = 0; staffGroupIndex <= Staffgroups.Count() - 1; staffGroupIndex++)
            {
                if (staffGroupIndex % Preferences.PrintItemsPerPage == 0 && staffGroupIndex != 0)
                {
                    PrintPages.Add(page);
                    page = new PrintPage { PrintPageItems = new ObservableCollection<PrintPageItem>() };
                }

                var item = new PrintPageItem { Staffgroup = Staffgroups[staffGroupIndex] };
                page.PrintPageItems.Add(item);
            }
            if (staffGroupIndex % Preferences.PrintItemsPerPage > 0)
            {
                PrintPages.Add(page);
            }
        }
        private PrintPageItem SetPrintProvenance(PrintPageItem item)
        {
            item.Title = Composition.Provenance.TitleLine;
            item.SmallFontFamily = Composition.Provenance.FontFamily;
            item.TitleFontFamily = Composition.Provenance.FontFamily;
            item.TitleFontSize = Composition.Provenance.LargeFontSize;
            item.SmallFontSize = Composition.Provenance.SmallFontSize;
            item.Date = Composition.Audit.ModifyDate.ToLongDateString();

            var authors = new List<Author>();
            foreach (var c in Composition.Collaborations)
            {
                if (c.PictureUrl.IndexOf("https") == 0)
                {
                    c.PictureUrl = c.PictureUrl.Replace("https", "http");
                }
                var author = new Author { Name = c.Name, PictureUrl = c.PictureUrl, PercentContribution = 0 };
                authors.Add(author);
            }
            item.Authors = authors;
            return item;
        }