ZUGFeRDTest: Allow xml in test

This commit is contained in:
Jonathan Jenne 2021-07-12 13:57:25 +02:00
parent aec9f58c84
commit 9f2cbc17e5

View File

@ -169,9 +169,10 @@ Public Class Form1
Private Sub Button7_Click(sender As Object, e As EventArgs) Handles Button7.Click Private Sub Button7_Click(sender As Object, e As EventArgs) Handles Button7.Click
Dim oExtractor = New PDFEmbeds(_logConfig) Dim oExtractor = New PDFEmbeds(_logConfig)
Dim oResult = OpenFileDialog1.ShowDialog() Dim oResult = OpenFileDialog1.ShowDialog()
Dim oExtensions = New List(Of String) From {"docx", "doc", "pdf", "xls", "xlsx", "ppt", "pptx", "txt", "xml"}
If oResult = DialogResult.OK Then If oResult = DialogResult.OK Then
oExtractor.Extract(OpenFileDialog1.FileName, AllowedExtensions:=New List(Of String) From {"docx", "doc", "pdf", "xls", "xlsx", "ppt", "pptx", "txt"}) oExtractor.Extract(OpenFileDialog1.FileName, AllowedExtensions:=oExtensions)
End If End If
End Sub End Sub
End Class End Class