=head2 OnBeginDocument() wxPrintout::OnBeginPrinting void OnBeginPrinting() Called by the framework at the start of printing. OnBeginPrinting is called once for every print job (regardless of how many copies are being printed). =cut sub OnBeginDocument { my $this = shift; Wx::LogMessage( "OnBeginDocument: %d, %d", @_ ); return $this->SUPER::OnBeginDocument( @_ ); } # /OnBeginDocument =head2 OnEndDocument() wxPrintout::OnEndDocument void OnEndDocument() Called by the framework at the end of document printing. OnEndDocument is called once for every copy printed. The base wxPrintout::OnEndDocument must be called from within the overridden function, since it calls wxDC::EndDoc. =cut sub OnEndDocument { my $this = shift; Wx::LogMessage( "OnEndDocument" ); return $this->SUPER::OnEndDocument(); } =head2 OnBeginPrinting() wxPrintout::OnBeginPrinting void OnBeginPrinting() Called by the framework at the start of printing. OnBeginPrinting is called once for every print job (regardless of how many copies are being printed). =cut sub OnBeginPrinting { my $this = shift; Wx::LogMessage( "OnBeginPrinting" ); return $this->SUPER::OnBeginPrinting(); } # /OnBeginPrinting =head2 OnEndPrinting() wxPrintout::OnEndPrinting void OnEndPrinting() Called by the framework at the end of printing. OnEndPrinting is called once for every print job (regardless of how many copies are being printed). =cut sub OnEndPrinting { my $this = shift; Wx::LogMessage( "OnEndPrinting" ); return $this->SUPER::OnEndPrinting(); } # /OnEndPrinting