def OnSauverOuvrir(self, event):
        self.OnSauver(event)
        if self.document_generated:
            if self.filename.endswith(".pdf"):
                StartAcrobatReader(self.filename)
            else:
                StartLibreOffice(self.filename)