@@ -457,21 +457,11 @@ auto Show::GetCurrentSheetPrintNumber() const -> std::string
457457 return mSheets .at (mSheetNum ).GetPrintNumber ();
458458}
459459
460- auto Show::GetCurrentSheetRawPrintContinuity () const -> std::string
461- {
462- return mSheets .at (mSheetNum ).GetRawPrintContinuity ();
463- }
464-
465460auto Show::GetCurrentSheetBackgroundImages () const -> std::vector<ImageInfo>
466461{
467462 return mSheets .at (mSheetNum ).GetBackgroundImages ();
468463}
469464
470- auto Show::GetCurrentSheetPrintContinuity () const -> PrintContinuity
471- {
472- return mSheets .at (mSheetNum ).GetPrintContinuity ();
473- }
474-
475465auto Show::CopyCurrentSheet () const -> Show::Sheet_container_t
476466{
477467 return Show::Sheet_container_t (1 , mSheets .at (mSheetNum ));
@@ -704,6 +694,16 @@ auto Show::GetContinuitiesInUseOnCurrentSheet() const -> std::vector<bool>
704694 return GetContinuitiesInUse (mSheetNum );
705695}
706696
697+ auto Show::GetCurrentSheetRawPrintContinuity () const -> std::string
698+ {
699+ return mSheets .at (mSheetNum ).GetRawPrintContinuity ();
700+ }
701+
702+ auto Show::GetCurrentSheetPrintContinuity () const -> PrintContinuity
703+ {
704+ return mSheets .at (mSheetNum ).GetPrintContinuity ();
705+ }
706+
707707auto Show::AlreadyHasPrintContinuity () const -> bool
708708{
709709 for (auto & i : mSheets ) {
@@ -714,6 +714,16 @@ auto Show::AlreadyHasPrintContinuity() const -> bool
714714 return false ;
715715}
716716
717+ auto Show::GetAllRawPrintContinuity () const -> std::vector<std::string>
718+ {
719+ return CalChart::Ranges::ToVector<std::string>(mSheets | std::views::transform ([](auto && sheet) { return sheet.GetRawPrintContinuity (); }));
720+ }
721+
722+ auto Show::GetAllPrintContinuity () const -> std::vector<PrintContinuity>
723+ {
724+ return CalChart::Ranges::ToVector<PrintContinuity>(mSheets | std::views::transform ([](auto && sheet) { return sheet.GetPrintContinuity (); }));
725+ }
726+
717727auto Show::GetSheetsName () const -> std::vector<std::string>
718728{
719729 return CalChart::Ranges::ToVector<std::string>(mSheets | std::views::transform ([](auto && sheet) { return sheet.GetName (); }));
0 commit comments