Compare commits
55 Commits
5eb803ccbb
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
45485400e1 | ||
|
|
734e056248 | ||
|
|
b586bf496b | ||
|
|
e497490e82 | ||
|
|
ca567dc9bc | ||
| c8499322ae | |||
| ccd1cedd28 | |||
| b081dda981 | |||
|
|
935c5ad5fd | ||
|
|
63343178b5 | ||
|
|
5b9fbabf0d | ||
| b4eecbdb86 | |||
| 3f58acea7a | |||
| 4cfc8cd46b | |||
| dc56d783b3 | |||
| 25e0eddfdb | |||
| 64ae4e9c76 | |||
| 6936d45209 | |||
| 7173c89b77 | |||
| 538e2fcde1 | |||
| d1dbe8096d | |||
| 24dbed32cc | |||
|
|
942ce662ec | ||
|
|
e1d5c2961d | ||
|
|
0ef5a3b339 | ||
|
|
8cdd6e8026 | ||
|
|
4310cd79b7 | ||
|
|
1d17afb400 | ||
|
|
4085d05368 | ||
|
|
07332a4990 | ||
|
|
b87995221f | ||
|
|
2e57e079b0 | ||
|
|
acc5dd4d46 | ||
|
|
ef94ea93f2 | ||
|
|
8a61aa208d | ||
|
|
3e2287c6b5 | ||
|
|
59aed06099 | ||
| a61657c019 | |||
| 70ad3a8493 | |||
|
|
7748f8a9af | ||
|
|
9bf7e08cfa | ||
|
|
5a7af95877 | ||
| 5f2f9af38c | |||
|
|
66b40121c6 | ||
|
|
3953e74f82 | ||
|
|
ae70046979 | ||
|
|
d91a0ab6ab | ||
|
|
d75f7939af | ||
|
|
0d5bfef93f | ||
|
|
ef32824a08 | ||
|
|
16f00e8cdd | ||
|
|
6ed8db99ff | ||
|
|
3f109c010d | ||
|
|
76b2860739 | ||
|
|
d0a638cf2d |
@@ -66,15 +66,15 @@
|
|||||||
<Reference Include="DevExpress.XtraTreeList.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
|
<Reference Include="DevExpress.XtraTreeList.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
|
||||||
<Reference Include="DigitalData.Modules.Config, Version=1.1.4.1, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="DigitalData.Modules.Config, Version=1.1.4.1, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>..\..\Modules\Config\bin\Debug\DigitalData.Modules.Config.dll</HintPath>
|
<HintPath>..\..\DDModules\Config\bin\Debug\DigitalData.Modules.Config.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DigitalData.Modules.Interfaces, Version=1.7.1.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="DigitalData.Modules.Interfaces, Version=1.7.1.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>..\..\Modules\Interfaces\bin\Debug\DigitalData.Modules.Interfaces.dll</HintPath>
|
<HintPath>..\..\DDModules\Interfaces\bin\Debug\DigitalData.Modules.Interfaces.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DigitalData.Modules.Logging, Version=2.5.4.2, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="DigitalData.Modules.Logging, Version=2.5.4.2, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>..\..\Modules\Config\bin\Debug\DigitalData.Modules.Logging.dll</HintPath>
|
<HintPath>..\..\DDModules\Logging\bin\Debug\DigitalData.Modules.Logging.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
<Reference Include="System.ComponentModel.DataAnnotations" />
|
<Reference Include="System.ComponentModel.DataAnnotations" />
|
||||||
|
|||||||
@@ -61,11 +61,11 @@
|
|||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DigitalData.Modules.Database, Version=2.2.7.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="DigitalData.Modules.Database, Version=2.2.7.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>..\..\Modules\Config\bin\Debug\DigitalData.Modules.Database.dll</HintPath>
|
<HintPath>..\..\DDModules\Database\bin\Debug\DigitalData.Modules.Database.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DigitalData.Modules.Logging, Version=2.5.4.2, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="DigitalData.Modules.Logging, Version=2.5.4.2, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>..\..\Modules\Config\bin\Debug\DigitalData.Modules.Logging.dll</HintPath>
|
<HintPath>..\..\DDModules\Logging\bin\Debug\DigitalData.Modules.Logging.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Microsoft.CSharp" />
|
<Reference Include="Microsoft.CSharp" />
|
||||||
<Reference Include="NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
|
<Reference Include="NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
|
||||||
|
|||||||
@@ -61,11 +61,11 @@
|
|||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DigitalData.Modules.Database, Version=2.2.7.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="DigitalData.Modules.Database, Version=2.2.7.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>..\..\Modules\Config\bin\Debug\DigitalData.Modules.Database.dll</HintPath>
|
<HintPath>..\..\DDModules\Database\bin\Debug\DigitalData.Modules.Database.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DigitalData.Modules.Logging, Version=2.5.4.2, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="DigitalData.Modules.Logging, Version=2.5.4.2, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>..\..\Modules\Config\bin\Debug\DigitalData.Modules.Logging.dll</HintPath>
|
<HintPath>..\..\DDModules\Logging\bin\Debug\DigitalData.Modules.Logging.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Microsoft.CSharp" />
|
<Reference Include="Microsoft.CSharp" />
|
||||||
<Reference Include="NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
|
<Reference Include="NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
|
||||||
|
|||||||
@@ -61,11 +61,11 @@
|
|||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DigitalData.Modules.Database, Version=2.2.7.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="DigitalData.Modules.Database, Version=2.2.7.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>..\..\Modules\Config\bin\Debug\DigitalData.Modules.Database.dll</HintPath>
|
<HintPath>..\..\DDModules\Database\bin\Debug\DigitalData.Modules.Database.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DigitalData.Modules.Logging, Version=2.5.4.2, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="DigitalData.Modules.Logging, Version=2.5.4.2, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>..\..\Modules\Config\bin\Debug\DigitalData.Modules.Logging.dll</HintPath>
|
<HintPath>..\..\DDModules\Logging\bin\Debug\DigitalData.Modules.Logging.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Microsoft.CSharp" />
|
<Reference Include="Microsoft.CSharp" />
|
||||||
<Reference Include="NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
|
<Reference Include="NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
|
||||||
|
|||||||
@@ -39,7 +39,7 @@
|
|||||||
</dependentAssembly>
|
</dependentAssembly>
|
||||||
<dependentAssembly>
|
<dependentAssembly>
|
||||||
<assemblyIdentity name="System.Text.Json" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
<assemblyIdentity name="System.Text.Json" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||||
<bindingRedirect oldVersion="0.0.0.0-8.0.0.5" newVersion="8.0.0.5" />
|
<bindingRedirect oldVersion="0.0.0.0-8.0.0.6" newVersion="8.0.0.6" />
|
||||||
</dependentAssembly>
|
</dependentAssembly>
|
||||||
</assemblyBinding>
|
</assemblyBinding>
|
||||||
</runtime>
|
</runtime>
|
||||||
|
|||||||
181
Controls.DocumentViewer/DocumentViewer.Designer.vb
generated
181
Controls.DocumentViewer/DocumentViewer.Designer.vb
generated
@@ -24,7 +24,6 @@ Partial Class DocumentViewer
|
|||||||
Private Sub InitializeComponent()
|
Private Sub InitializeComponent()
|
||||||
Me.components = New System.ComponentModel.Container()
|
Me.components = New System.ComponentModel.Container()
|
||||||
Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(DocumentViewer))
|
Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(DocumentViewer))
|
||||||
Me.GdViewer = New GdPicture14.GdViewer()
|
|
||||||
Me.OpenFileDialog = New System.Windows.Forms.OpenFileDialog()
|
Me.OpenFileDialog = New System.Windows.Forms.OpenFileDialog()
|
||||||
Me.BarManager1 = New DevExpress.XtraBars.BarManager(Me.components)
|
Me.BarManager1 = New DevExpress.XtraBars.BarManager(Me.components)
|
||||||
Me.ToolbarDocumentViewer = New DevExpress.XtraBars.Bar()
|
Me.ToolbarDocumentViewer = New DevExpress.XtraBars.Bar()
|
||||||
@@ -64,6 +63,8 @@ Partial Class DocumentViewer
|
|||||||
Me.PrintDocument1 = New System.Drawing.Printing.PrintDocument()
|
Me.PrintDocument1 = New System.Drawing.Printing.PrintDocument()
|
||||||
Me.lbFileNotLoaded = New DevExpress.XtraEditors.LabelControl()
|
Me.lbFileNotLoaded = New DevExpress.XtraEditors.LabelControl()
|
||||||
Me.RichEditControl1 = New DevExpress.XtraRichEdit.RichEditControl()
|
Me.RichEditControl1 = New DevExpress.XtraRichEdit.RichEditControl()
|
||||||
|
Me.lblInfo = New System.Windows.Forms.Label()
|
||||||
|
Me.GdViewer = New GdPicture14.GdViewer()
|
||||||
CType(Me.BarManager1, System.ComponentModel.ISupportInitialize).BeginInit()
|
CType(Me.BarManager1, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||||
CType(Me.RepositoryItemTextEdit2, System.ComponentModel.ISupportInitialize).BeginInit()
|
CType(Me.RepositoryItemTextEdit2, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||||
CType(Me.RepositoryItemTextEdit3, System.ComponentModel.ISupportInitialize).BeginInit()
|
CType(Me.RepositoryItemTextEdit3, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||||
@@ -73,82 +74,6 @@ Partial Class DocumentViewer
|
|||||||
CType(Me.RepositoryItemSearchControl1, System.ComponentModel.ISupportInitialize).BeginInit()
|
CType(Me.RepositoryItemSearchControl1, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||||
Me.SuspendLayout()
|
Me.SuspendLayout()
|
||||||
'
|
'
|
||||||
'GdViewer
|
|
||||||
'
|
|
||||||
Me.GdViewer.AllowDropFile = False
|
|
||||||
Me.GdViewer.AnimateGIF = True
|
|
||||||
Me.GdViewer.AnnotationDropShadow = False
|
|
||||||
Me.GdViewer.AnnotationEnableMultiSelect = True
|
|
||||||
Me.GdViewer.AnnotationResizeRotateHandlesColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(128, Byte), Integer))
|
|
||||||
Me.GdViewer.AnnotationResizeRotateHandlesScale = 1.0!
|
|
||||||
Me.GdViewer.AnnotationSelectionLineColor = System.Drawing.Color.FromArgb(CType(CType(255, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer))
|
|
||||||
Me.GdViewer.AutoScrollMargin = New System.Drawing.Size(0, 0)
|
|
||||||
Me.GdViewer.AutoScrollMinSize = New System.Drawing.Size(0, 0)
|
|
||||||
Me.GdViewer.BackColor = System.Drawing.SystemColors.AppWorkspace
|
|
||||||
Me.GdViewer.BackgroundImage = Nothing
|
|
||||||
Me.GdViewer.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None
|
|
||||||
Me.GdViewer.ClipAnnotsToPageBounds = True
|
|
||||||
Me.GdViewer.ClipRegionsToPageBounds = True
|
|
||||||
Me.GdViewer.ContinuousViewMode = True
|
|
||||||
Me.GdViewer.DisplayQuality = GdPicture14.DisplayQuality.DisplayQualityAutomatic
|
|
||||||
Me.GdViewer.DisplayQualityAuto = True
|
|
||||||
Me.GdViewer.Dock = System.Windows.Forms.DockStyle.Fill
|
|
||||||
Me.GdViewer.DocumentAlignment = GdPicture14.ViewerDocumentAlignment.DocumentAlignmentMiddleCenter
|
|
||||||
Me.GdViewer.DocumentPosition = GdPicture14.ViewerDocumentPosition.DocumentPositionMiddleCenter
|
|
||||||
Me.GdViewer.DrawPageBorders = True
|
|
||||||
Me.GdViewer.EnableDeferredPainting = True
|
|
||||||
Me.GdViewer.EnabledProgressBar = True
|
|
||||||
Me.GdViewer.EnableFuzzySearch = False
|
|
||||||
Me.GdViewer.EnableICM = False
|
|
||||||
Me.GdViewer.EnableMenu = True
|
|
||||||
Me.GdViewer.EnableMouseWheel = True
|
|
||||||
Me.GdViewer.EnableTextSelection = True
|
|
||||||
Me.GdViewer.ForceScrollBars = False
|
|
||||||
Me.GdViewer.ForceTemporaryMode = False
|
|
||||||
Me.GdViewer.ForeColor = System.Drawing.Color.Black
|
|
||||||
Me.GdViewer.Gamma = 1.0!
|
|
||||||
Me.GdViewer.HQAnnotationRendering = True
|
|
||||||
Me.GdViewer.IgnoreDocumentResolution = False
|
|
||||||
Me.GdViewer.KeepDocumentPosition = False
|
|
||||||
Me.GdViewer.Location = New System.Drawing.Point(0, 33)
|
|
||||||
Me.GdViewer.LockViewer = False
|
|
||||||
Me.GdViewer.MagnifierHeight = 90
|
|
||||||
Me.GdViewer.MagnifierWidth = 160
|
|
||||||
Me.GdViewer.MagnifierZoomX = 2.0!
|
|
||||||
Me.GdViewer.MagnifierZoomY = 2.0!
|
|
||||||
Me.GdViewer.MouseButtonForMouseMode = GdPicture14.MouseButton.MouseButtonLeft
|
|
||||||
Me.GdViewer.MouseMode = GdPicture14.ViewerMouseMode.MouseModePan
|
|
||||||
Me.GdViewer.MouseWheelMode = GdPicture14.ViewerMouseWheelMode.MouseWheelModeVerticalScroll
|
|
||||||
Me.GdViewer.Name = "GdViewer"
|
|
||||||
Me.GdViewer.PageBordersColor = System.Drawing.Color.Black
|
|
||||||
Me.GdViewer.PageBordersPenSize = 1
|
|
||||||
Me.GdViewer.PageDisplayMode = GdPicture14.PageDisplayMode.MultiplePagesView
|
|
||||||
Me.GdViewer.PdfDisplayFormField = True
|
|
||||||
Me.GdViewer.PdfEnableFileLinks = True
|
|
||||||
Me.GdViewer.PdfEnableLinks = True
|
|
||||||
Me.GdViewer.PdfIncreaseTextContrast = False
|
|
||||||
Me.GdViewer.PdfShowDialogForPassword = True
|
|
||||||
Me.GdViewer.PdfShowOpenFileDialogForDecryption = True
|
|
||||||
Me.GdViewer.PdfVerifyDigitalCertificates = False
|
|
||||||
Me.GdViewer.PreserveViewRotation = True
|
|
||||||
Me.GdViewer.RectBorderColor = System.Drawing.Color.Black
|
|
||||||
Me.GdViewer.RectBorderSize = 1
|
|
||||||
Me.GdViewer.RectIsEditable = True
|
|
||||||
Me.GdViewer.RegionsAreEditable = True
|
|
||||||
Me.GdViewer.RenderGdPictureAnnots = True
|
|
||||||
Me.GdViewer.ScrollBars = True
|
|
||||||
Me.GdViewer.ScrollLargeChange = CType(50, Short)
|
|
||||||
Me.GdViewer.ScrollSmallChange = CType(1, Short)
|
|
||||||
Me.GdViewer.SilentMode = True
|
|
||||||
Me.GdViewer.Size = New System.Drawing.Size(1012, 557)
|
|
||||||
Me.GdViewer.TabIndex = 0
|
|
||||||
Me.GdViewer.TabStop = False
|
|
||||||
Me.GdViewer.ViewRotation = System.Drawing.RotateFlipType.RotateNoneFlipNone
|
|
||||||
Me.GdViewer.Zoom = 1.0R
|
|
||||||
Me.GdViewer.ZoomCenterAtMousePosition = False
|
|
||||||
Me.GdViewer.ZoomMode = GdPicture14.ViewerZoomMode.ZoomMode100
|
|
||||||
Me.GdViewer.ZoomStep = 25
|
|
||||||
'
|
|
||||||
'OpenFileDialog
|
'OpenFileDialog
|
||||||
'
|
'
|
||||||
Me.OpenFileDialog.FileName = "OpenFileDialog1"
|
Me.OpenFileDialog.FileName = "OpenFileDialog1"
|
||||||
@@ -354,15 +279,15 @@ Partial Class DocumentViewer
|
|||||||
Me.barDockControlTop.Dock = System.Windows.Forms.DockStyle.Top
|
Me.barDockControlTop.Dock = System.Windows.Forms.DockStyle.Top
|
||||||
Me.barDockControlTop.Location = New System.Drawing.Point(0, 0)
|
Me.barDockControlTop.Location = New System.Drawing.Point(0, 0)
|
||||||
Me.barDockControlTop.Manager = Me.BarManager1
|
Me.barDockControlTop.Manager = Me.BarManager1
|
||||||
Me.barDockControlTop.Size = New System.Drawing.Size(1012, 33)
|
Me.barDockControlTop.Size = New System.Drawing.Size(841, 33)
|
||||||
'
|
'
|
||||||
'barDockControlBottom
|
'barDockControlBottom
|
||||||
'
|
'
|
||||||
Me.barDockControlBottom.CausesValidation = False
|
Me.barDockControlBottom.CausesValidation = False
|
||||||
Me.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom
|
Me.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom
|
||||||
Me.barDockControlBottom.Location = New System.Drawing.Point(0, 590)
|
Me.barDockControlBottom.Location = New System.Drawing.Point(0, 555)
|
||||||
Me.barDockControlBottom.Manager = Me.BarManager1
|
Me.barDockControlBottom.Manager = Me.BarManager1
|
||||||
Me.barDockControlBottom.Size = New System.Drawing.Size(1012, 0)
|
Me.barDockControlBottom.Size = New System.Drawing.Size(841, 0)
|
||||||
'
|
'
|
||||||
'barDockControlLeft
|
'barDockControlLeft
|
||||||
'
|
'
|
||||||
@@ -370,15 +295,15 @@ Partial Class DocumentViewer
|
|||||||
Me.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left
|
Me.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left
|
||||||
Me.barDockControlLeft.Location = New System.Drawing.Point(0, 33)
|
Me.barDockControlLeft.Location = New System.Drawing.Point(0, 33)
|
||||||
Me.barDockControlLeft.Manager = Me.BarManager1
|
Me.barDockControlLeft.Manager = Me.BarManager1
|
||||||
Me.barDockControlLeft.Size = New System.Drawing.Size(0, 557)
|
Me.barDockControlLeft.Size = New System.Drawing.Size(0, 522)
|
||||||
'
|
'
|
||||||
'barDockControlRight
|
'barDockControlRight
|
||||||
'
|
'
|
||||||
Me.barDockControlRight.CausesValidation = False
|
Me.barDockControlRight.CausesValidation = False
|
||||||
Me.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right
|
Me.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right
|
||||||
Me.barDockControlRight.Location = New System.Drawing.Point(1012, 33)
|
Me.barDockControlRight.Location = New System.Drawing.Point(841, 33)
|
||||||
Me.barDockControlRight.Manager = Me.BarManager1
|
Me.barDockControlRight.Manager = Me.BarManager1
|
||||||
Me.barDockControlRight.Size = New System.Drawing.Size(0, 557)
|
Me.barDockControlRight.Size = New System.Drawing.Size(0, 522)
|
||||||
'
|
'
|
||||||
'BarStaticItem1
|
'BarStaticItem1
|
||||||
'
|
'
|
||||||
@@ -422,7 +347,7 @@ Partial Class DocumentViewer
|
|||||||
'
|
'
|
||||||
'SpreadsheetControl1
|
'SpreadsheetControl1
|
||||||
'
|
'
|
||||||
Me.SpreadsheetControl1.Location = New System.Drawing.Point(147, 190)
|
Me.SpreadsheetControl1.Location = New System.Drawing.Point(59, 181)
|
||||||
Me.SpreadsheetControl1.MenuManager = Me.BarManager1
|
Me.SpreadsheetControl1.MenuManager = Me.BarManager1
|
||||||
Me.SpreadsheetControl1.Name = "SpreadsheetControl1"
|
Me.SpreadsheetControl1.Name = "SpreadsheetControl1"
|
||||||
Me.SpreadsheetControl1.ReadOnly = True
|
Me.SpreadsheetControl1.ReadOnly = True
|
||||||
@@ -445,7 +370,7 @@ Partial Class DocumentViewer
|
|||||||
Me.lbFileNotLoaded.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None
|
Me.lbFileNotLoaded.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None
|
||||||
Me.lbFileNotLoaded.Location = New System.Drawing.Point(3, 74)
|
Me.lbFileNotLoaded.Location = New System.Drawing.Point(3, 74)
|
||||||
Me.lbFileNotLoaded.Name = "lbFileNotLoaded"
|
Me.lbFileNotLoaded.Name = "lbFileNotLoaded"
|
||||||
Me.lbFileNotLoaded.Size = New System.Drawing.Size(1006, 72)
|
Me.lbFileNotLoaded.Size = New System.Drawing.Size(835, 72)
|
||||||
Me.lbFileNotLoaded.TabIndex = 0
|
Me.lbFileNotLoaded.TabIndex = 0
|
||||||
Me.lbFileNotLoaded.Tag = ""
|
Me.lbFileNotLoaded.Tag = ""
|
||||||
Me.lbFileNotLoaded.Text = "Die Datei konnte nicht geladen werden"
|
Me.lbFileNotLoaded.Text = "Die Datei konnte nicht geladen werden"
|
||||||
@@ -453,13 +378,94 @@ Partial Class DocumentViewer
|
|||||||
'
|
'
|
||||||
'RichEditControl1
|
'RichEditControl1
|
||||||
'
|
'
|
||||||
Me.RichEditControl1.Location = New System.Drawing.Point(571, 238)
|
Me.RichEditControl1.Location = New System.Drawing.Point(385, 166)
|
||||||
Me.RichEditControl1.MenuManager = Me.BarManager1
|
Me.RichEditControl1.MenuManager = Me.BarManager1
|
||||||
Me.RichEditControl1.Name = "RichEditControl1"
|
Me.RichEditControl1.Name = "RichEditControl1"
|
||||||
Me.RichEditControl1.Size = New System.Drawing.Size(400, 200)
|
Me.RichEditControl1.Size = New System.Drawing.Size(400, 200)
|
||||||
Me.RichEditControl1.TabIndex = 5
|
Me.RichEditControl1.TabIndex = 5
|
||||||
Me.RichEditControl1.Visible = False
|
Me.RichEditControl1.Visible = False
|
||||||
'
|
'
|
||||||
|
'lblInfo
|
||||||
|
'
|
||||||
|
Me.lblInfo.Location = New System.Drawing.Point(0, 0)
|
||||||
|
Me.lblInfo.Name = "lblInfo"
|
||||||
|
Me.lblInfo.Size = New System.Drawing.Size(100, 23)
|
||||||
|
Me.lblInfo.TabIndex = 0
|
||||||
|
'
|
||||||
|
'GdViewer
|
||||||
|
'
|
||||||
|
Me.GdViewer.AllowDropFile = False
|
||||||
|
Me.GdViewer.AnimateGIF = True
|
||||||
|
Me.GdViewer.AnnotationDropShadow = True
|
||||||
|
Me.GdViewer.AnnotationEnableMultiSelect = True
|
||||||
|
Me.GdViewer.AnnotationResizeRotateHandlesColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(128, Byte), Integer))
|
||||||
|
Me.GdViewer.AnnotationResizeRotateHandlesScale = 1.0!
|
||||||
|
Me.GdViewer.AnnotationSelectionLineColor = System.Drawing.Color.FromArgb(CType(CType(255, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer))
|
||||||
|
Me.GdViewer.AutoScrollMargin = New System.Drawing.Size(0, 0)
|
||||||
|
Me.GdViewer.AutoScrollMinSize = New System.Drawing.Size(0, 0)
|
||||||
|
Me.GdViewer.BackColor = System.Drawing.Color.Black
|
||||||
|
Me.GdViewer.BackgroundImage = Nothing
|
||||||
|
Me.GdViewer.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None
|
||||||
|
Me.GdViewer.ClipAnnotsToPageBounds = True
|
||||||
|
Me.GdViewer.ClipRegionsToPageBounds = True
|
||||||
|
Me.GdViewer.ContinuousViewMode = True
|
||||||
|
Me.GdViewer.DisplayQuality = GdPicture14.DisplayQuality.DisplayQualityAutomatic
|
||||||
|
Me.GdViewer.DisplayQualityAuto = True
|
||||||
|
Me.GdViewer.DocumentAlignment = GdPicture14.ViewerDocumentAlignment.DocumentAlignmentMiddleCenter
|
||||||
|
Me.GdViewer.DocumentPosition = GdPicture14.ViewerDocumentPosition.DocumentPositionMiddleCenter
|
||||||
|
Me.GdViewer.DrawPageBorders = True
|
||||||
|
Me.GdViewer.EnableDeferredPainting = True
|
||||||
|
Me.GdViewer.EnabledProgressBar = True
|
||||||
|
Me.GdViewer.EnableFuzzySearch = False
|
||||||
|
Me.GdViewer.EnableICM = False
|
||||||
|
Me.GdViewer.EnableMenu = True
|
||||||
|
Me.GdViewer.EnableMouseWheel = True
|
||||||
|
Me.GdViewer.EnableTextSelection = True
|
||||||
|
Me.GdViewer.ForceScrollBars = False
|
||||||
|
Me.GdViewer.ForceTemporaryMode = False
|
||||||
|
Me.GdViewer.ForeColor = System.Drawing.Color.Black
|
||||||
|
Me.GdViewer.Gamma = 1.0!
|
||||||
|
Me.GdViewer.HQAnnotationRendering = True
|
||||||
|
Me.GdViewer.IgnoreDocumentResolution = False
|
||||||
|
Me.GdViewer.KeepDocumentPosition = False
|
||||||
|
Me.GdViewer.Location = New System.Drawing.Point(290, 372)
|
||||||
|
Me.GdViewer.LockViewer = False
|
||||||
|
Me.GdViewer.MagnifierHeight = 90
|
||||||
|
Me.GdViewer.MagnifierWidth = 160
|
||||||
|
Me.GdViewer.MagnifierZoomX = 2.0!
|
||||||
|
Me.GdViewer.MagnifierZoomY = 2.0!
|
||||||
|
Me.GdViewer.MouseButtonForMouseMode = GdPicture14.MouseButton.MouseButtonLeft
|
||||||
|
Me.GdViewer.MouseMode = GdPicture14.ViewerMouseMode.MouseModePan
|
||||||
|
Me.GdViewer.MouseWheelMode = GdPicture14.ViewerMouseWheelMode.MouseWheelModeZoom
|
||||||
|
Me.GdViewer.Name = "GdViewer"
|
||||||
|
Me.GdViewer.PageBordersColor = System.Drawing.Color.Black
|
||||||
|
Me.GdViewer.PageBordersPenSize = 1
|
||||||
|
Me.GdViewer.PageDisplayMode = GdPicture14.PageDisplayMode.MultiplePagesView
|
||||||
|
Me.GdViewer.PdfDisplayFormField = True
|
||||||
|
Me.GdViewer.PdfEnableFileLinks = True
|
||||||
|
Me.GdViewer.PdfEnableLinks = True
|
||||||
|
Me.GdViewer.PdfIncreaseTextContrast = False
|
||||||
|
Me.GdViewer.PdfShowDialogForPassword = True
|
||||||
|
Me.GdViewer.PdfShowOpenFileDialogForDecryption = True
|
||||||
|
Me.GdViewer.PdfVerifyDigitalCertificates = False
|
||||||
|
Me.GdViewer.PreserveViewRotation = True
|
||||||
|
Me.GdViewer.RectBorderColor = System.Drawing.Color.Black
|
||||||
|
Me.GdViewer.RectBorderSize = 1
|
||||||
|
Me.GdViewer.RectIsEditable = True
|
||||||
|
Me.GdViewer.RegionsAreEditable = True
|
||||||
|
Me.GdViewer.RenderGdPictureAnnots = True
|
||||||
|
Me.GdViewer.ScrollBars = True
|
||||||
|
Me.GdViewer.ScrollLargeChange = CType(50, Short)
|
||||||
|
Me.GdViewer.ScrollSmallChange = CType(1, Short)
|
||||||
|
Me.GdViewer.SilentMode = True
|
||||||
|
Me.GdViewer.Size = New System.Drawing.Size(128, 128)
|
||||||
|
Me.GdViewer.TabIndex = 0
|
||||||
|
Me.GdViewer.ViewRotation = System.Drawing.RotateFlipType.RotateNoneFlipNone
|
||||||
|
Me.GdViewer.Zoom = 1.0R
|
||||||
|
Me.GdViewer.ZoomCenterAtMousePosition = False
|
||||||
|
Me.GdViewer.ZoomMode = GdPicture14.ViewerZoomMode.ZoomMode100
|
||||||
|
Me.GdViewer.ZoomStep = 25
|
||||||
|
'
|
||||||
'DocumentViewer
|
'DocumentViewer
|
||||||
'
|
'
|
||||||
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
|
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
|
||||||
@@ -473,7 +479,7 @@ Partial Class DocumentViewer
|
|||||||
Me.Controls.Add(Me.barDockControlBottom)
|
Me.Controls.Add(Me.barDockControlBottom)
|
||||||
Me.Controls.Add(Me.barDockControlTop)
|
Me.Controls.Add(Me.barDockControlTop)
|
||||||
Me.Name = "DocumentViewer"
|
Me.Name = "DocumentViewer"
|
||||||
Me.Size = New System.Drawing.Size(1012, 590)
|
Me.Size = New System.Drawing.Size(841, 555)
|
||||||
CType(Me.BarManager1, System.ComponentModel.ISupportInitialize).EndInit()
|
CType(Me.BarManager1, System.ComponentModel.ISupportInitialize).EndInit()
|
||||||
CType(Me.RepositoryItemTextEdit2, System.ComponentModel.ISupportInitialize).EndInit()
|
CType(Me.RepositoryItemTextEdit2, System.ComponentModel.ISupportInitialize).EndInit()
|
||||||
CType(Me.RepositoryItemTextEdit3, System.ComponentModel.ISupportInitialize).EndInit()
|
CType(Me.RepositoryItemTextEdit3, System.ComponentModel.ISupportInitialize).EndInit()
|
||||||
@@ -526,4 +532,5 @@ Partial Class DocumentViewer
|
|||||||
Friend WithEvents btnSearch As DevExpress.XtraBars.BarButtonItem
|
Friend WithEvents btnSearch As DevExpress.XtraBars.BarButtonItem
|
||||||
Friend WithEvents btnSearch2 As DevExpress.XtraBars.BarButtonItem
|
Friend WithEvents btnSearch2 As DevExpress.XtraBars.BarButtonItem
|
||||||
Friend WithEvents RichEditControl1 As DevExpress.XtraRichEdit.RichEditControl
|
Friend WithEvents RichEditControl1 As DevExpress.XtraRichEdit.RichEditControl
|
||||||
|
Friend WithEvents lblInfo As Label
|
||||||
End Class
|
End Class
|
||||||
|
|||||||
@@ -219,6 +219,9 @@
|
|||||||
OCw4TDE2LDI0eiIgY2xhc3M9IkdyZWVuIiAvPg0KICA8L2c+DQo8L3N2Zz4L
|
OCw4TDE2LDI0eiIgY2xhc3M9IkdyZWVuIiAvPg0KICA8L2c+DQo8L3N2Zz4L
|
||||||
</value>
|
</value>
|
||||||
</data>
|
</data>
|
||||||
|
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>25</value>
|
||||||
|
</metadata>
|
||||||
<data name="btnSearch.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v21.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="btnSearch.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v21.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
<value>
|
<value>
|
||||||
AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjIxLjIsIFZlcnNpb249MjEuMi40
|
AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjIxLjIsIFZlcnNpb249MjEuMi40
|
||||||
|
|||||||
@@ -55,15 +55,19 @@ Public Class DocumentViewer
|
|||||||
|
|
||||||
Private _hide_file_info_from_user As Boolean = False
|
Private _hide_file_info_from_user As Boolean = False
|
||||||
|
|
||||||
|
|
||||||
Private _FileStream As Stream
|
Private _FileStream As Stream
|
||||||
Private _FilePath As String
|
Private _FilePath As String
|
||||||
Private _FileInfo As FileInfo
|
Private _FileInfo As FileInfo
|
||||||
Private _FileLoadMode As FileLoadMode = FileLoadMode.File
|
Private _FileLoadMode As FileLoadMode = FileLoadMode.File
|
||||||
|
Private _ViewOverride As String = ""
|
||||||
|
|
||||||
' List of all created temp files when converting msg files
|
' List of all created temp files when converting msg files
|
||||||
Private _TempFiles As New List(Of String)
|
Private _TempFiles As New List(Of String)
|
||||||
|
|
||||||
Private Sub DocumentViewer_Load(sender As Object, e As EventArgs) Handles Me.Load
|
Private Sub DocumentViewer_Load(sender As Object, e As EventArgs) Handles Me.Load
|
||||||
|
' Ensure search is initialized once the control (and GdViewer) exists
|
||||||
|
EnsureSearchInitialized()
|
||||||
UpdateMainUi()
|
UpdateMainUi()
|
||||||
End Sub
|
End Sub
|
||||||
'hallo
|
'hallo
|
||||||
@@ -79,6 +83,7 @@ Public Class DocumentViewer
|
|||||||
End Class
|
End Class
|
||||||
|
|
||||||
Public Property FileLoaded As Boolean = False
|
Public Property FileLoaded As Boolean = False
|
||||||
|
Public Property Viewer_ForceTemporaryMode As Boolean = False
|
||||||
Public ReadOnly Property AnnotationsSaved As Boolean
|
Public ReadOnly Property AnnotationsSaved As Boolean
|
||||||
Get
|
Get
|
||||||
Return Not _AnnotationsPending
|
Return Not _AnnotationsPending
|
||||||
@@ -107,7 +112,8 @@ Public Class DocumentViewer
|
|||||||
_licenseKey = pLicenseKey
|
_licenseKey = pLicenseKey
|
||||||
_licenseManager.RegisterKEY(_licenseKey)
|
_licenseManager.RegisterKEY(_licenseKey)
|
||||||
_Annotations = New Annotations(pLogConfig)
|
_Annotations = New Annotations(pLogConfig)
|
||||||
_Search = New Search(pLogConfig, GdViewer)
|
' Defer creating Search until GdViewer is ready
|
||||||
|
EnsureSearchInitialized()
|
||||||
_ToolbarSettings = pToolbarSettings
|
_ToolbarSettings = pToolbarSettings
|
||||||
|
|
||||||
Dim oConfigPath = ConfigPath()
|
Dim oConfigPath = ConfigPath()
|
||||||
@@ -119,6 +125,17 @@ Public Class DocumentViewer
|
|||||||
End Try
|
End Try
|
||||||
End Function
|
End Function
|
||||||
|
|
||||||
|
' Create the Search helper only when both the log config and the GdViewer control exist
|
||||||
|
Private Sub EnsureSearchInitialized()
|
||||||
|
Try
|
||||||
|
If _Search Is Nothing AndAlso _logConfig IsNot Nothing AndAlso GdViewer IsNot Nothing Then
|
||||||
|
_Search = New Search(_logConfig, GdViewer)
|
||||||
|
End If
|
||||||
|
Catch ex As Exception
|
||||||
|
_logger?.Error(ex)
|
||||||
|
End Try
|
||||||
|
End Sub
|
||||||
|
|
||||||
''' <summary>
|
''' <summary>
|
||||||
''' Load a file from a path and display it
|
''' Load a file from a path and display it
|
||||||
''' </summary>
|
''' </summary>
|
||||||
@@ -139,9 +156,8 @@ Public Class DocumentViewer
|
|||||||
_FileInfo = New FileInfo(FilePath)
|
_FileInfo = New FileInfo(FilePath)
|
||||||
|
|
||||||
_logger.Info("Loading file [{0}] from Filesystem", FilePath)
|
_logger.Info("Loading file [{0}] from Filesystem", FilePath)
|
||||||
FileLoaded = DoLoadFile(FilePath)
|
|
||||||
|
|
||||||
SetViewerMode(_FileInfo.Extension)
|
SetViewerMode(_FileInfo.Extension)
|
||||||
|
FileLoaded = DoLoadFile(FilePath)
|
||||||
UpdateMainUi()
|
UpdateMainUi()
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
@@ -221,7 +237,17 @@ Public Class DocumentViewer
|
|||||||
|
|
||||||
Public Sub CloseDocument()
|
Public Sub CloseDocument()
|
||||||
Try
|
Try
|
||||||
GdViewer.CloseDocument()
|
' Null-sicher schließen
|
||||||
|
If GdViewer IsNot Nothing Then
|
||||||
|
Try
|
||||||
|
GdViewer.CloseDocument()
|
||||||
|
Catch exInner As Exception
|
||||||
|
_logger?.Warn("Fehler beim Schließen von GdViewer")
|
||||||
|
_logger?.Error(exInner)
|
||||||
|
End Try
|
||||||
|
Else
|
||||||
|
_logger?.Debug("CloseDocument: GdViewer ist Nothing – nichts zu schließen")
|
||||||
|
End If
|
||||||
|
|
||||||
_FileInfo = Nothing
|
_FileInfo = Nothing
|
||||||
_FilePath = Nothing
|
_FilePath = Nothing
|
||||||
@@ -297,25 +323,23 @@ Public Class DocumentViewer
|
|||||||
GdViewer.Focus()
|
GdViewer.Focus()
|
||||||
UpdateMainUi()
|
UpdateMainUi()
|
||||||
End Sub
|
End Sub
|
||||||
Private Sub btnFirstPage_Click(ByVal sender As System.Object, ByVal e As EventArgs) Handles buttonFirstPage.ItemClick
|
Private Sub BtnFirstPage_Click(ByVal sender As System.Object, ByVal e As EventArgs) Handles buttonFirstPage.ItemClick
|
||||||
GdViewer.DisplayFirstPage()
|
GdViewer.DisplayFirstPage()
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub btnPreviousPage_Click(ByVal sender As System.Object, ByVal e As EventArgs) Handles buttonPrevPage.ItemClick
|
Private Sub BtnPreviousPage_Click(ByVal sender As System.Object, ByVal e As EventArgs) Handles buttonPrevPage.ItemClick
|
||||||
_ViewerMode = ViewerMode.GDPicture
|
|
||||||
GdViewer.DisplayPreviousPage()
|
GdViewer.DisplayPreviousPage()
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub btnNextPage_Click(ByVal sender As System.Object, ByVal e As EventArgs) Handles buttonNextPage.ItemClick
|
Private Sub BtnNextPage_Click(ByVal sender As System.Object, ByVal e As EventArgs) Handles buttonNextPage.ItemClick
|
||||||
_ViewerMode = ViewerMode.GDPicture
|
|
||||||
GdViewer.DisplayNextPage()
|
GdViewer.DisplayNextPage()
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub btnLastPage_Click(ByVal sender As System.Object, ByVal e As EventArgs) Handles buttonLastPage.ItemClick
|
Private Sub BtnLastPage_Click(ByVal sender As System.Object, ByVal e As EventArgs) Handles buttonLastPage.ItemClick
|
||||||
GdViewer.DisplayLastPage()
|
GdViewer.DisplayLastPage()
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub tbCurrentPage_Leave(ByVal sender As System.Object, ByVal e As EventArgs) Handles txtCurrentPage.EditValueChanged
|
Private Sub TbCurrentPage_Leave(ByVal sender As System.Object, ByVal e As EventArgs) Handles txtCurrentPage.EditValueChanged
|
||||||
Dim page As Integer = 0
|
Dim page As Integer = 0
|
||||||
If Integer.TryParse(txtCurrentPage.EditValue, page) Then
|
If Integer.TryParse(txtCurrentPage.EditValue, page) Then
|
||||||
If page > 0 And page <= GdViewer.PageCount Then
|
If page > 0 And page <= GdViewer.PageCount Then
|
||||||
@@ -337,12 +361,10 @@ Public Class DocumentViewer
|
|||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub btnZoomOut_Click(sender As Object, e As EventArgs) Handles buttonZoomOut.ItemClick
|
Private Sub btnZoomOut_Click(sender As Object, e As EventArgs) Handles buttonZoomOut.ItemClick
|
||||||
_ViewerMode = ViewerMode.GDPicture
|
|
||||||
GdViewer.ZoomOUT()
|
GdViewer.ZoomOUT()
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub btnZoomIn_Click(sender As Object, e As EventArgs) Handles buttonZoomIn.ItemClick
|
Private Sub btnZoomIn_Click(sender As Object, e As EventArgs) Handles buttonZoomIn.ItemClick
|
||||||
_ViewerMode = ViewerMode.GDPicture
|
|
||||||
GdViewer.ZoomIN()
|
GdViewer.ZoomIN()
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
@@ -354,11 +376,11 @@ Public Class DocumentViewer
|
|||||||
GdViewer.PrintDialog()
|
GdViewer.PrintDialog()
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub btnRotateLeft_Click(sender As Object, e As EventArgs) Handles buttonRotateLeft.ItemClick
|
Private Sub BtnRotateLeft_Click(sender As Object, e As EventArgs) Handles buttonRotateLeft.ItemClick
|
||||||
GdViewer.Rotate(RotateFlipType.Rotate270FlipNone)
|
GdViewer.Rotate(RotateFlipType.Rotate270FlipNone)
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub btnRotateRight_Click(sender As Object, e As EventArgs) Handles buttonRotateRight.ItemClick
|
Private Sub BtnRotateRight_Click(sender As Object, e As EventArgs) Handles buttonRotateRight.ItemClick
|
||||||
GdViewer.Rotate(RotateFlipType.Rotate90FlipNone)
|
GdViewer.Rotate(RotateFlipType.Rotate90FlipNone)
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
@@ -383,7 +405,7 @@ Public Class DocumentViewer
|
|||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub btnSettings_Click(ByVal sender As Object, ByVal e As EventArgs) Handles buttonSettings.ItemClick
|
Private Sub BtnSettings_Click(ByVal sender As Object, ByVal e As EventArgs) Handles buttonSettings.ItemClick
|
||||||
Using frmSettings As New frmViewerSettings(GdViewer)
|
Using frmSettings As New frmViewerSettings(GdViewer)
|
||||||
frmSettings.ShowDialog(Me)
|
frmSettings.ShowDialog(Me)
|
||||||
End Using
|
End Using
|
||||||
@@ -437,14 +459,18 @@ Public Class DocumentViewer
|
|||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub SetViewerMode(Extension As String)
|
Private Sub SetViewerMode(Extension As String)
|
||||||
Select Case Extension.ToUpper
|
If _ViewOverride = "Richtext" Then
|
||||||
Case "CSV"
|
_ViewerMode = ViewerMode.Richtext
|
||||||
_ViewerMode = ViewerMode.Excel
|
Else
|
||||||
Case ".EML", ".DOC", ".DOCX", ".ODT", ".RTF", ".TXT"
|
Select Case Extension.ToUpper
|
||||||
_ViewerMode = ViewerMode.RichText
|
Case "CSV"
|
||||||
Case Else
|
_ViewerMode = ViewerMode.Excel
|
||||||
_ViewerMode = ViewerMode.GDPicture
|
'Case ".EML", ".DOC", ".DOCX", ".ODT", ".RTF", ".TXT"
|
||||||
End Select
|
' _ViewerMode = ViewerMode.RichText
|
||||||
|
Case Else
|
||||||
|
_ViewerMode = ViewerMode.GDPicture
|
||||||
|
End Select
|
||||||
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
Private Sub FreeFile()
|
Private Sub FreeFile()
|
||||||
Try
|
Try
|
||||||
@@ -464,8 +490,9 @@ Public Class DocumentViewer
|
|||||||
_logger.Warn($"Unexpected error in FreeFile: {ex.Message}")
|
_logger.Warn($"Unexpected error in FreeFile: {ex.Message}")
|
||||||
End Try
|
End Try
|
||||||
End Sub
|
End Sub
|
||||||
Private Function DoLoadFile(FilePath As String) As Boolean
|
Private Function DoLoadFile(FilePath As String, Optional ViewOverride As String = "") As Boolean
|
||||||
Try
|
Try
|
||||||
|
lblInfo.Visible = False
|
||||||
Dim oFileInfo = New FileInfo(FilePath)
|
Dim oFileInfo = New FileInfo(FilePath)
|
||||||
Dim oExtension As String = oFileInfo.Extension.ToUpper
|
Dim oExtension As String = oFileInfo.Extension.ToUpper
|
||||||
|
|
||||||
@@ -473,37 +500,174 @@ Public Class DocumentViewer
|
|||||||
|
|
||||||
SpreadsheetControl1.Visible = False
|
SpreadsheetControl1.Visible = False
|
||||||
RichEditControl1.Visible = False
|
RichEditControl1.Visible = False
|
||||||
|
|
||||||
SpreadsheetControl1.Dock = DockStyle.None
|
SpreadsheetControl1.Dock = DockStyle.None
|
||||||
RichEditControl1.Dock = DockStyle.None
|
RichEditControl1.Dock = DockStyle.None
|
||||||
|
|
||||||
Select Case oExtension.ToUpper
|
Dim override_Spreadsheet As Boolean = False
|
||||||
|
If oExtension.ToLower = ".xlsx" Then
|
||||||
|
If oFileInfo.Length > 15000 Then
|
||||||
|
_logger.Info("Override")
|
||||||
|
override_Spreadsheet = True
|
||||||
|
End If
|
||||||
|
End If
|
||||||
|
|
||||||
|
If ViewOverride = "Richtext" Then
|
||||||
|
RichEditControl1.LoadDocument(FilePath, GetDocumentFormat(oExtension))
|
||||||
|
RichEditControl1.Visible = True
|
||||||
|
GdViewer.Visible = False
|
||||||
|
RichEditControl1.Dock = DockStyle.Fill
|
||||||
|
_ViewOverride = "Richtext"
|
||||||
|
_ViewerMode = ViewerMode.Richtext
|
||||||
|
lblInfo.Visible = True
|
||||||
|
lblInfo.Text = "This docx-file contains a generic error and will be displayed in a reduced viewer. Please try to open the file in WORD"
|
||||||
|
ElseIf override_Spreadsheet = True Then
|
||||||
|
Dim oFormat = GetSpreadsheetFormat(oExtension)
|
||||||
|
SpreadsheetControl1.LoadDocument(FilePath, oFormat)
|
||||||
|
|
||||||
|
Dim oRange = SpreadsheetControl1.ActiveWorksheet.GetUsedRange()
|
||||||
|
oRange.AutoFitColumns()
|
||||||
|
|
||||||
|
SpreadsheetControl1.Visible = True
|
||||||
|
GdViewer.Visible = False
|
||||||
|
SpreadsheetControl1.Dock = DockStyle.Fill
|
||||||
|
Else
|
||||||
|
_ViewOverride = ""
|
||||||
|
Select Case oExtension.ToUpper
|
||||||
|
Case ".CSV"
|
||||||
|
Dim oFormat = GetSpreadsheetFormat(oExtension)
|
||||||
|
SpreadsheetControl1.LoadDocument(FilePath, oFormat)
|
||||||
|
|
||||||
|
Dim oRange = SpreadsheetControl1.ActiveWorksheet.GetUsedRange()
|
||||||
|
oRange.AutoFitColumns()
|
||||||
|
|
||||||
|
SpreadsheetControl1.Visible = True
|
||||||
|
GdViewer.Visible = False
|
||||||
|
SpreadsheetControl1.Dock = DockStyle.Fill
|
||||||
|
|
||||||
|
'Case ".EML", ".DOC", ".DOCX", ".ODT", ".RTF", ".TXT"
|
||||||
|
' RichEditControl1.LoadDocument(FilePath, GetDocumentFormat(oExtension))
|
||||||
|
|
||||||
|
' RichEditControl1.Visible = True
|
||||||
|
' GdViewer.Visible = False
|
||||||
|
' RichEditControl1.Dock = DockStyle.Fill
|
||||||
|
Case Else
|
||||||
|
Select Case oExtension.ToUpper
|
||||||
|
Case ".EML", ".DOC", ".DOCX", ".XLS", ".XLSX", ".ODT", ".RTF", ".TXT"
|
||||||
|
GdViewer.ForceTemporaryMode = False
|
||||||
|
End Select
|
||||||
|
|
||||||
|
GdViewer.ZoomMode = ViewerZoomMode.ZoomModeWidthViewer
|
||||||
|
GdViewer.DocumentAlignment = ViewerDocumentAlignment.DocumentAlignmentTopCenter
|
||||||
|
If Viewer_ForceTemporaryMode = True Then
|
||||||
|
GdViewer.ForceTemporaryMode = True
|
||||||
|
End If
|
||||||
|
|
||||||
|
GdViewer.AnnotationDropShadow = True
|
||||||
|
GdViewer.BackColor = Color.White
|
||||||
|
|
||||||
|
Dim oGDPState As GdPicture14.GdPictureStatus = GdViewer.DisplayFromFile(FilePath)
|
||||||
|
If oGDPState <> GdPictureStatus.OK Then
|
||||||
|
_logger.Warn($"GdPictureStatus is [{oGDPState}]")
|
||||||
|
If oExtension.ToUpper = ".DOCX" And oGDPState = GdPictureStatus.GenericError Then
|
||||||
|
DoLoadFile(FilePath, "Richtext")
|
||||||
|
Else
|
||||||
|
Dim oFileName = IO.Path.GetFileName(FilePath)
|
||||||
|
lbFileNotLoaded.Text = String.Format("Datei konnte nicht geladen werden:{0}{1}", vbCrLf, oFileName)
|
||||||
|
lbFileNotLoaded.Visible = True
|
||||||
|
End If
|
||||||
|
|
||||||
|
Else
|
||||||
|
If GdViewer.Visible = False Then
|
||||||
|
GdViewer.Visible = True
|
||||||
|
End If
|
||||||
|
End If
|
||||||
|
|
||||||
|
End Select
|
||||||
|
End If
|
||||||
|
If _ViewOverride = "Richtext" Then
|
||||||
|
_ViewerMode = ViewerMode.Richtext
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
Return True
|
||||||
|
Catch ex As Exception
|
||||||
|
_logger.Error(ex)
|
||||||
|
Return False
|
||||||
|
End Try
|
||||||
|
End Function
|
||||||
|
|
||||||
|
|
||||||
|
' Ensures the embedded GdViewer control exists and is added to the visual tree
|
||||||
|
Private Function EnsureViewerReady() As Boolean
|
||||||
|
Try
|
||||||
|
' If the control field is Nothing (e.g., designer not yet created), try to lazy-create and add it
|
||||||
|
If GdViewer Is Nothing Then
|
||||||
|
' Attempt to find an existing instance by name in Controls collection
|
||||||
|
Dim existing = Me.Controls.OfType(Of GdPicture14.GdViewer)().FirstOrDefault()
|
||||||
|
If existing IsNot Nothing Then
|
||||||
|
' Assign the designer field via reflection if needed, otherwise use it directly
|
||||||
|
GdViewer = existing
|
||||||
|
Else
|
||||||
|
' Last resort: create a new viewer and add it
|
||||||
|
Dim viewer = New GdPicture14.GdViewer()
|
||||||
|
viewer.Dock = DockStyle.Fill
|
||||||
|
Me.Controls.Add(viewer)
|
||||||
|
GdViewer = viewer
|
||||||
|
End If
|
||||||
|
End If
|
||||||
|
|
||||||
|
Return GdViewer IsNot Nothing
|
||||||
|
Catch ex As Exception
|
||||||
|
_logger?.Error(ex)
|
||||||
|
Return False
|
||||||
|
End Try
|
||||||
|
End Function
|
||||||
|
|
||||||
|
Private Sub FitToPage()
|
||||||
|
If Not GdViewer Is Nothing Then
|
||||||
|
GdViewer.ZoomMode = ViewerZoomMode.ZoomModeFitToViewer
|
||||||
|
End If
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
Private Sub FitToWidth()
|
||||||
|
If Not GdViewer Is Nothing Then
|
||||||
|
GdViewer.ZoomMode = ViewerZoomMode.ZoomModeWidthViewer
|
||||||
|
End If
|
||||||
|
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
Private Function DoLoadFile(Stream As Stream, Extension As String) As Boolean
|
||||||
|
|
||||||
|
Try
|
||||||
|
|
||||||
|
SpreadsheetControl1.Visible = False
|
||||||
|
SpreadsheetControl1.Dock = DockStyle.None
|
||||||
|
|
||||||
|
Select Case Extension.ToUpper
|
||||||
|
|
||||||
Case ".CSV"
|
Case ".CSV"
|
||||||
Dim oFormat = GetSpreadsheetFormat(oExtension)
|
SpreadsheetControl1.LoadDocument(Stream, GetSpreadsheetFormat(Extension))
|
||||||
SpreadsheetControl1.LoadDocument(FilePath, oFormat)
|
|
||||||
|
|
||||||
Dim oRange = SpreadsheetControl1.ActiveWorksheet.GetUsedRange()
|
Dim oRange = SpreadsheetControl1.ActiveWorksheet.GetUsedRange()
|
||||||
oRange.AutoFitColumns()
|
oRange.AutoFitColumns()
|
||||||
|
|
||||||
SpreadsheetControl1.Visible = True
|
SpreadsheetControl1.Visible = True
|
||||||
SpreadsheetControl1.Dock = DockStyle.Fill
|
SpreadsheetControl1.Dock = DockStyle.Fill
|
||||||
Case ".EML", ".DOC", ".DOCX", ".ODT", ".RTF", ".TXT"
|
|
||||||
RichEditControl1.LoadDocument(FilePath, GetDocumentFormat(oExtension))
|
|
||||||
|
|
||||||
RichEditControl1.Visible = True
|
|
||||||
RichEditControl1.Dock = DockStyle.Fill
|
|
||||||
Case Else
|
Case Else
|
||||||
GdViewer.ZoomMode = ViewerZoomMode.ZoomModeWidthViewer
|
If Not GdViewer Is Nothing Then
|
||||||
GdViewer.DocumentAlignment = ViewerDocumentAlignment.DocumentAlignmentTopCenter
|
GdViewer.ZoomMode = ViewerZoomMode.ZoomModeWidthViewer
|
||||||
GdViewer.ForceTemporaryMode = True
|
GdViewer.DocumentAlignment = ViewerDocumentAlignment.DocumentAlignmentTopCenter
|
||||||
GdViewer.AnnotationDropShadow = True
|
If Viewer_ForceTemporaryMode = True Then
|
||||||
GdViewer.BackColor = Color.White
|
GdViewer.ForceTemporaryMode = True
|
||||||
|
End If
|
||||||
|
GdViewer.AnnotationDropShadow = True
|
||||||
|
|
||||||
If GdViewer.DisplayFromFile(FilePath) <> GdPictureStatus.OK Then
|
GdViewer.DisplayFromStream(Stream)
|
||||||
Dim oFileName = IO.Path.GetFileName(FilePath)
|
|
||||||
lbFileNotLoaded.Text = String.Format("Datei konnte nicht geladen werden:{0}{1}", vbCrLf, oFileName)
|
|
||||||
lbFileNotLoaded.Visible = True
|
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
|
||||||
End Select
|
End Select
|
||||||
|
|
||||||
UpdateMainUi()
|
UpdateMainUi()
|
||||||
@@ -514,18 +678,7 @@ Public Class DocumentViewer
|
|||||||
Return False
|
Return False
|
||||||
End Try
|
End Try
|
||||||
End Function
|
End Function
|
||||||
|
Private Function StreamFile(Stream As Stream, Extension As String) As Boolean
|
||||||
Private Sub FitToPage()
|
|
||||||
_ViewerMode = ViewerMode.GDPicture
|
|
||||||
GdViewer.ZoomMode = ViewerZoomMode.ZoomModeFitToViewer
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
Private Sub FitToWidth()
|
|
||||||
_ViewerMode = ViewerMode.GDPicture
|
|
||||||
GdViewer.ZoomMode = ViewerZoomMode.ZoomModeWidthViewer
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
Private Function DoLoadFile(Stream As Stream, Extension As String) As Boolean
|
|
||||||
Try
|
Try
|
||||||
|
|
||||||
SpreadsheetControl1.Visible = False
|
SpreadsheetControl1.Visible = False
|
||||||
@@ -657,25 +810,27 @@ Public Class DocumentViewer
|
|||||||
btnSearch2.Visibility = ToVisibility(False)
|
btnSearch2.Visibility = ToVisibility(False)
|
||||||
btnNextHighlight.Visibility = ToVisibility(False)
|
btnNextHighlight.Visibility = ToVisibility(False)
|
||||||
btnPrevHighlight.Visibility = ToVisibility(False)
|
btnPrevHighlight.Visibility = ToVisibility(False)
|
||||||
|
Case Else
|
||||||
|
ToolbarDocumentViewer.Visible = False
|
||||||
|
|
||||||
End Select
|
End Select
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub btnSearch2_ItemClick(sender As Object, e As XtraBars.ItemClickEventArgs) Handles btnSearch2.ItemClick
|
Private Sub btnSearch2_ItemClick(sender As Object, e As XtraBars.ItemClickEventArgs) Handles btnSearch2.ItemClick
|
||||||
If Not String.IsNullOrEmpty(txtSearch.EditValue) Then
|
EnsureSearchInitialized()
|
||||||
|
If _Search IsNot Nothing AndAlso Not String.IsNullOrEmpty(txtSearch.EditValue) Then
|
||||||
_Search.SearchAll(txtSearch.EditValue?.ToString)
|
_Search.SearchAll(txtSearch.EditValue?.ToString)
|
||||||
|
|
||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub btnPrevHighlight_ItemClick(sender As Object, e As XtraBars.ItemClickEventArgs) Handles btnPrevHighlight.ItemClick
|
Private Sub btnPrevHighlight_ItemClick(sender As Object, e As XtraBars.ItemClickEventArgs) Handles btnPrevHighlight.ItemClick
|
||||||
_Search.PrevHighlight()
|
EnsureSearchInitialized()
|
||||||
|
_Search?.PrevHighlight()
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub btnNextHighlight_ItemClick(sender As Object, e As XtraBars.ItemClickEventArgs) Handles btnNextHighlight.ItemClick
|
Private Sub btnNextHighlight_ItemClick(sender As Object, e As XtraBars.ItemClickEventArgs) Handles btnNextHighlight.ItemClick
|
||||||
_Search.NextHighlight()
|
EnsureSearchInitialized()
|
||||||
|
_Search?.NextHighlight()
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub txtSearch_EditValueChanged(sender As Object, e As EventArgs) Handles txtSearch.EditValueChanged
|
Private Sub txtSearch_EditValueChanged(sender As Object, e As EventArgs) Handles txtSearch.EditValueChanged
|
||||||
|
|||||||
@@ -160,15 +160,9 @@
|
|||||||
<HintPath>..\packages\GdPicture.14.3.3\lib\net462\GdPicture.NET.14.wia.gateway.dll</HintPath>
|
<HintPath>..\packages\GdPicture.14.3.3\lib\net462\GdPicture.NET.14.wia.gateway.dll</HintPath>
|
||||||
<EmbedInteropTypes>True</EmbedInteropTypes>
|
<EmbedInteropTypes>True</EmbedInteropTypes>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="IndexRange, Version=1.0.3.0, Culture=neutral, PublicKeyToken=35e6a3c4212514c6, processorArchitecture=MSIL">
|
|
||||||
<HintPath>..\packages\IndexRange.1.0.3\lib\net45\IndexRange.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="Microsoft.Bcl.AsyncInterfaces, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
<Reference Include="Microsoft.Bcl.AsyncInterfaces, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\Microsoft.Bcl.AsyncInterfaces.8.0.0\lib\net462\Microsoft.Bcl.AsyncInterfaces.dll</HintPath>
|
<HintPath>..\packages\Microsoft.Bcl.AsyncInterfaces.8.0.0\lib\net462\Microsoft.Bcl.AsyncInterfaces.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Microsoft.Bcl.HashCode, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
|
||||||
<HintPath>..\packages\Microsoft.Bcl.HashCode.6.0.0\lib\net462\Microsoft.Bcl.HashCode.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="Microsoft.CSharp" />
|
<Reference Include="Microsoft.CSharp" />
|
||||||
<Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
<Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\Newtonsoft.Json.13.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
|
<HintPath>..\packages\Newtonsoft.Json.13.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
|
||||||
@@ -179,8 +173,8 @@
|
|||||||
<Reference Include="NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
|
<Reference Include="NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\NLog.5.0.5\lib\net46\NLog.dll</HintPath>
|
<HintPath>..\packages\NLog.5.0.5\lib\net46\NLog.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="OpenMcdf, Version=3.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="OpenMcdf, Version=2.4.1.0, Culture=neutral, PublicKeyToken=fdbb1629d7c00800, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\OpenMcdf.3.0.0\lib\netstandard2.0\OpenMcdf.dll</HintPath>
|
<HintPath>..\packages\OpenMcdf.2.4.1\lib\net40\OpenMcdf.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="PresentationCore" />
|
<Reference Include="PresentationCore" />
|
||||||
<Reference Include="PresentationFramework" />
|
<Reference Include="PresentationFramework" />
|
||||||
@@ -234,8 +228,8 @@
|
|||||||
<Reference Include="System.Text.Encodings.Web, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
<Reference Include="System.Text.Encodings.Web, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\System.Text.Encodings.Web.8.0.0\lib\net462\System.Text.Encodings.Web.dll</HintPath>
|
<HintPath>..\packages\System.Text.Encodings.Web.8.0.0\lib\net462\System.Text.Encodings.Web.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="System.Text.Json, Version=8.0.0.5, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
<Reference Include="System.Text.Json, Version=8.0.0.6, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\System.Text.Json.8.0.5\lib\net462\System.Text.Json.dll</HintPath>
|
<HintPath>..\packages\System.Text.Json.8.0.6\lib\net462\System.Text.Json.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="System.Threading.Tasks.Extensions, Version=4.2.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
<Reference Include="System.Threading.Tasks.Extensions, Version=4.2.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\System.Threading.Tasks.Extensions.4.5.4\lib\net461\System.Threading.Tasks.Extensions.dll</HintPath>
|
<HintPath>..\packages\System.Threading.Tasks.Extensions.4.5.4\lib\net461\System.Threading.Tasks.Extensions.dll</HintPath>
|
||||||
@@ -271,9 +265,7 @@
|
|||||||
<Compile Include="DocumentViewer.Designer.vb">
|
<Compile Include="DocumentViewer.Designer.vb">
|
||||||
<DependentUpon>DocumentViewer.vb</DependentUpon>
|
<DependentUpon>DocumentViewer.vb</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="DocumentViewer.vb">
|
<Compile Include="DocumentViewer.vb" />
|
||||||
<SubType>UserControl</SubType>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="frmViewerSettings.Designer.vb">
|
<Compile Include="frmViewerSettings.Designer.vb">
|
||||||
<DependentUpon>frmViewerSettings.vb</DependentUpon>
|
<DependentUpon>frmViewerSettings.vb</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
|
|||||||
23
Controls.DocumentViewer/MailLicense.xml
Normal file
23
Controls.DocumentViewer/MailLicense.xml
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<License>
|
||||||
|
<Id>4dc5ef40-f1a9-468b-994c-b7ed600ad878</Id>
|
||||||
|
<ProductName>Mail.dll</ProductName>
|
||||||
|
<SubscriptionUntil>2022-07-29</SubscriptionUntil>
|
||||||
|
<RegisteredTo>Digital Data GmbH</RegisteredTo>
|
||||||
|
<LicenseType>single developer</LicenseType>
|
||||||
|
<BuyerName>Digital Data GmbH</BuyerName>
|
||||||
|
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
|
||||||
|
<SignedInfo>
|
||||||
|
<CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" />
|
||||||
|
<SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" />
|
||||||
|
<Reference URI="">
|
||||||
|
<Transforms>
|
||||||
|
<Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" />
|
||||||
|
</Transforms>
|
||||||
|
<DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
|
||||||
|
<DigestValue>75MRtl4ipYelIZYlpT8O7QDX9Zc=</DigestValue>
|
||||||
|
</Reference>
|
||||||
|
</SignedInfo>
|
||||||
|
<SignatureValue>Raxfkz6DfQVs/sMvH+F2nH0eHXD8FoUFSdP3t7AgBUdpABJQx86srlyuMSEhXPlc1THCqPouEVob4RsWnd9OXvTiPPSOUSK9zuNG6uz93KLAhpSD5PraAgBCF4jwZArlAp7aCNfZpHqQ3w6TRHS+CfravUU0AHHG3MZ1ZcRkGuo=</SignatureValue>
|
||||||
|
</Signature>
|
||||||
|
</License>
|
||||||
@@ -8,12 +8,12 @@ Imports System.Runtime.InteropServices
|
|||||||
|
|
||||||
' Werte der Assemblyattribute überprüfen
|
' Werte der Assemblyattribute überprüfen
|
||||||
|
|
||||||
<Assembly: AssemblyTitle("DocumentViewer")>
|
<Assembly: AssemblyTitle("DigitalData.DocumentViewer")>
|
||||||
<Assembly: AssemblyDescription("")>
|
<Assembly: AssemblyDescription("Stellt den Digital Data DocumentViewer für Applikationen zur Verfügung")>
|
||||||
<Assembly: AssemblyCompany("")>
|
<Assembly: AssemblyCompany("Digutal Data GmbH, Heuchelheim")>
|
||||||
<Assembly: AssemblyProduct("DocumentViewer")>
|
<Assembly: AssemblyProduct("DigitalData.DocumentViewer")>
|
||||||
<Assembly: AssemblyCopyright("Copyright © 2024")>
|
<Assembly: AssemblyCopyright("Copyright © 2025")>
|
||||||
<Assembly: AssemblyTrademark("1.9.4.0")>
|
<Assembly: AssemblyTrademark("")>
|
||||||
|
|
||||||
<Assembly: ComVisible(False)>
|
<Assembly: ComVisible(False)>
|
||||||
|
|
||||||
@@ -31,5 +31,5 @@ Imports System.Runtime.InteropServices
|
|||||||
' übernehmen, indem Sie "*" eingeben:
|
' übernehmen, indem Sie "*" eingeben:
|
||||||
' <Assembly: AssemblyVersion("1.0.*")>
|
' <Assembly: AssemblyVersion("1.0.*")>
|
||||||
|
|
||||||
<Assembly: AssemblyVersion("2.0.2.0")>
|
<Assembly: AssemblyVersion("2.6.0.0")>
|
||||||
<Assembly: AssemblyFileVersion("2.0.1.0")>
|
<Assembly: AssemblyFileVersion("2.6.0.0")>
|
||||||
|
|||||||
5
Controls.DocumentViewer/README.txt
Normal file
5
Controls.DocumentViewer/README.txt
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
BASE MODULE
|
||||||
|
===========
|
||||||
|
|
||||||
|
This module is intended for often used constants and datastructures.
|
||||||
|
Therefor it is important that this module does not have any dependencies on other modules!!
|
||||||
@@ -5,16 +5,14 @@
|
|||||||
<package id="DocumentFormat.OpenXml.Framework" version="3.2.0" targetFramework="net462" />
|
<package id="DocumentFormat.OpenXml.Framework" version="3.2.0" targetFramework="net462" />
|
||||||
<package id="GdPicture" version="14.3.3" targetFramework="net462" />
|
<package id="GdPicture" version="14.3.3" targetFramework="net462" />
|
||||||
<package id="GdPicture.runtimes.windows" version="14.3.3" targetFramework="net462" />
|
<package id="GdPicture.runtimes.windows" version="14.3.3" targetFramework="net462" />
|
||||||
<package id="IndexRange" version="1.0.3" targetFramework="net462" />
|
|
||||||
<package id="Microsoft.AspNet.WebApi.Client" version="6.0.0" targetFramework="net462" />
|
<package id="Microsoft.AspNet.WebApi.Client" version="6.0.0" targetFramework="net462" />
|
||||||
<package id="Microsoft.Bcl.AsyncInterfaces" version="8.0.0" targetFramework="net462" />
|
<package id="Microsoft.Bcl.AsyncInterfaces" version="8.0.0" targetFramework="net462" />
|
||||||
<package id="Microsoft.Bcl.HashCode" version="6.0.0" targetFramework="net462" />
|
|
||||||
<package id="Microsoft.CSharp" version="4.7.0" targetFramework="net462" />
|
<package id="Microsoft.CSharp" version="4.7.0" targetFramework="net462" />
|
||||||
<package id="Microsoft.VisualBasic" version="10.3.0" targetFramework="net462" />
|
<package id="Microsoft.VisualBasic" version="10.3.0" targetFramework="net462" />
|
||||||
<package id="Newtonsoft.Json" version="13.0.3" targetFramework="net462" />
|
<package id="Newtonsoft.Json" version="13.0.3" targetFramework="net462" />
|
||||||
<package id="Newtonsoft.Json.Bson" version="1.0.2" targetFramework="net462" />
|
<package id="Newtonsoft.Json.Bson" version="1.0.2" targetFramework="net462" />
|
||||||
<package id="NLog" version="5.0.5" targetFramework="net461" />
|
<package id="NLog" version="5.0.5" targetFramework="net461" />
|
||||||
<package id="OpenMcdf" version="3.0.0" targetFramework="net462" />
|
<package id="OpenMcdf" version="2.4.1" targetFramework="net462" />
|
||||||
<package id="protobuf-net" version="3.2.46" targetFramework="net462" />
|
<package id="protobuf-net" version="3.2.46" targetFramework="net462" />
|
||||||
<package id="protobuf-net.Core" version="3.2.46" targetFramework="net462" />
|
<package id="protobuf-net.Core" version="3.2.46" targetFramework="net462" />
|
||||||
<package id="RtfPipe" version="2.0.7677.4303" targetFramework="net462" />
|
<package id="RtfPipe" version="2.0.7677.4303" targetFramework="net462" />
|
||||||
@@ -28,7 +26,7 @@
|
|||||||
<package id="System.Runtime.CompilerServices.Unsafe" version="6.1.0" targetFramework="net462" />
|
<package id="System.Runtime.CompilerServices.Unsafe" version="6.1.0" targetFramework="net462" />
|
||||||
<package id="System.Security.Cryptography.Pkcs" version="8.0.1" targetFramework="net462" />
|
<package id="System.Security.Cryptography.Pkcs" version="8.0.1" targetFramework="net462" />
|
||||||
<package id="System.Text.Encodings.Web" version="8.0.0" targetFramework="net462" />
|
<package id="System.Text.Encodings.Web" version="8.0.0" targetFramework="net462" />
|
||||||
<package id="System.Text.Json" version="8.0.5" targetFramework="net462" />
|
<package id="System.Text.Json" version="8.0.6" targetFramework="net462" />
|
||||||
<package id="System.Threading.Tasks.Extensions" version="4.5.4" targetFramework="net462" />
|
<package id="System.Threading.Tasks.Extensions" version="4.5.4" targetFramework="net462" />
|
||||||
<package id="System.ValueTuple" version="4.5.0" targetFramework="net462" />
|
<package id="System.ValueTuple" version="4.5.0" targetFramework="net462" />
|
||||||
</packages>
|
</packages>
|
||||||
@@ -1,7 +1,6 @@
|
|||||||
Imports System.ComponentModel
|
Imports System.ComponentModel
|
||||||
Imports System.Drawing.Design
|
Imports System.Drawing.Design
|
||||||
Imports System.Windows.Forms.Design
|
Imports System.Windows.Forms.Design
|
||||||
Imports DigitalData.Modules.Language
|
|
||||||
|
|
||||||
Public Class RegexEditor
|
Public Class RegexEditor
|
||||||
Inherits UITypeEditor
|
Inherits UITypeEditor
|
||||||
@@ -12,7 +11,7 @@ Public Class RegexEditor
|
|||||||
|
|
||||||
Public Overrides Function EditValue(context As ITypeDescriptorContext, provider As IServiceProvider, value As Object) As Object
|
Public Overrides Function EditValue(context As ITypeDescriptorContext, provider As IServiceProvider, value As Object) As Object
|
||||||
Dim oService As IWindowsFormsEditorService = TryCast(provider.GetService(GetType(IWindowsFormsEditorService)), IWindowsFormsEditorService)
|
Dim oService As IWindowsFormsEditorService = TryCast(provider.GetService(GetType(IWindowsFormsEditorService)), IWindowsFormsEditorService)
|
||||||
Dim oRegexString As String = Utils.NotNull(value, String.Empty)
|
Dim oRegexString As String = If(value IsNot Nothing, value.ToString(), String.Empty)
|
||||||
|
|
||||||
If oService IsNot Nothing Then
|
If oService IsNot Nothing Then
|
||||||
Using oform As New frmRegexEditor(oRegexString)
|
Using oform As New frmRegexEditor(oRegexString)
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
<AssemblyName>DigitalData.Controls.RegexEditor</AssemblyName>
|
<AssemblyName>DigitalData.Controls.RegexEditor</AssemblyName>
|
||||||
<FileAlignment>512</FileAlignment>
|
<FileAlignment>512</FileAlignment>
|
||||||
<MyType>Windows</MyType>
|
<MyType>Windows</MyType>
|
||||||
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
|
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
|
||||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||||
<TargetFrameworkProfile />
|
<TargetFrameworkProfile />
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
@@ -60,12 +60,8 @@
|
|||||||
<Reference Include="DevExpress.XtraLayout.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
|
<Reference Include="DevExpress.XtraLayout.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DigitalData.Modules.Language, Version=1.6.0.0, Culture=neutral, processorArchitecture=MSIL">
|
|
||||||
<SpecificVersion>False</SpecificVersion>
|
|
||||||
<HintPath>P:\Projekte DIGITAL DATA\DIGITAL DATA - Entwicklung\DLL_Bibliotheken\Digital Data\DigitalData.Modules.Language.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="DigitalData.Modules.Logging">
|
<Reference Include="DigitalData.Modules.Logging">
|
||||||
<HintPath>..\..\Modules\Config\bin\Debug\DigitalData.Modules.Logging.dll</HintPath>
|
<HintPath>..\..\DDModules\Logging\bin\Debug\DigitalData.Modules.Logging.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="PresentationCore" />
|
<Reference Include="PresentationCore" />
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
|
|||||||
@@ -8,11 +8,11 @@ Imports System.Runtime.InteropServices
|
|||||||
|
|
||||||
' Werte der Assemblyattribute überprüfen
|
' Werte der Assemblyattribute überprüfen
|
||||||
|
|
||||||
<Assembly: AssemblyTitle("SnapPanel")>
|
<Assembly: AssemblyTitle("DigitalData.SnapPanel")>
|
||||||
<Assembly: AssemblyDescription("")>
|
<Assembly: AssemblyDescription("Integriert ein SnapPanel für das Design von Forms")>
|
||||||
<Assembly: AssemblyCompany("")>
|
<Assembly: AssemblyCompany("Digital Data GmbH, Heuchelheim")>
|
||||||
<Assembly: AssemblyProduct("SnapPanel")>
|
<Assembly: AssemblyProduct("DigitalData.SnapPanel")>
|
||||||
<Assembly: AssemblyCopyright("Copyright © 2021")>
|
<Assembly: AssemblyCopyright("")>
|
||||||
<Assembly: AssemblyTrademark("")>
|
<Assembly: AssemblyTrademark("")>
|
||||||
|
|
||||||
<Assembly: ComVisible(False)>
|
<Assembly: ComVisible(False)>
|
||||||
@@ -31,5 +31,5 @@ Imports System.Runtime.InteropServices
|
|||||||
' indem Sie "*" wie unten gezeigt eingeben:
|
' indem Sie "*" wie unten gezeigt eingeben:
|
||||||
' <Assembly: AssemblyVersion("1.0.*")>
|
' <Assembly: AssemblyVersion("1.0.*")>
|
||||||
|
|
||||||
<Assembly: AssemblyVersion("1.0.1.0")>
|
<Assembly: AssemblyVersion("2.1.0.0")>
|
||||||
<Assembly: AssemblyFileVersion("1.0.1.0")>
|
<Assembly: AssemblyFileVersion("2.1.0.0")>
|
||||||
|
|||||||
@@ -1,18 +1,28 @@
|
|||||||
Imports System.Drawing
|
Imports System.Drawing
|
||||||
Imports System.Windows.Forms
|
Imports System.Windows.Forms
|
||||||
|
|
||||||
|
|
||||||
Public Class ClassSnapPanel
|
Public Class ClassSnapPanel
|
||||||
Inherits Panel
|
Inherits Panel
|
||||||
|
|
||||||
Private _ShowGrid As Boolean = True
|
Private _ShowGrid As Boolean = True
|
||||||
Private _GridSize As Integer = 16
|
Private _GridSize As Integer = 16
|
||||||
|
Private _NeedsScrollUpdate As Boolean = False
|
||||||
|
|
||||||
|
Public Sub New()
|
||||||
|
Me.AutoScroll = True
|
||||||
|
Me.DoubleBuffered = True ' Flackern reduzieren
|
||||||
|
End Sub
|
||||||
|
|
||||||
Public Property GridSize As Integer
|
Public Property GridSize As Integer
|
||||||
Get
|
Get
|
||||||
Return _GridSize
|
Return _GridSize
|
||||||
End Get
|
End Get
|
||||||
Set(value As Integer)
|
Set(value As Integer)
|
||||||
_GridSize = value
|
If value > 0 AndAlso value <> _GridSize Then
|
||||||
Refresh()
|
_GridSize = value
|
||||||
|
Invalidate()
|
||||||
|
End If
|
||||||
End Set
|
End Set
|
||||||
End Property
|
End Property
|
||||||
|
|
||||||
@@ -21,36 +31,146 @@ Public Class ClassSnapPanel
|
|||||||
Return _ShowGrid
|
Return _ShowGrid
|
||||||
End Get
|
End Get
|
||||||
Set(value As Boolean)
|
Set(value As Boolean)
|
||||||
_ShowGrid = value
|
If value <> _ShowGrid Then
|
||||||
Refresh()
|
_ShowGrid = value
|
||||||
|
Invalidate()
|
||||||
|
End If
|
||||||
End Set
|
End Set
|
||||||
End Property
|
End Property
|
||||||
|
|
||||||
Protected Overrides Sub OnControlAdded(e As ControlEventArgs)
|
Protected Overrides Sub OnControlAdded(e As ControlEventArgs)
|
||||||
AddHandler e.Control.LocationChanged, AddressOf AlignToGrid
|
|
||||||
AddHandler e.Control.DragDrop, AddressOf AlignToGrid
|
|
||||||
MyBase.OnControlAdded(e)
|
MyBase.OnControlAdded(e)
|
||||||
|
AddHandler e.Control.LocationChanged, AddressOf AlignToGrid
|
||||||
|
AddHandler e.Control.MouseUp, AddressOf AlignToGrid
|
||||||
|
ScheduleScrollUpdate()
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Protected Overrides Sub OnControlRemoved(e As ControlEventArgs)
|
Protected Overrides Sub OnControlRemoved(e As ControlEventArgs)
|
||||||
RemoveHandler e.Control.LocationChanged, AddressOf AlignToGrid
|
|
||||||
RemoveHandler e.Control.DragDrop, AddressOf AlignToGrid
|
|
||||||
MyBase.OnControlRemoved(e)
|
MyBase.OnControlRemoved(e)
|
||||||
|
RemoveHandler e.Control.LocationChanged, AddressOf AlignToGrid
|
||||||
|
RemoveHandler e.Control.MouseUp, AddressOf AlignToGrid
|
||||||
|
ScheduleScrollUpdate()
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Protected Overrides Sub OnPaint(e As System.Windows.Forms.PaintEventArgs)
|
Protected Overrides Sub OnLayout(levent As LayoutEventArgs)
|
||||||
If _ShowGrid Then
|
MyBase.OnLayout(levent)
|
||||||
ControlPaint.DrawGrid(e.Graphics, ClientRectangle, New Size(_GridSize, _GridSize), BackColor)
|
ScheduleScrollUpdate()
|
||||||
End If
|
End Sub
|
||||||
|
|
||||||
|
Protected Overrides Sub OnPaint(e As PaintEventArgs)
|
||||||
MyBase.OnPaint(e)
|
MyBase.OnPaint(e)
|
||||||
|
|
||||||
|
If Not Me.DesignMode AndAlso _ShowGrid Then
|
||||||
|
Dim scrollOffset As Point = Me.AutoScrollPosition
|
||||||
|
Dim gridRect As New Rectangle(-scrollOffset.X, -scrollOffset.Y, Me.ClientSize.Width, Me.ClientSize.Height)
|
||||||
|
ControlPaint.DrawGrid(e.Graphics, gridRect, New Size(_GridSize, _GridSize), Me.BackColor)
|
||||||
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub AlignToGrid(sender As Object, e As EventArgs)
|
Private Sub AlignToGrid(sender As Object, e As EventArgs)
|
||||||
If _ShowGrid Then
|
If Not _ShowGrid OrElse Me.DesignMode Then Return
|
||||||
Dim item As Control = CType(sender, Control)
|
|
||||||
Dim x As Integer = Math.Round(item.Left / _GridSize) * _GridSize
|
Dim ctrl As Control = CType(sender, Control)
|
||||||
Dim y As Integer = Math.Round(item.Top / _GridSize) * _GridSize
|
Dim x As Integer = Math.Floor(ctrl.Left / _GridSize) * _GridSize
|
||||||
item.Location = New Point(x, y)
|
Dim y As Integer = Math.Floor(ctrl.Top / _GridSize) * _GridSize
|
||||||
|
ctrl.Location = New Point(x, y)
|
||||||
|
ScheduleScrollUpdate()
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
Private Sub ScheduleScrollUpdate()
|
||||||
|
If Not _NeedsScrollUpdate Then
|
||||||
|
_NeedsScrollUpdate = True
|
||||||
|
BeginInvoke(New MethodInvoker(Sub()
|
||||||
|
UpdateScrollArea()
|
||||||
|
_NeedsScrollUpdate = False
|
||||||
|
End Sub))
|
||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
|
Private Sub UpdateScrollArea()
|
||||||
|
Dim maxWidth As Integer = 0
|
||||||
|
Dim maxHeight As Integer = 0
|
||||||
|
|
||||||
|
For Each ctrl As Control In Me.Controls
|
||||||
|
maxWidth = Math.Max(maxWidth, ctrl.Right)
|
||||||
|
maxHeight = Math.Max(maxHeight, ctrl.Bottom)
|
||||||
|
Next
|
||||||
|
|
||||||
|
Me.AutoScrollMinSize = New Size(maxWidth, maxHeight)
|
||||||
|
End Sub
|
||||||
End Class
|
End Class
|
||||||
|
|
||||||
|
'Public Class ClassSnapPanel
|
||||||
|
' Inherits Panel
|
||||||
|
|
||||||
|
' Private _ShowGrid As Boolean = True
|
||||||
|
' Private _GridSize As Integer = 16
|
||||||
|
' Public Sub New()
|
||||||
|
' Me.AutoScroll = True ' Scrollbars aktivieren
|
||||||
|
' End Sub
|
||||||
|
' Public Property GridSize As Integer
|
||||||
|
' Get
|
||||||
|
' Return _GridSize
|
||||||
|
' End Get
|
||||||
|
' Set(value As Integer)
|
||||||
|
' _GridSize = value
|
||||||
|
' Refresh()
|
||||||
|
' End Set
|
||||||
|
' End Property
|
||||||
|
|
||||||
|
' Public Property ShowGrid As Boolean
|
||||||
|
' Get
|
||||||
|
' Return _ShowGrid
|
||||||
|
' End Get
|
||||||
|
' Set(value As Boolean)
|
||||||
|
' _ShowGrid = value
|
||||||
|
' Refresh()
|
||||||
|
' End Set
|
||||||
|
' End Property
|
||||||
|
|
||||||
|
' Protected Overrides Sub OnControlAdded(e As ControlEventArgs)
|
||||||
|
' AddHandler e.Control.LocationChanged, AddressOf AlignToGrid
|
||||||
|
' AddHandler e.Control.DragDrop, AddressOf AlignToGrid
|
||||||
|
' MyBase.OnControlAdded(e)
|
||||||
|
' UpdateScrollArea()
|
||||||
|
' End Sub
|
||||||
|
|
||||||
|
' Protected Overrides Sub OnControlRemoved(e As ControlEventArgs)
|
||||||
|
' RemoveHandler e.Control.LocationChanged, AddressOf AlignToGrid
|
||||||
|
' RemoveHandler e.Control.DragDrop, AddressOf AlignToGrid
|
||||||
|
' MyBase.OnControlRemoved(e)
|
||||||
|
' UpdateScrollArea()
|
||||||
|
' End Sub
|
||||||
|
' Protected Overrides Sub OnPaint(e As System.Windows.Forms.PaintEventArgs)
|
||||||
|
' If _ShowGrid Then
|
||||||
|
' ControlPaint.DrawGrid(e.Graphics, ClientRectangle, New Size(_GridSize, _GridSize), BackColor)
|
||||||
|
' End If
|
||||||
|
' MyBase.OnPaint(e)
|
||||||
|
' End Sub
|
||||||
|
|
||||||
|
' Private Sub AlignToGrid(sender As Object, e As EventArgs)
|
||||||
|
' If _ShowGrid Then
|
||||||
|
' Dim item As Control = CType(sender, Control)
|
||||||
|
' Dim x As Integer = Math.Round(item.Left / _GridSize) * _GridSize
|
||||||
|
' Dim y As Integer = Math.Round(item.Top / _GridSize) * _GridSize
|
||||||
|
' item.Location = New Point(x, y)
|
||||||
|
' UpdateScrollArea()
|
||||||
|
' End If
|
||||||
|
' End Sub
|
||||||
|
' Private Sub UpdateScrollArea()
|
||||||
|
' Dim maxWidth As Integer = 0
|
||||||
|
' Dim maxHeight As Integer = 0
|
||||||
|
|
||||||
|
' ' Größte X- und Y-Koordinate der enthaltenen Controls bestimmen
|
||||||
|
' For Each ctrl As Control In Controls
|
||||||
|
' Dim right As Integer = ctrl.Right
|
||||||
|
' Dim bottom As Integer = ctrl.Bottom
|
||||||
|
|
||||||
|
' If right > maxWidth Then maxWidth = right
|
||||||
|
' If bottom > maxHeight Then maxHeight = bottom
|
||||||
|
' Next
|
||||||
|
|
||||||
|
' ' Scrollbereich setzen
|
||||||
|
' Me.AutoScrollMinSize = New Size(maxWidth, maxHeight)
|
||||||
|
' End Sub
|
||||||
|
'End Class
|
||||||
|
|||||||
@@ -50,10 +50,10 @@
|
|||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="DigitalData.Modules.Database">
|
<Reference Include="DigitalData.Modules.Database">
|
||||||
<HintPath>..\..\Modules\Config\bin\Debug\DigitalData.Modules.Database.dll</HintPath>
|
<HintPath>..\..\DDModules\Database\bin\Debug\DigitalData.Modules.Database.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DigitalData.Modules.Logging">
|
<Reference Include="DigitalData.Modules.Logging">
|
||||||
<HintPath>..\..\Modules\Config\bin\Debug\DigitalData.Modules.Logging.dll</HintPath>
|
<HintPath>..\..\DDModules\Logging\bin\Debug\DigitalData.Modules.Logging.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Microsoft.CSharp" />
|
<Reference Include="Microsoft.CSharp" />
|
||||||
<Reference Include="NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
|
<Reference Include="NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
|
||||||
|
|||||||
@@ -74,6 +74,8 @@ Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "DBCleaner", "DBCleaner\DBCl
|
|||||||
EndProject
|
EndProject
|
||||||
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "EDMIService.Tests", "EDMIService.Tests\EDMIService.Tests.vbproj", "{E3DA65CA-964D-4896-991A-B5426884E215}"
|
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "EDMIService.Tests", "EDMIService.Tests\EDMIService.Tests.vbproj", "{E3DA65CA-964D-4896-991A-B5426884E215}"
|
||||||
EndProject
|
EndProject
|
||||||
|
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "Jobs", "..\DDModules\Jobs\Jobs.vbproj", "{39EC839A-3C30-4922-A41E-6B09D1DDE5C3}"
|
||||||
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
Debug|Any CPU = Debug|Any CPU
|
Debug|Any CPU = Debug|Any CPU
|
||||||
@@ -180,6 +182,10 @@ Global
|
|||||||
{E3DA65CA-964D-4896-991A-B5426884E215}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
{E3DA65CA-964D-4896-991A-B5426884E215}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
{E3DA65CA-964D-4896-991A-B5426884E215}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
{E3DA65CA-964D-4896-991A-B5426884E215}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
{E3DA65CA-964D-4896-991A-B5426884E215}.Release|Any CPU.Build.0 = Release|Any CPU
|
{E3DA65CA-964D-4896-991A-B5426884E215}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{39EC839A-3C30-4922-A41E-6B09D1DDE5C3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{39EC839A-3C30-4922-A41E-6B09D1DDE5C3}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{39EC839A-3C30-4922-A41E-6B09D1DDE5C3}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{39EC839A-3C30-4922-A41E-6B09D1DDE5C3}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(SolutionProperties) = preSolution
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
HideSolutionNode = FALSE
|
HideSolutionNode = FALSE
|
||||||
@@ -210,6 +216,7 @@ Global
|
|||||||
{9D4AC920-C78E-41C3-994E-91690FF79380} = {8FFE925E-8B84-45F1-93CB-32B1C96F41EB}
|
{9D4AC920-C78E-41C3-994E-91690FF79380} = {8FFE925E-8B84-45F1-93CB-32B1C96F41EB}
|
||||||
{5A7913CE-7D3D-4E84-B23D-4747C178CD71} = {CC368D6A-6AC4-4EB9-A092-14700FABEF7A}
|
{5A7913CE-7D3D-4E84-B23D-4747C178CD71} = {CC368D6A-6AC4-4EB9-A092-14700FABEF7A}
|
||||||
{E3DA65CA-964D-4896-991A-B5426884E215} = {7AF3F9C2-C939-4A08-95C1-0453207E298A}
|
{E3DA65CA-964D-4896-991A-B5426884E215} = {7AF3F9C2-C939-4A08-95C1-0453207E298A}
|
||||||
|
{39EC839A-3C30-4922-A41E-6B09D1DDE5C3} = {CC368D6A-6AC4-4EB9-A092-14700FABEF7A}
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||||
SolutionGuid = {C1BE4090-A0FD-48AF-86CB-39099D14B286}
|
SolutionGuid = {C1BE4090-A0FD-48AF-86CB-39099D14B286}
|
||||||
|
|||||||
BIN
GDPicture_NewPDF_net48.zip
Normal file
BIN
GDPicture_NewPDF_net48.zip
Normal file
Binary file not shown.
156
GDPicture_NewPDF_net48/App.config
Normal file
156
GDPicture_NewPDF_net48/App.config
Normal file
@@ -0,0 +1,156 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<configuration>
|
||||||
|
<configSections>
|
||||||
|
<sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<section name="ZUGFeRDTest.My.MySettings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
|
||||||
|
</sectionGroup>
|
||||||
|
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<section name="ZUGFeRDTest.My.MySettings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
|
||||||
|
</sectionGroup>
|
||||||
|
</configSections>
|
||||||
|
<startup>
|
||||||
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" />
|
||||||
|
</startup>
|
||||||
|
<applicationSettings>
|
||||||
|
<ZUGFeRDTest.My.MySettings>
|
||||||
|
<setting name="FB_DATABASE" serializeAs="String">
|
||||||
|
<value>172.24.12.50:E:\DataFiles\Firebird\WISAG\EDMI_MASTER.FDB</value>
|
||||||
|
</setting>
|
||||||
|
<setting name="FB_DATASOURCE" serializeAs="String">
|
||||||
|
<value>172.24.12.50</value>
|
||||||
|
</setting>
|
||||||
|
</ZUGFeRDTest.My.MySettings>
|
||||||
|
</applicationSettings>
|
||||||
|
<userSettings>
|
||||||
|
<ZUGFeRDTest.My.MySettings>
|
||||||
|
<setting name="FB_USER" serializeAs="String">
|
||||||
|
<value>sysdba</value>
|
||||||
|
</setting>
|
||||||
|
<setting name="FB_PASS" serializeAs="String">
|
||||||
|
<value>dd</value>
|
||||||
|
</setting>
|
||||||
|
<setting name="MD5Cheksum" serializeAs="String">
|
||||||
|
<value />
|
||||||
|
</setting>
|
||||||
|
<setting name="MSSQL_CONNECTIONSTRING" serializeAs="String">
|
||||||
|
<value>Server=SDD-VMP04-SQL17\DD_DEVELOP01;Database=DD_ECM;User Id=sa;Password=dd</value>
|
||||||
|
</setting>
|
||||||
|
</ZUGFeRDTest.My.MySettings>
|
||||||
|
</userSettings>
|
||||||
|
<runtime>
|
||||||
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="IKVM.Runtime" publicKeyToken="13235d27fcbfff58" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-8.1.5717.0" newVersion="8.1.5717.0" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="IKVM.OpenJDK.Core" publicKeyToken="13235d27fcbfff58" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-8.1.5717.0" newVersion="8.1.5717.0" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="IKVM.OpenJDK.XML.API" publicKeyToken="13235d27fcbfff58" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-8.1.5717.0" newVersion="8.1.5717.0" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="IKVM.OpenJDK.Util" publicKeyToken="13235d27fcbfff58" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-8.1.5717.0" newVersion="8.1.5717.0" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="IKVM.OpenJDK.Text" publicKeyToken="13235d27fcbfff58" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-8.1.5717.0" newVersion="8.1.5717.0" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="IKVM.OpenJDK.SwingAWT" publicKeyToken="13235d27fcbfff58" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-8.1.5717.0" newVersion="8.1.5717.0" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="IKVM.OpenJDK.Security" publicKeyToken="13235d27fcbfff58" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-8.1.5717.0" newVersion="8.1.5717.0" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="IKVM.OpenJDK.Beans" publicKeyToken="13235d27fcbfff58" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-8.1.5717.0" newVersion="8.1.5717.0" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="IKVM.OpenJDK.Media" publicKeyToken="13235d27fcbfff58" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-8.1.5717.0" newVersion="8.1.5717.0" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="IKVM.OpenJDK.XML.Bind" publicKeyToken="13235d27fcbfff58" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-8.1.5717.0" newVersion="8.1.5717.0" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="IKVM.OpenJDK.Jdbc" publicKeyToken="13235d27fcbfff58" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-8.1.5717.0" newVersion="8.1.5717.0" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="System.Diagnostics.DiagnosticSource" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="itext.kernel" publicKeyToken="8354ae6d2174ddca" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-7.1.4.0" newVersion="7.1.4.0" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="itext.pdfa" publicKeyToken="8354ae6d2174ddca" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-7.1.4.0" newVersion="7.1.4.0" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="itext.io" publicKeyToken="8354ae6d2174ddca" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-7.1.4.0" newVersion="7.1.4.0" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="FirebirdSql.Data.FirebirdClient" publicKeyToken="3750abcc3150b00c" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-7.5.0.0" newVersion="7.5.0.0" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-13.0.0.0" newVersion="13.0.0.0" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-4.0.2.0" newVersion="4.0.2.0" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-6.0.1.0" newVersion="6.0.1.0" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-4.0.4.0" newVersion="4.0.4.0" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="System.Collections.Immutable" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="System.Numerics.Vectors" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-4.1.5.0" newVersion="4.1.5.0" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="System.Security.Cryptography.Pkcs" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-8.0.0.1" newVersion="8.0.0.1" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="System.IO.Packaging" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-8.0.0.1" newVersion="8.0.0.1" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="System.Text.Json" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-8.0.0.5" newVersion="8.0.0.5" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="GdPicture.NET.14" publicKeyToken="f52a2e60ad468dbb" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-14.3.3.0" newVersion="14.3.3.0" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="GdPicture.NET.14.Common" publicKeyToken="f52a2e60ad468dbb" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-14.3.3.0" newVersion="14.3.3.0" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="GdPicture.NET.14.Imaging" publicKeyToken="f52a2e60ad468dbb" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-14.3.3.0" newVersion="14.3.3.0" />
|
||||||
|
</dependentAssembly>
|
||||||
|
</assemblyBinding>
|
||||||
|
</runtime>
|
||||||
|
</configuration>
|
||||||
65
GDPicture_NewPDF_net48/Form1.Designer.vb
generated
Normal file
65
GDPicture_NewPDF_net48/Form1.Designer.vb
generated
Normal file
@@ -0,0 +1,65 @@
|
|||||||
|
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()>
|
||||||
|
Partial Class Form1
|
||||||
|
Inherits System.Windows.Forms.Form
|
||||||
|
|
||||||
|
'Das Formular überschreibt den Löschvorgang, um die Komponentenliste zu bereinigen.
|
||||||
|
<System.Diagnostics.DebuggerNonUserCode()>
|
||||||
|
Protected Overrides Sub Dispose(ByVal disposing As Boolean)
|
||||||
|
Try
|
||||||
|
If disposing AndAlso components IsNot Nothing Then
|
||||||
|
components.Dispose()
|
||||||
|
End If
|
||||||
|
Finally
|
||||||
|
MyBase.Dispose(disposing)
|
||||||
|
End Try
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
'Wird vom Windows Form-Designer benötigt.
|
||||||
|
Private components As System.ComponentModel.IContainer
|
||||||
|
|
||||||
|
'Hinweis: Die folgende Prozedur ist für den Windows Form-Designer erforderlich.
|
||||||
|
'Das Bearbeiten ist mit dem Windows Form-Designer möglich.
|
||||||
|
'Das Bearbeiten mit dem Code-Editor ist nicht möglich.
|
||||||
|
<System.Diagnostics.DebuggerStepThrough()>
|
||||||
|
Private Sub InitializeComponent()
|
||||||
|
Me.OpenFileDialog1 = New System.Windows.Forms.OpenFileDialog()
|
||||||
|
Me.FolderBrowserDialog1 = New System.Windows.Forms.FolderBrowserDialog()
|
||||||
|
Me.OpenFileDialog2 = New System.Windows.Forms.OpenFileDialog()
|
||||||
|
Me.Button1 = New System.Windows.Forms.Button()
|
||||||
|
Me.SuspendLayout()
|
||||||
|
'
|
||||||
|
'OpenFileDialog1
|
||||||
|
'
|
||||||
|
Me.OpenFileDialog1.FileName = "OpenFileDialog1"
|
||||||
|
'
|
||||||
|
'OpenFileDialog2
|
||||||
|
'
|
||||||
|
Me.OpenFileDialog2.FileName = "OpenFileDialog2"
|
||||||
|
Me.OpenFileDialog2.Filter = "XML files (*.xml)|*.xml"
|
||||||
|
'
|
||||||
|
'Button1
|
||||||
|
'
|
||||||
|
Me.Button1.Location = New System.Drawing.Point(30, 43)
|
||||||
|
Me.Button1.Name = "Button1"
|
||||||
|
Me.Button1.Size = New System.Drawing.Size(75, 64)
|
||||||
|
Me.Button1.TabIndex = 13
|
||||||
|
Me.Button1.Text = "Create GDPicture"
|
||||||
|
Me.Button1.UseVisualStyleBackColor = True
|
||||||
|
'
|
||||||
|
'Form1
|
||||||
|
'
|
||||||
|
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
|
||||||
|
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
|
||||||
|
Me.ClientSize = New System.Drawing.Size(344, 152)
|
||||||
|
Me.Controls.Add(Me.Button1)
|
||||||
|
Me.Name = "Form1"
|
||||||
|
Me.Text = "E-Invoice-TEST-Tool"
|
||||||
|
Me.ResumeLayout(False)
|
||||||
|
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
Friend WithEvents OpenFileDialog1 As OpenFileDialog
|
||||||
|
Friend WithEvents FolderBrowserDialog1 As FolderBrowserDialog
|
||||||
|
Friend WithEvents OpenFileDialog2 As OpenFileDialog
|
||||||
|
Friend WithEvents Button1 As Button
|
||||||
|
End Class
|
||||||
129
GDPicture_NewPDF_net48/Form1.resx
Normal file
129
GDPicture_NewPDF_net48/Form1.resx
Normal file
@@ -0,0 +1,129 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<root>
|
||||||
|
<!--
|
||||||
|
Microsoft ResX Schema
|
||||||
|
|
||||||
|
Version 2.0
|
||||||
|
|
||||||
|
The primary goals of this format is to allow a simple XML format
|
||||||
|
that is mostly human readable. The generation and parsing of the
|
||||||
|
various data types are done through the TypeConverter classes
|
||||||
|
associated with the data types.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
... ado.net/XML headers & schema ...
|
||||||
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
|
<resheader name="version">2.0</resheader>
|
||||||
|
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||||
|
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||||
|
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||||
|
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||||
|
</data>
|
||||||
|
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||||
|
<comment>This is a comment</comment>
|
||||||
|
</data>
|
||||||
|
|
||||||
|
There are any number of "resheader" rows that contain simple
|
||||||
|
name/value pairs.
|
||||||
|
|
||||||
|
Each data row contains a name, and value. The row also contains a
|
||||||
|
type or mimetype. Type corresponds to a .NET class that support
|
||||||
|
text/value conversion through the TypeConverter architecture.
|
||||||
|
Classes that don't support this are serialized and stored with the
|
||||||
|
mimetype set.
|
||||||
|
|
||||||
|
The mimetype is used for serialized objects, and tells the
|
||||||
|
ResXResourceReader how to depersist the object. This is currently not
|
||||||
|
extensible. For a given mimetype the value must be set accordingly:
|
||||||
|
|
||||||
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||||
|
that the ResXResourceWriter will generate, however the reader can
|
||||||
|
read any of the formats listed below.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
|
value : The object must be serialized into a byte array
|
||||||
|
: using a System.ComponentModel.TypeConverter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
-->
|
||||||
|
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||||
|
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||||
|
<xsd:element name="root" msdata:IsDataSet="true">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:choice maxOccurs="unbounded">
|
||||||
|
<xsd:element name="metadata">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="assembly">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:attribute name="alias" type="xsd:string" />
|
||||||
|
<xsd:attribute name="name" type="xsd:string" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="data">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="resheader">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:choice>
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:schema>
|
||||||
|
<resheader name="resmimetype">
|
||||||
|
<value>text/microsoft-resx</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="version">
|
||||||
|
<value>2.0</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="reader">
|
||||||
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="writer">
|
||||||
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<metadata name="OpenFileDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>17, 17</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="FolderBrowserDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>159, 17</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="OpenFileDialog2.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>328, 17</value>
|
||||||
|
</metadata>
|
||||||
|
</root>
|
||||||
31
GDPicture_NewPDF_net48/Form1.vb
Normal file
31
GDPicture_NewPDF_net48/Form1.vb
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
Imports System.IO
|
||||||
|
|
||||||
|
Imports System.Security.Cryptography
|
||||||
|
Imports GdPicture14
|
||||||
|
|
||||||
|
|
||||||
|
Public Class Form1
|
||||||
|
Private _GDPictureLizenz As String
|
||||||
|
|
||||||
|
|
||||||
|
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles Me.Load
|
||||||
|
|
||||||
|
_GDPictureLizenz = "kG1Qf9PwmqgR8aDmIW2zI_ebj48RzqAJegRxcystEmkbTGQqfkNBdFOXIb6C_A00Ra8zZkrHdfjqzOPXK7kgkF2YDhvrqKfqh4WDug2vOt0qO31IommzkANSuLjZ4zmraoubyEVd25rE3veQ2h_j7tGIoH_LyIHmy24GaXsxdG0yCzIBMdiLbMMMDwcPY-809KeZ83Grv76OVhFvcbBWyYc251vou1N-kGg5_ZlHDgfWoY85gTLRxafjD3KS_i9ARW4BMiy36y8n7UP2jN8kGRnW_04ubpFtfjJqvtsrP_J9D0x7bqV8xtVtT5JI6dpKsVTiMgDCrIcoFSo5gCC1fw9oUopX4TDCkBQttO4-WHBlOeq9dG5Yb0otonVmJKaQA2tP6sMR-lZDs3ql_WI9t91yPWgpssrJUxSHDd27_LMTH_owJIqkF3NOJd9mYQuAv22oNKFYbH8e41pVKb8cT33Y9CgcQ_sy6YDA5PTuIRi67mjKge_nD9rd0IN213Ir9M_EFWqg9e4haWzIdHXQUo0md70kVhPX4UIH_BKJnxEEnFfoFRNMh77bB0N4jkcBEHPl-ghOERv8dOztf4vCnNpzzWvcLD2cqWIm6THy8XGGq9h4hp8aEreRleSMwv9QQAC7mjLwhQ1rBYkpUHlpTjhTLnMwHknl6HH0Z6zzmsgkRKVyfquv94Pd7QbQfZrRka0ss_48pf9p8hAywEn81Q=="
|
||||||
|
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
|
||||||
|
Dim LicenseManager = New LicenseManager()
|
||||||
|
LicenseManager.RegisterKEY(_GDPictureLizenz)
|
||||||
|
Using gdpicturePDF As New GdPicturePDF
|
||||||
|
' Create a new PDF/A-2a compliant document (blank, no pages yet)
|
||||||
|
Dim status As GdPictureStatus = gdpicturePDF.NewPDF(PdfConformance.PDF_A_2a)
|
||||||
|
If status = GdPictureStatus.OK Then
|
||||||
|
MsgBox("Status is OK")
|
||||||
|
Else
|
||||||
|
MsgBox($"The NewPDF(PdfConformance.PDF_A_2a) method has failed
|
||||||
|
with the status: {status.ToString()}", MsgBoxStyle.Critical)
|
||||||
|
End If
|
||||||
|
End Using
|
||||||
|
End Sub
|
||||||
|
End Class
|
||||||
25
GDPicture_NewPDF_net48/GDPicture_NewPDF_net48.sln
Normal file
25
GDPicture_NewPDF_net48/GDPicture_NewPDF_net48.sln
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
|
||||||
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
# Visual Studio Version 17
|
||||||
|
VisualStudioVersion = 17.14.36310.24 d17.14
|
||||||
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
|
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "GDPicture_NewPDF_net48", "GDPicture_NewPDF_net48.vbproj", "{16156434-E471-43F1-8030-76A0DA17CD5A}"
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
Release|Any CPU = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{16156434-E471-43F1-8030-76A0DA17CD5A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{16156434-E471-43F1-8030-76A0DA17CD5A}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{16156434-E471-43F1-8030-76A0DA17CD5A}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{16156434-E471-43F1-8030-76A0DA17CD5A}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
|
HideSolutionNode = FALSE
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||||
|
SolutionGuid = {7FB9D072-A417-47E9-ACA3-99FC76D948C3}
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
||||||
269
GDPicture_NewPDF_net48/GDPicture_NewPDF_net48.vbproj
Normal file
269
GDPicture_NewPDF_net48/GDPicture_NewPDF_net48.vbproj
Normal file
@@ -0,0 +1,269 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||||
|
<PropertyGroup>
|
||||||
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||||
|
<ProjectGuid>{16156434-E471-43F1-8030-76A0DA17CD5A}</ProjectGuid>
|
||||||
|
<OutputType>WinExe</OutputType>
|
||||||
|
<StartupObject>ZUGFeRDTest.My.MyApplication</StartupObject>
|
||||||
|
<RootNamespace>ZUGFeRDTest</RootNamespace>
|
||||||
|
<AssemblyName>ZUGFeRDTest</AssemblyName>
|
||||||
|
<FileAlignment>512</FileAlignment>
|
||||||
|
<MyType>WindowsForms</MyType>
|
||||||
|
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
|
||||||
|
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||||
|
<TargetFrameworkProfile />
|
||||||
|
<NuGetPackageImportStamp>
|
||||||
|
</NuGetPackageImportStamp>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
<DebugType>full</DebugType>
|
||||||
|
<DefineDebug>true</DefineDebug>
|
||||||
|
<DefineTrace>true</DefineTrace>
|
||||||
|
<OutputPath>bin\Debug\</OutputPath>
|
||||||
|
<DocumentationFile>ZUGFeRDTest.xml</DocumentationFile>
|
||||||
|
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
|
<DebugType>pdbonly</DebugType>
|
||||||
|
<DefineDebug>false</DefineDebug>
|
||||||
|
<DefineTrace>true</DefineTrace>
|
||||||
|
<Optimize>true</Optimize>
|
||||||
|
<OutputPath>bin\Release\</OutputPath>
|
||||||
|
<DocumentationFile>ZUGFeRDTest.xml</DocumentationFile>
|
||||||
|
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<OptionExplicit>On</OptionExplicit>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<OptionCompare>Binary</OptionCompare>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<OptionStrict>Off</OptionStrict>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<OptionInfer>On</OptionInfer>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Reference Include="DocumentFormat.OpenXml, Version=3.2.0.0, Culture=neutral, PublicKeyToken=8fb06cb64d019a17, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\DocumentFormat.OpenXml.3.2.0\lib\net46\DocumentFormat.OpenXml.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="DocumentFormat.OpenXml.Framework, Version=3.2.0.0, Culture=neutral, PublicKeyToken=8fb06cb64d019a17, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\DocumentFormat.OpenXml.Framework.3.2.0\lib\net46\DocumentFormat.OpenXml.Framework.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="GdPicture.NET.14, Version=14.3.14.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\GdPicture.14.3.14\lib\net462\GdPicture.NET.14.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="GdPicture.NET.14.barcode.1d.writer, Version=14.3.14.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\GdPicture.14.3.14\lib\net462\GdPicture.NET.14.barcode.1d.writer.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="GdPicture.NET.14.barcode.2d.writer, Version=14.3.14.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\GdPicture.14.3.14\lib\net462\GdPicture.NET.14.barcode.2d.writer.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="GdPicture.NET.14.CAD, Version=14.3.14.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\GdPicture.14.3.14\lib\net462\GdPicture.NET.14.CAD.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="GdPicture.NET.14.CAD.DWG, Version=14.3.14.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\GdPicture.14.3.14\lib\net462\GdPicture.NET.14.CAD.DWG.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="GdPicture.NET.14.Common, Version=14.3.14.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\GdPicture.14.3.14\lib\net462\GdPicture.NET.14.Common.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="GdPicture.NET.14.Document, Version=14.3.14.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\GdPicture.14.3.14\lib\net462\GdPicture.NET.14.Document.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="GdPicture.NET.14.Email, Version=14.3.14.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\GdPicture.14.3.14\lib\net462\GdPicture.NET.14.Email.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="GdPicture.NET.14.HTML, Version=14.3.14.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\GdPicture.14.3.14\lib\net462\GdPicture.NET.14.HTML.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="GdPicture.NET.14.Imaging, Version=14.3.14.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\GdPicture.14.3.14\lib\net462\GdPicture.NET.14.Imaging.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="GdPicture.NET.14.Imaging.Formats, Version=14.3.14.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\GdPicture.14.3.14\lib\net462\GdPicture.NET.14.Imaging.Formats.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="GdPicture.NET.14.Imaging.Formats.Conversion, Version=14.3.14.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\GdPicture.14.3.14\lib\net462\GdPicture.NET.14.Imaging.Formats.Conversion.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="GdPicture.NET.14.Imaging.Rendering, Version=14.3.14.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\GdPicture.14.3.14\lib\net462\GdPicture.NET.14.Imaging.Rendering.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="GdPicture.NET.14.MSOfficeBinary, Version=14.3.14.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\GdPicture.14.3.14\lib\net462\GdPicture.NET.14.MSOfficeBinary.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="GdPicture.NET.14.OpenDocument, Version=14.3.14.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\GdPicture.14.3.14\lib\net462\GdPicture.NET.14.OpenDocument.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="GdPicture.NET.14.OpenXML, Version=14.3.14.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\GdPicture.14.3.14\lib\net462\GdPicture.NET.14.OpenXML.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="GdPicture.NET.14.OpenXML.Templating, Version=14.3.14.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\GdPicture.14.3.14\lib\net462\GdPicture.NET.14.OpenXML.Templating.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="GdPicture.NET.14.PDF, Version=14.3.14.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\GdPicture.14.3.14\lib\net462\GdPicture.NET.14.PDF.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="GdPicture.NET.14.RTF, Version=14.3.14.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\GdPicture.14.3.14\lib\net462\GdPicture.NET.14.RTF.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="GdPicture.NET.14.SVG, Version=14.3.14.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\GdPicture.14.3.14\lib\net462\GdPicture.NET.14.SVG.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="GdPicture.NET.14.wia.gateway, Version=1.0.0.0, Culture=neutral, PublicKeyToken=6973b5c22dcf45f7, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\GdPicture.14.3.14\lib\net462\GdPicture.NET.14.wia.gateway.dll</HintPath>
|
||||||
|
<EmbedInteropTypes>True</EmbedInteropTypes>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Microsoft.CSharp" />
|
||||||
|
<Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\Newtonsoft.Json.13.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Newtonsoft.Json.Bson, Version=1.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\Newtonsoft.Json.Bson.1.0.2\lib\net45\Newtonsoft.Json.Bson.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="OpenMcdf, Version=2.4.1.0, Culture=neutral, PublicKeyToken=fdbb1629d7c00800, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\OpenMcdf.2.4.1\lib\net40\OpenMcdf.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="protobuf-net, Version=3.0.0.0, Culture=neutral, PublicKeyToken=257b51d87d2e4d67, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\protobuf-net.3.2.46\lib\net462\protobuf-net.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="protobuf-net.Core, Version=3.0.0.0, Culture=neutral, PublicKeyToken=257b51d87d2e4d67, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\protobuf-net.Core.3.2.46\lib\net462\protobuf-net.Core.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="RtfPipe, Version=2.0.7677.4303, Culture=neutral, PublicKeyToken=5f6ab4ce530296d2, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\RtfPipe.2.0.7677.4303\lib\net45\RtfPipe.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System" />
|
||||||
|
<Reference Include="System.Buffers, Version=4.0.4.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\System.Buffers.4.6.0\lib\net462\System.Buffers.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System.CodeDom, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\System.CodeDom.8.0.0\lib\net462\System.CodeDom.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System.Collections.Immutable, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\System.Collections.Immutable.8.0.0\lib\net462\System.Collections.Immutable.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System.Configuration" />
|
||||||
|
<Reference Include="System.Data" />
|
||||||
|
<Reference Include="System.Deployment" />
|
||||||
|
<Reference Include="System.Drawing" />
|
||||||
|
<Reference Include="System.IO.Packaging, Version=8.0.0.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\System.IO.Packaging.8.0.1\lib\net462\System.IO.Packaging.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System.Management" />
|
||||||
|
<Reference Include="System.Memory, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\System.Memory.4.6.0\lib\net462\System.Memory.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System.Net.Http.Formatting, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\Microsoft.AspNet.WebApi.Client.6.0.0\lib\net45\System.Net.Http.Formatting.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System.Numerics" />
|
||||||
|
<Reference Include="System.Numerics.Vectors, Version=4.1.5.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\System.Numerics.Vectors.4.6.0\lib\net462\System.Numerics.Vectors.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=6.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.6.1.0\lib\net462\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System.Runtime.Serialization" />
|
||||||
|
<Reference Include="System.Security" />
|
||||||
|
<Reference Include="System.Security.Cryptography.Pkcs, Version=8.0.0.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\System.Security.Cryptography.Pkcs.8.0.1\lib\net462\System.Security.Cryptography.Pkcs.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System.ServiceModel" />
|
||||||
|
<Reference Include="System.Text.Encodings.Web, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\System.Text.Encodings.Web.8.0.0\lib\net462\System.Text.Encodings.Web.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System.Text.Json, Version=8.0.0.5, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\System.Text.Json.8.0.5\lib\net462\System.Text.Json.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System.Threading.Tasks.Extensions, Version=4.2.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\System.Threading.Tasks.Extensions.4.5.4\lib\net461\System.Threading.Tasks.Extensions.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System.Transactions" />
|
||||||
|
<Reference Include="System.Windows.Forms" />
|
||||||
|
<Reference Include="System.Xml" />
|
||||||
|
<Reference Include="System.Core" />
|
||||||
|
<Reference Include="System.Xml.Linq" />
|
||||||
|
<Reference Include="System.Data.DataSetExtensions" />
|
||||||
|
<Reference Include="System.Net.Http" />
|
||||||
|
<Reference Include="WindowsBase" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Import Include="Microsoft.VisualBasic" />
|
||||||
|
<Import Include="System" />
|
||||||
|
<Import Include="System.Collections" />
|
||||||
|
<Import Include="System.Collections.Generic" />
|
||||||
|
<Import Include="System.Data" />
|
||||||
|
<Import Include="System.Drawing" />
|
||||||
|
<Import Include="System.Diagnostics" />
|
||||||
|
<Import Include="System.Windows.Forms" />
|
||||||
|
<Import Include="System.Linq" />
|
||||||
|
<Import Include="System.Xml.Linq" />
|
||||||
|
<Import Include="System.Threading.Tasks" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Compile Include="Form1.vb">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Form1.Designer.vb">
|
||||||
|
<DependentUpon>Form1.vb</DependentUpon>
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="My Project\AssemblyInfo.vb" />
|
||||||
|
<Compile Include="My Project\Application.Designer.vb">
|
||||||
|
<AutoGen>True</AutoGen>
|
||||||
|
<DependentUpon>Application.myapp</DependentUpon>
|
||||||
|
<DesignTime>True</DesignTime>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="My Project\Resources.Designer.vb">
|
||||||
|
<AutoGen>True</AutoGen>
|
||||||
|
<DesignTime>True</DesignTime>
|
||||||
|
<DependentUpon>Resources.resx</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="My Project\Settings.Designer.vb">
|
||||||
|
<AutoGen>True</AutoGen>
|
||||||
|
<DependentUpon>Settings.settings</DependentUpon>
|
||||||
|
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||||
|
</Compile>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<EmbeddedResource Include="Form1.resx">
|
||||||
|
<DependentUpon>Form1.vb</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="My Project\Resources.resx">
|
||||||
|
<Generator>VbMyResourcesResXFileCodeGenerator</Generator>
|
||||||
|
<LastGenOutput>Resources.Designer.vb</LastGenOutput>
|
||||||
|
<CustomToolNamespace>My.Resources</CustomToolNamespace>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</EmbeddedResource>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="My Project\Application.myapp">
|
||||||
|
<Generator>MyApplicationCodeGenerator</Generator>
|
||||||
|
<LastGenOutput>Application.Designer.vb</LastGenOutput>
|
||||||
|
</None>
|
||||||
|
<None Include="My Project\Settings.settings">
|
||||||
|
<Generator>SettingsSingleFileGenerator</Generator>
|
||||||
|
<CustomToolNamespace>My</CustomToolNamespace>
|
||||||
|
<LastGenOutput>Settings.Designer.vb</LastGenOutput>
|
||||||
|
</None>
|
||||||
|
<None Include="App.config" />
|
||||||
|
<None Include="packages.config" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.targets" />
|
||||||
|
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||||
|
<PropertyGroup>
|
||||||
|
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Error Condition="!Exists('..\packages\System.ValueTuple.4.6.1\build\net471\System.ValueTuple.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\System.ValueTuple.4.6.1\build\net471\System.ValueTuple.targets'))" />
|
||||||
|
<Error Condition="!Exists('..\packages\GdPicture.runtimes.windows.14.3.14\build\net462\GdPicture.runtimes.windows.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\GdPicture.runtimes.windows.14.3.14\build\net462\GdPicture.runtimes.windows.targets'))" />
|
||||||
|
</Target>
|
||||||
|
<Import Project="..\packages\System.ValueTuple.4.6.1\build\net471\System.ValueTuple.targets" Condition="Exists('..\packages\System.ValueTuple.4.6.1\build\net471\System.ValueTuple.targets')" />
|
||||||
|
<Import Project="..\packages\GdPicture.runtimes.windows.14.3.14\build\net462\GdPicture.runtimes.windows.targets" Condition="Exists('..\packages\GdPicture.runtimes.windows.14.3.14\build\net462\GdPicture.runtimes.windows.targets')" />
|
||||||
|
</Project>
|
||||||
44
GDPicture_NewPDF_net48/My Project/Application.Designer.vb
generated
Normal file
44
GDPicture_NewPDF_net48/My Project/Application.Designer.vb
generated
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
'------------------------------------------------------------------------------
|
||||||
|
' <auto-generated>
|
||||||
|
' Dieser Code wurde von einem Tool generiert.
|
||||||
|
' Laufzeitversion:4.0.30319.42000
|
||||||
|
'
|
||||||
|
' Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
||||||
|
' der Code erneut generiert wird.
|
||||||
|
' </auto-generated>
|
||||||
|
'------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
Option Strict On
|
||||||
|
Option Explicit On
|
||||||
|
|
||||||
|
|
||||||
|
Namespace My
|
||||||
|
|
||||||
|
'HINWEIS: Diese Datei wird automatisch generiert und darf nicht direkt bearbeitet werden. Wenn Sie Änderungen vornehmen möchten
|
||||||
|
' oder in dieser Datei Buildfehler auftreten, wechseln Sie zum Projekt-Designer.
|
||||||
|
' (Wechseln Sie dazu zu den Projekteigenschaften, oder doppelklicken Sie auf den Knoten "Mein Projekt" im
|
||||||
|
' Projektmappen-Explorer). Nehmen Sie auf der Registerkarte "Anwendung" entsprechende Änderungen vor.
|
||||||
|
'
|
||||||
|
Partial Friend Class MyApplication
|
||||||
|
|
||||||
|
<Global.System.Diagnostics.DebuggerStepThroughAttribute()> _
|
||||||
|
Public Sub New()
|
||||||
|
MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows)
|
||||||
|
Me.IsSingleInstance = false
|
||||||
|
Me.EnableVisualStyles = true
|
||||||
|
Me.SaveMySettingsOnExit = true
|
||||||
|
Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
<Global.System.Diagnostics.DebuggerStepThroughAttribute()> _
|
||||||
|
Protected Overrides Sub OnCreateMainForm()
|
||||||
|
Me.MainForm = Global.ZUGFeRDTest.Form1
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
<Global.System.Diagnostics.DebuggerStepThroughAttribute()> _
|
||||||
|
Protected Overrides Function OnInitialize(ByVal commandLineArgs As System.Collections.ObjectModel.ReadOnlyCollection(Of String)) As Boolean
|
||||||
|
Me.MinimumSplashScreenDisplayTime = 0
|
||||||
|
Return MyBase.OnInitialize(commandLineArgs)
|
||||||
|
End Function
|
||||||
|
End Class
|
||||||
|
End Namespace
|
||||||
11
GDPicture_NewPDF_net48/My Project/Application.myapp
Normal file
11
GDPicture_NewPDF_net48/My Project/Application.myapp
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<MyApplicationData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||||
|
<MySubMain>true</MySubMain>
|
||||||
|
<MainForm>Form1</MainForm>
|
||||||
|
<SingleInstance>false</SingleInstance>
|
||||||
|
<ShutdownMode>0</ShutdownMode>
|
||||||
|
<EnableVisualStyles>true</EnableVisualStyles>
|
||||||
|
<AuthenticationMode>0</AuthenticationMode>
|
||||||
|
<ApplicationType>0</ApplicationType>
|
||||||
|
<SaveMySettingsOnExit>true</SaveMySettingsOnExit>
|
||||||
|
</MyApplicationData>
|
||||||
35
GDPicture_NewPDF_net48/My Project/AssemblyInfo.vb
Normal file
35
GDPicture_NewPDF_net48/My Project/AssemblyInfo.vb
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
Imports System
|
||||||
|
Imports System.Reflection
|
||||||
|
Imports System.Runtime.InteropServices
|
||||||
|
|
||||||
|
' Allgemeine Informationen über eine Assembly werden über die folgenden
|
||||||
|
' Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
|
||||||
|
' die einer Assembly zugeordnet sind.
|
||||||
|
|
||||||
|
' Werte der Assemblyattribute überprüfen
|
||||||
|
|
||||||
|
<Assembly: AssemblyTitle("ZUGFeRDTest")>
|
||||||
|
<Assembly: AssemblyDescription("")>
|
||||||
|
<Assembly: AssemblyCompany("")>
|
||||||
|
<Assembly: AssemblyProduct("ZUGFeRDTest")>
|
||||||
|
<Assembly: AssemblyCopyright("Copyright © 2018")>
|
||||||
|
<Assembly: AssemblyTrademark("")>
|
||||||
|
|
||||||
|
<Assembly: ComVisible(False)>
|
||||||
|
|
||||||
|
'Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird.
|
||||||
|
<Assembly: Guid("f4f2b40b-902e-4edc-b5e0-c11a0d2ab998")>
|
||||||
|
|
||||||
|
' Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten:
|
||||||
|
'
|
||||||
|
' Hauptversion
|
||||||
|
' Nebenversion
|
||||||
|
' Buildnummer
|
||||||
|
' Revision
|
||||||
|
'
|
||||||
|
' Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
|
||||||
|
' übernehmen, indem Sie "*" eingeben:
|
||||||
|
' <Assembly: AssemblyVersion("1.0.*")>
|
||||||
|
|
||||||
|
<Assembly: AssemblyVersion("1.0.0.0")>
|
||||||
|
<Assembly: AssemblyFileVersion("1.0.0.0")>
|
||||||
63
GDPicture_NewPDF_net48/My Project/Resources.Designer.vb
generated
Normal file
63
GDPicture_NewPDF_net48/My Project/Resources.Designer.vb
generated
Normal file
@@ -0,0 +1,63 @@
|
|||||||
|
'------------------------------------------------------------------------------
|
||||||
|
' <auto-generated>
|
||||||
|
' Dieser Code wurde von einem Tool generiert.
|
||||||
|
' Laufzeitversion:4.0.30319.42000
|
||||||
|
'
|
||||||
|
' Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
||||||
|
' der Code erneut generiert wird.
|
||||||
|
' </auto-generated>
|
||||||
|
'------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
Option Strict On
|
||||||
|
Option Explicit On
|
||||||
|
|
||||||
|
Imports System
|
||||||
|
|
||||||
|
Namespace My.Resources
|
||||||
|
|
||||||
|
'Diese Klasse wurde von der StronglyTypedResourceBuilder automatisch generiert
|
||||||
|
'-Klasse über ein Tool wie ResGen oder Visual Studio automatisch generiert.
|
||||||
|
'Um einen Member hinzuzufügen oder zu entfernen, bearbeiten Sie die .ResX-Datei und führen dann ResGen
|
||||||
|
'mit der /str-Option erneut aus, oder Sie erstellen Ihr VS-Projekt neu.
|
||||||
|
'''<summary>
|
||||||
|
''' Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
|
||||||
|
'''</summary>
|
||||||
|
<Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0"), _
|
||||||
|
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
|
||||||
|
Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
|
||||||
|
Global.Microsoft.VisualBasic.HideModuleNameAttribute()> _
|
||||||
|
Friend Module Resources
|
||||||
|
|
||||||
|
Private resourceMan As Global.System.Resources.ResourceManager
|
||||||
|
|
||||||
|
Private resourceCulture As Global.System.Globalization.CultureInfo
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird.
|
||||||
|
'''</summary>
|
||||||
|
<Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
|
||||||
|
Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager
|
||||||
|
Get
|
||||||
|
If Object.ReferenceEquals(resourceMan, Nothing) Then
|
||||||
|
Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("ZUGFeRDTest.Resources", GetType(Resources).Assembly)
|
||||||
|
resourceMan = temp
|
||||||
|
End If
|
||||||
|
Return resourceMan
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle
|
||||||
|
''' Ressourcenzuordnungen, die diese stark typisierte Ressourcenklasse verwenden.
|
||||||
|
'''</summary>
|
||||||
|
<Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
|
||||||
|
Friend Property Culture() As Global.System.Globalization.CultureInfo
|
||||||
|
Get
|
||||||
|
Return resourceCulture
|
||||||
|
End Get
|
||||||
|
Set
|
||||||
|
resourceCulture = value
|
||||||
|
End Set
|
||||||
|
End Property
|
||||||
|
End Module
|
||||||
|
End Namespace
|
||||||
117
GDPicture_NewPDF_net48/My Project/Resources.resx
Normal file
117
GDPicture_NewPDF_net48/My Project/Resources.resx
Normal file
@@ -0,0 +1,117 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<root>
|
||||||
|
<!--
|
||||||
|
Microsoft ResX Schema
|
||||||
|
|
||||||
|
Version 2.0
|
||||||
|
|
||||||
|
The primary goals of this format is to allow a simple XML format
|
||||||
|
that is mostly human readable. The generation and parsing of the
|
||||||
|
various data types are done through the TypeConverter classes
|
||||||
|
associated with the data types.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
... ado.net/XML headers & schema ...
|
||||||
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
|
<resheader name="version">2.0</resheader>
|
||||||
|
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||||
|
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||||
|
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||||
|
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||||
|
</data>
|
||||||
|
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||||
|
<comment>This is a comment</comment>
|
||||||
|
</data>
|
||||||
|
|
||||||
|
There are any number of "resheader" rows that contain simple
|
||||||
|
name/value pairs.
|
||||||
|
|
||||||
|
Each data row contains a name, and value. The row also contains a
|
||||||
|
type or mimetype. Type corresponds to a .NET class that support
|
||||||
|
text/value conversion through the TypeConverter architecture.
|
||||||
|
Classes that don't support this are serialized and stored with the
|
||||||
|
mimetype set.
|
||||||
|
|
||||||
|
The mimetype is used for serialized objects, and tells the
|
||||||
|
ResXResourceReader how to depersist the object. This is currently not
|
||||||
|
extensible. For a given mimetype the value must be set accordingly:
|
||||||
|
|
||||||
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||||
|
that the ResXResourceWriter will generate, however the reader can
|
||||||
|
read any of the formats listed below.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
|
value : The object must be serialized into a byte array
|
||||||
|
: using a System.ComponentModel.TypeConverter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
-->
|
||||||
|
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||||
|
<xsd:element name="root" msdata:IsDataSet="true">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:choice maxOccurs="unbounded">
|
||||||
|
<xsd:element name="metadata">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="assembly">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:attribute name="alias" type="xsd:string" />
|
||||||
|
<xsd:attribute name="name" type="xsd:string" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="data">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="resheader">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:choice>
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:schema>
|
||||||
|
<resheader name="resmimetype">
|
||||||
|
<value>text/microsoft-resx</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="version">
|
||||||
|
<value>2.0</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="reader">
|
||||||
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="writer">
|
||||||
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
</root>
|
||||||
139
GDPicture_NewPDF_net48/My Project/Settings.Designer.vb
generated
Normal file
139
GDPicture_NewPDF_net48/My Project/Settings.Designer.vb
generated
Normal file
@@ -0,0 +1,139 @@
|
|||||||
|
'------------------------------------------------------------------------------
|
||||||
|
' <auto-generated>
|
||||||
|
' Dieser Code wurde von einem Tool generiert.
|
||||||
|
' Laufzeitversion:4.0.30319.42000
|
||||||
|
'
|
||||||
|
' Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
||||||
|
' der Code erneut generiert wird.
|
||||||
|
' </auto-generated>
|
||||||
|
'------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
Option Strict On
|
||||||
|
Option Explicit On
|
||||||
|
|
||||||
|
|
||||||
|
Namespace My
|
||||||
|
|
||||||
|
<Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
|
||||||
|
Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.14.0.0"), _
|
||||||
|
Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
|
||||||
|
Partial Friend NotInheritable Class MySettings
|
||||||
|
Inherits Global.System.Configuration.ApplicationSettingsBase
|
||||||
|
|
||||||
|
Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings()),MySettings)
|
||||||
|
|
||||||
|
#Region "Automatische My.Settings-Speicherfunktion"
|
||||||
|
#If _MyType = "WindowsForms" Then
|
||||||
|
Private Shared addedHandler As Boolean
|
||||||
|
|
||||||
|
Private Shared addedHandlerLockObject As New Object
|
||||||
|
|
||||||
|
<Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
|
||||||
|
Private Shared Sub AutoSaveSettings(sender As Global.System.Object, e As Global.System.EventArgs)
|
||||||
|
If My.Application.SaveMySettingsOnExit Then
|
||||||
|
My.Settings.Save()
|
||||||
|
End If
|
||||||
|
End Sub
|
||||||
|
#End If
|
||||||
|
#End Region
|
||||||
|
|
||||||
|
Public Shared ReadOnly Property [Default]() As MySettings
|
||||||
|
Get
|
||||||
|
|
||||||
|
#If _MyType = "WindowsForms" Then
|
||||||
|
If Not addedHandler Then
|
||||||
|
SyncLock addedHandlerLockObject
|
||||||
|
If Not addedHandler Then
|
||||||
|
AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings
|
||||||
|
addedHandler = True
|
||||||
|
End If
|
||||||
|
End SyncLock
|
||||||
|
End If
|
||||||
|
#End If
|
||||||
|
Return defaultInstance
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
<Global.System.Configuration.ApplicationScopedSettingAttribute(), _
|
||||||
|
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
|
||||||
|
Global.System.Configuration.DefaultSettingValueAttribute("172.24.12.50:E:\DataFiles\Firebird\WISAG\EDMI_MASTER.FDB")> _
|
||||||
|
Public ReadOnly Property FB_DATABASE() As String
|
||||||
|
Get
|
||||||
|
Return CType(Me("FB_DATABASE"),String)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
<Global.System.Configuration.ApplicationScopedSettingAttribute(), _
|
||||||
|
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
|
||||||
|
Global.System.Configuration.DefaultSettingValueAttribute("172.24.12.50")> _
|
||||||
|
Public ReadOnly Property FB_DATASOURCE() As String
|
||||||
|
Get
|
||||||
|
Return CType(Me("FB_DATASOURCE"),String)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
<Global.System.Configuration.UserScopedSettingAttribute(), _
|
||||||
|
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
|
||||||
|
Global.System.Configuration.DefaultSettingValueAttribute("sysdba")> _
|
||||||
|
Public Property FB_USER() As String
|
||||||
|
Get
|
||||||
|
Return CType(Me("FB_USER"),String)
|
||||||
|
End Get
|
||||||
|
Set
|
||||||
|
Me("FB_USER") = value
|
||||||
|
End Set
|
||||||
|
End Property
|
||||||
|
|
||||||
|
<Global.System.Configuration.UserScopedSettingAttribute(), _
|
||||||
|
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
|
||||||
|
Global.System.Configuration.DefaultSettingValueAttribute("dd")> _
|
||||||
|
Public Property FB_PASS() As String
|
||||||
|
Get
|
||||||
|
Return CType(Me("FB_PASS"),String)
|
||||||
|
End Get
|
||||||
|
Set
|
||||||
|
Me("FB_PASS") = value
|
||||||
|
End Set
|
||||||
|
End Property
|
||||||
|
|
||||||
|
<Global.System.Configuration.UserScopedSettingAttribute(), _
|
||||||
|
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
|
||||||
|
Global.System.Configuration.DefaultSettingValueAttribute("")> _
|
||||||
|
Public Property MD5Cheksum() As String
|
||||||
|
Get
|
||||||
|
Return CType(Me("MD5Cheksum"),String)
|
||||||
|
End Get
|
||||||
|
Set
|
||||||
|
Me("MD5Cheksum") = value
|
||||||
|
End Set
|
||||||
|
End Property
|
||||||
|
|
||||||
|
<Global.System.Configuration.UserScopedSettingAttribute(), _
|
||||||
|
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
|
||||||
|
Global.System.Configuration.DefaultSettingValueAttribute("Server=SDD-VMP04-SQL17\DD_DEVELOP01;Database=DD_ECM;User Id=sa;Password=dd")> _
|
||||||
|
Public Property MSSQL_CONNECTIONSTRING() As String
|
||||||
|
Get
|
||||||
|
Return CType(Me("MSSQL_CONNECTIONSTRING"),String)
|
||||||
|
End Get
|
||||||
|
Set
|
||||||
|
Me("MSSQL_CONNECTIONSTRING") = value
|
||||||
|
End Set
|
||||||
|
End Property
|
||||||
|
End Class
|
||||||
|
End Namespace
|
||||||
|
|
||||||
|
Namespace My
|
||||||
|
|
||||||
|
<Global.Microsoft.VisualBasic.HideModuleNameAttribute(), _
|
||||||
|
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
|
||||||
|
Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute()> _
|
||||||
|
Friend Module MySettingsProperty
|
||||||
|
|
||||||
|
<Global.System.ComponentModel.Design.HelpKeywordAttribute("My.Settings")> _
|
||||||
|
Friend ReadOnly Property Settings() As Global.ZUGFeRDTest.My.MySettings
|
||||||
|
Get
|
||||||
|
Return Global.ZUGFeRDTest.My.MySettings.Default
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
End Module
|
||||||
|
End Namespace
|
||||||
24
GDPicture_NewPDF_net48/My Project/Settings.settings
Normal file
24
GDPicture_NewPDF_net48/My Project/Settings.settings
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
<?xml version='1.0' encoding='utf-8'?>
|
||||||
|
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="My" GeneratedClassName="MySettings" UseMySettingsClassName="true">
|
||||||
|
<Profiles />
|
||||||
|
<Settings>
|
||||||
|
<Setting Name="FB_DATABASE" Type="System.String" Scope="Application">
|
||||||
|
<Value Profile="(Default)">172.24.12.50:E:\DataFiles\Firebird\WISAG\EDMI_MASTER.FDB</Value>
|
||||||
|
</Setting>
|
||||||
|
<Setting Name="FB_DATASOURCE" Type="System.String" Scope="Application">
|
||||||
|
<Value Profile="(Default)">172.24.12.50</Value>
|
||||||
|
</Setting>
|
||||||
|
<Setting Name="FB_USER" Type="System.String" Scope="User">
|
||||||
|
<Value Profile="(Default)">sysdba</Value>
|
||||||
|
</Setting>
|
||||||
|
<Setting Name="FB_PASS" Type="System.String" Scope="User">
|
||||||
|
<Value Profile="(Default)">dd</Value>
|
||||||
|
</Setting>
|
||||||
|
<Setting Name="MD5Cheksum" Type="System.String" Scope="User">
|
||||||
|
<Value Profile="(Default)" />
|
||||||
|
</Setting>
|
||||||
|
<Setting Name="MSSQL_CONNECTIONSTRING" Type="System.String" Scope="User">
|
||||||
|
<Value Profile="(Default)">Server=SDD-VMP04-SQL17\DD_DEVELOP01;Database=DD_ECM;User Id=sa;Password=dd</Value>
|
||||||
|
</Setting>
|
||||||
|
</Settings>
|
||||||
|
</SettingsFile>
|
||||||
31
GDPicture_NewPDF_net48/packages.config
Normal file
31
GDPicture_NewPDF_net48/packages.config
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<packages>
|
||||||
|
<package id="BouncyCastle.Cryptography" version="2.5.0" targetFramework="net462" />
|
||||||
|
<package id="DocumentFormat.OpenXml" version="3.2.0" targetFramework="net462" />
|
||||||
|
<package id="DocumentFormat.OpenXml.Framework" version="3.2.0" targetFramework="net462" />
|
||||||
|
<package id="GdPicture" version="14.3.14" targetFramework="net48" />
|
||||||
|
<package id="GdPicture.runtimes.windows" version="14.3.14" targetFramework="net48" />
|
||||||
|
<package id="Microsoft.AspNet.WebApi.Client" version="6.0.0" targetFramework="net462" />
|
||||||
|
<package id="Microsoft.Bcl.AsyncInterfaces" version="8.0.0" targetFramework="net462" />
|
||||||
|
<package id="Microsoft.CSharp" version="4.7.0" targetFramework="net462" />
|
||||||
|
<package id="Microsoft.VisualBasic" version="10.3.0" targetFramework="net462" />
|
||||||
|
<package id="Newtonsoft.Json" version="13.0.3" targetFramework="net462" />
|
||||||
|
<package id="Newtonsoft.Json.Bson" version="1.0.2" targetFramework="net462" />
|
||||||
|
<package id="OpenMcdf" version="2.4.1" targetFramework="net462" />
|
||||||
|
<package id="protobuf-net" version="3.2.46" targetFramework="net462" />
|
||||||
|
<package id="protobuf-net.Core" version="3.2.46" targetFramework="net462" />
|
||||||
|
<package id="RtfPipe" version="2.0.7677.4303" targetFramework="net462" />
|
||||||
|
<package id="System.Buffers" version="4.6.0" targetFramework="net462" />
|
||||||
|
<package id="System.CodeDom" version="8.0.0" targetFramework="net462" />
|
||||||
|
<package id="System.Collections.Immutable" version="8.0.0" targetFramework="net462" />
|
||||||
|
<package id="System.IO.Packaging" version="8.0.1" targetFramework="net462" />
|
||||||
|
<package id="System.Management" version="8.0.0" targetFramework="net462" />
|
||||||
|
<package id="System.Memory" version="4.6.0" targetFramework="net462" />
|
||||||
|
<package id="System.Numerics.Vectors" version="4.6.0" targetFramework="net462" />
|
||||||
|
<package id="System.Runtime.CompilerServices.Unsafe" version="6.1.0" targetFramework="net462" />
|
||||||
|
<package id="System.Security.Cryptography.Pkcs" version="8.0.1" targetFramework="net462" />
|
||||||
|
<package id="System.Text.Encodings.Web" version="8.0.0" targetFramework="net462" />
|
||||||
|
<package id="System.Text.Json" version="8.0.5" targetFramework="net462" />
|
||||||
|
<package id="System.Threading.Tasks.Extensions" version="4.5.4" targetFramework="net462" />
|
||||||
|
<package id="System.ValueTuple" version="4.6.1" targetFramework="net48" />
|
||||||
|
</packages>
|
||||||
@@ -66,31 +66,31 @@
|
|||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DigitalData.Modules.Base, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="DigitalData.Modules.Base, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>..\..\Modules\Base\bin\Debug\DigitalData.Modules.Base.dll</HintPath>
|
<HintPath>..\..\DDModules\Base\bin\Debug\DigitalData.Modules.Base.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DigitalData.Modules.Database, Version=2.2.7.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="DigitalData.Modules.Database, Version=2.2.7.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>..\..\Modules\Config\bin\Debug\DigitalData.Modules.Database.dll</HintPath>
|
<HintPath>..\..\DDModules\Database\bin\Debug\DigitalData.Modules.Database.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DigitalData.Modules.EDMI.API, Version=0.0.0.2, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="DigitalData.Modules.EDMI.API, Version=0.0.0.2, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>..\..\Modules\EDMIAPI\bin\Debug\DigitalData.Modules.EDMI.API.dll</HintPath>
|
<HintPath>..\..\DDModules\EDMIAPI\bin\Debug\DigitalData.Modules.EDMI.API.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DigitalData.Modules.Logging, Version=2.5.4.2, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="DigitalData.Modules.Logging, Version=2.5.4.2, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>..\..\Modules\Config\bin\Debug\DigitalData.Modules.Logging.dll</HintPath>
|
<HintPath>..\..\DDModules\Logging\bin\Debug\DigitalData.Modules.Logging.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DigitalData.Modules.Patterns, Version=1.1.0.1, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="DigitalData.Modules.Patterns, Version=1.1.0.1, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>..\..\Modules\Patterns\bin\Debug\DigitalData.Modules.Patterns.dll</HintPath>
|
<HintPath>..\..\DDModules\Patterns\bin\Debug\DigitalData.Modules.Patterns.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DigitalData.Modules.Windows, Version=1.4.4.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="DigitalData.Modules.Windows, Version=1.4.4.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>..\..\Modules\Windows\bin\Debug\DigitalData.Modules.Windows.dll</HintPath>
|
<HintPath>..\..\DDModules\Windows\bin\Debug\DigitalData.Modules.Windows.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DigitalData.Modules.ZooFlow, Version=1.2.0.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="DigitalData.Modules.ZooFlow, Version=1.2.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>..\..\Modules\Patterns\bin\Debug\DigitalData.Modules.ZooFlow.dll</HintPath>
|
<HintPath>..\..\DDModules\ZooFlow\bin\Debug\DigitalData.Modules.ZooFlow.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Microsoft.CSharp" />
|
<Reference Include="Microsoft.CSharp" />
|
||||||
<Reference Include="NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
|
<Reference Include="NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
|
||||||
|
|||||||
@@ -53,19 +53,19 @@ Public Class frmMatch
|
|||||||
DATA_ONLY = 2
|
DATA_ONLY = 2
|
||||||
End Enum
|
End Enum
|
||||||
|
|
||||||
Public Sub New(LogConfig As LogConfig, Environment As Environment, Params As ClipboardWatcherParams)
|
Public Sub New(pLogConfig As LogConfig, pEnvironment As Environment, pParams As ClipboardWatcherParams)
|
||||||
' Dieser Aufruf ist für den Designer erforderlich.
|
' Dieser Aufruf ist für den Designer erforderlich.
|
||||||
InitializeComponent()
|
InitializeComponent()
|
||||||
|
|
||||||
' Fügen Sie Initialisierungen nach dem InitializeComponent()-Aufruf hinzu.
|
' Fügen Sie Initialisierungen nach dem InitializeComponent()-Aufruf hinzu.
|
||||||
_LogConfig = LogConfig
|
_LogConfig = pLogConfig
|
||||||
_Logger = LogConfig.GetLogger()
|
_Logger = pLogConfig.GetLogger()
|
||||||
_Environment = Environment
|
_Environment = pEnvironment
|
||||||
_Params = Params
|
_Params = pParams
|
||||||
_ProfileSearch = New ProfileSearches(_LogConfig, _Environment, _Params.ClipboardContents)
|
_ProfileSearch = New ProfileSearches(_LogConfig, _Environment, _Params.ClipboardContents)
|
||||||
|
|
||||||
_Logger.Debug("ClipboardContents: [{0}]", Params.ClipboardContents)
|
_Logger.Debug("ClipboardContents: [{0}]", pParams.ClipboardContents)
|
||||||
_Logger.Debug("OperationModeOverride: [{0}]", Params.OperationModeOverride.ToString)
|
_Logger.Debug("OperationModeOverride: [{0}]", pParams.OperationModeOverride.ToString)
|
||||||
|
|
||||||
_Language = ObjectEx.NotNull(_Environment.User.Language, State.UserState.LANG_EN_US)
|
_Language = ObjectEx.NotNull(_Environment.User.Language, State.UserState.LANG_EN_US)
|
||||||
Thread.CurrentThread.CurrentUICulture = New CultureInfo(_Language)
|
Thread.CurrentThread.CurrentUICulture = New CultureInfo(_Language)
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<Import Project="..\packages\EntityFramework.6.4.4\build\EntityFramework.props" Condition="Exists('..\packages\EntityFramework.6.4.4\build\EntityFramework.props')" />
|
||||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
@@ -48,6 +49,9 @@
|
|||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="Accessibility" />
|
<Reference Include="Accessibility" />
|
||||||
|
<Reference Include="BouncyCastle.Cryptography, Version=2.0.0.0, Culture=neutral, PublicKeyToken=072edcf4a5328938, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\BouncyCastle.Cryptography.2.5.0\lib\net461\BouncyCastle.Cryptography.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
<Reference Include="DevExpress.Data.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
|
<Reference Include="DevExpress.Data.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
|
||||||
<Reference Include="DevExpress.Dialogs.v21.2.Core, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
|
<Reference Include="DevExpress.Dialogs.v21.2.Core, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
|
||||||
<Reference Include="DevExpress.Office.v21.2.Core, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
|
<Reference Include="DevExpress.Office.v21.2.Core, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
|
||||||
@@ -67,7 +71,7 @@
|
|||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DevExpress.XtraTreeList.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
|
<Reference Include="DevExpress.XtraTreeList.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
|
||||||
<Reference Include="DigitalData.Controls.DocumentViewer">
|
<Reference Include="DigitalData.Controls.DocumentViewer">
|
||||||
<HintPath>..\Controls.DocumentViewer\bin\Debug\DigitalData.Controls.DocumentViewer.dll</HintPath>
|
<HintPath>..\..\Controls.DocumentViewer\bin\Debug\DigitalData.Controls.DocumentViewer.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DigitalData.Controls.LookupGrid">
|
<Reference Include="DigitalData.Controls.LookupGrid">
|
||||||
<HintPath>..\Controls.LookupGrid\bin\Debug\DigitalData.Controls.LookupGrid.dll</HintPath>
|
<HintPath>..\Controls.LookupGrid\bin\Debug\DigitalData.Controls.LookupGrid.dll</HintPath>
|
||||||
@@ -75,49 +79,230 @@
|
|||||||
<Reference Include="DigitalData.Modules.Base">
|
<Reference Include="DigitalData.Modules.Base">
|
||||||
<HintPath>..\..\DDModules\Base\bin\Debug\DigitalData.Modules.Base.dll</HintPath>
|
<HintPath>..\..\DDModules\Base\bin\Debug\DigitalData.Modules.Base.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DigitalData.Modules.Config">
|
<Reference Include="DigitalData.Modules.Config, Version=1.3.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>..\..\DDModules\Config\bin\Debug\DigitalData.Modules.Config.dll</HintPath>
|
<HintPath>..\..\DDModules\Config\bin\Debug\DigitalData.Modules.Config.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DigitalData.Modules.Database">
|
<Reference Include="DigitalData.Modules.Database, Version=2.3.6.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>..\..\DDModules\Database\bin\Debug\DigitalData.Modules.Database.dll</HintPath>
|
<HintPath>..\..\DDModules\Database\bin\Debug\DigitalData.Modules.Database.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DigitalData.Modules.EDMI.API">
|
<Reference Include="DigitalData.Modules.EDMI.API, Version=1.6.1.1, Culture=neutral, processorArchitecture=MSIL">
|
||||||
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>..\..\DDModules\EDMIAPI\bin\Debug\DigitalData.Modules.EDMI.API.dll</HintPath>
|
<HintPath>..\..\DDModules\EDMIAPI\bin\Debug\DigitalData.Modules.EDMI.API.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DigitalData.Modules.Filesystem">
|
<Reference Include="DigitalData.Modules.Encryption, Version=1.3.1.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
|
<SpecificVersion>False</SpecificVersion>
|
||||||
|
<HintPath>..\..\DDModules\Encryption\bin\Debug\DigitalData.Modules.Encryption.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="DigitalData.Modules.Filesystem, Version=1.3.3.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>..\..\DDModules\Filesystem\bin\Debug\DigitalData.Modules.Filesystem.dll</HintPath>
|
<HintPath>..\..\DDModules\Filesystem\bin\Debug\DigitalData.Modules.Filesystem.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DigitalData.Modules.Logging">
|
<Reference Include="DigitalData.Modules.Logging, Version=2.6.5.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>..\..\DDModules\Logging\bin\Debug\DigitalData.Modules.Logging.dll</HintPath>
|
<HintPath>..\..\DDModules\Logging\bin\Debug\DigitalData.Modules.Logging.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DigitalData.Modules.Patterns">
|
<Reference Include="DigitalData.Modules.Messaging, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
|
<SpecificVersion>False</SpecificVersion>
|
||||||
|
<HintPath>..\..\DDModules\Messaging\bin\Debug\DigitalData.Modules.Messaging.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="DigitalData.Modules.Patterns, Version=1.3.1.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>..\..\DDModules\Patterns\bin\Debug\DigitalData.Modules.Patterns.dll</HintPath>
|
<HintPath>..\..\DDModules\Patterns\bin\Debug\DigitalData.Modules.Patterns.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DigitalData.Modules.Windows">
|
<Reference Include="DigitalData.Modules.Windows, Version=1.5.1.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>..\..\DDModules\Windows\bin\Debug\DigitalData.Modules.Windows.dll</HintPath>
|
<HintPath>..\..\DDModules\Windows\bin\Debug\DigitalData.Modules.Windows.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DigitalData.Modules.ZooFlow">
|
<Reference Include="DigitalData.Modules.ZooFlow">
|
||||||
<HintPath>..\..\DDModules\ZooFlow\bin\Debug\DigitalData.Modules.ZooFlow.dll</HintPath>
|
<HintPath>..\..\DDModules\ZooFlow\bin\Debug\DigitalData.Modules.ZooFlow.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
|
<Reference Include="DocumentFormat.OpenXml, Version=3.2.0.0, Culture=neutral, PublicKeyToken=8fb06cb64d019a17, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\DocumentFormat.OpenXml.3.2.0\lib\net46\DocumentFormat.OpenXml.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="DocumentFormat.OpenXml.Framework, Version=3.2.0.0, Culture=neutral, PublicKeyToken=8fb06cb64d019a17, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\DocumentFormat.OpenXml.Framework.3.2.0\lib\net46\DocumentFormat.OpenXml.Framework.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\EntityFramework.6.4.4\lib\net45\EntityFramework.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="EntityFramework.Firebird, Version=6.4.0.0, Culture=neutral, PublicKeyToken=42d22d092898e5f8, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\EntityFramework.Firebird.6.4.0\lib\net452\EntityFramework.Firebird.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\EntityFramework.6.4.4\lib\net45\EntityFramework.SqlServer.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="FirebirdSql.Data.FirebirdClient, Version=7.5.0.0, Culture=neutral, PublicKeyToken=3750abcc3150b00c, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\FirebirdSql.Data.FirebirdClient.7.5.0\lib\net452\FirebirdSql.Data.FirebirdClient.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="GdPicture.NET.14, Version=14.3.3.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\GdPicture.14.3.3\lib\net462\GdPicture.NET.14.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="GdPicture.NET.14.barcode.1d.writer, Version=14.3.3.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\GdPicture.14.3.3\lib\net462\GdPicture.NET.14.barcode.1d.writer.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="GdPicture.NET.14.barcode.2d.writer, Version=14.3.3.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\GdPicture.14.3.3\lib\net462\GdPicture.NET.14.barcode.2d.writer.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="GdPicture.NET.14.CAD, Version=14.3.3.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\GdPicture.14.3.3\lib\net462\GdPicture.NET.14.CAD.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="GdPicture.NET.14.CAD.DWG, Version=14.3.3.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\GdPicture.14.3.3\lib\net462\GdPicture.NET.14.CAD.DWG.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="GdPicture.NET.14.Common, Version=14.3.3.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\GdPicture.14.3.3\lib\net462\GdPicture.NET.14.Common.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="GdPicture.NET.14.Document, Version=14.3.3.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\GdPicture.14.3.3\lib\net462\GdPicture.NET.14.Document.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="GdPicture.NET.14.Email, Version=14.3.3.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\GdPicture.14.3.3\lib\net462\GdPicture.NET.14.Email.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="GdPicture.NET.14.HTML, Version=14.3.3.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\GdPicture.14.3.3\lib\net462\GdPicture.NET.14.HTML.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="GdPicture.NET.14.Imaging, Version=14.3.3.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\GdPicture.14.3.3\lib\net462\GdPicture.NET.14.Imaging.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="GdPicture.NET.14.Imaging.Formats, Version=14.3.3.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\GdPicture.14.3.3\lib\net462\GdPicture.NET.14.Imaging.Formats.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="GdPicture.NET.14.Imaging.Formats.Conversion, Version=14.3.3.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\GdPicture.14.3.3\lib\net462\GdPicture.NET.14.Imaging.Formats.Conversion.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="GdPicture.NET.14.Imaging.Rendering, Version=14.3.3.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\GdPicture.14.3.3\lib\net462\GdPicture.NET.14.Imaging.Rendering.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="GdPicture.NET.14.MSOfficeBinary, Version=14.3.3.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\GdPicture.14.3.3\lib\net462\GdPicture.NET.14.MSOfficeBinary.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="GdPicture.NET.14.OpenDocument, Version=14.3.3.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\GdPicture.14.3.3\lib\net462\GdPicture.NET.14.OpenDocument.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="GdPicture.NET.14.OpenXML, Version=14.3.3.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\GdPicture.14.3.3\lib\net462\GdPicture.NET.14.OpenXML.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="GdPicture.NET.14.OpenXML.Templating, Version=14.3.3.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\GdPicture.14.3.3\lib\net462\GdPicture.NET.14.OpenXML.Templating.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="GdPicture.NET.14.PDF, Version=14.3.3.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\GdPicture.14.3.3\lib\net462\GdPicture.NET.14.PDF.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="GdPicture.NET.14.RTF, Version=14.3.3.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\GdPicture.14.3.3\lib\net462\GdPicture.NET.14.RTF.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="GdPicture.NET.14.SVG, Version=14.3.3.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\GdPicture.14.3.3\lib\net462\GdPicture.NET.14.SVG.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="GdPicture.NET.14.wia.gateway, Version=1.0.0.0, Culture=neutral, PublicKeyToken=6973b5c22dcf45f7, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\GdPicture.14.3.3\lib\net462\GdPicture.NET.14.wia.gateway.dll</HintPath>
|
||||||
|
<EmbedInteropTypes>True</EmbedInteropTypes>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Microsoft.Bcl.AsyncInterfaces, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\Microsoft.Bcl.AsyncInterfaces.9.0.0\lib\net462\Microsoft.Bcl.AsyncInterfaces.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Microsoft.Bcl.Cryptography, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\Microsoft.Bcl.Cryptography.9.0.0\lib\net462\Microsoft.Bcl.Cryptography.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
<Reference Include="Microsoft.CSharp" />
|
<Reference Include="Microsoft.CSharp" />
|
||||||
|
<Reference Include="Microsoft.Identity.Client, Version=4.55.0.0, Culture=neutral, PublicKeyToken=0a613f4dd989e8ae, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\Microsoft.Identity.Client.4.55.0\lib\net461\Microsoft.Identity.Client.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Microsoft.IdentityModel.Abstractions, Version=6.22.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\Microsoft.IdentityModel.Abstractions.6.22.0\lib\net461\Microsoft.IdentityModel.Abstractions.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\Newtonsoft.Json.13.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Newtonsoft.Json.Bson, Version=1.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\Newtonsoft.Json.Bson.1.0.2\lib\net45\Newtonsoft.Json.Bson.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
<Reference Include="NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
|
<Reference Include="NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\NLog.5.0.5\lib\net46\NLog.dll</HintPath>
|
<HintPath>..\packages\NLog.5.0.5\lib\net46\NLog.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
|
<Reference Include="OpenMcdf, Version=2.4.1.0, Culture=neutral, PublicKeyToken=fdbb1629d7c00800, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\OpenMcdf.2.4.1\lib\net40\OpenMcdf.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
<Reference Include="PresentationCore" />
|
<Reference Include="PresentationCore" />
|
||||||
|
<Reference Include="protobuf-net, Version=3.0.0.0, Culture=neutral, PublicKeyToken=257b51d87d2e4d67, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\protobuf-net.3.2.46\lib\net462\protobuf-net.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="protobuf-net.Core, Version=3.0.0.0, Culture=neutral, PublicKeyToken=257b51d87d2e4d67, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\protobuf-net.Core.3.2.46\lib\net462\protobuf-net.Core.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="RtfPipe, Version=2.0.7677.4303, Culture=neutral, PublicKeyToken=5f6ab4ce530296d2, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\RtfPipe.2.0.7677.4303\lib\net45\RtfPipe.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="S22.Imap, Version=3.6.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\S22.Imap.3.6.0.0\lib\net40\S22.Imap.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
|
<Reference Include="System.Buffers, Version=4.0.4.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\System.Buffers.4.6.0\lib\net462\System.Buffers.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System.CodeDom, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\System.CodeDom.9.0.0\lib\net462\System.CodeDom.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System.Collections.Immutable, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\System.Collections.Immutable.9.0.0\lib\net462\System.Collections.Immutable.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
<Reference Include="System.ComponentModel.DataAnnotations" />
|
<Reference Include="System.ComponentModel.DataAnnotations" />
|
||||||
<Reference Include="System.Configuration" />
|
<Reference Include="System.Configuration" />
|
||||||
<Reference Include="System.Data" />
|
<Reference Include="System.Data" />
|
||||||
<Reference Include="System.Data.Linq" />
|
<Reference Include="System.Data.Linq" />
|
||||||
|
<Reference Include="System.Data.Odbc, Version=6.0.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\System.Data.Odbc.6.0.1\lib\net461\System.Data.Odbc.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
<Reference Include="System.Deployment" />
|
<Reference Include="System.Deployment" />
|
||||||
<Reference Include="System.Drawing" />
|
<Reference Include="System.Drawing" />
|
||||||
|
<Reference Include="System.Formats.Asn1, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\System.Formats.Asn1.9.0.0\lib\net462\System.Formats.Asn1.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System.IdentityModel" />
|
||||||
<Reference Include="System.IO.Compression" />
|
<Reference Include="System.IO.Compression" />
|
||||||
|
<Reference Include="System.IO.Packaging, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\System.IO.Packaging.9.0.0\lib\net462\System.IO.Packaging.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System.IO.Pipelines, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\System.IO.Pipelines.9.0.0\lib\net462\System.IO.Pipelines.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System.Management" />
|
||||||
|
<Reference Include="System.Memory, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\System.Memory.4.6.0\lib\net462\System.Memory.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System.Net.Http.Formatting, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\Microsoft.AspNet.WebApi.Client.6.0.0\lib\net45\System.Net.Http.Formatting.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System.Numerics" />
|
||||||
|
<Reference Include="System.Numerics.Vectors, Version=4.1.5.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\System.Numerics.Vectors.4.6.0\lib\net462\System.Numerics.Vectors.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=6.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.6.1.0\lib\net462\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
<Reference Include="System.Runtime.Remoting" />
|
<Reference Include="System.Runtime.Remoting" />
|
||||||
<Reference Include="System.Runtime.Serialization" />
|
<Reference Include="System.Runtime.Serialization" />
|
||||||
<Reference Include="System.Runtime.Serialization.Formatters.Soap" />
|
<Reference Include="System.Runtime.Serialization.Formatters.Soap" />
|
||||||
<Reference Include="System.Security" />
|
<Reference Include="System.Security" />
|
||||||
|
<Reference Include="System.Security.Cryptography.Pkcs, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\System.Security.Cryptography.Pkcs.9.0.0\lib\net462\System.Security.Cryptography.Pkcs.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
<Reference Include="System.ServiceModel" />
|
<Reference Include="System.ServiceModel" />
|
||||||
|
<Reference Include="System.Text.Encodings.Web, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\System.Text.Encodings.Web.9.0.0\lib\net462\System.Text.Encodings.Web.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System.Text.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\System.Text.Json.9.0.0\lib\net462\System.Text.Json.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System.Threading.Tasks.Extensions, Version=4.2.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\System.Threading.Tasks.Extensions.4.5.4\lib\net461\System.Threading.Tasks.Extensions.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
<Reference Include="System.Transactions" />
|
<Reference Include="System.Transactions" />
|
||||||
|
<Reference Include="System.ValueTuple, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\System.ValueTuple.4.5.0\lib\net461\System.ValueTuple.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
<Reference Include="System.Windows.Forms" />
|
<Reference Include="System.Windows.Forms" />
|
||||||
<Reference Include="System.Xml" />
|
<Reference Include="System.Xml" />
|
||||||
<Reference Include="System.Core" />
|
<Reference Include="System.Core" />
|
||||||
@@ -628,4 +813,14 @@
|
|||||||
<None Include="Resources\check1.svg" />
|
<None Include="Resources\check1.svg" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.targets" />
|
<Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.targets" />
|
||||||
|
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||||
|
<PropertyGroup>
|
||||||
|
<ErrorText>Dieses Projekt verweist auf mindestens ein NuGet-Paket, das auf diesem Computer fehlt. Verwenden Sie die Wiederherstellung von NuGet-Paketen, um die fehlenden Dateien herunterzuladen. Weitere Informationen finden Sie unter "http://go.microsoft.com/fwlink/?LinkID=322105". Die fehlende Datei ist "{0}".</ErrorText>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Error Condition="!Exists('..\packages\EntityFramework.6.4.4\build\EntityFramework.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\EntityFramework.6.4.4\build\EntityFramework.props'))" />
|
||||||
|
<Error Condition="!Exists('..\packages\EntityFramework.6.4.4\build\EntityFramework.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\EntityFramework.6.4.4\build\EntityFramework.targets'))" />
|
||||||
|
<Error Condition="!Exists('..\packages\GdPicture.runtimes.windows.14.3.3\build\net462\GdPicture.runtimes.windows.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\GdPicture.runtimes.windows.14.3.3\build\net462\GdPicture.runtimes.windows.targets'))" />
|
||||||
|
</Target>
|
||||||
|
<Import Project="..\packages\EntityFramework.6.4.4\build\EntityFramework.targets" Condition="Exists('..\packages\EntityFramework.6.4.4\build\EntityFramework.targets')" />
|
||||||
|
<Import Project="..\packages\GdPicture.runtimes.windows.14.3.3\build\net462\GdPicture.runtimes.windows.targets" Condition="Exists('..\packages\GdPicture.runtimes.windows.14.3.3\build\net462\GdPicture.runtimes.windows.targets')" />
|
||||||
</Project>
|
</Project>
|
||||||
@@ -9,7 +9,7 @@ Namespace DocumentResultList
|
|||||||
Inherits BaseClass
|
Inherits BaseClass
|
||||||
|
|
||||||
Private WithEvents FileOpenTimer As New Timer
|
Private WithEvents FileOpenTimer As New Timer
|
||||||
Private FileEx As Modules.Filesystem.File
|
Private FileEx As DigitalData.Modules.Filesystem.File
|
||||||
Private EnableWatching As Boolean = True
|
Private EnableWatching As Boolean = True
|
||||||
|
|
||||||
' TODO: Hashes for checking if the opened file was modified externally
|
' TODO: Hashes for checking if the opened file was modified externally
|
||||||
@@ -52,7 +52,7 @@ Namespace DocumentResultList
|
|||||||
|
|
||||||
Public Sub New(pLogConfig As LogConfig, pEnableWatching As Boolean)
|
Public Sub New(pLogConfig As LogConfig, pEnableWatching As Boolean)
|
||||||
MyBase.New(pLogConfig)
|
MyBase.New(pLogConfig)
|
||||||
FileEx = New Modules.Filesystem.File(pLogConfig)
|
FileEx = New DigitalData.Modules.Filesystem.File(pLogConfig)
|
||||||
EnableWatching = pEnableWatching
|
EnableWatching = pEnableWatching
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
|
|||||||
@@ -68,6 +68,7 @@ Partial Class frmDocumentResultList
|
|||||||
Me.btnSaveWorkspaceAs = New DevExpress.XtraBars.BarButtonItem()
|
Me.btnSaveWorkspaceAs = New DevExpress.XtraBars.BarButtonItem()
|
||||||
Me.btnSaveAsMySearch = New DevExpress.XtraBars.BarButtonItem()
|
Me.btnSaveAsMySearch = New DevExpress.XtraBars.BarButtonItem()
|
||||||
Me.lblCurrentWorkspace = New DevExpress.XtraBars.BarStaticItem()
|
Me.lblCurrentWorkspace = New DevExpress.XtraBars.BarStaticItem()
|
||||||
|
Me.BarButtonItem6 = New DevExpress.XtraBars.BarButtonItem()
|
||||||
Me.RibbonPageStart = New DevExpress.XtraBars.Ribbon.RibbonPage()
|
Me.RibbonPageStart = New DevExpress.XtraBars.Ribbon.RibbonPage()
|
||||||
Me.RibbonPageGroup_Navigation = New DevExpress.XtraBars.Ribbon.RibbonPageGroup()
|
Me.RibbonPageGroup_Navigation = New DevExpress.XtraBars.Ribbon.RibbonPageGroup()
|
||||||
Me.RibbonPageGroupExport = New DevExpress.XtraBars.Ribbon.RibbonPageGroup()
|
Me.RibbonPageGroupExport = New DevExpress.XtraBars.Ribbon.RibbonPageGroup()
|
||||||
@@ -221,9 +222,9 @@ Partial Class frmDocumentResultList
|
|||||||
Me.RibbonControl.ColorScheme = DevExpress.XtraBars.Ribbon.RibbonControlColorScheme.Green
|
Me.RibbonControl.ColorScheme = DevExpress.XtraBars.Ribbon.RibbonControlColorScheme.Green
|
||||||
Me.RibbonControl.ExpandCollapseItem.Id = 0
|
Me.RibbonControl.ExpandCollapseItem.Id = 0
|
||||||
Me.RibbonControl.Images = Me.SvgImageCollection1
|
Me.RibbonControl.Images = Me.SvgImageCollection1
|
||||||
Me.RibbonControl.Items.AddRange(New DevExpress.XtraBars.BarItem() {Me.RibbonControl.ExpandCollapseItem, Me.RibbonControl.SearchEditItem, Me.SwitchMainContainerHorizontal, Me.SwitchDetailContainerHorizontal, Me.BarButtonItemExportGrid1, Me.BarStaticItem1, Me.labelResultCount, Me.BarButtonBack, Me.BarButtonResetGridLayout, Me.labelCriticalError, Me.labelWarning, Me.MenuItemFileOpen, Me.MenuItemPropertiesIDB, Me.MenuItemFolderOpen, Me.MenuItemFilepathCopy, Me.MenuItemFolderpathCopy, Me.MenuItemProperties, Me.MenuItemsOpenFileZooFlow, Me.MenuItemPropertiesZooFlow, Me.ButtonRefresh, Me.BarButtonItem1, Me.BarButtonItem2, Me.BarButtonItem3, Me.BarButtonItem4, Me.BarButtonItem5, Me.MenuItemStartAdhocWorkflow, Me.MenuItemCheckInFile, Me.MenuItemCheckOutFile, Me.MenuItemVersionFile, Me.chkGridShowQuickfilter, Me.chkGridShowGrouping, Me.chkGridShowTitle, Me.MenuItemSaveProperties, Me.BarButtonItem11, Me.BarEditItemGridFontSize, Me.btnSaveWorkspace, Me.BarWorkspaceMenuItem1, Me.btnSaveWorkspaceAs, Me.btnSaveAsMySearch, Me.lblCurrentWorkspace})
|
Me.RibbonControl.Items.AddRange(New DevExpress.XtraBars.BarItem() {Me.RibbonControl.ExpandCollapseItem, Me.RibbonControl.SearchEditItem, Me.SwitchMainContainerHorizontal, Me.SwitchDetailContainerHorizontal, Me.BarButtonItemExportGrid1, Me.BarStaticItem1, Me.labelResultCount, Me.BarButtonBack, Me.BarButtonResetGridLayout, Me.labelCriticalError, Me.labelWarning, Me.MenuItemFileOpen, Me.MenuItemPropertiesIDB, Me.MenuItemFolderOpen, Me.MenuItemFilepathCopy, Me.MenuItemFolderpathCopy, Me.MenuItemProperties, Me.MenuItemsOpenFileZooFlow, Me.MenuItemPropertiesZooFlow, Me.ButtonRefresh, Me.BarButtonItem1, Me.BarButtonItem2, Me.BarButtonItem3, Me.BarButtonItem4, Me.BarButtonItem5, Me.MenuItemStartAdhocWorkflow, Me.MenuItemCheckInFile, Me.MenuItemCheckOutFile, Me.MenuItemVersionFile, Me.chkGridShowQuickfilter, Me.chkGridShowGrouping, Me.chkGridShowTitle, Me.MenuItemSaveProperties, Me.BarButtonItem11, Me.BarEditItemGridFontSize, Me.btnSaveWorkspace, Me.BarWorkspaceMenuItem1, Me.btnSaveWorkspaceAs, Me.btnSaveAsMySearch, Me.lblCurrentWorkspace, Me.BarButtonItem6})
|
||||||
resources.ApplyResources(Me.RibbonControl, "RibbonControl")
|
resources.ApplyResources(Me.RibbonControl, "RibbonControl")
|
||||||
Me.RibbonControl.MaxItemId = 61
|
Me.RibbonControl.MaxItemId = 62
|
||||||
Me.RibbonControl.Name = "RibbonControl"
|
Me.RibbonControl.Name = "RibbonControl"
|
||||||
Me.RibbonControl.Pages.AddRange(New DevExpress.XtraBars.Ribbon.RibbonPage() {Me.RibbonPageStart, Me.RibbonPage2})
|
Me.RibbonControl.Pages.AddRange(New DevExpress.XtraBars.Ribbon.RibbonPage() {Me.RibbonPageStart, Me.RibbonPage2})
|
||||||
Me.RibbonControl.RepositoryItems.AddRange(New DevExpress.XtraEditors.Repository.RepositoryItem() {Me.RepositoryItemTextEdit1, Me.RepositoryItemTextEdit2, Me.RepositoryItemSearchControl1, Me.cmbGridFontSize})
|
Me.RibbonControl.RepositoryItems.AddRange(New DevExpress.XtraEditors.Repository.RepositoryItem() {Me.RepositoryItemTextEdit1, Me.RepositoryItemTextEdit2, Me.RepositoryItemSearchControl1, Me.cmbGridFontSize})
|
||||||
@@ -530,6 +531,13 @@ Partial Class frmDocumentResultList
|
|||||||
Me.lblCurrentWorkspace.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph
|
Me.lblCurrentWorkspace.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph
|
||||||
Me.lblCurrentWorkspace.Tag = "Arbeitsbereich: {0}"
|
Me.lblCurrentWorkspace.Tag = "Arbeitsbereich: {0}"
|
||||||
'
|
'
|
||||||
|
'BarButtonItem6
|
||||||
|
'
|
||||||
|
resources.ApplyResources(Me.BarButtonItem6, "BarButtonItem6")
|
||||||
|
Me.BarButtonItem6.Id = 61
|
||||||
|
Me.BarButtonItem6.ImageOptions.SvgImage = CType(resources.GetObject("BarButtonItem6.ImageOptions.SvgImage"), DevExpress.Utils.Svg.SvgImage)
|
||||||
|
Me.BarButtonItem6.Name = "BarButtonItem6"
|
||||||
|
'
|
||||||
'RibbonPageStart
|
'RibbonPageStart
|
||||||
'
|
'
|
||||||
Me.RibbonPageStart.Groups.AddRange(New DevExpress.XtraBars.Ribbon.RibbonPageGroup() {Me.RibbonPageGroup_Navigation, Me.RibbonPageGroupExport, Me.RibbonPageRefresh, Me.RibbonPageGroupDocument, Me.RibbonPageGroupFilesystem, Me.RibbonPageGroupCheckInOut, Me.RibbonPageGroupWorkflow, Me.RibbonPageGroupAttribute, Me.RibbonPageGroupWorkspace, Me.RibbonPageGroupSavedSearch})
|
Me.RibbonPageStart.Groups.AddRange(New DevExpress.XtraBars.Ribbon.RibbonPageGroup() {Me.RibbonPageGroup_Navigation, Me.RibbonPageGroupExport, Me.RibbonPageRefresh, Me.RibbonPageGroupDocument, Me.RibbonPageGroupFilesystem, Me.RibbonPageGroupCheckInOut, Me.RibbonPageGroupWorkflow, Me.RibbonPageGroupAttribute, Me.RibbonPageGroupWorkspace, Me.RibbonPageGroupSavedSearch})
|
||||||
@@ -547,6 +555,7 @@ Partial Class frmDocumentResultList
|
|||||||
'
|
'
|
||||||
Me.RibbonPageGroupExport.Alignment = DevExpress.XtraBars.Ribbon.RibbonPageGroupAlignment.Far
|
Me.RibbonPageGroupExport.Alignment = DevExpress.XtraBars.Ribbon.RibbonPageGroupAlignment.Far
|
||||||
Me.RibbonPageGroupExport.ItemLinks.Add(Me.BarButtonItemExportGrid1)
|
Me.RibbonPageGroupExport.ItemLinks.Add(Me.BarButtonItemExportGrid1)
|
||||||
|
Me.RibbonPageGroupExport.ItemLinks.Add(Me.BarButtonItem6)
|
||||||
Me.RibbonPageGroupExport.Name = "RibbonPageGroupExport"
|
Me.RibbonPageGroupExport.Name = "RibbonPageGroupExport"
|
||||||
resources.ApplyResources(Me.RibbonPageGroupExport, "RibbonPageGroupExport")
|
resources.ApplyResources(Me.RibbonPageGroupExport, "RibbonPageGroupExport")
|
||||||
'
|
'
|
||||||
@@ -744,6 +753,7 @@ Partial Class frmDocumentResultList
|
|||||||
resources.ApplyResources(Me.DocumentViewer1, "DocumentViewer1")
|
resources.ApplyResources(Me.DocumentViewer1, "DocumentViewer1")
|
||||||
Me.DocumentViewer1.FileLoaded = False
|
Me.DocumentViewer1.FileLoaded = False
|
||||||
Me.DocumentViewer1.Name = "DocumentViewer1"
|
Me.DocumentViewer1.Name = "DocumentViewer1"
|
||||||
|
Me.DocumentViewer1.Viewer_ForceTemporaryMode = False
|
||||||
'
|
'
|
||||||
'XtraSaveFileDialog
|
'XtraSaveFileDialog
|
||||||
'
|
'
|
||||||
@@ -877,7 +887,7 @@ Partial Class frmDocumentResultList
|
|||||||
Me.LayoutControlItem1.Name = "LayoutControlItem1"
|
Me.LayoutControlItem1.Name = "LayoutControlItem1"
|
||||||
Me.LayoutControlItem1.Size = New System.Drawing.Size(224, 24)
|
Me.LayoutControlItem1.Size = New System.Drawing.Size(224, 24)
|
||||||
resources.ApplyResources(Me.LayoutControlItem1, "LayoutControlItem1")
|
resources.ApplyResources(Me.LayoutControlItem1, "LayoutControlItem1")
|
||||||
Me.LayoutControlItem1.TextSize = New System.Drawing.Size(126, 13)
|
Me.LayoutControlItem1.TextSize = New System.Drawing.Size(124, 13)
|
||||||
'
|
'
|
||||||
'LayoutControlItem2
|
'LayoutControlItem2
|
||||||
'
|
'
|
||||||
@@ -886,7 +896,7 @@ Partial Class frmDocumentResultList
|
|||||||
Me.LayoutControlItem2.Name = "LayoutControlItem2"
|
Me.LayoutControlItem2.Name = "LayoutControlItem2"
|
||||||
Me.LayoutControlItem2.Size = New System.Drawing.Size(224, 24)
|
Me.LayoutControlItem2.Size = New System.Drawing.Size(224, 24)
|
||||||
resources.ApplyResources(Me.LayoutControlItem2, "LayoutControlItem2")
|
resources.ApplyResources(Me.LayoutControlItem2, "LayoutControlItem2")
|
||||||
Me.LayoutControlItem2.TextSize = New System.Drawing.Size(126, 13)
|
Me.LayoutControlItem2.TextSize = New System.Drawing.Size(124, 13)
|
||||||
'
|
'
|
||||||
'EmptySpaceItem1
|
'EmptySpaceItem1
|
||||||
'
|
'
|
||||||
@@ -917,9 +927,9 @@ Partial Class frmDocumentResultList
|
|||||||
Me.AllowFormGlass = DevExpress.Utils.DefaultBoolean.[True]
|
Me.AllowFormGlass = DevExpress.Utils.DefaultBoolean.[True]
|
||||||
resources.ApplyResources(Me, "$this")
|
resources.ApplyResources(Me, "$this")
|
||||||
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
|
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
|
||||||
|
Me.Controls.Add(Me.DockPanelFileList)
|
||||||
Me.Controls.Add(Me.DockPanelPreview)
|
Me.Controls.Add(Me.DockPanelPreview)
|
||||||
Me.Controls.Add(Me.panelContainerStatus)
|
Me.Controls.Add(Me.panelContainerStatus)
|
||||||
Me.Controls.Add(Me.DockPanelFileList)
|
|
||||||
Me.Controls.Add(Me.RibbonStatusBar)
|
Me.Controls.Add(Me.RibbonStatusBar)
|
||||||
Me.Controls.Add(Me.RibbonControl)
|
Me.Controls.Add(Me.RibbonControl)
|
||||||
Me.IconOptions.Icon = CType(resources.GetObject("frmDocumentResultList.IconOptions.Icon"), System.Drawing.Icon)
|
Me.IconOptions.Icon = CType(resources.GetObject("frmDocumentResultList.IconOptions.Icon"), System.Drawing.Icon)
|
||||||
@@ -1070,4 +1080,5 @@ Partial Class frmDocumentResultList
|
|||||||
Friend WithEvents btnSaveAsMySearch As DevExpress.XtraBars.BarButtonItem
|
Friend WithEvents btnSaveAsMySearch As DevExpress.XtraBars.BarButtonItem
|
||||||
Friend WithEvents RibbonPageGroupSavedSearch As DevExpress.XtraBars.Ribbon.RibbonPageGroup
|
Friend WithEvents RibbonPageGroupSavedSearch As DevExpress.XtraBars.Ribbon.RibbonPageGroup
|
||||||
Friend WithEvents lblCurrentWorkspace As DevExpress.XtraBars.BarStaticItem
|
Friend WithEvents lblCurrentWorkspace As DevExpress.XtraBars.BarStaticItem
|
||||||
|
Friend WithEvents BarButtonItem6 As DevExpress.XtraBars.BarButtonItem
|
||||||
End Class
|
End Class
|
||||||
|
|||||||
@@ -230,29 +230,28 @@
|
|||||||
<data name="BarButtonBack.ImageOptions.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="BarButtonBack.ImageOptions.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
<value>
|
<value>
|
||||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
|
||||||
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAAPdEVYdFRpdGxlAEJhY2s7UHJldj1cl8kAAAEJSURB
|
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAAPdEVYdFRpdGxlAEJhY2s7UHJldj1cl8kAAAESSURB
|
||||||
VDhPpZOhCgJBEIava7IICmIx+AZyRdM1X0EQfI8Ds3a70Re4ahKTb2BTsIhR0/p/x57MHmsQwwe788/8
|
VDhPpVMxSkNREPx9rNIEFMQmRW4gNkmVbq4gCN4jMHXSp7f0AtNahVS5QToFG0mp1ZcJm/D+5iloioH9
|
||||||
tzO7l0yXRZ1MrMVBPDysiaEF+XbTFyuxF7kYi5aHNTE0csgNDAhsxUYMnHNJDDSfQ25pUhngitCIFVrI
|
uzPzd/e914BqEqagFqBWoHYBx8651uGXHzeg5qBeQM1AjUH1A46dc80cczsGTjyBWoIatm3b1OBacMzd
|
||||||
8bnUlAb0xdGCL2vfFkfhxFPMjcZJqMnYMJy8VjwUZ0HxRYys7nOYyZoFEx4bYSLugmK0ji00eQz2wIJr
|
mxwM7OpCL4syzAmuNXsDz+XWOn8GNQC1BtWC+gT1kDqxZuoPL2eWxCNQ2xC/grqtdOKdLBx4w+OiMAH1
|
||||||
avngTLwExVGMAbfziBnQb7QYYgb1FlJxExQwxG6lWRT/tBAbYk+cBCZXkVrd53yG+O0am2InMKGthdGC
|
EWLXLrM4eF7syoGPqR/Je1BfIa6iMPDp7GoGnvdE+JtBHuEO1HsIvMSr3H4eobbEa1CbMHmzacXguMSf
|
||||||
a4S/HhL8/ZQrE1w52s8/k+WH37lI3sUnQlO0bha7AAAAAElFTkSuQmCC
|
jvEC1HOYeKzHotY5RuOsi2ScfZUPJv9+TCX+9Jy/AcUnQlOuZReWAAAAAElFTkSuQmCC
|
||||||
</value>
|
</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="BarButtonBack.ImageOptions.LargeImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="BarButtonBack.ImageOptions.LargeImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
<value>
|
<value>
|
||||||
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
|
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
|
||||||
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAAPdEVYdFRpdGxlAEJhY2s7UHJldj1cl8kAAAJwSURB
|
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAAPdEVYdFRpdGxlAEJhY2s7UHJldj1cl8kAAAJHSURB
|
||||||
VFhHxZe/Sh1BFMZNJbeUKIhgZ5fOMp2teBsRkaRIlZA0AZ9AsRZrX8E3EO59A9H8gRAIBOxSpAkEIoaY
|
VFhHxZe9ihVBEIXXSDYUFUQw28zM0MxU9iQismhgpGgi7BOsVLxs7Cv4BgW7byD+ggiCsJmBiSC4KOqV
|
||||||
zfdb5pO54+ze8Rrd4ifuOd85c3b3zJm9U1VVdUr9p793XMKC2BIHYijOxUWA/7HhQ4M2l2OE0gKeiF3x
|
79K1zJY9Mz1XZYJzuVNddepMd3V1z9pisVibE8sfmbfgosy3ZL4n8wOZH8r8qID/2BjDB98c/wdaBVyW
|
||||||
QVSFoCWG2FzOmnEFPBKvxakg6V8xEDtiTSyJXoD/seFDg5YYYslBrhtrtBUwL/aF7+hIrKMtAW2IcTy5
|
+WOZv5b5ohH4EkNs5msWcErmD2T+vJD+kvm+zHdkvinzDZmvF/AfG2P44EsMsXDAlfkHBVyQ+W7njZ7K
|
||||||
yDmyDloHxCA8FAR+FdtiOl6gBGJCLDnIRc6RItBZbHhUvvN3YiNOOgnkCLn8JK5fB36LDO/Ld37nxQ25
|
/EZevz7gW2IiHi44mwTg+KQEfpD5tsxP5yRjIKbEwgEXnCdE1AQwVfHmL2V+MxNPBRyFK2bieDkYD6cA
|
||||||
Qk5ys0a2ADrWDbcdJ0iRvy8ug9Z8EYs5PcjH60DHGvXuwG4nsG0Q0DyN71w+Gixd/LNYyOmN/PSEG5O1
|
6xVv/tfJA0VEzAQ5qgKo2Ci47UySCCXzb6ny38v8UvbtxLAcUZjL3ZEFsG2i4HrXvBRYTv6OvZ99Uxw1
|
||||||
arudDA72Ltunsdvl2xS/Rbz4JzGf06dIR/GswVp1wXYwvUg2iANi5Hsm/gSdIdFcTt+E9MwJYre4tpER
|
EYVJrhMCaBzsXbZPb7XL/JbMv6fkbymu7FtDEU8Oci0FxwDdC7L9HNQJvi3zHyk5ROez7xBKnyB2i+cw
|
||||||
inEnFhvZX4h08TPxOKdvQzEMK+IPuLaROY5xLRYH30txFfzmRMyk2hIUx8Qkx5BrGzlMMC4l4jfCY3Vi
|
0kIx7uSAMn63kvyFzM9m3zGUZkX8Hs9hpI9j3KwE3JP5z5T8mczPZN8WlI4JxwHPYeQwwbiRnB922urK
|
||||||
kpyMbeznXNvIiYaxFwnfijsvDs4Z8nJ2YL/guq2AVyJ99BPhnCFvtoCmV/BcpM13a5Kc2VfQ1oS5wTPR
|
SJy0beyHXQGcaBjXO46P/kVykARwdmA/GhNwvzL1K6FFQN8S3KkU32QkzuoSDBVhrfGstAMKX7UIx7bh
|
||||||
DgDFZZtw3DZcFb+CxnDA/LdtWDKIVsTPoIuLmM3pm5A+O4hKR/FT8UPERbwXRdNQusZRDKWH0bL4HrTF
|
dZl/TSI4YCaL6NuGLY3omsy/VEScy75D6GtEra34qsw/JxGvWrvhUCsGrYfRFZl/mipi7DACU45jfD8m
|
||||||
RcjfehjBbY5jtN+C1nwUjUXIN/Y4hk4/SKDzTzLo9KPUIPSTAJrnwT7LDY+K9+XGZPs82A+TGDqWbcPe
|
EW+GRLQcx2DWCwmY/UoGZr2UdkXMdi0PzPph0sVsn2YZ/+/jdE78BmdK1op4DTduAAAAAElFTkSuQmCC
|
||||||
9R2NAy0xdbc3UVqAub8fp91RTf0DZ0rWioS6adsAAAAASUVORK5CYII=
|
|
||||||
</value>
|
</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="BarButtonResetGridLayout.Caption" xml:space="preserve">
|
<data name="BarButtonResetGridLayout.Caption" xml:space="preserve">
|
||||||
@@ -506,6 +505,48 @@
|
|||||||
<data name="$this.ClientSize" type="System.Drawing.Size, System.Drawing">
|
<data name="$this.ClientSize" type="System.Drawing.Size, System.Drawing">
|
||||||
<value>1189, 671</value>
|
<value>1189, 671</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="DockPanel2_Container.Location" type="System.Drawing.Point, System.Drawing">
|
||||||
|
<value>3, 46</value>
|
||||||
|
</data>
|
||||||
|
<data name="DockPanel2_Container.Size" type="System.Drawing.Size, System.Drawing">
|
||||||
|
<value>583, 442</value>
|
||||||
|
</data>
|
||||||
|
<data name="DockPanel2_Container.TabIndex" type="System.Int32, mscorlib">
|
||||||
|
<value>0</value>
|
||||||
|
</data>
|
||||||
|
<data name=">>DockPanel2_Container.Name" xml:space="preserve">
|
||||||
|
<value>DockPanel2_Container</value>
|
||||||
|
</data>
|
||||||
|
<data name=">>DockPanel2_Container.Type" xml:space="preserve">
|
||||||
|
<value>DevExpress.XtraBars.Docking.ControlContainer, DevExpress.XtraBars.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
||||||
|
</data>
|
||||||
|
<data name=">>DockPanel2_Container.Parent" xml:space="preserve">
|
||||||
|
<value>DockPanelFileList</value>
|
||||||
|
</data>
|
||||||
|
<data name=">>DockPanel2_Container.ZOrder" xml:space="preserve">
|
||||||
|
<value>0</value>
|
||||||
|
</data>
|
||||||
|
<data name="DockPanelFileList.Location" type="System.Drawing.Point, System.Drawing">
|
||||||
|
<value>0, 158</value>
|
||||||
|
</data>
|
||||||
|
<data name="DockPanelFileList.Size" type="System.Drawing.Size, System.Drawing">
|
||||||
|
<value>590, 491</value>
|
||||||
|
</data>
|
||||||
|
<data name="DockPanelFileList.Text" xml:space="preserve">
|
||||||
|
<value>Ergebnisse</value>
|
||||||
|
</data>
|
||||||
|
<data name=">>DockPanelFileList.Name" xml:space="preserve">
|
||||||
|
<value>DockPanelFileList</value>
|
||||||
|
</data>
|
||||||
|
<data name=">>DockPanelFileList.Type" xml:space="preserve">
|
||||||
|
<value>DevExpress.XtraBars.Docking.DockPanel, DevExpress.XtraBars.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
||||||
|
</data>
|
||||||
|
<data name=">>DockPanelFileList.Parent" xml:space="preserve">
|
||||||
|
<value>$this</value>
|
||||||
|
</data>
|
||||||
|
<data name=">>DockPanelFileList.ZOrder" xml:space="preserve">
|
||||||
|
<value>0</value>
|
||||||
|
</data>
|
||||||
<data name="DocumentViewer1.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
<data name="DocumentViewer1.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
||||||
<value>Fill</value>
|
<value>Fill</value>
|
||||||
</data>
|
</data>
|
||||||
@@ -522,7 +563,7 @@
|
|||||||
<value>DocumentViewer1</value>
|
<value>DocumentViewer1</value>
|
||||||
</data>
|
</data>
|
||||||
<data name=">>DocumentViewer1.Type" xml:space="preserve">
|
<data name=">>DocumentViewer1.Type" xml:space="preserve">
|
||||||
<value>DigitalData.Controls.DocumentViewer.DocumentViewer, DigitalData.Controls.DocumentViewer, Version=1.9.6.0, Culture=neutral, PublicKeyToken=null</value>
|
<value>DigitalData.Controls.DocumentViewer.DocumentViewer, DigitalData.Controls.DocumentViewer, Version=2.7.0.0, Culture=neutral, PublicKeyToken=null</value>
|
||||||
</data>
|
</data>
|
||||||
<data name=">>DocumentViewer1.Parent" xml:space="preserve">
|
<data name=">>DocumentViewer1.Parent" xml:space="preserve">
|
||||||
<value>DockPanel1_Container</value>
|
<value>DockPanel1_Container</value>
|
||||||
@@ -570,7 +611,7 @@
|
|||||||
<value>$this</value>
|
<value>$this</value>
|
||||||
</data>
|
</data>
|
||||||
<data name=">>DockPanelPreview.ZOrder" xml:space="preserve">
|
<data name=">>DockPanelPreview.ZOrder" xml:space="preserve">
|
||||||
<value>0</value>
|
<value>1</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="CtrlObjectPropertyDialog.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
<data name="CtrlObjectPropertyDialog.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
||||||
<value>Fill</value>
|
<value>Fill</value>
|
||||||
@@ -588,7 +629,7 @@
|
|||||||
<value>CtrlObjectPropertyDialog</value>
|
<value>CtrlObjectPropertyDialog</value>
|
||||||
</data>
|
</data>
|
||||||
<data name=">>CtrlObjectPropertyDialog.Type" xml:space="preserve">
|
<data name=">>CtrlObjectPropertyDialog.Type" xml:space="preserve">
|
||||||
<value>DigitalData.GUIs.Common.ctrlObjectPropertyDialog, DigitalData.GUIs.Common, Version=2.5.8.0, Culture=neutral, PublicKeyToken=null</value>
|
<value>DigitalData.GUIs.Common.ctrlObjectPropertyDialog, DigitalData.GUIs.Common, Version=2.7.2.0, Culture=neutral, PublicKeyToken=null</value>
|
||||||
</data>
|
</data>
|
||||||
<data name=">>CtrlObjectPropertyDialog.Parent" xml:space="preserve">
|
<data name=">>CtrlObjectPropertyDialog.Parent" xml:space="preserve">
|
||||||
<value>DockPanel3_Container</value>
|
<value>DockPanel3_Container</value>
|
||||||
@@ -639,10 +680,10 @@
|
|||||||
<value>0</value>
|
<value>0</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="txtCheckedOutWho.Location" type="System.Drawing.Point, System.Drawing">
|
<data name="txtCheckedOutWho.Location" type="System.Drawing.Point, System.Drawing">
|
||||||
<value>162, 45</value>
|
<value>160, 45</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="txtCheckedOutWho.Size" type="System.Drawing.Size, System.Drawing">
|
<data name="txtCheckedOutWho.Size" type="System.Drawing.Size, System.Drawing">
|
||||||
<value>82, 20</value>
|
<value>84, 20</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="txtCheckedOutWho.TabIndex" type="System.Int32, mscorlib">
|
<data name="txtCheckedOutWho.TabIndex" type="System.Int32, mscorlib">
|
||||||
<value>4</value>
|
<value>4</value>
|
||||||
@@ -663,7 +704,7 @@
|
|||||||
<value />
|
<value />
|
||||||
</data>
|
</data>
|
||||||
<data name="dateCheckedOutWhen.Location" type="System.Drawing.Point, System.Drawing">
|
<data name="dateCheckedOutWhen.Location" type="System.Drawing.Point, System.Drawing">
|
||||||
<value>162, 69</value>
|
<value>160, 69</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="dateCheckedOutWhen.Properties.Buttons" type="DevExpress.XtraEditors.Controls.ButtonPredefines, DevExpress.Utils.v21.2">
|
<data name="dateCheckedOutWhen.Properties.Buttons" type="DevExpress.XtraEditors.Controls.ButtonPredefines, DevExpress.Utils.v21.2">
|
||||||
<value>Combo</value>
|
<value>Combo</value>
|
||||||
@@ -672,7 +713,7 @@
|
|||||||
<value>Combo</value>
|
<value>Combo</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="dateCheckedOutWhen.Size" type="System.Drawing.Size, System.Drawing">
|
<data name="dateCheckedOutWhen.Size" type="System.Drawing.Size, System.Drawing">
|
||||||
<value>82, 20</value>
|
<value>84, 20</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="dateCheckedOutWhen.TabIndex" type="System.Int32, mscorlib">
|
<data name="dateCheckedOutWhen.TabIndex" type="System.Int32, mscorlib">
|
||||||
<value>5</value>
|
<value>5</value>
|
||||||
@@ -786,48 +827,6 @@
|
|||||||
<value>$this</value>
|
<value>$this</value>
|
||||||
</data>
|
</data>
|
||||||
<data name=">>panelContainerStatus.ZOrder" xml:space="preserve">
|
<data name=">>panelContainerStatus.ZOrder" xml:space="preserve">
|
||||||
<value>1</value>
|
|
||||||
</data>
|
|
||||||
<data name="DockPanel2_Container.Location" type="System.Drawing.Point, System.Drawing">
|
|
||||||
<value>3, 46</value>
|
|
||||||
</data>
|
|
||||||
<data name="DockPanel2_Container.Size" type="System.Drawing.Size, System.Drawing">
|
|
||||||
<value>583, 442</value>
|
|
||||||
</data>
|
|
||||||
<data name="DockPanel2_Container.TabIndex" type="System.Int32, mscorlib">
|
|
||||||
<value>0</value>
|
|
||||||
</data>
|
|
||||||
<data name=">>DockPanel2_Container.Name" xml:space="preserve">
|
|
||||||
<value>DockPanel2_Container</value>
|
|
||||||
</data>
|
|
||||||
<data name=">>DockPanel2_Container.Type" xml:space="preserve">
|
|
||||||
<value>DevExpress.XtraBars.Docking.ControlContainer, DevExpress.XtraBars.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
|
||||||
</data>
|
|
||||||
<data name=">>DockPanel2_Container.Parent" xml:space="preserve">
|
|
||||||
<value>DockPanelFileList</value>
|
|
||||||
</data>
|
|
||||||
<data name=">>DockPanel2_Container.ZOrder" xml:space="preserve">
|
|
||||||
<value>0</value>
|
|
||||||
</data>
|
|
||||||
<data name="DockPanelFileList.Location" type="System.Drawing.Point, System.Drawing">
|
|
||||||
<value>0, 158</value>
|
|
||||||
</data>
|
|
||||||
<data name="DockPanelFileList.Size" type="System.Drawing.Size, System.Drawing">
|
|
||||||
<value>590, 491</value>
|
|
||||||
</data>
|
|
||||||
<data name="DockPanelFileList.Text" xml:space="preserve">
|
|
||||||
<value>Ergebnisse</value>
|
|
||||||
</data>
|
|
||||||
<data name=">>DockPanelFileList.Name" xml:space="preserve">
|
|
||||||
<value>DockPanelFileList</value>
|
|
||||||
</data>
|
|
||||||
<data name=">>DockPanelFileList.Type" xml:space="preserve">
|
|
||||||
<value>DevExpress.XtraBars.Docking.DockPanel, DevExpress.XtraBars.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
|
||||||
</data>
|
|
||||||
<data name=">>DockPanelFileList.Parent" xml:space="preserve">
|
|
||||||
<value>$this</value>
|
|
||||||
</data>
|
|
||||||
<data name=">>DockPanelFileList.ZOrder" xml:space="preserve">
|
|
||||||
<value>2</value>
|
<value>2</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="lblCurrentWorkspace.Caption" xml:space="preserve">
|
<data name="lblCurrentWorkspace.Caption" xml:space="preserve">
|
||||||
@@ -1192,6 +1191,12 @@
|
|||||||
<data name=">>lblCurrentWorkspace.Type" xml:space="preserve">
|
<data name=">>lblCurrentWorkspace.Type" xml:space="preserve">
|
||||||
<value>DevExpress.XtraBars.BarStaticItem, DevExpress.XtraBars.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
<value>DevExpress.XtraBars.BarStaticItem, DevExpress.XtraBars.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name=">>BarButtonItem6.Name" xml:space="preserve">
|
||||||
|
<value>BarButtonItem6</value>
|
||||||
|
</data>
|
||||||
|
<data name=">>BarButtonItem6.Type" xml:space="preserve">
|
||||||
|
<value>DevExpress.XtraBars.BarButtonItem, DevExpress.XtraBars.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
||||||
|
</data>
|
||||||
<data name=">>RibbonPageStart.Name" xml:space="preserve">
|
<data name=">>RibbonPageStart.Name" xml:space="preserve">
|
||||||
<value>RibbonPageStart</value>
|
<value>RibbonPageStart</value>
|
||||||
</data>
|
</data>
|
||||||
@@ -1384,6 +1389,26 @@
|
|||||||
<data name="btnSaveAsMySearch.Caption" xml:space="preserve">
|
<data name="btnSaveAsMySearch.Caption" xml:space="preserve">
|
||||||
<value>Als meine Suche speichern</value>
|
<value>Als meine Suche speichern</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="BarButtonItem6.Caption" xml:space="preserve">
|
||||||
|
<value>Export</value>
|
||||||
|
</data>
|
||||||
|
<data name="BarButtonItem6.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v21.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjIxLjIsIFZlcnNpb249MjEuMi40
|
||||||
|
LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl
|
||||||
|
dkV4cHJlc3MuVXRpbHMuU3ZnLlN2Z0ltYWdlAQAAAAREYXRhBwICAAAACQMAAAAPAwAAAFMCAAAC77u/
|
||||||
|
PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0nVVRGLTgnPz4NCjxzdmcgeD0iMHB4IiB5PSIwcHgi
|
||||||
|
IHZpZXdCb3g9IjAgMCAzMiAzMiIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv
|
||||||
|
MjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWw6c3Bh
|
||||||
|
Y2U9InByZXNlcnZlIiBpZD0iTGF5ZXJfMSIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAg
|
||||||
|
MzIgMzIiPg0KICA8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLkJsYWNre2ZpbGw6IzcyNzI3Mjt9Cgku
|
||||||
|
R3JlZW57ZmlsbDojMDM5QzIzO30KPC9zdHlsZT4NCiAgPGcgaWQ9IkV4cG9ydCI+DQogICAgPHBhdGgg
|
||||||
|
ZD0iTTEwLDEySDZWNmg0VjEyeiBNMjIsMTJ2NnY5YzAsMC42LTAuNCwxLTEsMUgxYy0wLjYsMC0xLTAu
|
||||||
|
NC0xLTFWN2MwLTAuNiwwLjQtMSwxLTFoM3Y4aDE0di0ySDIyeiBNMTgsMThINCAgIHY2aDE0VjE4eiIg
|
||||||
|
Y2xhc3M9IkJsYWNrIiAvPg0KICAgIDxwb2x5Z29uIHBvaW50cz0iMTYsMTAgMjQsMTAgMjQsMTQgMzIs
|
||||||
|
OCAyNCwyIDI0LDYgMTYsNiAgIiBjbGFzcz0iR3JlZW4iIC8+DQogIDwvZz4NCjwvc3ZnPgs=
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
<data name="RibbonControl.Location" type="System.Drawing.Point, System.Drawing">
|
<data name="RibbonControl.Location" type="System.Drawing.Point, System.Drawing">
|
||||||
<value>0, 0</value>
|
<value>0, 0</value>
|
||||||
</data>
|
</data>
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ Public Class frmDocumentResultList
|
|||||||
|
|
||||||
' Interface implementations
|
' Interface implementations
|
||||||
Private ReadOnly Property LogConfig As LogConfig Implements IBaseForm.LogConfig
|
Private ReadOnly Property LogConfig As LogConfig Implements IBaseForm.LogConfig
|
||||||
Private ReadOnly Property Logger As Logger Implements IBaseForm.Logger
|
Private ReadOnly Property _Logger As Logger Implements IBaseForm._Logger
|
||||||
Public Property ShouldReturnToPreviousForm As Boolean = False Implements IResultForm.ShouldReturnToPreviousForm
|
Public Property ShouldReturnToPreviousForm As Boolean = False Implements IResultForm.ShouldReturnToPreviousForm
|
||||||
|
|
||||||
' Helper Classes
|
' Helper Classes
|
||||||
@@ -50,6 +50,11 @@ Public Class frmDocumentResultList
|
|||||||
Private ReadOnly Workspace As Workspace(Of Config)
|
Private ReadOnly Workspace As Workspace(Of Config)
|
||||||
Private WithEvents Watcher As Watcher
|
Private WithEvents Watcher As Watcher
|
||||||
|
|
||||||
|
Private CopyWMFile2Temp As Boolean = False
|
||||||
|
Private WM_SUFFIX As String = "\\WINDREAM\OBJECTS"
|
||||||
|
Private MAP_SHAREDRIVE As String = ""
|
||||||
|
Private MAP_BLACKLIST As String = ""
|
||||||
|
|
||||||
' Runtime variables
|
' Runtime variables
|
||||||
Private Property ResultLists As List(Of DocumentResult)
|
Private Property ResultLists As List(Of DocumentResult)
|
||||||
|
|
||||||
@@ -79,6 +84,7 @@ Public Class frmDocumentResultList
|
|||||||
Private Property GridList As List(Of GridControl)
|
Private Property GridList As List(Of GridControl)
|
||||||
Private Property ViewList As List(Of BandedGridView)
|
Private Property ViewList As List(Of BandedGridView)
|
||||||
Private Property OperationMode As OperationMode Implements IResultForm.OperationMode
|
Private Property OperationMode As OperationMode Implements IResultForm.OperationMode
|
||||||
|
Private _documentPathHandler As DocumentPathHandler
|
||||||
|
|
||||||
Public ReadOnly Property Config1 As ConfigManager(Of Config)
|
Public ReadOnly Property Config1 As ConfigManager(Of Config)
|
||||||
Get
|
Get
|
||||||
@@ -112,12 +118,13 @@ Public Class frmDocumentResultList
|
|||||||
ResultLists = pParams.Results
|
ResultLists = pParams.Results
|
||||||
|
|
||||||
LogConfig = pLogConfig
|
LogConfig = pLogConfig
|
||||||
Logger = pLogConfig.GetLogger()
|
_Logger = pLogConfig.GetLogger()
|
||||||
FormHelper = New FormHelper(pLogConfig, Me)
|
FormHelper = New FormHelper(pLogConfig, Me)
|
||||||
|
_documentPathHandler = New DocumentPathHandler(pLogConfig)
|
||||||
|
|
||||||
UserLanguage = ObjectEx.NotNull(Environment.User.Language, State.UserState.LANG_EN_US)
|
UserLanguage = ObjectEx.NotNull(Environment.User.Language, State.UserState.LANG_EN_US)
|
||||||
LanguageEx.LogApplicationLanguage(Logger)
|
LanguageEx.LogApplicationLanguage(_Logger)
|
||||||
LanguageEx.SetApplicationLanguage(Logger, UserLanguage)
|
LanguageEx.SetApplicationLanguage(_Logger, UserLanguage)
|
||||||
|
|
||||||
Config = New ConfigManager(Of Config)(pLogConfig, oConfigPath, oConfigPath)
|
Config = New ConfigManager(Of Config)(pLogConfig, oConfigPath, oConfigPath)
|
||||||
Helpers = New DocumentResultList.Helpers(pLogConfig)
|
Helpers = New DocumentResultList.Helpers(pLogConfig)
|
||||||
@@ -126,7 +133,6 @@ Public Class frmDocumentResultList
|
|||||||
FileEx = New Modules.Windows.File(pLogConfig)
|
FileEx = New Modules.Windows.File(pLogConfig)
|
||||||
LayoutManager = New Layout(pLogConfig, Config, New List(Of GridView) From {GridView1, GridView2, GridView3}, pEnvironment)
|
LayoutManager = New Layout(pLogConfig, Config, New List(Of GridView) From {GridView1, GridView2, GridView3}, pEnvironment)
|
||||||
Workspace = New Workspace(Of Config)(pLogConfig, Config, WorkspaceManager1, UserLanguage)
|
Workspace = New Workspace(Of Config)(pLogConfig, Config, WorkspaceManager1, UserLanguage)
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Function GetOperationMode() As OperationMode
|
Private Function GetOperationMode() As OperationMode
|
||||||
@@ -139,18 +145,18 @@ Public Class frmDocumentResultList
|
|||||||
oOperationMode = OperationMode.NoAppServer
|
oOperationMode = OperationMode.NoAppServer
|
||||||
End If
|
End If
|
||||||
|
|
||||||
Logger.Debug("OperationMode set to [{0}]", oOperationMode)
|
_Logger.Debug("OperationMode set to [{0}]", oOperationMode)
|
||||||
|
|
||||||
If Params.OperationModeOverride <> OperationMode.None Then
|
If Params.OperationModeOverride <> OperationMode.None Then
|
||||||
Logger.Debug("Overriding OperationMode with [{0}]", Params.OperationModeOverride)
|
_Logger.Debug("Overriding OperationMode with [{0}]", Params.OperationModeOverride)
|
||||||
oOperationMode = Params.OperationModeOverride
|
oOperationMode = Params.OperationModeOverride
|
||||||
End If
|
End If
|
||||||
|
|
||||||
Logger.Debug("OperationMode is now [{0}]", oOperationMode)
|
_Logger.Debug("OperationMode is now [{0}]", oOperationMode)
|
||||||
|
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
Logger.Error(ex)
|
_Logger.Error(ex)
|
||||||
Logger.Warn("Error while determining OperationMode. Setting to [{0}]", oOperationMode)
|
_Logger.Warn("Error while determining OperationMode. Setting to [{0}]", oOperationMode)
|
||||||
End Try
|
End Try
|
||||||
|
|
||||||
Return oOperationMode
|
Return oOperationMode
|
||||||
@@ -166,7 +172,7 @@ Public Class frmDocumentResultList
|
|||||||
|
|
||||||
End If
|
End If
|
||||||
|
|
||||||
LanguageEx.LogApplicationLanguage(Logger)
|
LanguageEx.LogApplicationLanguage(_Logger)
|
||||||
|
|
||||||
Documentloader = New Loader(LogConfig, OperationMode, EDMI_API_Client, Environment.User)
|
Documentloader = New Loader(LogConfig, OperationMode, EDMI_API_Client, Environment.User)
|
||||||
|
|
||||||
@@ -263,7 +269,8 @@ Public Class frmDocumentResultList
|
|||||||
|
|
||||||
' This loads the default workspace, for now
|
' This loads the default workspace, for now
|
||||||
Workspace.LoadWorkspace(Config.Config.SelectedWorkspace)
|
Workspace.LoadWorkspace(Config.Config.SelectedWorkspace)
|
||||||
|
' Selektion zuverlässig setzen
|
||||||
|
SelectFirstRowInGrid1()
|
||||||
|
|
||||||
' This needs to done be after loading the grid
|
' This needs to done be after loading the grid
|
||||||
' so we can set the row handle and start loading the (only) file
|
' so we can set the row handle and start loading the (only) file
|
||||||
@@ -298,7 +305,13 @@ Public Class frmDocumentResultList
|
|||||||
|
|
||||||
End Try
|
End Try
|
||||||
End Sub
|
End Sub
|
||||||
|
Private Sub SelectFirstRowInGrid1()
|
||||||
|
If GridView1.RowCount > 0 Then
|
||||||
|
GridView1.FocusedRowHandle = 0
|
||||||
|
Else
|
||||||
|
GridView1.FocusedRowHandle = GridControl.InvalidRowHandle
|
||||||
|
End If
|
||||||
|
End Sub
|
||||||
Private Sub Workspace_WorkspaceLoaded(sender As Object, e As String)
|
Private Sub Workspace_WorkspaceLoaded(sender As Object, e As String)
|
||||||
lblCurrentWorkspace.Caption = String.Format(lblCurrentWorkspace.Tag, e)
|
lblCurrentWorkspace.Caption = String.Format(lblCurrentWorkspace.Tag, e)
|
||||||
End Sub
|
End Sub
|
||||||
@@ -316,8 +329,11 @@ Public Class frmDocumentResultList
|
|||||||
End If
|
End If
|
||||||
|
|
||||||
DocumentViewer1.Done()
|
DocumentViewer1.Done()
|
||||||
|
If _documentPathHandler IsNot Nothing Then
|
||||||
|
_documentPathHandler.Cleanup()
|
||||||
|
End If
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
Logger.Error(ex)
|
_Logger.Error(ex)
|
||||||
End Try
|
End Try
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
@@ -341,19 +357,37 @@ Public Class frmDocumentResultList
|
|||||||
End If
|
End If
|
||||||
|
|
||||||
UpdateRibbonActions(oDocument)
|
UpdateRibbonActions(oDocument)
|
||||||
|
If IsNothing(oDocument) Then
|
||||||
|
DocumentViewer1.CloseDocument()
|
||||||
|
FormHelper.ShowErrorMessage(New IOException("File could not be loaded!"), "GridView_FocusedRowChanged")
|
||||||
|
Exit Sub
|
||||||
|
End If
|
||||||
' Save reference to current document
|
' Save reference to current document
|
||||||
_CurrentDocument = oDocument
|
_CurrentDocument = oDocument
|
||||||
|
|
||||||
' Load Document in Document Viewer
|
' Load Document in Document Viewer
|
||||||
Dim oFileName = $"{oObjectId}.{oDocument.Extension}"
|
Dim oFileName = $"{oObjectId}.{oDocument.Extension}"
|
||||||
DocumentViewer1.LoadFile(oFileName, New MemoryStream(oDocument.Contents))
|
'If CopyWMFile2Temp = True Then
|
||||||
If IsNothing(oDocument) Then
|
' _Logger.Debug("Loading document into viewer with path handler and copying WM file to temp. ObjectId: [{0}], Filename: [{1}], FullPath: [{2}]", oObjectId, oFileName, oFullPath)
|
||||||
DocumentViewer1.CloseDocument()
|
' ' Optionen konfigurieren
|
||||||
FormHelper.ShowErrorMessage(New IOException("File could not be loaded!"), "GridView_FocusedRowChanged")
|
' Dim options As New DocumentPathHandler.DocumentPathOptions With {
|
||||||
|
' .EnableMapping = True,
|
||||||
Exit Sub
|
' .WMSuffix = WM_SUFFIX,
|
||||||
|
' .SpecificDrive = If(Len(MAP_SHAREDRIVE) = 1, MAP_SHAREDRIVE, ""),
|
||||||
|
' .DriveBlacklist = MAP_BLACKLIST,
|
||||||
|
' .CopyToTemp = True,
|
||||||
|
' .TempFolder = TEMP_DOCUMENT_FOLDER,
|
||||||
|
' .UnmapAfterCopy = True
|
||||||
|
' }
|
||||||
|
'Else
|
||||||
|
If Not IsNothing(oDocument.Contents) Then
|
||||||
|
_Logger.Debug("Loading document into viewer with MemoryStream handler (LoadFile_FromStream). ObjectId: [{0}], Filename: [{1}], FullPath: [{2}]", oObjectId, oFileName, oFullPath)
|
||||||
|
DocumentViewer1.LoadFile_FromStream(oFileName, New MemoryStream(oDocument.Contents))
|
||||||
|
Else
|
||||||
|
_Logger.Debug("Loading document into viewer from filepath (LoadFile_FromPath). ObjectId: [{0}], Filename: [{1}], FullPath: [{2}]", oObjectId, oFileName, oFullPath)
|
||||||
|
DocumentViewer1.LoadFile_FromPath(oFullPath)
|
||||||
End If
|
End If
|
||||||
|
'End If
|
||||||
|
|
||||||
If OperationMode = OperationMode.ZooFlow Or OperationMode = OperationMode.WithAppServer Then
|
If OperationMode = OperationMode.ZooFlow Or OperationMode = OperationMode.WithAppServer Then
|
||||||
Await CtrlObjectPropertyDialog.LoadObject(oObjectId)
|
Await CtrlObjectPropertyDialog.LoadObject(oObjectId)
|
||||||
@@ -416,7 +450,7 @@ Public Class frmDocumentResultList
|
|||||||
|
|
||||||
Return True
|
Return True
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
Logger.Error(ex)
|
_Logger.Error(ex)
|
||||||
Return False
|
Return False
|
||||||
End Try
|
End Try
|
||||||
End Function
|
End Function
|
||||||
@@ -531,7 +565,7 @@ Public Class frmDocumentResultList
|
|||||||
CheckoutManager = New CheckInOut(LogConfig, EDMI_API_Client)
|
CheckoutManager = New CheckInOut(LogConfig, EDMI_API_Client)
|
||||||
|
|
||||||
If Not EDMI_API_Client.Connect() Then
|
If Not EDMI_API_Client.Connect() Then
|
||||||
Logger.Warn("Client could not connect to Service at [{0}]", Environment.Service.Address)
|
_Logger.Warn("Client could not connect to Service at [{0}]", Environment.Service.Address)
|
||||||
Return False
|
Return False
|
||||||
End If
|
End If
|
||||||
|
|
||||||
@@ -562,13 +596,18 @@ Public Class frmDocumentResultList
|
|||||||
UpdateTotalResults()
|
UpdateTotalResults()
|
||||||
LoadGridDataAndLayout()
|
LoadGridDataAndLayout()
|
||||||
|
|
||||||
' After the new results are loaded, set the old row handle
|
' Restore old selection only if still valid; otherwise select first row
|
||||||
' to trigger the row change events and load object properties
|
If GridView1.IsValidRowHandle(oCurrentRowHandle) Then
|
||||||
GridView1.FocusedRowHandle = oCurrentRowHandle
|
GridView1.FocusedRowHandle = oCurrentRowHandle
|
||||||
|
ElseIf GridView1.RowCount > 0 Then
|
||||||
|
GridView1.FocusedRowHandle = 0
|
||||||
|
Else
|
||||||
|
GridView1.FocusedRowHandle = GridControl.InvalidRowHandle
|
||||||
|
End If
|
||||||
|
|
||||||
Return True
|
Return True
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
Logger.Error(ex)
|
_Logger.Error(ex)
|
||||||
|
|
||||||
MessageBox.Show("Error while refreshing results:" & vbNewLine & vbNewLine & ex.Message, Text, MessageBoxButtons.OK, MessageBoxIcon.Error)
|
MessageBox.Show("Error while refreshing results:" & vbNewLine & vbNewLine & ex.Message, Text, MessageBoxButtons.OK, MessageBoxIcon.Error)
|
||||||
Return False
|
Return False
|
||||||
@@ -580,12 +619,12 @@ Public Class frmDocumentResultList
|
|||||||
|
|
||||||
Private Sub LoadGridData(View As GridView, Result As DocumentResultList.DocumentResult)
|
Private Sub LoadGridData(View As GridView, Result As DocumentResultList.DocumentResult)
|
||||||
If Result.Datatable.Columns.Contains(ColumnDocumentId) = False Then
|
If Result.Datatable.Columns.Contains(ColumnDocumentId) = False Then
|
||||||
Logger.Error($"Datatable is missing DocId Column [{ColumnDocumentId}] for search {Result.Title}!")
|
_Logger.Error($"Datatable is missing DocId Column [{ColumnDocumentId}] for search {Result.Title}!")
|
||||||
'Throw New ApplicationException($"Datatable is missing DocId Column [{ColumnDocumentId}] for search {Result.Title}!")
|
'Throw New ApplicationException($"Datatable is missing DocId Column [{ColumnDocumentId}] for search {Result.Title}!")
|
||||||
End If
|
End If
|
||||||
|
|
||||||
If OperationMode = OperationMode.NoAppServer And Result.Datatable.Columns.Contains(ColumnFilepath) = False Then
|
If OperationMode = OperationMode.NoAppServer And Result.Datatable.Columns.Contains(ColumnFilepath) = False Then
|
||||||
Logger.Error($"Datatable is missing Filepath Column [{ColumnFilepath}] for search {Result.Title}!")
|
_Logger.Error($"Datatable is missing Filepath Column [{ColumnFilepath}] for search {Result.Title}!")
|
||||||
'Throw New ApplicationException($"Datatable is missing Filepath Column [{ColumnFilepath}] for search {Result.Title}!")
|
'Throw New ApplicationException($"Datatable is missing Filepath Column [{ColumnFilepath}] for search {Result.Title}!")
|
||||||
End If
|
End If
|
||||||
|
|
||||||
@@ -781,9 +820,9 @@ Public Class frmDocumentResultList
|
|||||||
GridView.BestFitColumns()
|
GridView.BestFitColumns()
|
||||||
Catch ex As ApplicationException
|
Catch ex As ApplicationException
|
||||||
MsgBox($"Error while loading grid data for search {Result.Title}: {vbNewLine}{vbNewLine}{ex.Message}", MsgBoxStyle.Critical, Text)
|
MsgBox($"Error while loading grid data for search {Result.Title}: {vbNewLine}{vbNewLine}{ex.Message}", MsgBoxStyle.Critical, Text)
|
||||||
Logger.Error(ex)
|
_Logger.Error(ex)
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
Logger.Error(ex)
|
_Logger.Error(ex)
|
||||||
End Try
|
End Try
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
@@ -882,7 +921,7 @@ Public Class frmDocumentResultList
|
|||||||
Await Watcher.OpenDocument(_CurrentDocument)
|
Await Watcher.OpenDocument(_CurrentDocument)
|
||||||
End If
|
End If
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
Logger.Error(ex)
|
_Logger.Error(ex)
|
||||||
End Try
|
End Try
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
@@ -948,7 +987,7 @@ Public Class frmDocumentResultList
|
|||||||
Try
|
Try
|
||||||
Await Watcher.OpenDocument(_CurrentDocument)
|
Await Watcher.OpenDocument(_CurrentDocument)
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
Logger.Error(ex)
|
_Logger.Error(ex)
|
||||||
End Try
|
End Try
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
@@ -1056,7 +1095,7 @@ Public Class frmDocumentResultList
|
|||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
Logger.Error(ex)
|
_Logger.Error(ex)
|
||||||
End Try
|
End Try
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
@@ -1172,7 +1211,4 @@ Public Class frmDocumentResultList
|
|||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub GridView_FocusedRowChanged(sender As Object, e As FocusedRowChangedEventArgs) Handles GridView3.FocusedRowChanged, GridView2.FocusedRowChanged, GridView1.FocusedRowChanged
|
|
||||||
|
|
||||||
End Sub
|
|
||||||
End Class
|
End Class
|
||||||
@@ -82,7 +82,7 @@ Public Class GridBuilder
|
|||||||
ToList()
|
ToList()
|
||||||
|
|
||||||
For Each oDateCol In oDateColumns
|
For Each oDateCol In oDateColumns
|
||||||
SetDateTimeColumn(oDateCol)
|
SetDateTimeColumn(oDateCol, "g")
|
||||||
Next
|
Next
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
@@ -96,19 +96,61 @@ Public Class GridBuilder
|
|||||||
ToList()
|
ToList()
|
||||||
|
|
||||||
For Each oDateCol In oDateColumns
|
For Each oDateCol In oDateColumns
|
||||||
SetDateTimeColumn(oDateCol)
|
SetDateTimeColumn(oDateCol, "g")
|
||||||
Next
|
Next
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub SetDateTimeColumn(pColumn As GridColumn)
|
''' <summary>
|
||||||
|
''' Applies a proper datetime format string to all columns of the view.
|
||||||
|
''' </summary>
|
||||||
|
''' <remarks>The view's columns need to be loaded for this to work!</remarks>
|
||||||
|
Public Sub SetDateTimeColumns(pView As GridView, pFormatString As String)
|
||||||
|
If pView.Columns Is Nothing Then
|
||||||
|
Exit Sub
|
||||||
|
End If
|
||||||
|
|
||||||
|
Dim oDateColumns = pView.Columns.AsEnumerable.
|
||||||
|
Where(Function(column As GridColumn) column.ColumnType = GetType(Date)).
|
||||||
|
ToList()
|
||||||
|
|
||||||
|
For Each oDateCol In oDateColumns
|
||||||
|
SetDateTimeColumn(oDateCol, pFormatString)
|
||||||
|
Next
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
Public Sub SetDateTimeColumns(pTreeList As TreeList, pFormatString As String)
|
||||||
|
If pTreeList.Columns Is Nothing Then
|
||||||
|
Exit Sub
|
||||||
|
End If
|
||||||
|
|
||||||
|
Dim oDateColumns = pTreeList.Columns.AsEnumerable.
|
||||||
|
Where(Function(column As TreeListColumn) column.ColumnType = GetType(Date)).
|
||||||
|
ToList()
|
||||||
|
|
||||||
|
For Each oDateCol In oDateColumns
|
||||||
|
SetDateTimeColumn(oDateCol, pFormatString)
|
||||||
|
Next
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
Private Sub SetDateTimeColumn(pColumn As GridColumn, pFormatString As String)
|
||||||
|
|
||||||
|
If String.IsNullOrEmpty(pFormatString) Then
|
||||||
|
pFormatString = "g"
|
||||||
|
End If
|
||||||
|
|
||||||
pColumn.DisplayFormat.FormatType = FormatType.Custom
|
pColumn.DisplayFormat.FormatType = FormatType.Custom
|
||||||
pColumn.DisplayFormat.FormatString = "g"
|
pColumn.DisplayFormat.FormatString = pFormatString
|
||||||
pColumn.DisplayFormat.Format = DateTimeFormatInfo.CurrentInfo
|
pColumn.DisplayFormat.Format = DateTimeFormatInfo.CurrentInfo
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub SetDateTimeColumn(pColumn As TreeListColumn)
|
Private Sub SetDateTimeColumn(pColumn As TreeListColumn, pFormatString As String)
|
||||||
|
|
||||||
|
If String.IsNullOrEmpty(pFormatString) Then
|
||||||
|
pFormatString = "g"
|
||||||
|
End If
|
||||||
|
|
||||||
pColumn.Format.FormatType = FormatType.Custom
|
pColumn.Format.FormatType = FormatType.Custom
|
||||||
pColumn.Format.FormatString = "g"
|
pColumn.Format.FormatString = pFormatString
|
||||||
pColumn.Format.Format = DateTimeFormatInfo.CurrentInfo
|
pColumn.Format.Format = DateTimeFormatInfo.CurrentInfo
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
|
|||||||
@@ -2,5 +2,5 @@
|
|||||||
|
|
||||||
Public Interface IBaseForm
|
Public Interface IBaseForm
|
||||||
ReadOnly Property LogConfig As LogConfig
|
ReadOnly Property LogConfig As LogConfig
|
||||||
ReadOnly Property Logger As Logger
|
ReadOnly Property _Logger As Logger
|
||||||
End Interface
|
End Interface
|
||||||
|
|||||||
@@ -8,12 +8,12 @@ Imports System.Runtime.InteropServices
|
|||||||
|
|
||||||
' Werte der Assemblyattribute überprüfen
|
' Werte der Assemblyattribute überprüfen
|
||||||
|
|
||||||
<Assembly: AssemblyTitle("Common")>
|
<Assembly: AssemblyTitle("DigitalData.Common")>
|
||||||
<Assembly: AssemblyDescription("")>
|
<Assembly: AssemblyDescription("Enthält allgemeine Dialoge und Formulare für Digital Data Produkte")>
|
||||||
<Assembly: AssemblyCompany("")>
|
<Assembly: AssemblyCompany("Digital Data GmbH, Heuchelheim")>
|
||||||
<Assembly: AssemblyProduct("Common")>
|
<Assembly: AssemblyProduct("DigitalData.Common")>
|
||||||
<Assembly: AssemblyCopyright("")>
|
<Assembly: AssemblyCopyright("")>
|
||||||
<Assembly: AssemblyTrademark("2.5.9")>
|
<Assembly: AssemblyTrademark("")>
|
||||||
|
|
||||||
<Assembly: ComVisible(False)>
|
<Assembly: ComVisible(False)>
|
||||||
|
|
||||||
@@ -31,5 +31,5 @@ Imports System.Runtime.InteropServices
|
|||||||
' übernehmen, indem Sie "*" eingeben:
|
' übernehmen, indem Sie "*" eingeben:
|
||||||
' <Assembly: AssemblyVersion("1.0.*")>
|
' <Assembly: AssemblyVersion("1.0.*")>
|
||||||
|
|
||||||
<Assembly: AssemblyVersion("2.5.9.0")>
|
<Assembly: AssemblyVersion("2.7.2.0")>
|
||||||
<Assembly: AssemblyFileVersion("2.5.9.0")>
|
<Assembly: AssemblyFileVersion("2.7.2.0")>
|
||||||
|
|||||||
@@ -119,7 +119,7 @@ Public Class NNfrmNotification_Startup
|
|||||||
RichEditControl1.Dock = Windows.Forms.DockStyle.Fill
|
RichEditControl1.Dock = Windows.Forms.DockStyle.Fill
|
||||||
Else
|
Else
|
||||||
If IO.File.Exists(oMSG_STRING) Then
|
If IO.File.Exists(oMSG_STRING) Then
|
||||||
DocumentViewer1.LoadFile(oMSG_STRING)
|
DocumentViewer1.LoadFile_FromPath(oMSG_STRING)
|
||||||
DocumentViewer1.Visible = True
|
DocumentViewer1.Visible = True
|
||||||
DocumentViewer1.Dock = Windows.Forms.DockStyle.Fill
|
DocumentViewer1.Dock = Windows.Forms.DockStyle.Fill
|
||||||
Else
|
Else
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ Public Class ctrlObjectPropertyDialog
|
|||||||
Implements IBaseForm
|
Implements IBaseForm
|
||||||
|
|
||||||
Private Property LogConfig As LogConfig Implements IBaseForm.LogConfig
|
Private Property LogConfig As LogConfig Implements IBaseForm.LogConfig
|
||||||
Private Property Logger As Logger Implements IBaseForm.Logger
|
Private Property _Logger As Logger Implements IBaseForm._Logger
|
||||||
Private Property ControlManager As AttributeControls
|
Private Property ControlManager As AttributeControls
|
||||||
Private Property GridBuilder As GridBuilder
|
Private Property GridBuilder As GridBuilder
|
||||||
Private Property Client As Client
|
Private Property Client As Client
|
||||||
@@ -38,7 +38,7 @@ Public Class ctrlObjectPropertyDialog
|
|||||||
|
|
||||||
Public Sub Initialize(pLogConfig As LogConfig, pHostForm As Form, pClient As Client, pEnv As Environment)
|
Public Sub Initialize(pLogConfig As LogConfig, pHostForm As Form, pClient As Client, pEnv As Environment)
|
||||||
LogConfig = pLogConfig
|
LogConfig = pLogConfig
|
||||||
Logger = pLogConfig.GetLogger()
|
_Logger = pLogConfig.GetLogger()
|
||||||
HostForm = pHostForm
|
HostForm = pHostForm
|
||||||
ControlManager = New AttributeControls(pLogConfig, pEnv, pClient)
|
ControlManager = New AttributeControls(pLogConfig, pEnv, pClient)
|
||||||
Helper = New FormHelper(pLogConfig, pHostForm)
|
Helper = New FormHelper(pLogConfig, pHostForm)
|
||||||
@@ -58,7 +58,7 @@ Public Class ctrlObjectPropertyDialog
|
|||||||
Public Async Function SaveChanges() As Task(Of Boolean)
|
Public Async Function SaveChanges() As Task(Of Boolean)
|
||||||
Try
|
Try
|
||||||
For Each oChange As KeyValuePair(Of String, Object) In Changes
|
For Each oChange As KeyValuePair(Of String, Object) In Changes
|
||||||
Logger.Info("Updating Attribute [{0}] with value [{1}]", oChange.Key, oChange.Value.ToString)
|
_Logger.Info("Updating Attribute [{0}] with value [{1}]", oChange.Key, oChange.Value.ToString)
|
||||||
Await Client.SetAttributeValueAsync(ObjectId, oChange.Key, oChange.Value, New Options.SetAttributeValueOptions With {
|
Await Client.SetAttributeValueAsync(ObjectId, oChange.Key, oChange.Value, New Options.SetAttributeValueOptions With {
|
||||||
.Language = Environment.User.Language,
|
.Language = Environment.User.Language,
|
||||||
.Username = Environment.User.UserName
|
.Username = Environment.User.UserName
|
||||||
@@ -131,7 +131,7 @@ Public Class ctrlObjectPropertyDialog
|
|||||||
|
|
||||||
Return True
|
Return True
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
Logger.Error(ex)
|
_Logger.Error(ex)
|
||||||
Return False
|
Return False
|
||||||
Finally
|
Finally
|
||||||
Enabled = True
|
Enabled = True
|
||||||
@@ -145,7 +145,7 @@ Public Class ctrlObjectPropertyDialog
|
|||||||
|
|
||||||
Return True
|
Return True
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
Logger.Error(ex)
|
_Logger.Error(ex)
|
||||||
Return False
|
Return False
|
||||||
End Try
|
End Try
|
||||||
End Function
|
End Function
|
||||||
@@ -156,7 +156,7 @@ Public Class ctrlObjectPropertyDialog
|
|||||||
|
|
||||||
Return True
|
Return True
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
Logger.Error(ex)
|
_Logger.Error(ex)
|
||||||
Return False
|
Return False
|
||||||
End Try
|
End Try
|
||||||
End Function
|
End Function
|
||||||
@@ -176,14 +176,14 @@ Public Class ctrlObjectPropertyDialog
|
|||||||
|
|
||||||
Return True
|
Return True
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
Logger.Error(ex)
|
_Logger.Error(ex)
|
||||||
Return False
|
Return False
|
||||||
End Try
|
End Try
|
||||||
End Function
|
End Function
|
||||||
|
|
||||||
Private Async Function GetBusinessEntitiesForObjectId(ObjectId As Long) As Task(Of List(Of Long))
|
Private Async Function GetBusinessEntitiesForObjectId(ObjectId As Long) As Task(Of List(Of Long))
|
||||||
Try
|
Try
|
||||||
Dim oSQL = $"SELECT BE_ID FROM TBIDB_OBJECT_BE WHERE IDB_OBJ_ID = {ObjectId}"
|
Dim oSQL = $"SELECT BE_ID FROM TBIDB_OBJECT_BE WITH (NOLOCK) WHERE IDB_OBJ_ID = {ObjectId}"
|
||||||
Dim oResult = Await Client.GetDatatableFromIDBAsync(oSQL)
|
Dim oResult = Await Client.GetDatatableFromIDBAsync(oSQL)
|
||||||
|
|
||||||
If oResult.OK = False Then
|
If oResult.OK = False Then
|
||||||
@@ -202,7 +202,7 @@ Public Class ctrlObjectPropertyDialog
|
|||||||
Return oEntities
|
Return oEntities
|
||||||
End If
|
End If
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
Logger.Error(ex)
|
_Logger.Error(ex)
|
||||||
Return New List(Of Long)
|
Return New List(Of Long)
|
||||||
End Try
|
End Try
|
||||||
End Function
|
End Function
|
||||||
@@ -230,7 +230,7 @@ Public Class ctrlObjectPropertyDialog
|
|||||||
End Function
|
End Function
|
||||||
|
|
||||||
Private Async Function GetPropertiesForObjectId(ObjectId As Long) As Task(Of DataTable)
|
Private Async Function GetPropertiesForObjectId(ObjectId As Long) As Task(Of DataTable)
|
||||||
Dim oSQL As String = $"SELECT * FROM TBIDB_OBJECT WHERE IDB_OBJ_ID = {ObjectId}"
|
Dim oSQL As String = $"SELECT * FROM TBIDB_OBJECT WITH (NOLOCK) WHERE IDB_OBJ_ID = {ObjectId}"
|
||||||
Dim oResult = Await Client.GetDatatableFromIDBAsync(oSQL)
|
Dim oResult = Await Client.GetDatatableFromIDBAsync(oSQL)
|
||||||
|
|
||||||
Return oResult.Table
|
Return oResult.Table
|
||||||
@@ -246,7 +246,7 @@ Public Class ctrlObjectPropertyDialog
|
|||||||
ControlManager.LoadControlsForAttributes(oAttributes, Root)
|
ControlManager.LoadControlsForAttributes(oAttributes, Root)
|
||||||
Await ControlManager.LoadControlValuesForAttributes(pObjectId, Root)
|
Await ControlManager.LoadControlValuesForAttributes(pObjectId, Root)
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
Logger.Error(ex)
|
_Logger.Error(ex)
|
||||||
End Try
|
End Try
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ Public Class frmObjectPropertyDialog
|
|||||||
Private Property FormHelper As FormHelper
|
Private Property FormHelper As FormHelper
|
||||||
|
|
||||||
Private ReadOnly Property LogConfig As LogConfig Implements IBaseForm.LogConfig
|
Private ReadOnly Property LogConfig As LogConfig Implements IBaseForm.LogConfig
|
||||||
Private ReadOnly Property Logger As Logger Implements IBaseForm.Logger
|
Private ReadOnly Property _Logger As Logger Implements IBaseForm._Logger
|
||||||
|
|
||||||
Private ReadOnly Changes As New Dictionary(Of String, Object)
|
Private ReadOnly Changes As New Dictionary(Of String, Object)
|
||||||
|
|
||||||
@@ -29,7 +29,7 @@ Public Class frmObjectPropertyDialog
|
|||||||
|
|
||||||
' Fügen Sie Initialisierungen nach dem InitializeComponent()-Aufruf hinzu.
|
' Fügen Sie Initialisierungen nach dem InitializeComponent()-Aufruf hinzu.
|
||||||
LogConfig = pLogConfig
|
LogConfig = pLogConfig
|
||||||
Logger = pLogConfig.GetLogger()
|
_Logger = pLogConfig.GetLogger()
|
||||||
Environment = pEnvironment
|
Environment = pEnvironment
|
||||||
Client = pClient
|
Client = pClient
|
||||||
ObjectId = pObjectId
|
ObjectId = pObjectId
|
||||||
@@ -75,7 +75,7 @@ Public Class frmObjectPropertyDialog
|
|||||||
|
|
||||||
Private Async Function GetBusinessEntitiesForObjectId(ObjectId As Long) As Task(Of List(Of Long))
|
Private Async Function GetBusinessEntitiesForObjectId(ObjectId As Long) As Task(Of List(Of Long))
|
||||||
Try
|
Try
|
||||||
Dim oSQL = $"SELECT BE_ID FROM TBIDB_OBJECT_BE WHERE IDB_OBJ_ID = {ObjectId}"
|
Dim oSQL = $"SELECT BE_ID FROM TBIDB_OBJECT_BE WITH (NOLOCK) WHERE IDB_OBJ_ID = {ObjectId}"
|
||||||
Dim oResult = Await Client.GetDatatableFromIDBAsync(oSQL)
|
Dim oResult = Await Client.GetDatatableFromIDBAsync(oSQL)
|
||||||
|
|
||||||
If oResult.OK = False Then
|
If oResult.OK = False Then
|
||||||
@@ -94,7 +94,7 @@ Public Class frmObjectPropertyDialog
|
|||||||
Return oEntities
|
Return oEntities
|
||||||
End If
|
End If
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
Logger.Error(ex)
|
_Logger.Error(ex)
|
||||||
Return New List(Of Long)
|
Return New List(Of Long)
|
||||||
End Try
|
End Try
|
||||||
End Function
|
End Function
|
||||||
@@ -122,7 +122,7 @@ Public Class frmObjectPropertyDialog
|
|||||||
End Function
|
End Function
|
||||||
|
|
||||||
Private Async Function GetPropertiesForObjectId(ObjectId As Long) As Task(Of DataTable)
|
Private Async Function GetPropertiesForObjectId(ObjectId As Long) As Task(Of DataTable)
|
||||||
Dim oSQL As String = $"SELECT * FROM TBIDB_OBJECT WHERE IDB_OBJ_ID = {ObjectId}"
|
Dim oSQL As String = $"SELECT * FROM TBIDB_OBJECT WITH (NOLOCK) WHERE IDB_OBJ_ID = {ObjectId}"
|
||||||
Dim oResult = Await Client.GetDatatableFromIDBAsync(oSQL)
|
Dim oResult = Await Client.GetDatatableFromIDBAsync(oSQL)
|
||||||
|
|
||||||
Return oResult.Table
|
Return oResult.Table
|
||||||
@@ -136,7 +136,7 @@ Public Class frmObjectPropertyDialog
|
|||||||
Dim oEntityId As Long
|
Dim oEntityId As Long
|
||||||
|
|
||||||
If Long.TryParse(cmbBusinessEntity.EditValue, oEntityId) = False Then
|
If Long.TryParse(cmbBusinessEntity.EditValue, oEntityId) = False Then
|
||||||
_Logger.Warn("Could not Parse Entity from cmbBusinessEntity")
|
__Logger.Warn("Could not Parse Entity from cmbBusinessEntity")
|
||||||
Exit Sub
|
Exit Sub
|
||||||
End If
|
End If
|
||||||
|
|
||||||
@@ -149,7 +149,7 @@ Public Class frmObjectPropertyDialog
|
|||||||
ControlManager.LoadControlsForAttributes(oAttributes, AttributeLayout)
|
ControlManager.LoadControlsForAttributes(oAttributes, AttributeLayout)
|
||||||
Await ControlManager.LoadControlValuesForAttributes(ObjectId, AttributeLayout)
|
Await ControlManager.LoadControlValuesForAttributes(ObjectId, AttributeLayout)
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
Logger.Error(ex)
|
_Logger.Error(ex)
|
||||||
End Try
|
End Try
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
@@ -173,7 +173,7 @@ Public Class frmObjectPropertyDialog
|
|||||||
|
|
||||||
Return True
|
Return True
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
Logger.Error(ex)
|
_Logger.Error(ex)
|
||||||
Return False
|
Return False
|
||||||
End Try
|
End Try
|
||||||
End Function
|
End Function
|
||||||
@@ -184,7 +184,7 @@ Public Class frmObjectPropertyDialog
|
|||||||
|
|
||||||
Return True
|
Return True
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
Logger.Error(ex)
|
_Logger.Error(ex)
|
||||||
Return False
|
Return False
|
||||||
End Try
|
End Try
|
||||||
End Function
|
End Function
|
||||||
@@ -204,7 +204,7 @@ Public Class frmObjectPropertyDialog
|
|||||||
|
|
||||||
Return True
|
Return True
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
Logger.Error(ex)
|
_Logger.Error(ex)
|
||||||
Return False
|
Return False
|
||||||
End Try
|
End Try
|
||||||
End Function
|
End Function
|
||||||
@@ -212,7 +212,7 @@ Public Class frmObjectPropertyDialog
|
|||||||
Private Async Sub btnSave_ItemClick(sender As Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles btnSave.ItemClick
|
Private Async Sub btnSave_ItemClick(sender As Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles btnSave.ItemClick
|
||||||
Try
|
Try
|
||||||
For Each oChange As KeyValuePair(Of String, Object) In Changes
|
For Each oChange As KeyValuePair(Of String, Object) In Changes
|
||||||
Logger.Info("Updating Attribute [{0}] with value [{1}]", oChange.Key, oChange.Value.ToString)
|
_Logger.Info("Updating Attribute [{0}] with value [{1}]", oChange.Key, oChange.Value.ToString)
|
||||||
|
|
||||||
Await Client.SetAttributeValueAsync(ObjectId, oChange.Key, oChange.Value, New Options.SetAttributeValueOptions With {
|
Await Client.SetAttributeValueAsync(ObjectId, oChange.Key, oChange.Value, New Options.SetAttributeValueOptions With {
|
||||||
.Language = Environment.User.Language,
|
.Language = Environment.User.Language,
|
||||||
|
|||||||
@@ -5,20 +5,22 @@ Namespace SQLEditor
|
|||||||
Public Class Placeholders
|
Public Class Placeholders
|
||||||
Public Const AUTO_INDEX_ZOOFLOW = "ATTR_A"
|
Public Const AUTO_INDEX_ZOOFLOW = "ATTR_A"
|
||||||
Public Const MAN_INDEX_ZOOFLOW = "ATTR_M"
|
Public Const MAN_INDEX_ZOOFLOW = "ATTR_M"
|
||||||
|
Public Function GetInternalPlaceholders(AttributStore As String) As GalleryItemGroup
|
||||||
Public Function GetInternalPlaceholders() As GalleryItemGroup
|
|
||||||
Dim oModule = "INT"
|
Dim oModule = "INT"
|
||||||
Dim oImage = My.Resources.electronics_desktopmac
|
Dim oImage = My.Resources.electronics_desktopmac
|
||||||
|
Dim oImagePrivate = My.Resources._private
|
||||||
|
Dim oValue As String
|
||||||
|
If AttributStore = "WM" Then
|
||||||
|
oValue = "WMDocID"
|
||||||
|
Else
|
||||||
|
oValue = "IDBObjID"
|
||||||
|
End If
|
||||||
Dim oItems As New List(Of GalleryItem)() From {
|
Dim oItems As New List(Of GalleryItem)() From {
|
||||||
GetGalleryItem(New Placeholder("USERNAME", "Benutzername", oModule, "USERNAME"), oImage),
|
GetGalleryItem(New Placeholder("USERNAME", "Benutzername", oModule, "USERNAME"), oImage),
|
||||||
GetGalleryItem(New Placeholder("MACHINE", "Aktuelles Datum", oModule, "MACHINE"), oImage),
|
GetGalleryItem(New Placeholder("MACHINE", "Aktuelles Datum", oModule, "MACHINE"), oImage),
|
||||||
GetGalleryItem(New Placeholder("DOMAIN", "Domain des Computers", oModule, "DOMAIN"), oImage),
|
GetGalleryItem(New Placeholder("DOMAIN", "Email-Adresse", oModule, "DOMAIN"), oImage),
|
||||||
GetGalleryItem(New Placeholder("DATE", "Aktuelles Datum", oModule, "DATE"), oImage),
|
GetGalleryItem(New Placeholder("DATE", "Vorname", oModule, "DATE"), oImage),
|
||||||
GetGalleryItem(New Placeholder("FILENAME_EXT", "Dateiname (mit Endung)", oModule, "FILENAME_EXT"), oImage),
|
GetGalleryItem(New Placeholder(oValue, "UniqueObjectID", oModule, oValue), oImagePrivate)
|
||||||
GetGalleryItem(New Placeholder("FILENAME_ONLY", "Dateiname (ohne Endung)", oModule, "FILENAME_ONLY"), oImage),
|
|
||||||
GetGalleryItem(New Placeholder("FILE_DATE", "Datei Erstellt wann", oModule, "FILE_DATE"), oImage),
|
|
||||||
GetGalleryItem(New Placeholder("FILE_EXT", "Datei Extension", oModule, "FILE_EXT"), oImage)
|
|
||||||
}
|
}
|
||||||
Dim oGroup1 = New GalleryItemGroup() With {.Caption = "Intern"}
|
Dim oGroup1 = New GalleryItemGroup() With {.Caption = "Intern"}
|
||||||
|
|
||||||
@@ -39,6 +41,7 @@ Namespace SQLEditor
|
|||||||
Return oGroup1
|
Return oGroup1
|
||||||
End Function
|
End Function
|
||||||
|
|
||||||
|
|
||||||
Friend Function GetWindreamPlaceholders(pPlaceholders As List(Of String)) As GalleryItemGroup
|
Friend Function GetWindreamPlaceholders(pPlaceholders As List(Of String)) As GalleryItemGroup
|
||||||
Dim oImage = My.Resources.bo_contract
|
Dim oImage = My.Resources.bo_contract
|
||||||
Dim oItems As New List(Of GalleryItem)()
|
Dim oItems As New List(Of GalleryItem)()
|
||||||
|
|||||||
@@ -33,6 +33,7 @@ Public Class frmSQLEditor
|
|||||||
Public Property PlaceholdersAutomaticPrefix As String
|
Public Property PlaceholdersAutomaticPrefix As String
|
||||||
Public Property PlaceholdersAutomaticTitle As String = "Automatisches Attribut"
|
Public Property PlaceholdersAutomaticTitle As String = "Automatisches Attribut"
|
||||||
Public Property PlaceholdersWindream As List(Of String)
|
Public Property PlaceholdersWindream As List(Of String)
|
||||||
|
Public Property ATTRIBUTE_STORE As String = "WM"
|
||||||
|
|
||||||
Public Sub New(pLogConfig As LogConfig, pDatabase As MSSQLServer)
|
Public Sub New(pLogConfig As LogConfig, pDatabase As MSSQLServer)
|
||||||
MyClass.New(pLogConfig, pDatabase, True)
|
MyClass.New(pLogConfig, pDatabase, True)
|
||||||
@@ -80,19 +81,30 @@ Public Class frmSQLEditor
|
|||||||
|
|
||||||
Dim oConnectionGroup = LoadConnections()
|
Dim oConnectionGroup = LoadConnections()
|
||||||
Dim oSelectedItem = Nothing
|
Dim oSelectedItem = Nothing
|
||||||
|
Dim oConnectionisZero As Boolean = False
|
||||||
' Missing/Negative connection will always result in default (DD_ECM) connection
|
' Missing/Negative connection will always result in default (DD_ECM) connection
|
||||||
If SQLConnection <= 0 Then
|
If SQLConnection <= 0 Then
|
||||||
|
oConnectionisZero = True
|
||||||
SQLConnection = 1
|
SQLConnection = 1
|
||||||
End If
|
End If
|
||||||
|
|
||||||
' Select the supplied connection in the ribbon gallery
|
' Select the supplied connection in the ribbon gallery
|
||||||
For Each oItem As GalleryItem In oConnectionGroup.Items
|
If oConnectionisZero = True Then
|
||||||
Dim oConnection = oItem.Tag
|
For Each oItem As GalleryItem In oConnectionGroup.Items
|
||||||
If SQLConnection = oConnection.id Then
|
Dim oConnection = oItem.Tag
|
||||||
oSelectedItem = oItem
|
If oConnection.NAME = "DD_ECM" Then
|
||||||
End If
|
oSelectedItem = oItem
|
||||||
Next
|
End If
|
||||||
|
Next
|
||||||
|
Else
|
||||||
|
For Each oItem As GalleryItem In oConnectionGroup.Items
|
||||||
|
Dim oConnection = oItem.Tag
|
||||||
|
If oConnection.Id = SQLConnection Then
|
||||||
|
oSelectedItem = oItem
|
||||||
|
End If
|
||||||
|
Next
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
GalleryConnection.Gallery.Groups.Add(oConnectionGroup)
|
GalleryConnection.Gallery.Groups.Add(oConnectionGroup)
|
||||||
|
|
||||||
@@ -153,14 +165,14 @@ Public Class frmSQLEditor
|
|||||||
End If
|
End If
|
||||||
|
|
||||||
oPlaceholders.Add(Placeholders.GetUserPlaceholders())
|
oPlaceholders.Add(Placeholders.GetUserPlaceholders())
|
||||||
oPlaceholders.Add(Placeholders.GetInternalPlaceholders())
|
oPlaceholders.Add(Placeholders.GetInternalPlaceholders(ATTRIBUTE_STORE))
|
||||||
|
|
||||||
Return oPlaceholders
|
Return oPlaceholders
|
||||||
End Function
|
End Function
|
||||||
|
|
||||||
Private Function LoadConnections() As GalleryItemGroup
|
Private Function LoadConnections() As GalleryItemGroup
|
||||||
Try
|
Try
|
||||||
Dim oSql = "SELECT GUID, Bezeichnung FROM TBDD_CONNECTION WHERE AKTIV = 1"
|
Dim oSql = "SELECT GUID, Bezeichnung FROM TBDD_CONNECTION WITH (NOLOCK) WHERE AKTIV = 1"
|
||||||
Dim oTable = Database.GetDatatable(oSql)
|
Dim oTable = Database.GetDatatable(oSql)
|
||||||
Dim oConnections = New List(Of Connection)
|
Dim oConnections = New List(Of Connection)
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,11 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<configuration>
|
<configuration>
|
||||||
<configSections>
|
<configSections>
|
||||||
<sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System">
|
<sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System">
|
||||||
<section name="DevExpress.LookAndFeel.Design.AppSettings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
|
<section name="DevExpress.LookAndFeel.Design.AppSettings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
|
||||||
</sectionGroup>
|
</sectionGroup>
|
||||||
|
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
|
||||||
|
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
|
||||||
</configSections>
|
</configSections>
|
||||||
<applicationSettings>
|
<applicationSettings>
|
||||||
<DevExpress.LookAndFeel.Design.AppSettings>
|
<DevExpress.LookAndFeel.Design.AppSettings>
|
||||||
@@ -11,46 +13,122 @@
|
|||||||
<value>Skin/Office 2019 White</value>
|
<value>Skin/Office 2019 White</value>
|
||||||
</setting>
|
</setting>
|
||||||
<setting name="DefaultPalette" serializeAs="String">
|
<setting name="DefaultPalette" serializeAs="String">
|
||||||
<value></value>
|
<value>
|
||||||
|
</value>
|
||||||
</setting>
|
</setting>
|
||||||
<setting name="TouchUI" serializeAs="String">
|
<setting name="TouchUI" serializeAs="String">
|
||||||
<value></value>
|
<value>
|
||||||
|
</value>
|
||||||
</setting>
|
</setting>
|
||||||
<setting name="CompactUI" serializeAs="String">
|
<setting name="CompactUI" serializeAs="String">
|
||||||
<value></value>
|
<value>
|
||||||
|
</value>
|
||||||
</setting>
|
</setting>
|
||||||
<setting name="TouchScaleFactor" serializeAs="String">
|
<setting name="TouchScaleFactor" serializeAs="String">
|
||||||
<value></value>
|
<value>
|
||||||
|
</value>
|
||||||
</setting>
|
</setting>
|
||||||
<setting name="DirectX" serializeAs="String">
|
<setting name="DirectX" serializeAs="String">
|
||||||
<value></value>
|
<value>
|
||||||
|
</value>
|
||||||
</setting>
|
</setting>
|
||||||
<setting name="RegisterUserSkins" serializeAs="String">
|
<setting name="RegisterUserSkins" serializeAs="String">
|
||||||
<value></value>
|
<value>
|
||||||
|
</value>
|
||||||
</setting>
|
</setting>
|
||||||
<setting name="RegisterBonusSkins" serializeAs="String">
|
<setting name="RegisterBonusSkins" serializeAs="String">
|
||||||
<value></value>
|
<value>
|
||||||
|
</value>
|
||||||
</setting>
|
</setting>
|
||||||
<setting name="FontBehavior" serializeAs="String">
|
<setting name="FontBehavior" serializeAs="String">
|
||||||
<value></value>
|
<value>
|
||||||
|
</value>
|
||||||
</setting>
|
</setting>
|
||||||
<setting name="DefaultAppFont" serializeAs="String">
|
<setting name="DefaultAppFont" serializeAs="String">
|
||||||
<value></value>
|
<value>
|
||||||
|
</value>
|
||||||
</setting>
|
</setting>
|
||||||
<setting name="DPIAwarenessMode" serializeAs="String">
|
<setting name="DPIAwarenessMode" serializeAs="String">
|
||||||
<value></value>
|
<value>
|
||||||
|
</value>
|
||||||
</setting>
|
</setting>
|
||||||
<setting name="CustomPaletteCollection" serializeAs="Xml">
|
<setting name="CustomPaletteCollection" serializeAs="Xml">
|
||||||
<value/>
|
<value />
|
||||||
</setting>
|
</setting>
|
||||||
</DevExpress.LookAndFeel.Design.AppSettings>
|
</DevExpress.LookAndFeel.Design.AppSettings>
|
||||||
</applicationSettings>
|
</applicationSettings>
|
||||||
<runtime>
|
<runtime>
|
||||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||||
<dependentAssembly>
|
<dependentAssembly>
|
||||||
<assemblyIdentity name="FirebirdSql.Data.FirebirdClient" publicKeyToken="3750abcc3150b00c" culture="neutral"/>
|
<assemblyIdentity name="FirebirdSql.Data.FirebirdClient" publicKeyToken="3750abcc3150b00c" culture="neutral" />
|
||||||
<bindingRedirect oldVersion="0.0.0.0-7.5.0.0" newVersion="7.5.0.0"/>
|
<bindingRedirect oldVersion="0.0.0.0-7.5.0.0" newVersion="7.5.0.0" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-13.0.0.0" newVersion="13.0.0.0" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-4.0.2.0" newVersion="4.0.2.0" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-6.0.1.0" newVersion="6.0.1.0" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-4.0.4.0" newVersion="4.0.4.0" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="System.Collections.Immutable" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-9.0.0.0" newVersion="9.0.0.0" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="System.Numerics.Vectors" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-4.1.5.0" newVersion="4.1.5.0" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="System.Security.Cryptography.Pkcs" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-9.0.0.0" newVersion="9.0.0.0" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="System.IO.Packaging" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-9.0.0.0" newVersion="9.0.0.0" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="System.Text.Json" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-9.0.0.0" newVersion="9.0.0.0" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="protobuf-net" publicKeyToken="257b51d87d2e4d67" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="GdPicture.NET.14" publicKeyToken="f52a2e60ad468dbb" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-14.3.19.0" newVersion="14.3.19.0" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="GdPicture.NET.14.Common" publicKeyToken="f52a2e60ad468dbb" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-14.3.19.0" newVersion="14.3.19.0" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="GdPicture.NET.14.Imaging" publicKeyToken="f52a2e60ad468dbb" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-14.3.19.0" newVersion="14.3.19.0" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="System.Text.Encodings.Web" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-9.0.0.0" newVersion="9.0.0.0" />
|
||||||
</dependentAssembly>
|
</dependentAssembly>
|
||||||
</assemblyBinding>
|
</assemblyBinding>
|
||||||
</runtime>
|
</runtime>
|
||||||
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2"/></startup></configuration>
|
<startup>
|
||||||
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2" />
|
||||||
|
</startup>
|
||||||
|
<entityFramework>
|
||||||
|
<providers>
|
||||||
|
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
|
||||||
|
<provider invariantName="FirebirdSql.Data.FirebirdClient" type="EntityFramework.Firebird.FbProviderServices, EntityFramework.Firebird" />
|
||||||
|
</providers>
|
||||||
|
<defaultConnectionFactory type="EntityFramework.Firebird.FbConnectionFactory, EntityFramework.Firebird" />
|
||||||
|
</entityFramework>
|
||||||
|
</configuration>
|
||||||
@@ -112,7 +112,7 @@ Public Class frmNotification_Startup
|
|||||||
RichEditControl1.Dock = Windows.Forms.DockStyle.Fill
|
RichEditControl1.Dock = Windows.Forms.DockStyle.Fill
|
||||||
Else
|
Else
|
||||||
If IO.File.Exists(oMSG_STRING) Then
|
If IO.File.Exists(oMSG_STRING) Then
|
||||||
DocumentViewer1.LoadFile(oMSG_STRING)
|
DocumentViewer1.LoadFile_FromPath(oMSG_STRING)
|
||||||
DocumentViewer1.Visible = True
|
DocumentViewer1.Visible = True
|
||||||
DocumentViewer1.Dock = Windows.Forms.DockStyle.Fill
|
DocumentViewer1.Dock = Windows.Forms.DockStyle.Fill
|
||||||
Else
|
Else
|
||||||
|
|||||||
@@ -1,4 +1,43 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<packages>
|
<packages>
|
||||||
|
<package id="BouncyCastle.Cryptography" version="2.5.0" targetFramework="net462" />
|
||||||
|
<package id="DocumentFormat.OpenXml" version="3.2.0" targetFramework="net462" />
|
||||||
|
<package id="DocumentFormat.OpenXml.Framework" version="3.2.0" targetFramework="net462" />
|
||||||
|
<package id="EntityFramework" version="6.4.4" targetFramework="net462" />
|
||||||
|
<package id="EntityFramework.Firebird" version="6.4.0" targetFramework="net462" />
|
||||||
|
<package id="FirebirdSql.Data.FirebirdClient" version="7.5.0" targetFramework="net462" />
|
||||||
|
<package id="GdPicture" version="14.3.3" targetFramework="net462" />
|
||||||
|
<package id="GdPicture.runtimes.windows" version="14.3.3" targetFramework="net462" />
|
||||||
|
<package id="Microsoft.AspNet.WebApi.Client" version="6.0.0" targetFramework="net462" />
|
||||||
|
<package id="Microsoft.Bcl.AsyncInterfaces" version="9.0.0" targetFramework="net462" />
|
||||||
|
<package id="Microsoft.Bcl.Cryptography" version="9.0.0" targetFramework="net462" />
|
||||||
|
<package id="Microsoft.CSharp" version="4.7.0" targetFramework="net462" />
|
||||||
|
<package id="Microsoft.Identity.Client" version="4.55.0" targetFramework="net462" />
|
||||||
|
<package id="Microsoft.IdentityModel.Abstractions" version="6.22.0" targetFramework="net462" />
|
||||||
|
<package id="Microsoft.VisualBasic" version="10.3.0" targetFramework="net462" />
|
||||||
|
<package id="Newtonsoft.Json" version="13.0.3" targetFramework="net462" />
|
||||||
|
<package id="Newtonsoft.Json.Bson" version="1.0.2" targetFramework="net462" />
|
||||||
<package id="NLog" version="5.0.5" targetFramework="net461" />
|
<package id="NLog" version="5.0.5" targetFramework="net461" />
|
||||||
|
<package id="NuGet.CommandLine" version="6.13.2" targetFramework="net462" developmentDependency="true" />
|
||||||
|
<package id="OpenMcdf" version="2.4.1" targetFramework="net462" />
|
||||||
|
<package id="protobuf-net" version="3.2.46" targetFramework="net462" />
|
||||||
|
<package id="protobuf-net.Core" version="3.2.46" targetFramework="net462" />
|
||||||
|
<package id="RtfPipe" version="2.0.7677.4303" targetFramework="net462" />
|
||||||
|
<package id="S22.Imap" version="3.6.0.0" targetFramework="net462" />
|
||||||
|
<package id="System.Buffers" version="4.6.0" targetFramework="net462" />
|
||||||
|
<package id="System.CodeDom" version="9.0.0" targetFramework="net462" />
|
||||||
|
<package id="System.Collections.Immutable" version="9.0.0" targetFramework="net462" />
|
||||||
|
<package id="System.Data.Odbc" version="6.0.1" targetFramework="net462" />
|
||||||
|
<package id="System.Formats.Asn1" version="9.0.0" targetFramework="net462" />
|
||||||
|
<package id="System.IO.Packaging" version="9.0.0" targetFramework="net462" />
|
||||||
|
<package id="System.IO.Pipelines" version="9.0.0" targetFramework="net462" />
|
||||||
|
<package id="System.Management" version="9.0.0" targetFramework="net462" />
|
||||||
|
<package id="System.Memory" version="4.6.0" targetFramework="net462" />
|
||||||
|
<package id="System.Numerics.Vectors" version="4.6.0" targetFramework="net462" />
|
||||||
|
<package id="System.Runtime.CompilerServices.Unsafe" version="6.1.0" targetFramework="net462" />
|
||||||
|
<package id="System.Security.Cryptography.Pkcs" version="9.0.0" targetFramework="net462" />
|
||||||
|
<package id="System.Text.Encodings.Web" version="9.0.0" targetFramework="net462" />
|
||||||
|
<package id="System.Text.Json" version="9.0.0" targetFramework="net462" />
|
||||||
|
<package id="System.Threading.Tasks.Extensions" version="4.5.4" targetFramework="net462" />
|
||||||
|
<package id="System.ValueTuple" version="4.5.0" targetFramework="net462" />
|
||||||
</packages>
|
</packages>
|
||||||
@@ -60,7 +60,7 @@
|
|||||||
<Reference Include="DevExpress.XtraGrid.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
|
<Reference Include="DevExpress.XtraGrid.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
|
||||||
<Reference Include="DigitalData.Modules.Logging, Version=2.5.4.2, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="DigitalData.Modules.Logging, Version=2.5.4.2, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>..\..\Modules\Config\bin\Debug\DigitalData.Modules.Logging.dll</HintPath>
|
<HintPath>..\..\DDModules\Logging\bin\Debug\DigitalData.Modules.Logging.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Microsoft.CSharp" />
|
<Reference Include="Microsoft.CSharp" />
|
||||||
<Reference Include="NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
|
<Reference Include="NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
|
||||||
|
|||||||
@@ -49,19 +49,19 @@
|
|||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="DigitalData.Modules.Config">
|
<Reference Include="DigitalData.Modules.Config">
|
||||||
<HintPath>..\..\Modules\Config\bin\Debug\DigitalData.Modules.Config.dll</HintPath>
|
<HintPath>..\..\DDModules\Config\bin\Debug\DigitalData.Modules.Config.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DigitalData.Modules.Database">
|
<Reference Include="DigitalData.Modules.Database">
|
||||||
<HintPath>..\..\Modules\Config\bin\Debug\DigitalData.Modules.Database.dll</HintPath>
|
<HintPath>..\..\DDModules\Database\bin\Debug\DigitalData.Modules.Database.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DigitalData.Modules.Interfaces">
|
<Reference Include="DigitalData.Modules.Interfaces">
|
||||||
<HintPath>..\..\Modules\Interfaces\bin\Debug\DigitalData.Modules.Interfaces.dll</HintPath>
|
<HintPath>..\..\DDModules\Interfaces\bin\Debug\DigitalData.Modules.Interfaces.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DigitalData.Modules.Jobs">
|
<Reference Include="DigitalData.Modules.Jobs">
|
||||||
<HintPath>..\..\Modules\Jobs\bin\Debug\DigitalData.Modules.Jobs.dll</HintPath>
|
<HintPath>..\..\DDModules\Jobs\bin\Debug\DigitalData.Modules.Jobs.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DigitalData.Modules.Logging">
|
<Reference Include="DigitalData.Modules.Logging">
|
||||||
<HintPath>..\..\Modules\Config\bin\Debug\DigitalData.Modules.Logging.dll</HintPath>
|
<HintPath>..\..\DDModules\Logging\bin\Debug\DigitalData.Modules.Logging.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Microsoft.CSharp" />
|
<Reference Include="Microsoft.CSharp" />
|
||||||
<Reference Include="NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
|
<Reference Include="NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
|
||||||
|
|||||||
@@ -54,6 +54,46 @@
|
|||||||
<assemblyIdentity name="FirebirdSql.Data.FirebirdClient" publicKeyToken="3750abcc3150b00c" culture="neutral" />
|
<assemblyIdentity name="FirebirdSql.Data.FirebirdClient" publicKeyToken="3750abcc3150b00c" culture="neutral" />
|
||||||
<bindingRedirect oldVersion="0.0.0.0-7.5.0.0" newVersion="7.5.0.0" />
|
<bindingRedirect oldVersion="0.0.0.0-7.5.0.0" newVersion="7.5.0.0" />
|
||||||
</dependentAssembly>
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="NLog" publicKeyToken="5120e14c03d0593c" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-13.0.0.0" newVersion="13.0.0.0" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-4.0.2.0" newVersion="4.0.2.0" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-6.0.1.0" newVersion="6.0.1.0" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-4.0.4.0" newVersion="4.0.4.0" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="System.Collections.Immutable" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="System.Numerics.Vectors" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-4.1.5.0" newVersion="4.1.5.0" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="System.Security.Cryptography.Pkcs" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-8.0.0.1" newVersion="8.0.0.1" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="System.IO.Packaging" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-8.0.0.1" newVersion="8.0.0.1" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="System.Text.Json" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-8.0.0.5" newVersion="8.0.0.5" />
|
||||||
|
</dependentAssembly>
|
||||||
</assemblyBinding>
|
</assemblyBinding>
|
||||||
</runtime>
|
</runtime>
|
||||||
</configuration>
|
</configuration>
|
||||||
@@ -14,6 +14,8 @@
|
|||||||
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
|
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
|
||||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||||
<Deterministic>true</Deterministic>
|
<Deterministic>true</Deterministic>
|
||||||
|
<NuGetPackageImportStamp>
|
||||||
|
</NuGetPackageImportStamp>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
@@ -48,6 +50,9 @@
|
|||||||
<OptionInfer>On</OptionInfer>
|
<OptionInfer>On</OptionInfer>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
<Reference Include="BouncyCastle.Cryptography, Version=2.0.0.0, Culture=neutral, PublicKeyToken=072edcf4a5328938, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\BouncyCastle.Cryptography.2.5.0\lib\net461\BouncyCastle.Cryptography.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
<Reference Include="DevExpress.Data.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
|
<Reference Include="DevExpress.Data.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
|
||||||
<Reference Include="DevExpress.Printing.v21.2.Core, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
|
<Reference Include="DevExpress.Printing.v21.2.Core, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
|
||||||
<Reference Include="DevExpress.Sparkline.v21.2.Core, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
|
<Reference Include="DevExpress.Sparkline.v21.2.Core, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
|
||||||
@@ -64,23 +69,120 @@
|
|||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DigitalData.Modules.EDMI.API, Version=1.5.4.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="DigitalData.Modules.EDMI.API, Version=1.5.4.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>..\..\Modules\EDMIAPI\bin\Debug\DigitalData.Modules.EDMI.API.dll</HintPath>
|
<HintPath>..\..\DDModules\EDMIAPI\bin\Debug\DigitalData.Modules.EDMI.API.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DigitalData.Modules.Logging, Version=2.5.4.2, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="DigitalData.Modules.Logging, Version=2.5.4.2, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>..\..\Modules\Config\bin\Debug\DigitalData.Modules.Logging.dll</HintPath>
|
<HintPath>..\..\DDModules\Logging\bin\Debug\DigitalData.Modules.Logging.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="GdPicture.NET.14">
|
<Reference Include="DocumentFormat.OpenXml, Version=3.2.0.0, Culture=neutral, PublicKeyToken=8fb06cb64d019a17, processorArchitecture=MSIL">
|
||||||
<HintPath>D:\ProgramFiles\GdPicture.NET 14\Redist\GdPicture.NET (.NET Framework 4.5)\GdPicture.NET.14.dll</HintPath>
|
<HintPath>..\packages\DocumentFormat.OpenXml.3.2.0\lib\net46\DocumentFormat.OpenXml.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="DocumentFormat.OpenXml.Framework, Version=3.2.0.0, Culture=neutral, PublicKeyToken=8fb06cb64d019a17, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\DocumentFormat.OpenXml.Framework.3.2.0\lib\net46\DocumentFormat.OpenXml.Framework.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="GdPicture.NET.14, Version=14.3.3.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\GdPicture.14.3.3\lib\net462\GdPicture.NET.14.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="GdPicture.NET.14.barcode.1d.writer, Version=14.3.3.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\GdPicture.14.3.3\lib\net462\GdPicture.NET.14.barcode.1d.writer.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="GdPicture.NET.14.barcode.2d.writer, Version=14.3.3.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\GdPicture.14.3.3\lib\net462\GdPicture.NET.14.barcode.2d.writer.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="GdPicture.NET.14.CAD, Version=14.3.3.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\GdPicture.14.3.3\lib\net462\GdPicture.NET.14.CAD.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="GdPicture.NET.14.CAD.DWG, Version=14.3.3.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\GdPicture.14.3.3\lib\net462\GdPicture.NET.14.CAD.DWG.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="GdPicture.NET.14.Common, Version=14.3.3.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\GdPicture.14.3.3\lib\net462\GdPicture.NET.14.Common.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="GdPicture.NET.14.Document, Version=14.3.3.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\GdPicture.14.3.3\lib\net462\GdPicture.NET.14.Document.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="GdPicture.NET.14.Email, Version=14.3.3.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\GdPicture.14.3.3\lib\net462\GdPicture.NET.14.Email.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="GdPicture.NET.14.HTML, Version=14.3.3.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\GdPicture.14.3.3\lib\net462\GdPicture.NET.14.HTML.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="GdPicture.NET.14.Imaging, Version=14.3.3.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\GdPicture.14.3.3\lib\net462\GdPicture.NET.14.Imaging.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="GdPicture.NET.14.Imaging.Formats, Version=14.3.3.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\GdPicture.14.3.3\lib\net462\GdPicture.NET.14.Imaging.Formats.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="GdPicture.NET.14.Imaging.Formats.Conversion, Version=14.3.3.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\GdPicture.14.3.3\lib\net462\GdPicture.NET.14.Imaging.Formats.Conversion.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="GdPicture.NET.14.Imaging.Rendering, Version=14.3.3.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\GdPicture.14.3.3\lib\net462\GdPicture.NET.14.Imaging.Rendering.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="GdPicture.NET.14.MSOfficeBinary, Version=14.3.3.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\GdPicture.14.3.3\lib\net462\GdPicture.NET.14.MSOfficeBinary.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="GdPicture.NET.14.OpenDocument, Version=14.3.3.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\GdPicture.14.3.3\lib\net462\GdPicture.NET.14.OpenDocument.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="GdPicture.NET.14.OpenXML, Version=14.3.3.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\GdPicture.14.3.3\lib\net462\GdPicture.NET.14.OpenXML.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="GdPicture.NET.14.OpenXML.Templating, Version=14.3.3.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\GdPicture.14.3.3\lib\net462\GdPicture.NET.14.OpenXML.Templating.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="GdPicture.NET.14.PDF, Version=14.3.3.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\GdPicture.14.3.3\lib\net462\GdPicture.NET.14.PDF.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="GdPicture.NET.14.RTF, Version=14.3.3.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\GdPicture.14.3.3\lib\net462\GdPicture.NET.14.RTF.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="GdPicture.NET.14.SVG, Version=14.3.3.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\GdPicture.14.3.3\lib\net462\GdPicture.NET.14.SVG.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="GdPicture.NET.14.wia.gateway, Version=1.0.0.0, Culture=neutral, PublicKeyToken=6973b5c22dcf45f7, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\GdPicture.14.3.3\lib\net462\GdPicture.NET.14.wia.gateway.dll</HintPath>
|
||||||
|
<EmbedInteropTypes>True</EmbedInteropTypes>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Independentsoft.Msg">
|
<Reference Include="Independentsoft.Msg">
|
||||||
<HintPath>P:\Visual Studio Projekte\Bibliotheken\MSG .NET\Bin\22_11_19\Independentsoft.Msg.dll</HintPath>
|
<HintPath>P:\Visual Studio Projekte\Bibliotheken\MSG .NET\Bin\22_11_19\Independentsoft.Msg.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
|
<Reference Include="Microsoft.Bcl.AsyncInterfaces, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\Microsoft.Bcl.AsyncInterfaces.8.0.0\lib\net462\Microsoft.Bcl.AsyncInterfaces.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
<Reference Include="Microsoft.CSharp" />
|
<Reference Include="Microsoft.CSharp" />
|
||||||
|
<Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\Newtonsoft.Json.13.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Newtonsoft.Json.Bson, Version=1.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\Newtonsoft.Json.Bson.1.0.2\lib\net45\Newtonsoft.Json.Bson.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
<Reference Include="NLog, Version=4.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
|
<Reference Include="NLog, Version=4.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\NLog.4.7.10\lib\net45\NLog.dll</HintPath>
|
<HintPath>..\packages\NLog.4.7.10\lib\net45\NLog.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
|
<Reference Include="OpenMcdf, Version=2.4.1.0, Culture=neutral, PublicKeyToken=fdbb1629d7c00800, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\OpenMcdf.2.4.1\lib\net40\OpenMcdf.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="protobuf-net, Version=3.0.0.0, Culture=neutral, PublicKeyToken=257b51d87d2e4d67, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\protobuf-net.3.2.46\lib\net462\protobuf-net.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="protobuf-net.Core, Version=3.0.0.0, Culture=neutral, PublicKeyToken=257b51d87d2e4d67, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\protobuf-net.Core.3.2.46\lib\net462\protobuf-net.Core.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="RtfPipe, Version=2.0.7677.4303, Culture=neutral, PublicKeyToken=5f6ab4ce530296d2, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\RtfPipe.2.0.7677.4303\lib\net45\RtfPipe.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
|
<Reference Include="System.Buffers, Version=4.0.4.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\System.Buffers.4.6.0\lib\net462\System.Buffers.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System.CodeDom, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\System.CodeDom.8.0.0\lib\net462\System.CodeDom.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System.Collections.Immutable, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\System.Collections.Immutable.8.0.0\lib\net462\System.Collections.Immutable.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
<Reference Include="System.ComponentModel.DataAnnotations" />
|
<Reference Include="System.ComponentModel.DataAnnotations" />
|
||||||
<Reference Include="System.Configuration" />
|
<Reference Include="System.Configuration" />
|
||||||
<Reference Include="System.Data" />
|
<Reference Include="System.Data" />
|
||||||
@@ -88,15 +190,49 @@
|
|||||||
<Reference Include="System.Deployment" />
|
<Reference Include="System.Deployment" />
|
||||||
<Reference Include="System.Drawing" />
|
<Reference Include="System.Drawing" />
|
||||||
<Reference Include="System.IO.Compression" />
|
<Reference Include="System.IO.Compression" />
|
||||||
|
<Reference Include="System.IO.Packaging, Version=8.0.0.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\System.IO.Packaging.8.0.1\lib\net462\System.IO.Packaging.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System.Management" />
|
||||||
|
<Reference Include="System.Memory, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\System.Memory.4.6.0\lib\net462\System.Memory.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System.Net.Http.Formatting, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\Microsoft.AspNet.WebApi.Client.6.0.0\lib\net45\System.Net.Http.Formatting.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System.Numerics" />
|
||||||
|
<Reference Include="System.Numerics.Vectors, Version=4.1.5.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\System.Numerics.Vectors.4.6.0\lib\net462\System.Numerics.Vectors.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=6.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.6.1.0\lib\net462\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
<Reference Include="System.Runtime.Serialization" />
|
<Reference Include="System.Runtime.Serialization" />
|
||||||
|
<Reference Include="System.Security" />
|
||||||
|
<Reference Include="System.Security.Cryptography.Pkcs, Version=8.0.0.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\System.Security.Cryptography.Pkcs.8.0.1\lib\net462\System.Security.Cryptography.Pkcs.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
<Reference Include="System.ServiceModel" />
|
<Reference Include="System.ServiceModel" />
|
||||||
|
<Reference Include="System.Text.Encodings.Web, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\System.Text.Encodings.Web.8.0.0\lib\net462\System.Text.Encodings.Web.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System.Text.Json, Version=8.0.0.5, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\System.Text.Json.8.0.5\lib\net462\System.Text.Json.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System.Threading.Tasks.Extensions, Version=4.2.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\System.Threading.Tasks.Extensions.4.5.4\lib\net461\System.Threading.Tasks.Extensions.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
<Reference Include="System.Transactions" />
|
<Reference Include="System.Transactions" />
|
||||||
|
<Reference Include="System.ValueTuple, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\System.ValueTuple.4.5.0\lib\net47\System.ValueTuple.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
<Reference Include="System.Windows.Forms" />
|
<Reference Include="System.Windows.Forms" />
|
||||||
<Reference Include="System.Xml" />
|
<Reference Include="System.Xml" />
|
||||||
<Reference Include="System.Core" />
|
<Reference Include="System.Core" />
|
||||||
<Reference Include="System.Xml.Linq" />
|
<Reference Include="System.Xml.Linq" />
|
||||||
<Reference Include="System.Data.DataSetExtensions" />
|
<Reference Include="System.Data.DataSetExtensions" />
|
||||||
<Reference Include="System.Net.Http" />
|
<Reference Include="System.Net.Http" />
|
||||||
|
<Reference Include="WindowsBase" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Import Include="Microsoft.VisualBasic" />
|
<Import Include="Microsoft.VisualBasic" />
|
||||||
@@ -161,4 +297,11 @@
|
|||||||
<None Include="packages.config" />
|
<None Include="packages.config" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.targets" />
|
<Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.targets" />
|
||||||
|
<Import Project="..\packages\GdPicture.runtimes.windows.14.3.3\build\net462\GdPicture.runtimes.windows.targets" Condition="Exists('..\packages\GdPicture.runtimes.windows.14.3.3\build\net462\GdPicture.runtimes.windows.targets')" />
|
||||||
|
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||||
|
<PropertyGroup>
|
||||||
|
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Error Condition="!Exists('..\packages\GdPicture.runtimes.windows.14.3.3\build\net462\GdPicture.runtimes.windows.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\GdPicture.runtimes.windows.14.3.3\build\net462\GdPicture.runtimes.windows.targets'))" />
|
||||||
|
</Target>
|
||||||
</Project>
|
</Project>
|
||||||
@@ -1,4 +1,32 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<packages>
|
<packages>
|
||||||
|
<package id="BouncyCastle.Cryptography" version="2.5.0" targetFramework="net472" />
|
||||||
|
<package id="DocumentFormat.OpenXml" version="3.2.0" targetFramework="net472" />
|
||||||
|
<package id="DocumentFormat.OpenXml.Framework" version="3.2.0" targetFramework="net472" />
|
||||||
|
<package id="GdPicture" version="14.3.3" targetFramework="net472" />
|
||||||
|
<package id="GdPicture.runtimes.windows" version="14.3.3" targetFramework="net472" />
|
||||||
|
<package id="Microsoft.AspNet.WebApi.Client" version="6.0.0" targetFramework="net472" />
|
||||||
|
<package id="Microsoft.Bcl.AsyncInterfaces" version="8.0.0" targetFramework="net472" />
|
||||||
|
<package id="Microsoft.CSharp" version="4.7.0" targetFramework="net472" />
|
||||||
|
<package id="Microsoft.VisualBasic" version="10.3.0" targetFramework="net472" />
|
||||||
|
<package id="Newtonsoft.Json" version="13.0.3" targetFramework="net472" />
|
||||||
|
<package id="Newtonsoft.Json.Bson" version="1.0.2" targetFramework="net472" />
|
||||||
<package id="NLog" version="4.7.10" targetFramework="net472" />
|
<package id="NLog" version="4.7.10" targetFramework="net472" />
|
||||||
|
<package id="OpenMcdf" version="2.4.1" targetFramework="net472" />
|
||||||
|
<package id="protobuf-net" version="3.2.46" targetFramework="net472" />
|
||||||
|
<package id="protobuf-net.Core" version="3.2.46" targetFramework="net472" />
|
||||||
|
<package id="RtfPipe" version="2.0.7677.4303" targetFramework="net472" />
|
||||||
|
<package id="System.Buffers" version="4.6.0" targetFramework="net472" />
|
||||||
|
<package id="System.CodeDom" version="8.0.0" targetFramework="net472" />
|
||||||
|
<package id="System.Collections.Immutable" version="8.0.0" targetFramework="net472" />
|
||||||
|
<package id="System.IO.Packaging" version="8.0.1" targetFramework="net472" />
|
||||||
|
<package id="System.Management" version="8.0.0" targetFramework="net472" />
|
||||||
|
<package id="System.Memory" version="4.6.0" targetFramework="net472" />
|
||||||
|
<package id="System.Numerics.Vectors" version="4.6.0" targetFramework="net472" />
|
||||||
|
<package id="System.Runtime.CompilerServices.Unsafe" version="6.1.0" targetFramework="net472" />
|
||||||
|
<package id="System.Security.Cryptography.Pkcs" version="8.0.1" targetFramework="net472" />
|
||||||
|
<package id="System.Text.Encodings.Web" version="8.0.0" targetFramework="net472" />
|
||||||
|
<package id="System.Text.Json" version="8.0.5" targetFramework="net472" />
|
||||||
|
<package id="System.Threading.Tasks.Extensions" version="4.5.4" targetFramework="net472" />
|
||||||
|
<package id="System.ValueTuple" version="4.5.0" targetFramework="net472" />
|
||||||
</packages>
|
</packages>
|
||||||
@@ -56,22 +56,22 @@
|
|||||||
<Reference Include="DevExpress.XtraEditors.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
|
<Reference Include="DevExpress.XtraEditors.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
|
||||||
<Reference Include="DigitalData.Modules.Config, Version=1.1.4.1, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="DigitalData.Modules.Config, Version=1.1.4.1, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>..\..\Modules\Config\bin\Debug\DigitalData.Modules.Config.dll</HintPath>
|
<HintPath>..\..\DDModules\Config\bin\Debug\DigitalData.Modules.Config.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DigitalData.Modules.Database, Version=2.2.7.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="DigitalData.Modules.Database, Version=2.2.7.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>..\..\Modules\Config\bin\Debug\DigitalData.Modules.Database.dll</HintPath>
|
<HintPath>..\..\DDModules\Database\bin\Debug\DigitalData.Modules.Database.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DigitalData.Modules.Interfaces, Version=1.7.1.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="DigitalData.Modules.Interfaces, Version=1.7.1.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>..\..\Modules\Interfaces\bin\Debug\DigitalData.Modules.Interfaces.dll</HintPath>
|
<HintPath>..\..\DDModules\Interfaces\bin\Debug\DigitalData.Modules.Interfaces.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DigitalData.Modules.Logging, Version=2.5.4.2, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="DigitalData.Modules.Logging, Version=2.5.4.2, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>..\..\Modules\Config\bin\Debug\DigitalData.Modules.Logging.dll</HintPath>
|
<HintPath>..\..\DDModules\Logging\bin\Debug\DigitalData.Modules.Logging.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DigitalData.Modules.Patterns">
|
<Reference Include="DigitalData.Modules.Patterns">
|
||||||
<HintPath>..\..\Modules\Patterns\bin\Debug\DigitalData.Modules.Patterns.dll</HintPath>
|
<HintPath>..\..\DDModules\Patterns\bin\Debug\DigitalData.Modules.Patterns.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Microsoft.CSharp" />
|
<Reference Include="Microsoft.CSharp" />
|
||||||
<Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
<Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
||||||
|
|||||||
@@ -10,9 +10,9 @@ Imports System.Runtime.InteropServices
|
|||||||
|
|
||||||
<Assembly: AssemblyTitle("TestGUI")>
|
<Assembly: AssemblyTitle("TestGUI")>
|
||||||
<Assembly: AssemblyDescription("")>
|
<Assembly: AssemblyDescription("")>
|
||||||
<Assembly: AssemblyCompany("DD JJMS")>
|
<Assembly: AssemblyCompany("")>
|
||||||
<Assembly: AssemblyProduct("TestGUI")>
|
<Assembly: AssemblyProduct("TestGUI")>
|
||||||
<Assembly: AssemblyCopyright("Copyright © 2018")>
|
<Assembly: AssemblyCopyright("")>
|
||||||
<Assembly: AssemblyTrademark("")>
|
<Assembly: AssemblyTrademark("")>
|
||||||
|
|
||||||
<Assembly: ComVisible(False)>
|
<Assembly: ComVisible(False)>
|
||||||
|
|||||||
@@ -0,0 +1,2 @@
|
|||||||
|
DevExpress.XtraEditors.TextEdit, DevExpress.XtraEditors.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||||
|
DevExpress.XtraSpreadsheet.SpreadsheetControl, DevExpress.XtraSpreadsheet.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||||
|
|||||||
49
GUIs.Test.TestGUI/MyApplication.vb
Normal file
49
GUIs.Test.TestGUI/MyApplication.vb
Normal file
@@ -0,0 +1,49 @@
|
|||||||
|
Imports DigitalData.Modules.Database
|
||||||
|
Imports DigitalData.Modules.EDMI.API
|
||||||
|
Imports DigitalData.Modules.EDMI.API.Modules
|
||||||
|
Imports DigitalData.Modules.Logging
|
||||||
|
Imports DigitalData.Modules.ZooFlow
|
||||||
|
|
||||||
|
Namespace My
|
||||||
|
''' <summary>
|
||||||
|
''' Extends the My Namespace
|
||||||
|
''' Example: My.LogConfig
|
||||||
|
''' </summary>
|
||||||
|
<HideModuleName()>
|
||||||
|
Module Extension
|
||||||
|
Property LogConfig As LogConfig
|
||||||
|
#Region "Database"
|
||||||
|
Property Database As DatabaseWithFallback
|
||||||
|
Property DatabaseECM As MSSQLServer
|
||||||
|
Property DatabaseIDB As MSSQLServer
|
||||||
|
End Module
|
||||||
|
|
||||||
|
#End Region
|
||||||
|
Partial Friend Class MyApplication
|
||||||
|
Public Property Skin As String = ""
|
||||||
|
Public Property Palette As String = ""
|
||||||
|
Public Property GlobixDropAreaStyle As String = "PROGRESSIVE"
|
||||||
|
|
||||||
|
Public Property Settings As New State.SettingsState
|
||||||
|
Public Property User As New State.UserState
|
||||||
|
Public Property Service As New State.ServiceState
|
||||||
|
Public Property Modules As New Dictionary(Of String, State.ModuleState)
|
||||||
|
Public Property ModulesActive As New List(Of String)
|
||||||
|
|
||||||
|
|
||||||
|
Public CommandLineFunction As String
|
||||||
|
Public CommandLineArguments As New Dictionary(Of String, String)
|
||||||
|
|
||||||
|
Public Function GetEnvironment() As Environment
|
||||||
|
Return New Environment With {
|
||||||
|
.Database = My.DatabaseECM,
|
||||||
|
.DatabaseIDB = My.DatabaseIDB,
|
||||||
|
.Modules = My.Application.Modules,
|
||||||
|
.Service = My.Application.Service,
|
||||||
|
.Settings = My.Application.Settings,
|
||||||
|
.User = My.Application.User
|
||||||
|
}
|
||||||
|
End Function
|
||||||
|
|
||||||
|
End Class
|
||||||
|
End Namespace
|
||||||
@@ -78,8 +78,7 @@
|
|||||||
<Reference Include="DevExpress.XtraRichEdit.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
|
<Reference Include="DevExpress.XtraRichEdit.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
|
||||||
<Reference Include="DevExpress.XtraSpreadsheet.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
|
<Reference Include="DevExpress.XtraSpreadsheet.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
|
||||||
<Reference Include="DevExpress.XtraTreeList.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
|
<Reference Include="DevExpress.XtraTreeList.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
|
||||||
<Reference Include="DigitalData.Controls.DocumentViewer, Version=1.9.4.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="DigitalData.Controls.DocumentViewer">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
|
||||||
<HintPath>..\Controls.DocumentViewer\bin\Debug\DigitalData.Controls.DocumentViewer.dll</HintPath>
|
<HintPath>..\Controls.DocumentViewer\bin\Debug\DigitalData.Controls.DocumentViewer.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DigitalData.GUIs.Common">
|
<Reference Include="DigitalData.GUIs.Common">
|
||||||
@@ -94,6 +93,10 @@
|
|||||||
<Reference Include="DigitalData.Modules.Database">
|
<Reference Include="DigitalData.Modules.Database">
|
||||||
<HintPath>..\..\DDModules\Database\bin\Debug\DigitalData.Modules.Database.dll</HintPath>
|
<HintPath>..\..\DDModules\Database\bin\Debug\DigitalData.Modules.Database.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
|
<Reference Include="DigitalData.Modules.EDMI.API, Version=1.6.1.1, Culture=neutral, processorArchitecture=MSIL">
|
||||||
|
<SpecificVersion>False</SpecificVersion>
|
||||||
|
<HintPath>P:\Projekte DIGITAL DATA\DIGITAL DATA - Entwicklung\DLL_Bibliotheken\Digital Data\DD_Modules\DigitalData.Modules.EDMI.API.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
<Reference Include="DigitalData.Modules.Encryption">
|
<Reference Include="DigitalData.Modules.Encryption">
|
||||||
<HintPath>..\..\DDModules\Encryption\bin\Debug\DigitalData.Modules.Encryption.dll</HintPath>
|
<HintPath>..\..\DDModules\Encryption\bin\Debug\DigitalData.Modules.Encryption.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
@@ -118,6 +121,10 @@
|
|||||||
<Reference Include="DigitalData.Modules.Windream">
|
<Reference Include="DigitalData.Modules.Windream">
|
||||||
<HintPath>..\..\DDModules\Windream\bin\Debug\DigitalData.Modules.Windream.dll</HintPath>
|
<HintPath>..\..\DDModules\Windream\bin\Debug\DigitalData.Modules.Windream.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
|
<Reference Include="DigitalData.Modules.ZooFlow, Version=1.3.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
|
<SpecificVersion>False</SpecificVersion>
|
||||||
|
<HintPath>..\..\DDModules\ZooFlow\bin\Debug\DigitalData.Modules.ZooFlow.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
<Reference Include="DocumentFormat.OpenXml, Version=3.2.0.0, Culture=neutral, PublicKeyToken=8fb06cb64d019a17, processorArchitecture=MSIL">
|
<Reference Include="DocumentFormat.OpenXml, Version=3.2.0.0, Culture=neutral, PublicKeyToken=8fb06cb64d019a17, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\DocumentFormat.OpenXml.3.2.0\lib\net46\DocumentFormat.OpenXml.dll</HintPath>
|
<HintPath>..\packages\DocumentFormat.OpenXml.3.2.0\lib\net46\DocumentFormat.OpenXml.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
@@ -407,6 +414,7 @@
|
|||||||
<DependentUpon>Settings.settings</DependentUpon>
|
<DependentUpon>Settings.settings</DependentUpon>
|
||||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||||
</Compile>
|
</Compile>
|
||||||
|
<Compile Include="MyApplication.vb" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<EmbeddedResource Include="frmBulkInsert.resx">
|
<EmbeddedResource Include="frmBulkInsert.resx">
|
||||||
@@ -488,10 +496,6 @@
|
|||||||
<Project>{a8c3f298-76ab-4359-ab3c-986e313b4336}</Project>
|
<Project>{a8c3f298-76ab-4359-ab3c-986e313b4336}</Project>
|
||||||
<Name>EDMIService</Name>
|
<Name>EDMIService</Name>
|
||||||
</ProjectReference>
|
</ProjectReference>
|
||||||
<ProjectReference Include="..\Services.ZUGFeRDService\DDZUGFeRDService.vbproj">
|
|
||||||
<Project>{7deec36e-ea5f-4711-ad1e-fd8894f4ad77}</Project>
|
|
||||||
<Name>DDZUGFeRDService</Name>
|
|
||||||
</ProjectReference>
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="Resources\alignhorizontalbottom.svg" />
|
<None Include="Resources\alignhorizontalbottom.svg" />
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ Public Class frmDocView
|
|||||||
If OpenFileDialog1.ShowDialog() = DialogResult.OK Then
|
If OpenFileDialog1.ShowDialog() = DialogResult.OK Then
|
||||||
txtfilepath.Text = OpenFileDialog1.FileName
|
txtfilepath.Text = OpenFileDialog1.FileName
|
||||||
MyDocumentViewer.LoadFile(txtfilepath.Text)
|
MyDocumentViewer.LoadFile(txtfilepath.Text)
|
||||||
|
txtfilepath.Text = ""
|
||||||
End If
|
End If
|
||||||
Else
|
Else
|
||||||
MyDocumentViewer.LoadFile(txtfilepath.Text)
|
MyDocumentViewer.LoadFile(txtfilepath.Text)
|
||||||
|
|||||||
23
GUIs.Test.TestGUI/frmDocViewPure.Designer.vb
generated
23
GUIs.Test.TestGUI/frmDocViewPure.Designer.vb
generated
@@ -22,18 +22,10 @@ Partial Class frmDocViewPure
|
|||||||
'Das Bearbeiten mit dem Code-Editor ist nicht möglich.
|
'Das Bearbeiten mit dem Code-Editor ist nicht möglich.
|
||||||
<System.Diagnostics.DebuggerStepThrough()> _
|
<System.Diagnostics.DebuggerStepThrough()> _
|
||||||
Private Sub InitializeComponent()
|
Private Sub InitializeComponent()
|
||||||
Me.SpreadsheetControl1 = New DevExpress.XtraSpreadsheet.SpreadsheetControl()
|
|
||||||
Me.Button1 = New System.Windows.Forms.Button()
|
Me.Button1 = New System.Windows.Forms.Button()
|
||||||
|
Me.DocumentViewer1 = New DigitalData.Controls.DocumentViewer.DocumentViewer()
|
||||||
Me.SuspendLayout()
|
Me.SuspendLayout()
|
||||||
'
|
'
|
||||||
'SpreadsheetControl1
|
|
||||||
'
|
|
||||||
Me.SpreadsheetControl1.Location = New System.Drawing.Point(349, 187)
|
|
||||||
Me.SpreadsheetControl1.Name = "SpreadsheetControl1"
|
|
||||||
Me.SpreadsheetControl1.Size = New System.Drawing.Size(400, 200)
|
|
||||||
Me.SpreadsheetControl1.TabIndex = 0
|
|
||||||
Me.SpreadsheetControl1.Text = "SpreadsheetControl1"
|
|
||||||
'
|
|
||||||
'Button1
|
'Button1
|
||||||
'
|
'
|
||||||
Me.Button1.Location = New System.Drawing.Point(546, 25)
|
Me.Button1.Location = New System.Drawing.Point(546, 25)
|
||||||
@@ -43,19 +35,26 @@ Partial Class frmDocViewPure
|
|||||||
Me.Button1.Text = "unload"
|
Me.Button1.Text = "unload"
|
||||||
Me.Button1.UseVisualStyleBackColor = True
|
Me.Button1.UseVisualStyleBackColor = True
|
||||||
'
|
'
|
||||||
|
'DocumentViewer1
|
||||||
|
'
|
||||||
|
Me.DocumentViewer1.FileLoaded = False
|
||||||
|
Me.DocumentViewer1.Location = New System.Drawing.Point(12, 54)
|
||||||
|
Me.DocumentViewer1.Name = "DocumentViewer1"
|
||||||
|
Me.DocumentViewer1.Size = New System.Drawing.Size(661, 386)
|
||||||
|
Me.DocumentViewer1.TabIndex = 2
|
||||||
|
'
|
||||||
'frmDocViewPure
|
'frmDocViewPure
|
||||||
'
|
'
|
||||||
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
|
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
|
||||||
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
|
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
|
||||||
Me.ClientSize = New System.Drawing.Size(800, 450)
|
Me.ClientSize = New System.Drawing.Size(800, 450)
|
||||||
|
Me.Controls.Add(Me.DocumentViewer1)
|
||||||
Me.Controls.Add(Me.Button1)
|
Me.Controls.Add(Me.Button1)
|
||||||
Me.Controls.Add(Me.SpreadsheetControl1)
|
|
||||||
Me.Name = "frmDocViewPure"
|
Me.Name = "frmDocViewPure"
|
||||||
Me.Text = "frmDocViewPure"
|
Me.Text = "frmDocViewPure"
|
||||||
Me.ResumeLayout(False)
|
Me.ResumeLayout(False)
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Friend WithEvents SpreadsheetControl1 As DevExpress.XtraSpreadsheet.SpreadsheetControl
|
|
||||||
Friend WithEvents Button1 As Button
|
Friend WithEvents Button1 As Button
|
||||||
|
Friend WithEvents DocumentViewer1 As DigitalData.Controls.DocumentViewer.DocumentViewer
|
||||||
End Class
|
End Class
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
|
|
||||||
Public Class frmDocViewPure
|
Public Class frmDocViewPure
|
||||||
Private Sub frmDocViewPure_Load(sender As Object, e As EventArgs) Handles MyBase.Load
|
Private Sub frmDocViewPure_Load(sender As Object, e As EventArgs) Handles MyBase.Load
|
||||||
SpreadsheetControl1.LoadDocument("E:\35MB.xlsx")
|
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
@@ -10,7 +9,7 @@ Public Class frmDocViewPure
|
|||||||
'SpreadsheetControl1.Document.Dispose()
|
'SpreadsheetControl1.Document.Dispose()
|
||||||
'SpreadsheetControl1.Dispose()
|
'SpreadsheetControl1.Dispose()
|
||||||
'SpreadsheetControl1 = Nothing
|
'SpreadsheetControl1 = Nothing
|
||||||
SpreadsheetControl1.CreateNewDocument()
|
' SpreadsheetControl1.CreateNewDocument()
|
||||||
GC.Collect()
|
GC.Collect()
|
||||||
End Sub
|
End Sub
|
||||||
End Class
|
End Class
|
||||||
97
GUIs.Test.TestGUI/frmFilesystem.Designer.vb
generated
97
GUIs.Test.TestGUI/frmFilesystem.Designer.vb
generated
@@ -23,28 +23,119 @@ Partial Class frmFilesystem
|
|||||||
<System.Diagnostics.DebuggerStepThrough()> _
|
<System.Diagnostics.DebuggerStepThrough()> _
|
||||||
Private Sub InitializeComponent()
|
Private Sub InitializeComponent()
|
||||||
Me.Button1 = New System.Windows.Forms.Button()
|
Me.Button1 = New System.Windows.Forms.Button()
|
||||||
|
Me.btnStreamSimpleFile = New System.Windows.Forms.Button()
|
||||||
|
Me.GroupBox1 = New System.Windows.Forms.GroupBox()
|
||||||
|
Me.SaveFileDialog1 = New System.Windows.Forms.SaveFileDialog()
|
||||||
|
Me.txtServiceAddress = New DevExpress.XtraEditors.TextEdit()
|
||||||
|
Me.Label1 = New System.Windows.Forms.Label()
|
||||||
|
Me.txtServicePort = New DevExpress.XtraEditors.TextEdit()
|
||||||
|
Me.Button4 = New System.Windows.Forms.Button()
|
||||||
|
Me.txtStatus = New System.Windows.Forms.TextBox()
|
||||||
|
Me.GroupBox1.SuspendLayout()
|
||||||
|
CType(Me.txtServiceAddress.Properties, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||||
|
CType(Me.txtServicePort.Properties, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||||
Me.SuspendLayout()
|
Me.SuspendLayout()
|
||||||
'
|
'
|
||||||
'Button1
|
'Button1
|
||||||
'
|
'
|
||||||
Me.Button1.Location = New System.Drawing.Point(12, 12)
|
Me.Button1.Location = New System.Drawing.Point(42, 234)
|
||||||
Me.Button1.Name = "Button1"
|
Me.Button1.Name = "Button1"
|
||||||
Me.Button1.Size = New System.Drawing.Size(75, 23)
|
Me.Button1.Size = New System.Drawing.Size(288, 23)
|
||||||
Me.Button1.TabIndex = 0
|
Me.Button1.TabIndex = 0
|
||||||
Me.Button1.Text = "Button1"
|
Me.Button1.Text = "CreateDateDirectory"
|
||||||
Me.Button1.UseVisualStyleBackColor = True
|
Me.Button1.UseVisualStyleBackColor = True
|
||||||
'
|
'
|
||||||
|
'btnStreamSimpleFile
|
||||||
|
'
|
||||||
|
Me.btnStreamSimpleFile.Location = New System.Drawing.Point(6, 19)
|
||||||
|
Me.btnStreamSimpleFile.Name = "btnStreamSimpleFile"
|
||||||
|
Me.btnStreamSimpleFile.Size = New System.Drawing.Size(288, 23)
|
||||||
|
Me.btnStreamSimpleFile.TabIndex = 1
|
||||||
|
Me.btnStreamSimpleFile.Text = "Stream simple file"
|
||||||
|
Me.btnStreamSimpleFile.UseVisualStyleBackColor = True
|
||||||
|
'
|
||||||
|
'GroupBox1
|
||||||
|
'
|
||||||
|
Me.GroupBox1.Controls.Add(Me.btnStreamSimpleFile)
|
||||||
|
Me.GroupBox1.Location = New System.Drawing.Point(36, 153)
|
||||||
|
Me.GroupBox1.Name = "GroupBox1"
|
||||||
|
Me.GroupBox1.Size = New System.Drawing.Size(709, 58)
|
||||||
|
Me.GroupBox1.TabIndex = 2
|
||||||
|
Me.GroupBox1.TabStop = False
|
||||||
|
Me.GroupBox1.Text = "Stream simple file"
|
||||||
|
'
|
||||||
|
'txtServiceAddress
|
||||||
|
'
|
||||||
|
Me.txtServiceAddress.EditValue = "172.24.12.12"
|
||||||
|
Me.txtServiceAddress.Location = New System.Drawing.Point(36, 37)
|
||||||
|
Me.txtServiceAddress.Name = "txtServiceAddress"
|
||||||
|
Me.txtServiceAddress.Size = New System.Drawing.Size(485, 20)
|
||||||
|
Me.txtServiceAddress.TabIndex = 5
|
||||||
|
'
|
||||||
|
'Label1
|
||||||
|
'
|
||||||
|
Me.Label1.AutoSize = True
|
||||||
|
Me.Label1.Location = New System.Drawing.Point(33, 21)
|
||||||
|
Me.Label1.Name = "Label1"
|
||||||
|
Me.Label1.Size = New System.Drawing.Size(136, 13)
|
||||||
|
Me.Label1.TabIndex = 6
|
||||||
|
Me.Label1.Text = "EDMI Service Adresse: (IP)"
|
||||||
|
'
|
||||||
|
'txtServicePort
|
||||||
|
'
|
||||||
|
Me.txtServicePort.EditValue = New Decimal(New Integer() {9000, 0, 0, 0})
|
||||||
|
Me.txtServicePort.Location = New System.Drawing.Point(36, 63)
|
||||||
|
Me.txtServicePort.Name = "txtServicePort"
|
||||||
|
Me.txtServicePort.Properties.EditValueChangedFiringMode = DevExpress.XtraEditors.Controls.EditValueChangedFiringMode.Buffered
|
||||||
|
Me.txtServicePort.Properties.MaskSettings.Set("MaskManagerType", GetType(DevExpress.Data.Mask.NumericMaskManager))
|
||||||
|
Me.txtServicePort.Size = New System.Drawing.Size(485, 20)
|
||||||
|
Me.txtServicePort.TabIndex = 7
|
||||||
|
'
|
||||||
|
'Button4
|
||||||
|
'
|
||||||
|
Me.Button4.Location = New System.Drawing.Point(36, 89)
|
||||||
|
Me.Button4.Name = "Button4"
|
||||||
|
Me.Button4.Size = New System.Drawing.Size(85, 23)
|
||||||
|
Me.Button4.TabIndex = 8
|
||||||
|
Me.Button4.Text = "Connect"
|
||||||
|
Me.Button4.UseVisualStyleBackColor = True
|
||||||
|
'
|
||||||
|
'txtStatus
|
||||||
|
'
|
||||||
|
Me.txtStatus.Location = New System.Drawing.Point(527, 37)
|
||||||
|
Me.txtStatus.Name = "txtStatus"
|
||||||
|
Me.txtStatus.Size = New System.Drawing.Size(184, 20)
|
||||||
|
Me.txtStatus.TabIndex = 9
|
||||||
|
'
|
||||||
'frmFilesystem
|
'frmFilesystem
|
||||||
'
|
'
|
||||||
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
|
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
|
||||||
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
|
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
|
||||||
Me.ClientSize = New System.Drawing.Size(800, 450)
|
Me.ClientSize = New System.Drawing.Size(800, 450)
|
||||||
|
Me.Controls.Add(Me.txtStatus)
|
||||||
|
Me.Controls.Add(Me.Button4)
|
||||||
|
Me.Controls.Add(Me.txtServicePort)
|
||||||
|
Me.Controls.Add(Me.Label1)
|
||||||
|
Me.Controls.Add(Me.txtServiceAddress)
|
||||||
|
Me.Controls.Add(Me.GroupBox1)
|
||||||
Me.Controls.Add(Me.Button1)
|
Me.Controls.Add(Me.Button1)
|
||||||
Me.Name = "frmFilesystem"
|
Me.Name = "frmFilesystem"
|
||||||
Me.Text = "frmFilesystem"
|
Me.Text = "frmFilesystem"
|
||||||
|
Me.GroupBox1.ResumeLayout(False)
|
||||||
|
CType(Me.txtServiceAddress.Properties, System.ComponentModel.ISupportInitialize).EndInit()
|
||||||
|
CType(Me.txtServicePort.Properties, System.ComponentModel.ISupportInitialize).EndInit()
|
||||||
Me.ResumeLayout(False)
|
Me.ResumeLayout(False)
|
||||||
|
Me.PerformLayout()
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Friend WithEvents Button1 As Button
|
Friend WithEvents Button1 As Button
|
||||||
|
Friend WithEvents btnStreamSimpleFile As Button
|
||||||
|
Friend WithEvents GroupBox1 As GroupBox
|
||||||
|
Friend WithEvents SaveFileDialog1 As SaveFileDialog
|
||||||
|
Friend WithEvents txtServiceAddress As DevExpress.XtraEditors.TextEdit
|
||||||
|
Friend WithEvents Label1 As Label
|
||||||
|
Friend WithEvents txtServicePort As DevExpress.XtraEditors.TextEdit
|
||||||
|
Friend WithEvents Button4 As Button
|
||||||
|
Friend WithEvents txtStatus As TextBox
|
||||||
End Class
|
End Class
|
||||||
|
|||||||
@@ -117,4 +117,7 @@
|
|||||||
<resheader name="writer">
|
<resheader name="writer">
|
||||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
|
<metadata name="SaveFileDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>17, 17</value>
|
||||||
|
</metadata>
|
||||||
</root>
|
</root>
|
||||||
@@ -1,39 +1,213 @@
|
|||||||
Imports DigitalData.Modules.Logging
|
Imports System.Collections.Generic
|
||||||
|
Imports System.IO
|
||||||
|
Imports System.Numerics ' Verweis auf System.Numerics assembly hinzufügen!
|
||||||
|
Imports System.Security.Cryptography
|
||||||
|
Imports DigitalData.GUIs.Common
|
||||||
|
Imports DigitalData.Modules.Base.IDB.Constants
|
||||||
|
Imports DigitalData.Modules.Database
|
||||||
|
Imports DigitalData.Modules.EDMI.API
|
||||||
|
Imports DigitalData.Modules.Logging
|
||||||
|
Imports DigitalData.Modules.ZooFlow.State
|
||||||
|
Imports DigitalData.Services.EDMIService
|
||||||
|
Imports DigitalData.Services.EDMIService.GlobalState
|
||||||
|
Imports DigitalData.Services.EDMIService.Methods.GlobalIndexer.ImportFile
|
||||||
|
Imports DigitalData.Services.EDMIService.Methods.IDB
|
||||||
|
|
||||||
Public Class frmFilesystem
|
Public Class frmFilesystem
|
||||||
|
Private EDMIClient As Client
|
||||||
|
Private Logger As Logger
|
||||||
|
|
||||||
|
Private Const STATUS_CONNECTED = "Connection Established"
|
||||||
|
Private Const STATUS_CONNECTING = "Trying to create connection..."
|
||||||
|
Private Const STATUS_FAILED = "Connection Failed!"
|
||||||
|
|
||||||
|
Private ConnectionChanged As Boolean = False
|
||||||
|
|
||||||
|
Public Property ServiceAddress As String = ""
|
||||||
|
Public Property ServiceOnline As Boolean = False
|
||||||
Private LogConfig As LogConfig
|
Private LogConfig As LogConfig
|
||||||
Private Filesystem As DigitalData.Modules.Filesystem.File
|
Private MYDD_Filesystem As DigitalData.Modules.Filesystem.File
|
||||||
|
Private _globalState As GlobalState
|
||||||
|
|
||||||
Private ShortName As String = "E:\some_test_file.txt"
|
Private ShortName As String = "E:\some_test_file.txt"
|
||||||
Private LongName As String = "E:\some_test_file_with_some_more_data_and_with_some_more_data_and_with_some_more_data_and_with_some_more_data_and_with_some_more_data_and_with_some_more_data_and_with_some_more_data_and_with_some_more_data_and_with_some_more_data_and_with_some_more.txt"
|
Private LongName As String = "E:\some_test_file_with_some_more_data_and_with_some_more_data_and_with_some_more_data_and_with_some_more_data_and_with_some_more_data_and_with_some_more_data_and_with_some_more_data_and_with_some_more_data_and_with_some_more_data_and_with_some_more_data_and_with_some_more_data_and_with_some_more.txt"
|
||||||
|
|
||||||
Private Sub frmFilesystem_Load(sender As Object, e As EventArgs) Handles MyBase.Load
|
Private Sub frmFilesystem_Load(sender As Object, e As EventArgs) Handles MyBase.Load
|
||||||
Try
|
Try
|
||||||
LogConfig = New LogConfig(LogConfig.PathType.Temp)
|
LogConfig = New LogConfig(LogConfig.PathType.Temp)
|
||||||
Filesystem = New DigitalData.Modules.Filesystem.File(LogConfig)
|
Logger = LogConfig.GetLogger()
|
||||||
|
MYDD_Filesystem = New DigitalData.Modules.Filesystem.File(LogConfig)
|
||||||
|
Catch
|
||||||
'Using oWriter = IO.File.CreateText("E:\some_test_file.txt")
|
|
||||||
' oWriter.WriteLine("bla bla bla")
|
|
||||||
'End Using
|
|
||||||
|
|
||||||
'IO.File.Copy(ShortName, LongName)
|
|
||||||
|
|
||||||
'Dim oVersion1 = Filesystem.GetVersionedFilename(LongName)
|
|
||||||
'IO.File.Copy(ShortName, oVersion1)
|
|
||||||
|
|
||||||
'Dim oVersion2 = Filesystem.GetVersionedFilename(LongName)
|
|
||||||
'IO.File.Copy(ShortName, oVersion2)
|
|
||||||
Catch ex As Exception
|
|
||||||
|
|
||||||
Finally
|
|
||||||
'IO.File.Delete(ShortName)
|
|
||||||
'IO.File.Delete(LongName)
|
|
||||||
End Try
|
End Try
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
|
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
|
||||||
Dim oDateString = Filesystem.CreateDateDirectory("E:\")
|
Dim oDateString = MYDD_Filesystem.CreateDateDirectory("E:\")
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
Private Sub Button3_Click(sender As Object, e As EventArgs)
|
||||||
|
If SaveFileDialog1.ShowDialog = DialogResult.OK Then
|
||||||
|
System.IO.File.WriteAllText(SaveFileDialog1.FileName, "Some text data")
|
||||||
|
End If
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
Public Class SecureStorageHandler
|
||||||
|
End Class
|
||||||
|
|
||||||
|
Private Sub Button4_Click(sender As Object, e As EventArgs) Handles Button4.Click
|
||||||
|
Try
|
||||||
|
Dim oIPAddress = txtServiceAddress.Text
|
||||||
|
Dim oPort = Integer.Parse(txtServicePort.Text)
|
||||||
|
|
||||||
|
EDMIClient = New Client(LogConfig, oIPAddress, oPort)
|
||||||
|
|
||||||
|
txtStatus.Text = STATUS_CONNECTING
|
||||||
|
Dim oResult = EDMIClient.Connect()
|
||||||
|
|
||||||
|
If oResult Then
|
||||||
|
ServiceAddress = $"{oIPAddress}:{oPort}"
|
||||||
|
ServiceOnline = True
|
||||||
|
txtStatus.Text = STATUS_CONNECTED
|
||||||
|
txtStatus.BackColor = Color.LightGreen
|
||||||
|
My.Application.Service.Client = EDMIClient
|
||||||
|
Logger.Debug("Loading client config..")
|
||||||
|
Dim oClientConfig = My.Application.Service.Client.ClientConfig
|
||||||
|
Logger.Debug("Establishing ECM connection..")
|
||||||
|
Dim oECMConnectionString = oClientConfig.ConnectionStringECM
|
||||||
|
My.DatabaseECM = New MSSQLServer(LogConfig, oECMConnectionString)
|
||||||
|
Logger.Debug("Establishing IDB connection..")
|
||||||
|
Dim oIDBConnectionString = oClientConfig.ConnectionStringIDB
|
||||||
|
My.DatabaseIDB = New MSSQLServer(LogConfig, oIDBConnectionString)
|
||||||
|
|
||||||
|
Logger.Debug("Establishing Database connection with fallback..")
|
||||||
|
My.Database = New DatabaseWithFallback(LogConfig, My.Application.Service.Client, My.DatabaseECM, My.DatabaseIDB)
|
||||||
|
|
||||||
|
InitializeGlobalState()
|
||||||
|
Else
|
||||||
|
ServiceAddress = ""
|
||||||
|
ServiceOnline = True
|
||||||
|
txtStatus.Text = STATUS_FAILED
|
||||||
|
txtStatus.BackColor = Color.LightCoral
|
||||||
|
_globalState = Nothing
|
||||||
|
End If
|
||||||
|
Catch ex As Exception
|
||||||
|
_globalState = Nothing
|
||||||
|
If Logger IsNot Nothing Then Logger.Error(ex)
|
||||||
|
MsgBox("Fehler beim Verbindungsaufbau", MsgBoxStyle.Critical, Text)
|
||||||
|
End Try
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
Private Sub btnStreamSimpleFile_ClickAsync(sender As Object, e As EventArgs) Handles btnStreamSimpleFile.Click
|
||||||
|
Try
|
||||||
|
If EDMIClient Is Nothing OrElse ServiceOnline = False Then
|
||||||
|
MsgBox("Bitte zuerst Verbindung zum EDMI Service herstellen.", MsgBoxStyle.Exclamation, Text)
|
||||||
|
Return
|
||||||
|
End If
|
||||||
|
|
||||||
|
If My.DatabaseIDB Is Nothing OrElse My.DatabaseECM Is Nothing Then
|
||||||
|
MsgBox("Bitte zuerst die Datenbankverbindungen herstellen.", MsgBoxStyle.Exclamation, Text)
|
||||||
|
Return
|
||||||
|
End If
|
||||||
|
|
||||||
|
If _globalState Is Nothing Then
|
||||||
|
MsgBox("GlobalState konnte nicht initialisiert werden.", MsgBoxStyle.Exclamation, Text)
|
||||||
|
Return
|
||||||
|
End If
|
||||||
|
|
||||||
|
Using ofd As New OpenFileDialog()
|
||||||
|
ofd.Title = "Datei für Import wählen"
|
||||||
|
ofd.Filter = "Alle Dateien (*.*)|*.*"
|
||||||
|
If ofd.ShowDialog() <> DialogResult.OK Then
|
||||||
|
Return
|
||||||
|
End If
|
||||||
|
|
||||||
|
Dim oFilePath = ofd.FileName
|
||||||
|
Dim fi As New FileInfo(oFilePath)
|
||||||
|
Dim fileBytes As Byte() = IO.File.ReadAllBytes(oFilePath)
|
||||||
|
|
||||||
|
Dim oUser As New UserState With {
|
||||||
|
.UserName = Environment.UserName,
|
||||||
|
.Language = "de-DE",
|
||||||
|
.LanguageId = 1031
|
||||||
|
}
|
||||||
|
|
||||||
|
Dim oObjectStore As String = "WORK"
|
||||||
|
Dim oIDBDoctypeId As Long = 1
|
||||||
|
Dim oObjectKind As String = "DOC"
|
||||||
|
Dim oProfileId As Integer = 1
|
||||||
|
Dim oAttributes As New List(Of UserAttributeValue)
|
||||||
|
|
||||||
|
Logger.Debug("FilePath: [{0}]", oFilePath)
|
||||||
|
Logger.Debug("ObjectStore: [{0}]", oObjectStore)
|
||||||
|
Logger.Debug("ObjectKind: [{0}]", oObjectKind)
|
||||||
|
Logger.Debug("ProfileId: [{0}]", oProfileId)
|
||||||
|
Logger.Debug("IDB DoctypeId: [{0}]", oIDBDoctypeId)
|
||||||
|
|
||||||
|
Dim oChecksum As String
|
||||||
|
Using oSha256 As SHA256 = SHA256.Create()
|
||||||
|
oChecksum = BitConverter.ToString(oSha256.ComputeHash(fileBytes)).Replace("-", String.Empty)
|
||||||
|
End Using
|
||||||
|
|
||||||
|
Dim oFileProperties As New FileProperties With {
|
||||||
|
.FileName = fi.FullName,
|
||||||
|
.FileCreatedAt = fi.CreationTimeUtc.ToString("O"),
|
||||||
|
.FileChangedAt = fi.LastWriteTimeUtc.ToString("O"),
|
||||||
|
.FileImportedAt = DateTime.UtcNow,
|
||||||
|
.FileContents = fileBytes,
|
||||||
|
.FileChecksum = oChecksum,
|
||||||
|
.FileInfoRaw = fi
|
||||||
|
}
|
||||||
|
|
||||||
|
Dim oRequest As New Globix_ImportFileRequest With {
|
||||||
|
.File = oFileProperties,
|
||||||
|
.ProfileId = oProfileId,
|
||||||
|
.IDBDoctypeId = oIDBDoctypeId,
|
||||||
|
.KindType = oObjectKind,
|
||||||
|
.StoreName = oObjectStore,
|
||||||
|
.AttributeValues = oAttributes,
|
||||||
|
.User = oUser
|
||||||
|
}
|
||||||
|
|
||||||
|
Dim oImportMethod = New ImportFileMethod(LogConfig, My.DatabaseIDB, My.DatabaseECM, _globalState)
|
||||||
|
Dim oResponse = oImportMethod.Run(oRequest)
|
||||||
|
|
||||||
|
If oResponse IsNot Nothing AndAlso oResponse.ObjectId > 0 Then
|
||||||
|
Logger.Info("Import erfolgreich abgeschlossen. ObjectId [{0}]", oResponse.ObjectId)
|
||||||
|
MsgBox($"Import erfolgreich. ObjectId: {oResponse.ObjectId}", MsgBoxStyle.Information, Text)
|
||||||
|
Else
|
||||||
|
Logger.Warn("ImportFile lieferte kein erfolgreiches Ergebnis.")
|
||||||
|
MsgBox("Import konnte nicht durchgeführt werden.", MsgBoxStyle.Exclamation, Text)
|
||||||
|
End If
|
||||||
|
End Using
|
||||||
|
Catch ex As Exception
|
||||||
|
If Logger IsNot Nothing Then Logger.Error(ex)
|
||||||
|
MsgBox("Fehler beim Datei-Import.", MsgBoxStyle.Critical, Text)
|
||||||
|
End Try
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
Private Sub InitializeGlobalState()
|
||||||
|
Try
|
||||||
|
_globalState = New GlobalState(LogConfig, My.DatabaseIDB, My.DatabaseECM)
|
||||||
|
_globalState.LoadObjectStores()
|
||||||
|
_globalState.LoadConnections()
|
||||||
|
_globalState.LoadDoctypes()
|
||||||
|
|
||||||
|
Dim oConfig As New Config With {
|
||||||
|
.ClientConfig = New Config.ClientConfiguration With {
|
||||||
|
.ForceDirectDatabaseAccess = True
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
_globalState.LoadClientConfig(oConfig)
|
||||||
|
|
||||||
|
Logger.Info("GlobalState init: ObjectStores [{0}], Connections [{1}], Doctypes [{2}]",
|
||||||
|
_globalState.ObjectStores.Count,
|
||||||
|
_globalState.Connections.Count,
|
||||||
|
_globalState.Doctypes.Count)
|
||||||
|
Catch ex As Exception
|
||||||
|
_globalState = Nothing
|
||||||
|
Logger.Error(ex)
|
||||||
|
MsgBox("GlobalState konnte nicht initialisiert werden.", MsgBoxStyle.Exclamation, Text)
|
||||||
|
End Try
|
||||||
End Sub
|
End Sub
|
||||||
End Class
|
End Class
|
||||||
@@ -11,10 +11,10 @@ Public Class frmObjectProperties
|
|||||||
|
|
||||||
' Fügen Sie Initialisierungen nach dem InitializeComponent()-Aufruf hinzu.
|
' Fügen Sie Initialisierungen nach dem InitializeComponent()-Aufruf hinzu.
|
||||||
LogConfig = pLogConfig
|
LogConfig = pLogConfig
|
||||||
Logger = pLogConfig.GetLogger()
|
_Logger = pLogConfig.GetLogger()
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Public ReadOnly Property LogConfig As LogConfig Implements IBaseForm.LogConfig
|
Public ReadOnly Property LogConfig As LogConfig Implements IBaseForm.LogConfig
|
||||||
|
|
||||||
Public ReadOnly Property Logger As Logger Implements IBaseForm.Logger
|
Public ReadOnly Property _Logger As Logger Implements IBaseForm._Logger
|
||||||
End Class
|
End Class
|
||||||
@@ -2,16 +2,26 @@
|
|||||||
<configuration>
|
<configuration>
|
||||||
<configSections>
|
<configSections>
|
||||||
<sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
<sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<section name="ZUGFeRDTest.MySettings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
|
||||||
<section name="ZUGFeRDTest.My.MySettings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
|
<section name="ZUGFeRDTest.My.MySettings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
|
||||||
</sectionGroup>
|
</sectionGroup>
|
||||||
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<section name="ZUGFeRDTest.MySettings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
|
||||||
<section name="ZUGFeRDTest.My.MySettings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
|
<section name="ZUGFeRDTest.My.MySettings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
|
||||||
</sectionGroup>
|
</sectionGroup>
|
||||||
</configSections>
|
</configSections>
|
||||||
<startup>
|
<startup>
|
||||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2" />
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" />
|
||||||
</startup>
|
</startup>
|
||||||
<applicationSettings>
|
<applicationSettings>
|
||||||
|
<ZUGFeRDTest.MySettings>
|
||||||
|
<setting name="FB_DATABASE" serializeAs="String">
|
||||||
|
<value>172.24.12.50:E:\DataFiles\Firebird\WISAG\EDMI_MASTER.FDB</value>
|
||||||
|
</setting>
|
||||||
|
<setting name="FB_DATASOURCE" serializeAs="String">
|
||||||
|
<value>172.24.12.50</value>
|
||||||
|
</setting>
|
||||||
|
</ZUGFeRDTest.MySettings>
|
||||||
<ZUGFeRDTest.My.MySettings>
|
<ZUGFeRDTest.My.MySettings>
|
||||||
<setting name="FB_DATABASE" serializeAs="String">
|
<setting name="FB_DATABASE" serializeAs="String">
|
||||||
<value>172.24.12.50:E:\DataFiles\Firebird\WISAG\EDMI_MASTER.FDB</value>
|
<value>172.24.12.50:E:\DataFiles\Firebird\WISAG\EDMI_MASTER.FDB</value>
|
||||||
@@ -22,6 +32,20 @@
|
|||||||
</ZUGFeRDTest.My.MySettings>
|
</ZUGFeRDTest.My.MySettings>
|
||||||
</applicationSettings>
|
</applicationSettings>
|
||||||
<userSettings>
|
<userSettings>
|
||||||
|
<ZUGFeRDTest.MySettings>
|
||||||
|
<setting name="FB_USER" serializeAs="String">
|
||||||
|
<value>sysdba</value>
|
||||||
|
</setting>
|
||||||
|
<setting name="FB_PASS" serializeAs="String">
|
||||||
|
<value>dd</value>
|
||||||
|
</setting>
|
||||||
|
<setting name="MD5Cheksum" serializeAs="String">
|
||||||
|
<value />
|
||||||
|
</setting>
|
||||||
|
<setting name="MSSQL_CONNECTIONSTRING" serializeAs="String">
|
||||||
|
<value>Server=SDD-VMP04-SQL17\DD_DEVELOP01;Database=DD_ECM;User Id=sa;Password=dd;TrustServerCertificate=true;</value>
|
||||||
|
</setting>
|
||||||
|
</ZUGFeRDTest.MySettings>
|
||||||
<ZUGFeRDTest.My.MySettings>
|
<ZUGFeRDTest.My.MySettings>
|
||||||
<setting name="FB_USER" serializeAs="String">
|
<setting name="FB_USER" serializeAs="String">
|
||||||
<value>sysdba</value>
|
<value>sysdba</value>
|
||||||
@@ -83,10 +107,6 @@
|
|||||||
<assemblyIdentity name="IKVM.OpenJDK.Jdbc" publicKeyToken="13235d27fcbfff58" culture="neutral" />
|
<assemblyIdentity name="IKVM.OpenJDK.Jdbc" publicKeyToken="13235d27fcbfff58" culture="neutral" />
|
||||||
<bindingRedirect oldVersion="0.0.0.0-8.1.5717.0" newVersion="8.1.5717.0" />
|
<bindingRedirect oldVersion="0.0.0.0-8.1.5717.0" newVersion="8.1.5717.0" />
|
||||||
</dependentAssembly>
|
</dependentAssembly>
|
||||||
<dependentAssembly>
|
|
||||||
<assemblyIdentity name="System.IO.Compression" publicKeyToken="b77a5c561934e089" culture="neutral" />
|
|
||||||
<bindingRedirect oldVersion="0.0.0.0-4.1.2.0" newVersion="4.1.2.0" />
|
|
||||||
</dependentAssembly>
|
|
||||||
<dependentAssembly>
|
<dependentAssembly>
|
||||||
<assemblyIdentity name="System.Diagnostics.DiagnosticSource" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
<assemblyIdentity name="System.Diagnostics.DiagnosticSource" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||||
<bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0" />
|
<bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0" />
|
||||||
@@ -141,7 +161,27 @@
|
|||||||
</dependentAssembly>
|
</dependentAssembly>
|
||||||
<dependentAssembly>
|
<dependentAssembly>
|
||||||
<assemblyIdentity name="System.Text.Json" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
<assemblyIdentity name="System.Text.Json" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||||
<bindingRedirect oldVersion="0.0.0.0-8.0.0.5" newVersion="8.0.0.5" />
|
<bindingRedirect oldVersion="0.0.0.0-8.0.0.6" newVersion="8.0.0.6" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="GdPicture.NET.14" publicKeyToken="f52a2e60ad468dbb" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-14.3.19.0" newVersion="14.3.19.0" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="GdPicture.NET.14.Common" publicKeyToken="f52a2e60ad468dbb" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-14.3.19.0" newVersion="14.3.19.0" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="GdPicture.NET.14" publicKeyToken="f52a2e60ad468dbb" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-14.3.3.0" newVersion="14.3.3.0" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="GdPicture.NET.14.Common" publicKeyToken="f52a2e60ad468dbb" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-14.3.3.0" newVersion="14.3.3.0" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="GdPicture.NET.14.Imaging" publicKeyToken="f52a2e60ad468dbb" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-14.3.3.0" newVersion="14.3.3.0" />
|
||||||
</dependentAssembly>
|
</dependentAssembly>
|
||||||
</assemblyBinding>
|
</assemblyBinding>
|
||||||
</runtime>
|
</runtime>
|
||||||
|
|||||||
445
GUIs.Test.ZUGFeRDTest/Form1.Designer.vb
generated
445
GUIs.Test.ZUGFeRDTest/Form1.Designer.vb
generated
@@ -1,4 +1,6 @@
|
|||||||
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()>
|
Imports System.Windows.Forms
|
||||||
|
|
||||||
|
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()>
|
||||||
Partial Class Form1
|
Partial Class Form1
|
||||||
Inherits System.Windows.Forms.Form
|
Inherits System.Windows.Forms.Form
|
||||||
|
|
||||||
@@ -22,216 +24,237 @@ Partial Class Form1
|
|||||||
'Das Bearbeiten mit dem Code-Editor ist nicht möglich.
|
'Das Bearbeiten mit dem Code-Editor ist nicht möglich.
|
||||||
<System.Diagnostics.DebuggerStepThrough()>
|
<System.Diagnostics.DebuggerStepThrough()>
|
||||||
Private Sub InitializeComponent()
|
Private Sub InitializeComponent()
|
||||||
Me.OpenFileDialog1 = New System.Windows.Forms.OpenFileDialog()
|
OpenFileDialog1 = New OpenFileDialog()
|
||||||
Me.btRunJob = New System.Windows.Forms.Button()
|
btRunJob = New Button()
|
||||||
Me.ListBox1 = New System.Windows.Forms.ListBox()
|
ListBox1 = New ListBox()
|
||||||
Me.btValidateSerializePDF = New System.Windows.Forms.Button()
|
btValidateSerializePDF = New Button()
|
||||||
Me.btValidateSerializeParseProps = New System.Windows.Forms.Button()
|
btValidateSerializeParseProps = New Button()
|
||||||
Me.btCreateMD5Checksum = New System.Windows.Forms.Button()
|
btCreateMD5Checksum = New Button()
|
||||||
Me.GroupBox1 = New System.Windows.Forms.GroupBox()
|
GroupBox1 = New GroupBox()
|
||||||
Me.ButtonValidateXMLOnly = New System.Windows.Forms.Button()
|
ButtonValidateXMLOnly = New Button()
|
||||||
Me.GroupBox2 = New System.Windows.Forms.GroupBox()
|
GroupBox2 = New GroupBox()
|
||||||
Me.btExtractPDFAttachments = New System.Windows.Forms.Button()
|
btExtractPDFAttachments = New Button()
|
||||||
Me.GroupBox3 = New System.Windows.Forms.GroupBox()
|
GroupBox3 = New GroupBox()
|
||||||
Me.txtMD5Checksum = New System.Windows.Forms.TextBox()
|
txtMD5Checksum = New TextBox()
|
||||||
Me.txtPropName = New System.Windows.Forms.TextBox()
|
txtPropName = New TextBox()
|
||||||
Me.GroupBox4 = New System.Windows.Forms.GroupBox()
|
GroupBox4 = New GroupBox()
|
||||||
Me.btFindExtractXMLValue = New System.Windows.Forms.Button()
|
btFindExtractXMLValue = New Button()
|
||||||
Me.FolderBrowserDialog1 = New System.Windows.Forms.FolderBrowserDialog()
|
FolderBrowserDialog1 = New FolderBrowserDialog()
|
||||||
Me.GroupBox5 = New System.Windows.Forms.GroupBox()
|
GroupBox5 = New GroupBox()
|
||||||
Me.btWriteBinary = New System.Windows.Forms.Button()
|
btWriteBinary = New Button()
|
||||||
Me.OpenFileDialog2 = New System.Windows.Forms.OpenFileDialog()
|
OpenFileDialog2 = New OpenFileDialog()
|
||||||
Me.GroupBox1.SuspendLayout()
|
|
||||||
Me.GroupBox2.SuspendLayout()
|
GroupBox1.SuspendLayout()
|
||||||
Me.GroupBox3.SuspendLayout()
|
GroupBox2.SuspendLayout()
|
||||||
Me.GroupBox4.SuspendLayout()
|
GroupBox3.SuspendLayout()
|
||||||
Me.GroupBox5.SuspendLayout()
|
GroupBox4.SuspendLayout()
|
||||||
Me.SuspendLayout()
|
GroupBox5.SuspendLayout()
|
||||||
'
|
SuspendLayout()
|
||||||
'OpenFileDialog1
|
'
|
||||||
'
|
' OpenFileDialog1
|
||||||
Me.OpenFileDialog1.FileName = "OpenFileDialog1"
|
'
|
||||||
'
|
OpenFileDialog1.FileName = "OpenFileDialog1"
|
||||||
'btRunJob
|
'
|
||||||
'
|
' btRunJob
|
||||||
Me.btRunJob.Location = New System.Drawing.Point(6, 19)
|
'
|
||||||
Me.btRunJob.Name = "btRunJob"
|
btRunJob.Location = New System.Drawing.Point(8, 29)
|
||||||
Me.btRunJob.Size = New System.Drawing.Size(221, 23)
|
btRunJob.Margin = New Padding(4, 5, 4, 5)
|
||||||
Me.btRunJob.TabIndex = 0
|
btRunJob.Name = "btRunJob"
|
||||||
Me.btRunJob.Text = "Run Job"
|
btRunJob.Size = New System.Drawing.Size(295, 35)
|
||||||
Me.btRunJob.UseVisualStyleBackColor = True
|
btRunJob.TabIndex = 0
|
||||||
'
|
btRunJob.Text = "Run Job"
|
||||||
'ListBox1
|
btRunJob.UseVisualStyleBackColor = True
|
||||||
'
|
'
|
||||||
Me.ListBox1.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
|
' ListBox1
|
||||||
Or System.Windows.Forms.AnchorStyles.Left) _
|
'
|
||||||
Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
|
ListBox1.Anchor = AnchorStyles.Top Or AnchorStyles.Bottom Or AnchorStyles.Left Or AnchorStyles.Right
|
||||||
Me.ListBox1.FormattingEnabled = True
|
ListBox1.FormattingEnabled = True
|
||||||
Me.ListBox1.Location = New System.Drawing.Point(378, 8)
|
ListBox1.Location = New System.Drawing.Point(504, 12)
|
||||||
Me.ListBox1.Name = "ListBox1"
|
ListBox1.Margin = New Padding(4, 5, 4, 5)
|
||||||
Me.ListBox1.Size = New System.Drawing.Size(532, 602)
|
ListBox1.Name = "ListBox1"
|
||||||
Me.ListBox1.TabIndex = 1
|
ListBox1.Size = New System.Drawing.Size(362, 664)
|
||||||
'
|
ListBox1.TabIndex = 1
|
||||||
'btValidateSerializePDF
|
'
|
||||||
'
|
' btValidateSerializePDF
|
||||||
Me.btValidateSerializePDF.Location = New System.Drawing.Point(6, 19)
|
'
|
||||||
Me.btValidateSerializePDF.Name = "btValidateSerializePDF"
|
btValidateSerializePDF.Location = New System.Drawing.Point(8, 29)
|
||||||
Me.btValidateSerializePDF.Size = New System.Drawing.Size(246, 23)
|
btValidateSerializePDF.Margin = New Padding(4, 5, 4, 5)
|
||||||
Me.btValidateSerializePDF.TabIndex = 2
|
btValidateSerializePDF.Name = "btValidateSerializePDF"
|
||||||
Me.btValidateSerializePDF.Text = "Validate and Serialize PDF"
|
btValidateSerializePDF.Size = New System.Drawing.Size(328, 35)
|
||||||
Me.btValidateSerializePDF.UseVisualStyleBackColor = True
|
btValidateSerializePDF.TabIndex = 2
|
||||||
'
|
btValidateSerializePDF.Text = "Validate and Serialize PDF"
|
||||||
'btValidateSerializeParseProps
|
btValidateSerializePDF.UseVisualStyleBackColor = True
|
||||||
'
|
'
|
||||||
Me.btValidateSerializeParseProps.Location = New System.Drawing.Point(6, 48)
|
' btValidateSerializeParseProps
|
||||||
Me.btValidateSerializeParseProps.Name = "btValidateSerializeParseProps"
|
'
|
||||||
Me.btValidateSerializeParseProps.Size = New System.Drawing.Size(246, 23)
|
btValidateSerializeParseProps.Location = New System.Drawing.Point(8, 74)
|
||||||
Me.btValidateSerializeParseProps.TabIndex = 3
|
btValidateSerializeParseProps.Margin = New Padding(4, 5, 4, 5)
|
||||||
Me.btValidateSerializeParseProps.Text = "Validate and Serialize PDF and Parse Props"
|
btValidateSerializeParseProps.Name = "btValidateSerializeParseProps"
|
||||||
Me.btValidateSerializeParseProps.UseVisualStyleBackColor = True
|
btValidateSerializeParseProps.Size = New System.Drawing.Size(328, 35)
|
||||||
'
|
btValidateSerializeParseProps.TabIndex = 3
|
||||||
'btCreateMD5Checksum
|
btValidateSerializeParseProps.Text = "Validate and Serialize PDF and Parse Props"
|
||||||
'
|
btValidateSerializeParseProps.UseVisualStyleBackColor = True
|
||||||
Me.btCreateMD5Checksum.Location = New System.Drawing.Point(6, 19)
|
'
|
||||||
Me.btCreateMD5Checksum.Name = "btCreateMD5Checksum"
|
' btCreateMD5Checksum
|
||||||
Me.btCreateMD5Checksum.Size = New System.Drawing.Size(221, 23)
|
'
|
||||||
Me.btCreateMD5Checksum.TabIndex = 4
|
btCreateMD5Checksum.Location = New System.Drawing.Point(8, 29)
|
||||||
Me.btCreateMD5Checksum.Text = "Create MD5 Checksum for PDF"
|
btCreateMD5Checksum.Margin = New Padding(4, 5, 4, 5)
|
||||||
Me.btCreateMD5Checksum.UseVisualStyleBackColor = True
|
btCreateMD5Checksum.Name = "btCreateMD5Checksum"
|
||||||
'
|
btCreateMD5Checksum.Size = New System.Drawing.Size(295, 35)
|
||||||
'GroupBox1
|
btCreateMD5Checksum.TabIndex = 4
|
||||||
'
|
btCreateMD5Checksum.Text = "Create MD5 Checksum for PDF"
|
||||||
Me.GroupBox1.Controls.Add(Me.ButtonValidateXMLOnly)
|
btCreateMD5Checksum.UseVisualStyleBackColor = True
|
||||||
Me.GroupBox1.Controls.Add(Me.btRunJob)
|
'
|
||||||
Me.GroupBox1.Location = New System.Drawing.Point(12, 12)
|
' GroupBox1
|
||||||
Me.GroupBox1.Name = "GroupBox1"
|
'
|
||||||
Me.GroupBox1.Size = New System.Drawing.Size(360, 92)
|
GroupBox1.Controls.Add(ButtonValidateXMLOnly)
|
||||||
Me.GroupBox1.TabIndex = 7
|
GroupBox1.Controls.Add(btRunJob)
|
||||||
Me.GroupBox1.TabStop = False
|
GroupBox1.Location = New System.Drawing.Point(16, 18)
|
||||||
Me.GroupBox1.Text = "Run Job like in eInvoice Service"
|
GroupBox1.Margin = New Padding(4, 5, 4, 5)
|
||||||
'
|
GroupBox1.Name = "GroupBox1"
|
||||||
'ButtonValidateXMLOnly
|
GroupBox1.Padding = New Padding(4, 5, 4, 5)
|
||||||
'
|
GroupBox1.Size = New System.Drawing.Size(319, 116)
|
||||||
Me.ButtonValidateXMLOnly.Location = New System.Drawing.Point(6, 48)
|
GroupBox1.TabIndex = 7
|
||||||
Me.ButtonValidateXMLOnly.Name = "ButtonValidateXMLOnly"
|
GroupBox1.TabStop = False
|
||||||
Me.ButtonValidateXMLOnly.Size = New System.Drawing.Size(221, 23)
|
GroupBox1.Text = "Run Job like in eInvoice Service"
|
||||||
Me.ButtonValidateXMLOnly.TabIndex = 4
|
'
|
||||||
Me.ButtonValidateXMLOnly.Text = "Run XML Job (spez. Configuration)"
|
' ButtonValidateXMLOnly
|
||||||
Me.ButtonValidateXMLOnly.UseVisualStyleBackColor = True
|
'
|
||||||
'
|
ButtonValidateXMLOnly.Location = New System.Drawing.Point(8, 74)
|
||||||
'GroupBox2
|
ButtonValidateXMLOnly.Margin = New Padding(4, 5, 4, 5)
|
||||||
'
|
ButtonValidateXMLOnly.Name = "ButtonValidateXMLOnly"
|
||||||
Me.GroupBox2.Controls.Add(Me.btValidateSerializePDF)
|
ButtonValidateXMLOnly.Size = New System.Drawing.Size(295, 35)
|
||||||
Me.GroupBox2.Controls.Add(Me.btExtractPDFAttachments)
|
ButtonValidateXMLOnly.TabIndex = 4
|
||||||
Me.GroupBox2.Controls.Add(Me.btValidateSerializeParseProps)
|
ButtonValidateXMLOnly.Text = "Run XML Job (spez. Configuration)"
|
||||||
Me.GroupBox2.Location = New System.Drawing.Point(12, 110)
|
ButtonValidateXMLOnly.UseVisualStyleBackColor = True
|
||||||
Me.GroupBox2.Name = "GroupBox2"
|
'
|
||||||
Me.GroupBox2.Size = New System.Drawing.Size(360, 155)
|
' GroupBox2
|
||||||
Me.GroupBox2.TabIndex = 8
|
'
|
||||||
Me.GroupBox2.TabStop = False
|
GroupBox2.Controls.Add(btValidateSerializePDF)
|
||||||
Me.GroupBox2.Text = "Run Functions on a single file (needs Breakpoint)"
|
GroupBox2.Controls.Add(btExtractPDFAttachments)
|
||||||
'
|
GroupBox2.Controls.Add(btValidateSerializeParseProps)
|
||||||
'btExtractPDFAttachments
|
GroupBox2.Location = New System.Drawing.Point(16, 144)
|
||||||
'
|
GroupBox2.Margin = New Padding(4, 5, 4, 5)
|
||||||
Me.btExtractPDFAttachments.Location = New System.Drawing.Point(6, 77)
|
GroupBox2.Name = "GroupBox2"
|
||||||
Me.btExtractPDFAttachments.Name = "btExtractPDFAttachments"
|
GroupBox2.Padding = New Padding(4, 5, 4, 5)
|
||||||
Me.btExtractPDFAttachments.Size = New System.Drawing.Size(246, 23)
|
GroupBox2.Size = New System.Drawing.Size(480, 167)
|
||||||
Me.btExtractPDFAttachments.TabIndex = 3
|
GroupBox2.TabIndex = 8
|
||||||
Me.btExtractPDFAttachments.Text = "Extract PDF Attachments"
|
GroupBox2.TabStop = False
|
||||||
Me.btExtractPDFAttachments.UseVisualStyleBackColor = True
|
GroupBox2.Text = "Run Functions on a single file (needs Breakpoint)"
|
||||||
'
|
'
|
||||||
'GroupBox3
|
' btExtractPDFAttachments
|
||||||
'
|
'
|
||||||
Me.GroupBox3.Controls.Add(Me.btCreateMD5Checksum)
|
btExtractPDFAttachments.Location = New System.Drawing.Point(8, 118)
|
||||||
Me.GroupBox3.Controls.Add(Me.txtMD5Checksum)
|
btExtractPDFAttachments.Margin = New Padding(4, 5, 4, 5)
|
||||||
Me.GroupBox3.Location = New System.Drawing.Point(12, 271)
|
btExtractPDFAttachments.Name = "btExtractPDFAttachments"
|
||||||
Me.GroupBox3.Name = "GroupBox3"
|
btExtractPDFAttachments.Size = New System.Drawing.Size(328, 35)
|
||||||
Me.GroupBox3.Size = New System.Drawing.Size(360, 85)
|
btExtractPDFAttachments.TabIndex = 3
|
||||||
Me.GroupBox3.TabIndex = 9
|
btExtractPDFAttachments.Text = "Extract PDF Attachments"
|
||||||
Me.GroupBox3.TabStop = False
|
btExtractPDFAttachments.UseVisualStyleBackColor = True
|
||||||
Me.GroupBox3.Text = "Open PDF and calculate Checksum"
|
'
|
||||||
'
|
' GroupBox3
|
||||||
'txtMD5Checksum
|
'
|
||||||
'
|
GroupBox3.Controls.Add(btCreateMD5Checksum)
|
||||||
Me.txtMD5Checksum.DataBindings.Add(New System.Windows.Forms.Binding("Text", Global.ZUGFeRDTest.My.MySettings.Default, "MD5Cheksum", True, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged))
|
GroupBox3.Controls.Add(txtMD5Checksum)
|
||||||
Me.txtMD5Checksum.Location = New System.Drawing.Point(6, 49)
|
GroupBox3.Location = New System.Drawing.Point(16, 321)
|
||||||
Me.txtMD5Checksum.Name = "txtMD5Checksum"
|
GroupBox3.Margin = New Padding(4, 5, 4, 5)
|
||||||
Me.txtMD5Checksum.Size = New System.Drawing.Size(348, 20)
|
GroupBox3.Name = "GroupBox3"
|
||||||
Me.txtMD5Checksum.TabIndex = 5
|
GroupBox3.Padding = New Padding(4, 5, 4, 5)
|
||||||
Me.txtMD5Checksum.Text = Global.ZUGFeRDTest.My.MySettings.Default.MD5Cheksum
|
GroupBox3.Size = New System.Drawing.Size(480, 131)
|
||||||
'
|
GroupBox3.TabIndex = 9
|
||||||
'txtPropName
|
GroupBox3.TabStop = False
|
||||||
'
|
GroupBox3.Text = "Open PDF and calculate Checksum"
|
||||||
Me.txtPropName.Location = New System.Drawing.Point(6, 48)
|
'
|
||||||
Me.txtPropName.Name = "txtPropName"
|
' txtMD5Checksum
|
||||||
Me.txtPropName.Size = New System.Drawing.Size(348, 20)
|
'
|
||||||
Me.txtPropName.TabIndex = 10
|
txtMD5Checksum.Location = New System.Drawing.Point(8, 75)
|
||||||
'
|
txtMD5Checksum.Margin = New Padding(4, 5, 4, 5)
|
||||||
'GroupBox4
|
txtMD5Checksum.Name = "txtMD5Checksum"
|
||||||
'
|
txtMD5Checksum.Size = New System.Drawing.Size(463, 27)
|
||||||
Me.GroupBox4.Controls.Add(Me.btFindExtractXMLValue)
|
txtMD5Checksum.TabIndex = 5
|
||||||
Me.GroupBox4.Controls.Add(Me.txtPropName)
|
'
|
||||||
Me.GroupBox4.Location = New System.Drawing.Point(12, 362)
|
' txtPropName
|
||||||
Me.GroupBox4.Name = "GroupBox4"
|
'
|
||||||
Me.GroupBox4.Size = New System.Drawing.Size(360, 122)
|
txtPropName.Location = New System.Drawing.Point(8, 74)
|
||||||
Me.GroupBox4.TabIndex = 11
|
txtPropName.Margin = New Padding(4, 5, 4, 5)
|
||||||
Me.GroupBox4.TabStop = False
|
txtPropName.Name = "txtPropName"
|
||||||
Me.GroupBox4.Text = "GroupBox4"
|
txtPropName.Size = New System.Drawing.Size(463, 27)
|
||||||
'
|
txtPropName.TabIndex = 10
|
||||||
'btFindExtractXMLValue
|
'
|
||||||
'
|
' GroupBox4
|
||||||
Me.btFindExtractXMLValue.Location = New System.Drawing.Point(6, 19)
|
'
|
||||||
Me.btFindExtractXMLValue.Name = "btFindExtractXMLValue"
|
GroupBox4.Controls.Add(btFindExtractXMLValue)
|
||||||
Me.btFindExtractXMLValue.Size = New System.Drawing.Size(221, 23)
|
GroupBox4.Controls.Add(txtPropName)
|
||||||
Me.btFindExtractXMLValue.TabIndex = 11
|
GroupBox4.Location = New System.Drawing.Point(16, 462)
|
||||||
Me.btFindExtractXMLValue.Text = "Find and Extract XML Path Value"
|
GroupBox4.Margin = New Padding(4, 5, 4, 5)
|
||||||
Me.btFindExtractXMLValue.UseVisualStyleBackColor = True
|
GroupBox4.Name = "GroupBox4"
|
||||||
'
|
GroupBox4.Padding = New Padding(4, 5, 4, 5)
|
||||||
'GroupBox5
|
GroupBox4.Size = New System.Drawing.Size(480, 117)
|
||||||
'
|
GroupBox4.TabIndex = 11
|
||||||
Me.GroupBox5.Controls.Add(Me.btWriteBinary)
|
GroupBox4.TabStop = False
|
||||||
Me.GroupBox5.Location = New System.Drawing.Point(12, 490)
|
GroupBox4.Text = "GroupBox4"
|
||||||
Me.GroupBox5.Name = "GroupBox5"
|
'
|
||||||
Me.GroupBox5.Size = New System.Drawing.Size(360, 122)
|
' btFindExtractXMLValue
|
||||||
Me.GroupBox5.TabIndex = 12
|
'
|
||||||
Me.GroupBox5.TabStop = False
|
btFindExtractXMLValue.Location = New System.Drawing.Point(8, 29)
|
||||||
Me.GroupBox5.Text = "GroupBox5"
|
btFindExtractXMLValue.Margin = New Padding(4, 5, 4, 5)
|
||||||
'
|
btFindExtractXMLValue.Name = "btFindExtractXMLValue"
|
||||||
'btWriteBinary
|
btFindExtractXMLValue.Size = New System.Drawing.Size(295, 35)
|
||||||
'
|
btFindExtractXMLValue.TabIndex = 11
|
||||||
Me.btWriteBinary.Location = New System.Drawing.Point(6, 19)
|
btFindExtractXMLValue.Text = "Find and Extract XML Path Value"
|
||||||
Me.btWriteBinary.Name = "btWriteBinary"
|
btFindExtractXMLValue.UseVisualStyleBackColor = True
|
||||||
Me.btWriteBinary.Size = New System.Drawing.Size(221, 23)
|
'
|
||||||
Me.btWriteBinary.TabIndex = 11
|
' GroupBox5
|
||||||
Me.btWriteBinary.Text = "Write Binary to PDF"
|
'
|
||||||
Me.btWriteBinary.UseVisualStyleBackColor = True
|
GroupBox5.Controls.Add(btWriteBinary)
|
||||||
'
|
GroupBox5.Location = New System.Drawing.Point(13, 589)
|
||||||
'OpenFileDialog2
|
GroupBox5.Margin = New Padding(4, 5, 4, 5)
|
||||||
'
|
GroupBox5.Name = "GroupBox5"
|
||||||
Me.OpenFileDialog2.FileName = "OpenFileDialog2"
|
GroupBox5.Padding = New Padding(4, 5, 4, 5)
|
||||||
Me.OpenFileDialog2.Filter = "XML files (*.xml)|*.xml"
|
GroupBox5.Size = New System.Drawing.Size(480, 87)
|
||||||
'
|
GroupBox5.TabIndex = 12
|
||||||
'Form1
|
GroupBox5.TabStop = False
|
||||||
'
|
GroupBox5.Text = "GroupBox5"
|
||||||
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
|
'
|
||||||
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
|
' btWriteBinary
|
||||||
Me.ClientSize = New System.Drawing.Size(916, 633)
|
'
|
||||||
Me.Controls.Add(Me.GroupBox5)
|
btWriteBinary.Location = New System.Drawing.Point(8, 29)
|
||||||
Me.Controls.Add(Me.GroupBox4)
|
btWriteBinary.Margin = New Padding(4, 5, 4, 5)
|
||||||
Me.Controls.Add(Me.GroupBox3)
|
btWriteBinary.Name = "btWriteBinary"
|
||||||
Me.Controls.Add(Me.GroupBox2)
|
btWriteBinary.Size = New System.Drawing.Size(295, 35)
|
||||||
Me.Controls.Add(Me.GroupBox1)
|
btWriteBinary.TabIndex = 11
|
||||||
Me.Controls.Add(Me.ListBox1)
|
btWriteBinary.Text = "Write Binary to PDF"
|
||||||
Me.Name = "Form1"
|
btWriteBinary.UseVisualStyleBackColor = True
|
||||||
Me.Text = "E-Invoice-TEST-Tool"
|
'
|
||||||
Me.GroupBox1.ResumeLayout(False)
|
' OpenFileDialog2
|
||||||
Me.GroupBox2.ResumeLayout(False)
|
'
|
||||||
Me.GroupBox3.ResumeLayout(False)
|
OpenFileDialog2.FileName = "OpenFileDialog2"
|
||||||
Me.GroupBox3.PerformLayout()
|
OpenFileDialog2.Filter = "XML files (*.xml)|*.xml"
|
||||||
Me.GroupBox4.ResumeLayout(False)
|
|
||||||
Me.GroupBox4.PerformLayout()
|
'
|
||||||
Me.GroupBox5.ResumeLayout(False)
|
' Form1
|
||||||
Me.ResumeLayout(False)
|
'
|
||||||
|
AutoScaleDimensions = New System.Drawing.SizeF(8.0F, 20.0F)
|
||||||
|
AutoScaleMode = AutoScaleMode.Font
|
||||||
|
ClientSize = New System.Drawing.Size(879, 690)
|
||||||
|
|
||||||
|
Controls.Add(GroupBox5)
|
||||||
|
Controls.Add(GroupBox4)
|
||||||
|
Controls.Add(GroupBox3)
|
||||||
|
Controls.Add(GroupBox2)
|
||||||
|
Controls.Add(GroupBox1)
|
||||||
|
Controls.Add(ListBox1)
|
||||||
|
Margin = New Padding(4, 5, 4, 5)
|
||||||
|
Name = "Form1"
|
||||||
|
Text = "E-Invoice-TEST-Tool"
|
||||||
|
GroupBox1.ResumeLayout(False)
|
||||||
|
GroupBox2.ResumeLayout(False)
|
||||||
|
GroupBox3.ResumeLayout(False)
|
||||||
|
GroupBox3.PerformLayout()
|
||||||
|
GroupBox4.ResumeLayout(False)
|
||||||
|
GroupBox4.PerformLayout()
|
||||||
|
GroupBox5.ResumeLayout(False)
|
||||||
|
ResumeLayout(False)
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
|
|||||||
@@ -1,17 +1,17 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<root>
|
<root>
|
||||||
<!--
|
<!--
|
||||||
Microsoft ResX Schema
|
Microsoft ResX Schema
|
||||||
|
|
||||||
Version 2.0
|
Version 2.0
|
||||||
|
|
||||||
The primary goals of this format is to allow a simple XML format
|
The primary goals of this format is to allow a simple XML format
|
||||||
that is mostly human readable. The generation and parsing of the
|
that is mostly human readable. The generation and parsing of the
|
||||||
various data types are done through the TypeConverter classes
|
various data types are done through the TypeConverter classes
|
||||||
associated with the data types.
|
associated with the data types.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
... ado.net/XML headers & schema ...
|
... ado.net/XML headers & schema ...
|
||||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
<resheader name="version">2.0</resheader>
|
<resheader name="version">2.0</resheader>
|
||||||
@@ -26,36 +26,36 @@
|
|||||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||||
<comment>This is a comment</comment>
|
<comment>This is a comment</comment>
|
||||||
</data>
|
</data>
|
||||||
|
|
||||||
There are any number of "resheader" rows that contain simple
|
There are any number of "resheader" rows that contain simple
|
||||||
name/value pairs.
|
name/value pairs.
|
||||||
|
|
||||||
Each data row contains a name, and value. The row also contains a
|
Each data row contains a name, and value. The row also contains a
|
||||||
type or mimetype. Type corresponds to a .NET class that support
|
type or mimetype. Type corresponds to a .NET class that support
|
||||||
text/value conversion through the TypeConverter architecture.
|
text/value conversion through the TypeConverter architecture.
|
||||||
Classes that don't support this are serialized and stored with the
|
Classes that don't support this are serialized and stored with the
|
||||||
mimetype set.
|
mimetype set.
|
||||||
|
|
||||||
The mimetype is used for serialized objects, and tells the
|
The mimetype is used for serialized objects, and tells the
|
||||||
ResXResourceReader how to depersist the object. This is currently not
|
ResXResourceReader how to depersist the object. This is currently not
|
||||||
extensible. For a given mimetype the value must be set accordingly:
|
extensible. For a given mimetype the value must be set accordingly:
|
||||||
|
|
||||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||||
that the ResXResourceWriter will generate, however the reader can
|
that the ResXResourceWriter will generate, however the reader can
|
||||||
read any of the formats listed below.
|
read any of the formats listed below.
|
||||||
|
|
||||||
mimetype: application/x-microsoft.net.object.binary.base64
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
value : The object must be serialized with
|
value : The object must be serialized with
|
||||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
: and then encoded with base64 encoding.
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
mimetype: application/x-microsoft.net.object.soap.base64
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
value : The object must be serialized with
|
value : The object must be serialized with
|
||||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||||
: and then encoded with base64 encoding.
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
value : The object must be serialized into a byte array
|
value : The object must be serialized into a byte array
|
||||||
: using a System.ComponentModel.TypeConverter
|
: using a System.ComponentModel.TypeConverter
|
||||||
: and then encoded with base64 encoding.
|
: and then encoded with base64 encoding.
|
||||||
-->
|
-->
|
||||||
@@ -126,4 +126,7 @@
|
|||||||
<metadata name="OpenFileDialog2.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
<metadata name="OpenFileDialog2.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
<value>328, 17</value>
|
<value>328, 17</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
|
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>25</value>
|
||||||
|
</metadata>
|
||||||
</root>
|
</root>
|
||||||
@@ -1,6 +1,8 @@
|
|||||||
Imports System.IO
|
Imports System.Data
|
||||||
|
Imports System.IO
|
||||||
Imports System.Reflection
|
Imports System.Reflection
|
||||||
Imports System.Security.Cryptography
|
Imports System.Security.Cryptography
|
||||||
|
Imports System.Windows.Forms
|
||||||
Imports DigitalData.Modules.Config
|
Imports DigitalData.Modules.Config
|
||||||
Imports DigitalData.Modules.Database
|
Imports DigitalData.Modules.Database
|
||||||
Imports DigitalData.Modules.Interfaces
|
Imports DigitalData.Modules.Interfaces
|
||||||
@@ -21,11 +23,16 @@ Public Class Form1
|
|||||||
|
|
||||||
|
|
||||||
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles Me.Load
|
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles Me.Load
|
||||||
_logConfig = New LogConfig(LogConfig.PathType.CustomPath, Application.StartupPath & "\Log", Nothing, My.Application.Info.CompanyName, My.Application.Info.ProductName) With {
|
Dim oLogPath = Path.Combine(Application.StartupPath, "Log")
|
||||||
|
_logConfig = New LogConfig(LogConfig.PathType.CustomPath, oLogPath, Nothing, My.Application.Info.CompanyName, My.Application.Info.ProductName) With {
|
||||||
.Debug = True
|
.Debug = True
|
||||||
}
|
}
|
||||||
_logger = _logConfig.GetLogger()
|
_logger = _logConfig.GetLogger()
|
||||||
_mssql = New MSSQLServer(_logConfig, My.Settings.MSSQL_CONNECTIONSTRING)
|
Dim oCS = My.Settings.MSSQL_CONNECTIONSTRING
|
||||||
|
If Not oCS.Contains("TrustServerCertificate") Then
|
||||||
|
oCS += ";TrustServerCertificate=true"
|
||||||
|
End If
|
||||||
|
_mssql = New MSSQLServer(_logConfig, oCS)
|
||||||
|
|
||||||
_GDPictureVersion = "11.2024"
|
_GDPictureVersion = "11.2024"
|
||||||
_GDPictureLizenz = ConfigDbFunct.GetProductLicense("GDPICTURE", _GDPictureVersion, _logConfig, My.Settings.MSSQL_CONNECTIONSTRING)
|
_GDPictureLizenz = ConfigDbFunct.GetProductLicense("GDPICTURE", _GDPictureVersion, _logConfig, My.Settings.MSSQL_CONNECTIONSTRING)
|
||||||
@@ -92,14 +99,14 @@ Public Class Form1
|
|||||||
Dim oEN16931_ID = oRow.Item("EN16931_ID")
|
Dim oEN16931_ID = oRow.Item("EN16931_ID")
|
||||||
|
|
||||||
Args.PropertyMapList.Add(New XmlItemProperty() With {
|
Args.PropertyMapList.Add(New XmlItemProperty() With {
|
||||||
.XMLPath = xmlPath,
|
.xmlPath = xmlPath,
|
||||||
.Description = description,
|
.description = description,
|
||||||
.TableName = tableName,
|
.tableName = tableName,
|
||||||
.TableColumn = tableColumn,
|
.tableColumn = tableColumn,
|
||||||
.IsRequired = isRequired,
|
.isRequired = isRequired,
|
||||||
.IsGrouped = isGrouped,
|
.isGrouped = isGrouped,
|
||||||
.GroupScope = groupScope,
|
.groupScope = groupScope,
|
||||||
.Specification = specification,
|
.specification = specification,
|
||||||
.ItemType = oItemType,
|
.ItemType = oItemType,
|
||||||
.EN16931_ID = oEN16931_ID
|
.EN16931_ID = oEN16931_ID
|
||||||
})
|
})
|
||||||
@@ -152,9 +159,41 @@ Public Class Form1
|
|||||||
|
|
||||||
If oResult = DialogResult.OK Then
|
If oResult = DialogResult.OK Then
|
||||||
Try
|
Try
|
||||||
Dim oDoc = _zugferd.ValidateZUGFeRDFileWithGDPicture(OpenFileDialog1.FileName)
|
Dim oDoc = _zugferd.ValidateZUGFeRDFileWithGDPicture(OpenFileDialog1.FileName, True)
|
||||||
|
Dim oZFResult = _zugferd.ValidateZUGFeRDDocument(oDoc)
|
||||||
Dim oZUGFERD = _zugferd.SerializeZUGFeRDDocument(oDoc)
|
Dim oZUGFERD = _zugferd.SerializeZUGFeRDDocument(oDoc)
|
||||||
Console.WriteLine()
|
WriteLog("Specification: " & oZFResult.Specification)
|
||||||
|
'WriteLog("XML-Schema: " & oResult.UsedXMLSchema)
|
||||||
|
WriteLog("Embedded File Name: " & oZFResult.DataFileName)
|
||||||
|
|
||||||
|
Dim oSpecification = oZFResult.Specification
|
||||||
|
|
||||||
|
If oSpecification = ZUGFeRDInterface.ZUGFERD_SPEC_10 Then
|
||||||
|
oSpecification = ZUGFeRDInterface.ZUGFERD_SPEC_DEFAULT
|
||||||
|
End If
|
||||||
|
|
||||||
|
Dim oPropertyMap = oArgs.PropertyMapList.
|
||||||
|
Where(Function(kv) kv.Specification = oSpecification).
|
||||||
|
ToDictionary(Function(kv) kv.XMLPath, Function(kv) kv)
|
||||||
|
|
||||||
|
Dim oResult2 = _zugferd.PropertyValues.CheckPropertyValues(oZFResult.SchemaObject, oPropertyMap, "test")
|
||||||
|
|
||||||
|
WriteLog("Valid Properties: [{0}]", oResult2.ValidProperties.Count)
|
||||||
|
For Each Prop In oResult2.ValidProperties
|
||||||
|
If Prop.Value.Length > 250 Then
|
||||||
|
WriteLog("Property: [{0}] = [{1}]", Prop.Description, Prop.Value.Substring(0, 250))
|
||||||
|
Else
|
||||||
|
WriteLog("Property: [{0}] = [{1}]", Prop.Description, Prop.Value)
|
||||||
|
End If
|
||||||
|
Next
|
||||||
|
|
||||||
|
WriteLog("--------------------------------")
|
||||||
|
WriteLog("Missing Properties: [{0}]", oResult2.MissingProperties.Count)
|
||||||
|
For Each Prop In oResult2.MissingProperties
|
||||||
|
WriteLog("Missing Property: [{0}]", Prop.ToString) ''Prop.Description
|
||||||
|
Next
|
||||||
|
|
||||||
|
WriteLog("--------------------------------")
|
||||||
Catch ex As DigitalData.Modules.Interfaces.Exceptions.ZUGFeRDExecption
|
Catch ex As DigitalData.Modules.Interfaces.Exceptions.ZUGFeRDExecption
|
||||||
Dim oErrorCode = GetRejectionCodeNumber(ex.ErrorCode)
|
Dim oErrorCode = GetRejectionCodeNumber(ex.ErrorCode)
|
||||||
Dim oMessage = oErrorCode + " - (" + ex.ErrorCode.ToString() + ") - " + ex.Message
|
Dim oMessage = oErrorCode + " - (" + ex.ErrorCode.ToString() + ") - " + ex.Message
|
||||||
@@ -162,6 +201,7 @@ Public Class Form1
|
|||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
MsgBox(ex.Message)
|
MsgBox(ex.Message)
|
||||||
End Try
|
End Try
|
||||||
|
MsgBox("Finished - check log")
|
||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
@@ -220,7 +260,7 @@ Public Class Form1
|
|||||||
|
|
||||||
Try
|
Try
|
||||||
If oDialogResult = DialogResult.OK Then
|
If oDialogResult = DialogResult.OK Then
|
||||||
Dim oDoc = _zugferd.ValidateZUGFeRDFileWithGDPicture(OpenFileDialog1.FileName)
|
Dim oDoc = _zugferd.ValidateZUGFeRDFileWithGDPicture(OpenFileDialog1.FileName, True)
|
||||||
Dim oResult = _zugferd.ValidateZUGFeRDDocument(oDoc)
|
Dim oResult = _zugferd.ValidateZUGFeRDDocument(oDoc)
|
||||||
oResult = _zugferd.SerializeZUGFeRDDocument(oDoc)
|
oResult = _zugferd.SerializeZUGFeRDDocument(oDoc)
|
||||||
|
|
||||||
@@ -373,4 +413,12 @@ Public Class Form1
|
|||||||
End Select
|
End Select
|
||||||
|
|
||||||
End Function
|
End Function
|
||||||
|
|
||||||
|
'Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
|
||||||
|
' Process.Start("explorer.exe", _logConfig.LogDirectory)
|
||||||
|
'End Sub
|
||||||
|
|
||||||
|
'Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
|
||||||
|
' Process.Start("explorer.exe", System.Windows.Forms.Application.UserAppDataPath())
|
||||||
|
'End Sub
|
||||||
End Class
|
End Class
|
||||||
|
|||||||
@@ -34,5 +34,11 @@ Namespace My
|
|||||||
Protected Overrides Sub OnCreateMainForm()
|
Protected Overrides Sub OnCreateMainForm()
|
||||||
Me.MainForm = Global.ZUGFeRDTest.Form1
|
Me.MainForm = Global.ZUGFeRDTest.Form1
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
|
<Global.System.Diagnostics.DebuggerStepThroughAttribute()> _
|
||||||
|
Protected Overrides Function OnInitialize(ByVal commandLineArgs As System.Collections.ObjectModel.ReadOnlyCollection(Of String)) As Boolean
|
||||||
|
Me.MinimumSplashScreenDisplayTime = 0
|
||||||
|
Return MyBase.OnInitialize(commandLineArgs)
|
||||||
|
End Function
|
||||||
End Class
|
End Class
|
||||||
End Namespace
|
End Namespace
|
||||||
|
|||||||
@@ -1,35 +1,9 @@
|
|||||||
Imports System
|
Imports System
|
||||||
Imports System.Reflection
|
Imports System.Reflection
|
||||||
Imports System.Runtime.InteropServices
|
Imports System.Runtime.InteropServices
|
||||||
|
|
||||||
' Allgemeine Informationen über eine Assembly werden über die folgenden
|
|
||||||
' Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
|
|
||||||
' die einer Assembly zugeordnet sind.
|
|
||||||
|
|
||||||
' Werte der Assemblyattribute überprüfen
|
|
||||||
|
|
||||||
<Assembly: AssemblyTitle("ZUGFeRDTest")>
|
|
||||||
<Assembly: AssemblyDescription("")>
|
|
||||||
<Assembly: AssemblyCompany("")>
|
|
||||||
<Assembly: AssemblyProduct("ZUGFeRDTest")>
|
|
||||||
<Assembly: AssemblyCopyright("Copyright © 2018")>
|
|
||||||
<Assembly: AssemblyTrademark("")>
|
<Assembly: AssemblyTrademark("")>
|
||||||
|
|
||||||
<Assembly: ComVisible(False)>
|
<Assembly: ComVisible(False)>
|
||||||
|
|
||||||
'Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird.
|
'Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird.
|
||||||
<Assembly: Guid("f4f2b40b-902e-4edc-b5e0-c11a0d2ab998")>
|
<Assembly: Guid("f4f2b40b-902e-4edc-b5e0-c11a0d2ab998")>
|
||||||
|
|
||||||
' Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten:
|
|
||||||
'
|
|
||||||
' Hauptversion
|
|
||||||
' Nebenversion
|
|
||||||
' Buildnummer
|
|
||||||
' Revision
|
|
||||||
'
|
|
||||||
' Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
|
|
||||||
' übernehmen, indem Sie "*" eingeben:
|
|
||||||
' <Assembly: AssemblyVersion("1.0.*")>
|
|
||||||
|
|
||||||
<Assembly: AssemblyVersion("1.0.0.0")>
|
|
||||||
<Assembly: AssemblyFileVersion("1.0.0.0")>
|
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ Option Explicit On
|
|||||||
Namespace My
|
Namespace My
|
||||||
|
|
||||||
<Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
|
<Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
|
||||||
Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.3.0.0"), _
|
Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.14.0.0"), _
|
||||||
Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
|
Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
|
||||||
Partial Friend NotInheritable Class MySettings
|
Partial Friend NotInheritable Class MySettings
|
||||||
Inherits Global.System.Configuration.ApplicationSettingsBase
|
Inherits Global.System.Configuration.ApplicationSettingsBase
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<?xml version='1.0' encoding='utf-8'?>
|
<?xml version='1.0' encoding='utf-8'?>
|
||||||
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="My" GeneratedClassName="MySettings" UseMySettingsClassName="true">
|
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="" GeneratedClassName="MySettings" UseMySettingsClassName="true">
|
||||||
<Profiles />
|
<Profiles />
|
||||||
<Settings>
|
<Settings>
|
||||||
<Setting Name="FB_DATABASE" Type="System.String" Scope="Application">
|
<Setting Name="FB_DATABASE" Type="System.String" Scope="Application">
|
||||||
@@ -18,7 +18,7 @@
|
|||||||
<Value Profile="(Default)" />
|
<Value Profile="(Default)" />
|
||||||
</Setting>
|
</Setting>
|
||||||
<Setting Name="MSSQL_CONNECTIONSTRING" Type="System.String" Scope="User">
|
<Setting Name="MSSQL_CONNECTIONSTRING" Type="System.String" Scope="User">
|
||||||
<Value Profile="(Default)">Server=SDD-VMP04-SQL17\DD_DEVELOP01;Database=DD_ECM;User Id=sa;Password=dd</Value>
|
<Value Profile="(Default)">Server=SDD-VMP04-SQL17\DD_DEVELOP01;Database=DD_ECM;User Id=sa;Password=dd;TrustServerCertificate=true;</Value>
|
||||||
</Setting>
|
</Setting>
|
||||||
</Settings>
|
</Settings>
|
||||||
</SettingsFile>
|
</SettingsFile>
|
||||||
21
GUIs.Test.ZUGFeRDTest/Program.cs
Normal file
21
GUIs.Test.ZUGFeRDTest/Program.cs
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
using CoreWCF.Configuration;
|
||||||
|
using CoreWCF.Description;
|
||||||
|
|
||||||
|
var builder = WebApplication.CreateBuilder(args);
|
||||||
|
|
||||||
|
// Add CoreWCF services
|
||||||
|
builder.Services.AddServiceModelServices();
|
||||||
|
builder.Services.AddServiceModelMetadata();
|
||||||
|
builder.Services.AddSingleton<IServiceBehavior, UseRequestHeadersForMetadataAddressBehavior>();
|
||||||
|
|
||||||
|
var app = builder.Build();
|
||||||
|
|
||||||
|
app.UseServiceModel(builder =>
|
||||||
|
{
|
||||||
|
// TODO add here service endpoints and behaviors
|
||||||
|
});
|
||||||
|
|
||||||
|
var serviceMetadataBehavior = app.Services.GetRequiredService<ServiceMetadataBehavior>();
|
||||||
|
serviceMetadataBehavior.HttpGetEnabled = true;
|
||||||
|
|
||||||
|
app.Run();
|
||||||
@@ -1,54 +1,26 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
||||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
<RootNamespace>ZUGFeRDTest</RootNamespace>
|
||||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
<TargetFramework>net462</TargetFramework>
|
||||||
<ProjectGuid>{16156434-E471-43F1-8030-76A0DA17CD5A}</ProjectGuid>
|
|
||||||
<OutputType>WinExe</OutputType>
|
<OutputType>WinExe</OutputType>
|
||||||
<StartupObject>ZUGFeRDTest.My.MyApplication</StartupObject>
|
<StartupObject>ZUGFeRDTest.My.MyApplication</StartupObject>
|
||||||
<RootNamespace>ZUGFeRDTest</RootNamespace>
|
|
||||||
<AssemblyName>ZUGFeRDTest</AssemblyName>
|
|
||||||
<FileAlignment>512</FileAlignment>
|
|
||||||
<MyType>WindowsForms</MyType>
|
<MyType>WindowsForms</MyType>
|
||||||
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
|
<UseWindowsForms>true</UseWindowsForms>
|
||||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
<AssemblyName>ZUGFeRDTest</AssemblyName>
|
||||||
<TargetFrameworkProfile />
|
<Company>Digital Data GmbH</Company>
|
||||||
<NuGetPackageImportStamp>
|
<AssemblyTitle>Provides baseclasses, methods and constants for DD Products</AssemblyTitle>
|
||||||
</NuGetPackageImportStamp>
|
<AssemblyVersion>2.0</AssemblyVersion>
|
||||||
</PropertyGroup>
|
<FileVersion>2.0</FileVersion>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
<Title>$(AssemblyName)</Title>
|
||||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
<Product>$(AssemblyName)</Product>
|
||||||
<DebugSymbols>true</DebugSymbols>
|
|
||||||
<DebugType>full</DebugType>
|
|
||||||
<DefineDebug>true</DefineDebug>
|
|
||||||
<DefineTrace>true</DefineTrace>
|
|
||||||
<OutputPath>bin\Debug\</OutputPath>
|
|
||||||
<DocumentationFile>ZUGFeRDTest.xml</DocumentationFile>
|
|
||||||
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
|
||||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
|
||||||
<DebugType>pdbonly</DebugType>
|
|
||||||
<DefineDebug>false</DefineDebug>
|
|
||||||
<DefineTrace>true</DefineTrace>
|
|
||||||
<Optimize>true</Optimize>
|
|
||||||
<OutputPath>bin\Release\</OutputPath>
|
|
||||||
<DocumentationFile>ZUGFeRDTest.xml</DocumentationFile>
|
|
||||||
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup>
|
|
||||||
<OptionExplicit>On</OptionExplicit>
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup>
|
|
||||||
<OptionCompare>Binary</OptionCompare>
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup>
|
|
||||||
<OptionStrict>Off</OptionStrict>
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup>
|
|
||||||
<OptionInfer>On</OptionInfer>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<PackageReference Include="GdPicture" Version="14.3.3" />
|
||||||
|
<PackageReference Include="Microsoft.Data.SqlClient" Version="7.0.1" />
|
||||||
|
<PackageReference Include="NLog" Version="5.0.5" />
|
||||||
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="DigitalData.Modules.Config">
|
<Reference Include="DigitalData.Modules.Config">
|
||||||
<HintPath>..\..\DDModules\Config\bin\Debug\DigitalData.Modules.Config.dll</HintPath>
|
<HintPath>..\..\DDModules\Config\bin\Debug\DigitalData.Modules.Config.dll</HintPath>
|
||||||
@@ -65,227 +37,38 @@
|
|||||||
<Reference Include="DigitalData.Modules.Logging">
|
<Reference Include="DigitalData.Modules.Logging">
|
||||||
<HintPath>..\..\DDModules\Logging\bin\Debug\DigitalData.Modules.Logging.dll</HintPath>
|
<HintPath>..\..\DDModules\Logging\bin\Debug\DigitalData.Modules.Logging.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DocumentFormat.OpenXml, Version=3.2.0.0, Culture=neutral, PublicKeyToken=8fb06cb64d019a17, processorArchitecture=MSIL">
|
|
||||||
<HintPath>..\packages\DocumentFormat.OpenXml.3.2.0\lib\net46\DocumentFormat.OpenXml.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="DocumentFormat.OpenXml.Framework, Version=3.2.0.0, Culture=neutral, PublicKeyToken=8fb06cb64d019a17, processorArchitecture=MSIL">
|
|
||||||
<HintPath>..\packages\DocumentFormat.OpenXml.Framework.3.2.0\lib\net46\DocumentFormat.OpenXml.Framework.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="GdPicture.NET.14.barcode.1d.writer, Version=14.3.3.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
|
||||||
<HintPath>..\packages\GdPicture.14.3.3\lib\net462\GdPicture.NET.14.barcode.1d.writer.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="GdPicture.NET.14.barcode.2d.writer, Version=14.3.3.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
|
||||||
<HintPath>..\packages\GdPicture.14.3.3\lib\net462\GdPicture.NET.14.barcode.2d.writer.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="GdPicture.NET.14.CAD, Version=14.3.3.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
|
||||||
<HintPath>..\packages\GdPicture.14.3.3\lib\net462\GdPicture.NET.14.CAD.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="GdPicture.NET.14.CAD.DWG, Version=14.3.3.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
|
||||||
<HintPath>..\packages\GdPicture.14.3.3\lib\net462\GdPicture.NET.14.CAD.DWG.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="GdPicture.NET.14.Common, Version=14.3.3.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
|
||||||
<HintPath>..\packages\GdPicture.14.3.3\lib\net462\GdPicture.NET.14.Common.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="GdPicture.NET.14.Document, Version=14.3.3.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
|
||||||
<HintPath>..\packages\GdPicture.14.3.3\lib\net462\GdPicture.NET.14.Document.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="GdPicture.NET.14.Email, Version=14.3.3.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
|
||||||
<HintPath>..\packages\GdPicture.14.3.3\lib\net462\GdPicture.NET.14.Email.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="GdPicture.NET.14.HTML, Version=14.3.3.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
|
||||||
<HintPath>..\packages\GdPicture.14.3.3\lib\net462\GdPicture.NET.14.HTML.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="GdPicture.NET.14.Imaging, Version=14.3.3.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
|
||||||
<HintPath>..\packages\GdPicture.14.3.3\lib\net462\GdPicture.NET.14.Imaging.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="GdPicture.NET.14.Imaging.Formats, Version=14.3.3.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
|
||||||
<HintPath>..\packages\GdPicture.14.3.3\lib\net462\GdPicture.NET.14.Imaging.Formats.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="GdPicture.NET.14.Imaging.Formats.Conversion, Version=14.3.3.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
|
||||||
<HintPath>..\packages\GdPicture.14.3.3\lib\net462\GdPicture.NET.14.Imaging.Formats.Conversion.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="GdPicture.NET.14.Imaging.Rendering, Version=14.3.3.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
|
||||||
<HintPath>..\packages\GdPicture.14.3.3\lib\net462\GdPicture.NET.14.Imaging.Rendering.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="GdPicture.NET.14.MSOfficeBinary, Version=14.3.3.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
|
||||||
<HintPath>..\packages\GdPicture.14.3.3\lib\net462\GdPicture.NET.14.MSOfficeBinary.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="GdPicture.NET.14.OpenDocument, Version=14.3.3.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
|
||||||
<HintPath>..\packages\GdPicture.14.3.3\lib\net462\GdPicture.NET.14.OpenDocument.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="GdPicture.NET.14.OpenXML, Version=14.3.3.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
|
||||||
<HintPath>..\packages\GdPicture.14.3.3\lib\net462\GdPicture.NET.14.OpenXML.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="GdPicture.NET.14.OpenXML.Templating, Version=14.3.3.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
|
||||||
<HintPath>..\packages\GdPicture.14.3.3\lib\net462\GdPicture.NET.14.OpenXML.Templating.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="GdPicture.NET.14.PDF, Version=14.3.3.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
|
||||||
<HintPath>..\packages\GdPicture.14.3.3\lib\net462\GdPicture.NET.14.PDF.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="GdPicture.NET.14.RTF, Version=14.3.3.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
|
||||||
<HintPath>..\packages\GdPicture.14.3.3\lib\net462\GdPicture.NET.14.RTF.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="GdPicture.NET.14.SVG, Version=14.3.3.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
|
||||||
<HintPath>..\packages\GdPicture.14.3.3\lib\net462\GdPicture.NET.14.SVG.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="GdPicture.NET.14.wia.gateway, Version=1.0.0.0, Culture=neutral, PublicKeyToken=6973b5c22dcf45f7, processorArchitecture=MSIL">
|
|
||||||
<HintPath>..\packages\GdPicture.14.3.3\lib\net462\GdPicture.NET.14.wia.gateway.dll</HintPath>
|
|
||||||
<EmbedInteropTypes>True</EmbedInteropTypes>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="GdPicture.NET.14, Version=14.3.3.0, Culture=neutral, PublicKeyToken=f52a2e60ad468dbb, processorArchitecture=MSIL">
|
|
||||||
<HintPath>..\packages\GdPicture.14.3.3\lib\net462\GdPicture.NET.14.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="Microsoft.CSharp" />
|
<Reference Include="Microsoft.CSharp" />
|
||||||
<Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
|
||||||
<HintPath>..\packages\Newtonsoft.Json.13.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="Newtonsoft.Json.Bson, Version=1.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
|
||||||
<HintPath>..\packages\Newtonsoft.Json.Bson.1.0.2\lib\net45\Newtonsoft.Json.Bson.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
|
|
||||||
<HintPath>..\packages\NLog.5.1.0\lib\net46\NLog.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="OpenMcdf, Version=2.4.1.0, Culture=neutral, PublicKeyToken=fdbb1629d7c00800, processorArchitecture=MSIL">
|
|
||||||
<HintPath>..\packages\OpenMcdf.2.4.1\lib\net40\OpenMcdf.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="protobuf-net, Version=3.0.0.0, Culture=neutral, PublicKeyToken=257b51d87d2e4d67, processorArchitecture=MSIL">
|
|
||||||
<HintPath>..\packages\protobuf-net.3.2.46\lib\net462\protobuf-net.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="protobuf-net.Core, Version=3.0.0.0, Culture=neutral, PublicKeyToken=257b51d87d2e4d67, processorArchitecture=MSIL">
|
|
||||||
<HintPath>..\packages\protobuf-net.Core.3.2.46\lib\net462\protobuf-net.Core.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="RtfPipe, Version=2.0.7677.4303, Culture=neutral, PublicKeyToken=5f6ab4ce530296d2, processorArchitecture=MSIL">
|
|
||||||
<HintPath>..\packages\RtfPipe.2.0.7677.4303\lib\net45\RtfPipe.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
<Reference Include="System.Buffers, Version=4.0.4.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
|
||||||
<HintPath>..\packages\System.Buffers.4.6.0\lib\net462\System.Buffers.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="System.CodeDom, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
|
||||||
<HintPath>..\packages\System.CodeDom.8.0.0\lib\net462\System.CodeDom.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="System.Collections.Immutable, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
|
||||||
<HintPath>..\packages\System.Collections.Immutable.8.0.0\lib\net462\System.Collections.Immutable.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="System.Configuration" />
|
<Reference Include="System.Configuration" />
|
||||||
<Reference Include="System.Data" />
|
<Reference Include="System.Data" />
|
||||||
<Reference Include="System.Data.SqlClient, Version=4.6.1.6, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
|
||||||
<HintPath>..\packages\System.Data.SqlClient.4.8.6\lib\net461\System.Data.SqlClient.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="System.Deployment" />
|
<Reference Include="System.Deployment" />
|
||||||
<Reference Include="System.Drawing" />
|
<Reference Include="System.Drawing" />
|
||||||
<Reference Include="System.IO.Packaging, Version=8.0.0.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
|
||||||
<HintPath>..\packages\System.IO.Packaging.8.0.1\lib\net462\System.IO.Packaging.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="System.Management" />
|
<Reference Include="System.Management" />
|
||||||
<Reference Include="System.Memory, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
|
||||||
<HintPath>..\packages\System.Memory.4.6.0\lib\net462\System.Memory.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="System.Net.Http.Formatting, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
|
||||||
<HintPath>..\packages\Microsoft.AspNet.WebApi.Client.6.0.0\lib\net45\System.Net.Http.Formatting.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="System.Numerics" />
|
<Reference Include="System.Numerics" />
|
||||||
<Reference Include="System.Numerics.Vectors, Version=4.1.5.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
|
||||||
<HintPath>..\packages\System.Numerics.Vectors.4.6.0\lib\net462\System.Numerics.Vectors.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=6.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
|
||||||
<HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.6.1.0\lib\net462\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="System.Runtime.Serialization" />
|
<Reference Include="System.Runtime.Serialization" />
|
||||||
<Reference Include="System.Security" />
|
<Reference Include="System.Security" />
|
||||||
<Reference Include="System.Security.Cryptography.Pkcs, Version=8.0.0.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
|
||||||
<HintPath>..\packages\System.Security.Cryptography.Pkcs.8.0.1\lib\net462\System.Security.Cryptography.Pkcs.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="System.ServiceModel" />
|
<Reference Include="System.ServiceModel" />
|
||||||
<Reference Include="System.Text.Encodings.Web, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
|
||||||
<HintPath>..\packages\System.Text.Encodings.Web.8.0.0\lib\net462\System.Text.Encodings.Web.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="System.Text.Json, Version=8.0.0.5, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
|
||||||
<HintPath>..\packages\System.Text.Json.8.0.5\lib\net462\System.Text.Json.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="System.Threading.Tasks.Extensions, Version=4.2.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
|
||||||
<HintPath>..\packages\System.Threading.Tasks.Extensions.4.5.4\lib\net461\System.Threading.Tasks.Extensions.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="System.Transactions" />
|
<Reference Include="System.Transactions" />
|
||||||
<Reference Include="System.ValueTuple, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
|
||||||
<HintPath>..\packages\System.ValueTuple.4.5.0\lib\net461\System.ValueTuple.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="System.Windows.Forms" />
|
<Reference Include="System.Windows.Forms" />
|
||||||
<Reference Include="System.Xml" />
|
<Reference Include="System.Xml" />
|
||||||
<Reference Include="System.Core" />
|
<Reference Include="System.Core" />
|
||||||
<Reference Include="System.Xml.Linq" />
|
<Reference Include="System.Xml.Linq" />
|
||||||
<Reference Include="System.Data.DataSetExtensions" />
|
<Reference Include="System.Data.DataSetExtensions" />
|
||||||
<Reference Include="System.Net.Http" />
|
|
||||||
<Reference Include="WindowsBase" />
|
<Reference Include="WindowsBase" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Import Include="Microsoft.VisualBasic" />
|
<None Update="My Project\Settings.settings">
|
||||||
<Import Include="System" />
|
<Generator>SettingsSingleFileGenerator</Generator>
|
||||||
<Import Include="System.Collections" />
|
</None>
|
||||||
<Import Include="System.Collections.Generic" />
|
<None Update="MyProject\Settings.settings">
|
||||||
<Import Include="System.Data" />
|
<Generator>SettingsSingleFileGenerator</Generator>
|
||||||
<Import Include="System.Drawing" />
|
</None>
|
||||||
<Import Include="System.Diagnostics" />
|
<None Update="MyProject\Settings.settings">
|
||||||
<Import Include="System.Windows.Forms" />
|
<Generator>SettingsSingleFileGenerator</Generator>
|
||||||
<Import Include="System.Linq" />
|
</None>
|
||||||
<Import Include="System.Xml.Linq" />
|
<None Update="MyProject\Settings.settings">
|
||||||
<Import Include="System.Threading.Tasks" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<Compile Include="Form1.vb">
|
|
||||||
<SubType>Form</SubType>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="Form1.Designer.vb">
|
|
||||||
<DependentUpon>Form1.vb</DependentUpon>
|
|
||||||
<SubType>Form</SubType>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="My Project\AssemblyInfo.vb" />
|
|
||||||
<Compile Include="My Project\Application.Designer.vb">
|
|
||||||
<AutoGen>True</AutoGen>
|
|
||||||
<DependentUpon>Application.myapp</DependentUpon>
|
|
||||||
<DesignTime>True</DesignTime>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="My Project\Resources.Designer.vb">
|
|
||||||
<AutoGen>True</AutoGen>
|
|
||||||
<DesignTime>True</DesignTime>
|
|
||||||
<DependentUpon>Resources.resx</DependentUpon>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="My Project\Settings.Designer.vb">
|
|
||||||
<AutoGen>True</AutoGen>
|
|
||||||
<DependentUpon>Settings.settings</DependentUpon>
|
|
||||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
|
||||||
</Compile>
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<EmbeddedResource Include="Form1.resx">
|
|
||||||
<DependentUpon>Form1.vb</DependentUpon>
|
|
||||||
</EmbeddedResource>
|
|
||||||
<EmbeddedResource Include="My Project\Resources.resx">
|
|
||||||
<Generator>VbMyResourcesResXFileCodeGenerator</Generator>
|
|
||||||
<LastGenOutput>Resources.Designer.vb</LastGenOutput>
|
|
||||||
<CustomToolNamespace>My.Resources</CustomToolNamespace>
|
|
||||||
<SubType>Designer</SubType>
|
|
||||||
</EmbeddedResource>
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<None Include="My Project\Application.myapp">
|
|
||||||
<Generator>MyApplicationCodeGenerator</Generator>
|
|
||||||
<LastGenOutput>Application.Designer.vb</LastGenOutput>
|
|
||||||
</None>
|
|
||||||
<None Include="My Project\Settings.settings">
|
|
||||||
<Generator>SettingsSingleFileGenerator</Generator>
|
<Generator>SettingsSingleFileGenerator</Generator>
|
||||||
<CustomToolNamespace>My</CustomToolNamespace>
|
|
||||||
<LastGenOutput>Settings.Designer.vb</LastGenOutput>
|
|
||||||
</None>
|
</None>
|
||||||
<None Include="App.config" />
|
|
||||||
<None Include="packages.config" />
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.targets" />
|
|
||||||
<Import Project="..\packages\GdPicture.runtimes.windows.14.3.3\build\net462\GdPicture.runtimes.windows.targets" Condition="Exists('..\packages\GdPicture.runtimes.windows.14.3.3\build\net462\GdPicture.runtimes.windows.targets')" />
|
|
||||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
|
||||||
<PropertyGroup>
|
|
||||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
|
||||||
</PropertyGroup>
|
|
||||||
<Error Condition="!Exists('..\packages\GdPicture.runtimes.windows.14.3.3\build\net462\GdPicture.runtimes.windows.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\GdPicture.runtimes.windows.14.3.3\build\net462\GdPicture.runtimes.windows.targets'))" />
|
|
||||||
</Target>
|
|
||||||
</Project>
|
</Project>
|
||||||
@@ -4,8 +4,8 @@
|
|||||||
<package id="DocumentFormat.OpenXml" version="3.2.0" targetFramework="net462" />
|
<package id="DocumentFormat.OpenXml" version="3.2.0" targetFramework="net462" />
|
||||||
<package id="DocumentFormat.OpenXml.Framework" version="3.2.0" targetFramework="net462" />
|
<package id="DocumentFormat.OpenXml.Framework" version="3.2.0" targetFramework="net462" />
|
||||||
<package id="FirebirdSql.Data.FirebirdClient" version="7.5.0" targetFramework="net461" />
|
<package id="FirebirdSql.Data.FirebirdClient" version="7.5.0" targetFramework="net461" />
|
||||||
<package id="GdPicture" version="14.3.3" targetFramework="net462" />
|
<package id="GdPicture" version="14.3.19" targetFramework="net462" />
|
||||||
<package id="GdPicture.runtimes.windows" version="14.3.3" targetFramework="net462" />
|
<package id="GdPicture.runtimes.windows" version="14.3.19" targetFramework="net462" />
|
||||||
<package id="Microsoft.AspNet.WebApi.Client" version="6.0.0" targetFramework="net462" />
|
<package id="Microsoft.AspNet.WebApi.Client" version="6.0.0" targetFramework="net462" />
|
||||||
<package id="Microsoft.Bcl.AsyncInterfaces" version="8.0.0" targetFramework="net462" />
|
<package id="Microsoft.Bcl.AsyncInterfaces" version="8.0.0" targetFramework="net462" />
|
||||||
<package id="Microsoft.CSharp" version="4.7.0" targetFramework="net462" />
|
<package id="Microsoft.CSharp" version="4.7.0" targetFramework="net462" />
|
||||||
@@ -18,17 +18,14 @@
|
|||||||
<package id="protobuf-net.Core" version="3.2.46" targetFramework="net462" />
|
<package id="protobuf-net.Core" version="3.2.46" targetFramework="net462" />
|
||||||
<package id="RtfPipe" version="2.0.7677.4303" targetFramework="net462" />
|
<package id="RtfPipe" version="2.0.7677.4303" targetFramework="net462" />
|
||||||
<package id="System.Buffers" version="4.6.0" targetFramework="net462" />
|
<package id="System.Buffers" version="4.6.0" targetFramework="net462" />
|
||||||
<package id="System.CodeDom" version="8.0.0" targetFramework="net462" />
|
|
||||||
<package id="System.Collections.Immutable" version="8.0.0" targetFramework="net462" />
|
<package id="System.Collections.Immutable" version="8.0.0" targetFramework="net462" />
|
||||||
<package id="System.Data.SqlClient" version="4.8.6" targetFramework="net462" />
|
|
||||||
<package id="System.IO.Packaging" version="8.0.1" targetFramework="net462" />
|
<package id="System.IO.Packaging" version="8.0.1" targetFramework="net462" />
|
||||||
<package id="System.Management" version="8.0.0" targetFramework="net462" />
|
|
||||||
<package id="System.Memory" version="4.6.0" targetFramework="net462" />
|
<package id="System.Memory" version="4.6.0" targetFramework="net462" />
|
||||||
<package id="System.Numerics.Vectors" version="4.6.0" targetFramework="net462" />
|
<package id="System.Numerics.Vectors" version="4.6.0" targetFramework="net462" />
|
||||||
<package id="System.Runtime.CompilerServices.Unsafe" version="6.1.0" targetFramework="net462" />
|
<package id="System.Runtime.CompilerServices.Unsafe" version="6.1.0" targetFramework="net462" />
|
||||||
<package id="System.Security.Cryptography.Pkcs" version="8.0.1" targetFramework="net462" />
|
<package id="System.Security.Cryptography.Pkcs" version="8.0.1" targetFramework="net462" />
|
||||||
<package id="System.Text.Encodings.Web" version="8.0.0" targetFramework="net462" />
|
<package id="System.Text.Encodings.Web" version="8.0.0" targetFramework="net462" />
|
||||||
<package id="System.Text.Json" version="8.0.5" targetFramework="net462" />
|
<package id="System.Text.Json" version="8.0.6" targetFramework="net462" />
|
||||||
<package id="System.Threading.Tasks.Extensions" version="4.5.4" targetFramework="net462" />
|
<package id="System.Threading.Tasks.Extensions" version="4.5.4" targetFramework="net462" />
|
||||||
<package id="System.ValueTuple" version="4.5.0" targetFramework="net462" />
|
<package id="System.ValueTuple" version="4.6.1" targetFramework="net48" />
|
||||||
</packages>
|
</packages>
|
||||||
297
Service.EDMIService/EDMIService - Kopie.vbproj
Normal file
297
Service.EDMIService/EDMIService - Kopie.vbproj
Normal file
@@ -0,0 +1,297 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||||
|
<PropertyGroup>
|
||||||
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||||
|
<ProjectGuid>{A8C3F298-76AB-4359-AB3C-986E313B4336}</ProjectGuid>
|
||||||
|
<OutputType>Exe</OutputType>
|
||||||
|
<StartupObject>DigitalData.Services.EDMIService.WindowsService</StartupObject>
|
||||||
|
<RootNamespace>DigitalData.Services.EDMIService</RootNamespace>
|
||||||
|
<AssemblyName>EDMIService</AssemblyName>
|
||||||
|
<FileAlignment>512</FileAlignment>
|
||||||
|
<MyType>Console</MyType>
|
||||||
|
<TargetFrameworkVersion>v4.6.2;net8.0</TargetFrameworkVersion>
|
||||||
|
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||||
|
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||||
|
<TargetFrameworkProfile />
|
||||||
|
<PublishUrl>publish\</PublishUrl>
|
||||||
|
<Install>true</Install>
|
||||||
|
<InstallFrom>Disk</InstallFrom>
|
||||||
|
<UpdateEnabled>false</UpdateEnabled>
|
||||||
|
<UpdateMode>Foreground</UpdateMode>
|
||||||
|
<UpdateInterval>7</UpdateInterval>
|
||||||
|
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||||
|
<UpdatePeriodically>false</UpdatePeriodically>
|
||||||
|
<UpdateRequired>false</UpdateRequired>
|
||||||
|
<MapFileExtensions>true</MapFileExtensions>
|
||||||
|
<ApplicationRevision>0</ApplicationRevision>
|
||||||
|
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||||
|
<UseApplicationTrust>false</UseApplicationTrust>
|
||||||
|
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
|
<PlatformTarget>x64</PlatformTarget>
|
||||||
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
<DebugType>full</DebugType>
|
||||||
|
<DefineDebug>true</DefineDebug>
|
||||||
|
<DefineTrace>true</DefineTrace>
|
||||||
|
<OutputPath>bin\Debug\</OutputPath>
|
||||||
|
<DocumentationFile>
|
||||||
|
</DocumentationFile>
|
||||||
|
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
|
||||||
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
|
<DebugType>pdbonly</DebugType>
|
||||||
|
<DefineDebug>false</DefineDebug>
|
||||||
|
<DefineTrace>true</DefineTrace>
|
||||||
|
<Optimize>true</Optimize>
|
||||||
|
<OutputPath>bin\Release\</OutputPath>
|
||||||
|
<DocumentationFile>
|
||||||
|
</DocumentationFile>
|
||||||
|
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<OptionExplicit>On</OptionExplicit>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<OptionCompare>Binary</OptionCompare>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<OptionStrict>Off</OptionStrict>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<OptionInfer>On</OptionInfer>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Reference Include="DigitalData.Modules.Base">
|
||||||
|
<HintPath>..\..\DDModules\Base\bin\Debug\DigitalData.Modules.Base.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="DigitalData.Modules.Config">
|
||||||
|
<HintPath>..\..\DDModules\Config\bin\Debug\DigitalData.Modules.Config.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="DigitalData.Modules.Database">
|
||||||
|
<HintPath>..\..\DDModules\Database\bin\Debug\DigitalData.Modules.Database.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="DigitalData.Modules.EDMI.API">
|
||||||
|
<HintPath>..\..\DDModules\EDMIAPI\bin\Debug\DigitalData.Modules.EDMI.API.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="DigitalData.Modules.Filesystem">
|
||||||
|
<HintPath>P:\Projekte DIGITAL DATA\DIGITAL DATA - Entwicklung\DLL_Bibliotheken\Digital Data\DigitalData.Modules.Filesystem.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="DigitalData.Modules.Language">
|
||||||
|
<HintPath>P:\Projekte DIGITAL DATA\DIGITAL DATA - Entwicklung\DLL_Bibliotheken\Digital Data\DigitalData.Modules.Language.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="DigitalData.Modules.Logging">
|
||||||
|
<HintPath>..\..\DDModules\Logging\bin\Debug\DigitalData.Modules.Logging.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="DigitalData.Modules.Patterns">
|
||||||
|
<HintPath>..\..\DDModules\Patterns\bin\Debug\DigitalData.Modules.Patterns.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="DigitalData.Modules.ZooFlow">
|
||||||
|
<HintPath>..\..\DDModules\ZooFlow\bin\Debug\DigitalData.Modules.ZooFlow.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="FirebirdSql.Data.FirebirdClient, Version=7.5.0.0, Culture=neutral, PublicKeyToken=3750abcc3150b00c, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\FirebirdSql.Data.FirebirdClient.7.5.0\lib\net452\FirebirdSql.Data.FirebirdClient.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Microsoft.CSharp" />
|
||||||
|
<Reference Include="Microsoft.Extensions.Logging.Abstractions, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\Microsoft.Extensions.Logging.Abstractions.2.1.1\lib\netstandard2.0\Microsoft.Extensions.Logging.Abstractions.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\NLog.5.0.5\lib\net46\NLog.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Quartz, Version=3.5.0.0, Culture=neutral, PublicKeyToken=f6b8c98a402cc8a4, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\Quartz.3.5.0\lib\net462\Quartz.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System" />
|
||||||
|
<Reference Include="System.Buffers, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\System.Buffers.4.5.1\lib\net461\System.Buffers.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System.ComponentModel.DataAnnotations" />
|
||||||
|
<Reference Include="System.Configuration" />
|
||||||
|
<Reference Include="System.Configuration.Install" />
|
||||||
|
<Reference Include="System.Data" />
|
||||||
|
<Reference Include="System.Deployment" />
|
||||||
|
<Reference Include="System.Diagnostics.DiagnosticSource, Version=4.0.5.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\System.Diagnostics.DiagnosticSource.4.7.1\lib\net46\System.Diagnostics.DiagnosticSource.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System.IO.Compression" />
|
||||||
|
<Reference Include="System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\System.Memory.4.5.4\lib\net461\System.Memory.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System.Numerics" />
|
||||||
|
<Reference Include="System.Numerics.Vectors, Version=4.1.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\System.Numerics.Vectors.4.5.0\lib\net46\System.Numerics.Vectors.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.4.5.3\lib\net461\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System.Runtime.Remoting" />
|
||||||
|
<Reference Include="System.Runtime.Serialization" />
|
||||||
|
<Reference Include="System.ServiceModel" />
|
||||||
|
<Reference Include="System.ServiceProcess" />
|
||||||
|
<Reference Include="System.Transactions" />
|
||||||
|
<Reference Include="System.Web.Extensions" />
|
||||||
|
<Reference Include="System.Windows.Forms" />
|
||||||
|
<Reference Include="System.Xml" />
|
||||||
|
<Reference Include="System.Core" />
|
||||||
|
<Reference Include="System.Xml.Linq" />
|
||||||
|
<Reference Include="System.Data.DataSetExtensions" />
|
||||||
|
<Reference Include="System.Net.Http" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Import Include="Microsoft.VisualBasic" />
|
||||||
|
<Import Include="System" />
|
||||||
|
<Import Include="System.Collections" />
|
||||||
|
<Import Include="System.Collections.Generic" />
|
||||||
|
<Import Include="System.Data" />
|
||||||
|
<Import Include="System.Diagnostics" />
|
||||||
|
<Import Include="System.Linq" />
|
||||||
|
<Import Include="System.Xml.Linq" />
|
||||||
|
<Import Include="System.Threading.Tasks" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Compile Include="BaseClass.vb" />
|
||||||
|
<Compile Include="BaseMethod.vb" />
|
||||||
|
<Compile Include="ClassConstants.vb" />
|
||||||
|
<Compile Include="Config.vb" />
|
||||||
|
<Compile Include="Methods\Base\GetClientConfig\GetClientConfigMethod.vb" />
|
||||||
|
<Compile Include="Methods\Base\GetClientConfig\GetClientConfigResponse.vb" />
|
||||||
|
<Compile Include="Methods\Database\DatabaseName.vb" />
|
||||||
|
<Compile Include="Methods\Database\DatabaseType.vb" />
|
||||||
|
<Compile Include="Methods\Database\ExecuteNonQuery\ExecuteNonQueryMethod.vb" />
|
||||||
|
<Compile Include="Methods\Database\ExecuteNonQuery\ExecuteNonQueryRequest.vb" />
|
||||||
|
<Compile Include="Methods\Database\ExecuteNonQuery\ExecuteNonQueryResponse.vb" />
|
||||||
|
<Compile Include="Methods\Database\GetScalarValue\GetScalarValueMethod.vb" />
|
||||||
|
<Compile Include="Methods\Database\GetScalarValue\GetScalarValueRequest.vb" />
|
||||||
|
<Compile Include="Methods\Database\GetScalarValue\GetScalarValueResponse.vb" />
|
||||||
|
<Compile Include="Methods\Database\GetDatatable\GetDatatableMethod.vb" />
|
||||||
|
<Compile Include="Methods\Database\GetDatatable\GetDatatableRequest.vb" />
|
||||||
|
<Compile Include="Methods\Database\GetDatatable\GetDatatableResponse.vb" />
|
||||||
|
<Compile Include="Methods\IDB\CheckInOutFile\CheckInOutFileMethod.vb" />
|
||||||
|
<Compile Include="Methods\IDB\CheckInOutFile\CheckInOutFileRequest.vb" />
|
||||||
|
<Compile Include="Methods\IDB\CheckInOutFile\CheckInOutFileResponse.vb" />
|
||||||
|
<Compile Include="Methods\IDB\FileProperties.vb" />
|
||||||
|
<Compile Include="Methods\IDB\GetAttributeValue\GetAttributeValueMethod.vb" />
|
||||||
|
<Compile Include="Methods\IDB\GetAttributeValue\GetAttributeValueRequest.vb" />
|
||||||
|
<Compile Include="Methods\IDB\GetAttributeValue\GetAttributeValueResponse.vb" />
|
||||||
|
<Compile Include="Methods\Database\GetDatatableFromCache\GetDatatableFromCacheMethod.vb" />
|
||||||
|
<Compile Include="Methods\Database\GetDatatableFromCache\GetDatatableFromCacheRequest.vb" />
|
||||||
|
<Compile Include="Methods\Database\GetDatatableFromCache\GetDatatableFromCacheResponse.vb" />
|
||||||
|
<Compile Include="Methods\IDB\GetFileInfo\FileInfo.vb" />
|
||||||
|
<Compile Include="Methods\IDB\GetFileInfo\GetFileInfoMethod.vb" />
|
||||||
|
<Compile Include="Methods\IDB\GetFileInfo\GetFileInfoRequest.vb" />
|
||||||
|
<Compile Include="Methods\IDB\GetFileInfo\GetFileInfoResponse.vb" />
|
||||||
|
<Compile Include="Methods\IDB\GetFileObject\FileObject.vb" />
|
||||||
|
<Compile Include="Methods\IDB\GetFileObject\GetFileObjectRequest.vb" />
|
||||||
|
<Compile Include="Methods\IDB\GetFileObject\GetFileObjectResponse.vb" />
|
||||||
|
<Compile Include="Methods\IDB\GetFileObject\GetFileObjectMethod.vb" />
|
||||||
|
<Compile Include="Methods\GlobalIndexer\AutomaticIndex.vb" />
|
||||||
|
<Compile Include="Methods\GlobalIndexer\BaseIndex.vb" />
|
||||||
|
<Compile Include="Methods\GlobalIndexer\ImportFile\Steps\AutomaticIndexing.vb" />
|
||||||
|
<Compile Include="Methods\GlobalIndexer\ImportFile\ImportFileMethod.vb" />
|
||||||
|
<Compile Include="Methods\GlobalIndexer\ImportFile\ImportFileRequest.vb" />
|
||||||
|
<Compile Include="Methods\GlobalIndexer\ImportFile\ImportFileResponse.vb" />
|
||||||
|
<Compile Include="Methods\GlobalIndexer\ImportFile\Steps\PostProcessing.vb" />
|
||||||
|
<Compile Include="Methods\GlobalIndexer\Loader.vb" />
|
||||||
|
<Compile Include="Methods\GlobalIndexer\ManualIndex.vb" />
|
||||||
|
<Compile Include="Methods\GlobalIndexer\PostProcessingStep.vb" />
|
||||||
|
<Compile Include="Methods\GlobalIndexer\Profile.vb" />
|
||||||
|
<Compile Include="Methods\IDB\ImportFile\ImportFileMethod.vb" />
|
||||||
|
<Compile Include="Methods\IDB\ImportFile\ImportFileRequest.vb" />
|
||||||
|
<Compile Include="Methods\IDB\ImportFile\ImportFileResponse.vb" />
|
||||||
|
<Compile Include="Methods\IDB\NewFile\NewFileMethod.vb" />
|
||||||
|
<Compile Include="Methods\IDB\NewFile\NewFileRequest.vb" />
|
||||||
|
<Compile Include="Methods\IDB\NewFile\NewFileResponse.vb" />
|
||||||
|
<Compile Include="Methods\IDB\SetAttributeValue\SetAttributeValueMethod.vb" />
|
||||||
|
<Compile Include="Methods\IDB\SetAttributeValue\SetAttributeValueResponse.vb" />
|
||||||
|
<Compile Include="Methods\IDB\SetAttributeValue\SetAttributeValueRequest.vb" />
|
||||||
|
<Compile Include="GlobalState.vb" />
|
||||||
|
<Compile Include="IDB\Helpers.vb" />
|
||||||
|
<Compile Include="Messages\AccessRightResult.vb" />
|
||||||
|
<Compile Include="Messages\Messages.vb" />
|
||||||
|
<Compile Include="Messages\BaseResponse.vb" />
|
||||||
|
<Compile Include="Exceptions.vb" />
|
||||||
|
<Compile Include="Messages\DatabaseResult.vb" />
|
||||||
|
<Compile Include="EDMIService.vb" />
|
||||||
|
<Compile Include="Methods\IDB\AttributeValue.vb" />
|
||||||
|
<Compile Include="Methods\IDB\UpdateFile\UpdateFileMethod.vb" />
|
||||||
|
<Compile Include="Methods\IDB\UpdateFile\UpdateFileRequest.vb" />
|
||||||
|
<Compile Include="Methods\IDB\UpdateFile\UpdateFileResponse.vb" />
|
||||||
|
<Compile Include="Scheduler\LogProvider.vb" />
|
||||||
|
<Compile Include="Scheduler\Scheduler.vb" />
|
||||||
|
<Compile Include="Scheduler\DatatableJob.vb" />
|
||||||
|
<Compile Include="Scheduler\JobListener.vb" />
|
||||||
|
<Compile Include="Scheduler\JobResult.vb" />
|
||||||
|
<Compile Include="Security\SecureFileHandler.vb" />
|
||||||
|
<Compile Include="ServiceHost.vb" />
|
||||||
|
<Compile Include="WindowsService.vb">
|
||||||
|
<SubType>Component</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="IEDMIService.vb" />
|
||||||
|
<Compile Include="My Project\AssemblyInfo.vb" />
|
||||||
|
<Compile Include="My Project\Application.Designer.vb">
|
||||||
|
<AutoGen>True</AutoGen>
|
||||||
|
<DependentUpon>Application.myapp</DependentUpon>
|
||||||
|
<DesignTime>True</DesignTime>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="My Project\Resources.Designer.vb">
|
||||||
|
<AutoGen>True</AutoGen>
|
||||||
|
<DesignTime>True</DesignTime>
|
||||||
|
<DependentUpon>Resources.resx</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="My Project\Settings.Designer.vb">
|
||||||
|
<AutoGen>True</AutoGen>
|
||||||
|
<DependentUpon>Settings.settings</DependentUpon>
|
||||||
|
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="ProjectInstaller.vb">
|
||||||
|
<SubType>Component</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="SettingsModule.vb" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<EmbeddedResource Include="My Project\Resources.resx">
|
||||||
|
<Generator>VbMyResourcesResXFileCodeGenerator</Generator>
|
||||||
|
<LastGenOutput>Resources.Designer.vb</LastGenOutput>
|
||||||
|
<CustomToolNamespace>My.Resources</CustomToolNamespace>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="ProjectInstaller.resx">
|
||||||
|
<DependentUpon>ProjectInstaller.vb</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="My Project\Application.myapp">
|
||||||
|
<Generator>MyApplicationCodeGenerator</Generator>
|
||||||
|
<LastGenOutput>Application.Designer.vb</LastGenOutput>
|
||||||
|
</None>
|
||||||
|
<None Include="My Project\Settings.settings">
|
||||||
|
<Generator>SettingsSingleFileGenerator</Generator>
|
||||||
|
<CustomToolNamespace>My</CustomToolNamespace>
|
||||||
|
<LastGenOutput>Settings.Designer.vb</LastGenOutput>
|
||||||
|
</None>
|
||||||
|
<None Include="App.config">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</None>
|
||||||
|
<None Include="packages.config" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<BootstrapperPackage Include=".NETFramework,Version=v4.6.1">
|
||||||
|
<Visible>False</Visible>
|
||||||
|
<ProductName>Microsoft .NET Framework 4.6.1 %28x86 und x64%29</ProductName>
|
||||||
|
<Install>true</Install>
|
||||||
|
</BootstrapperPackage>
|
||||||
|
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||||
|
<Visible>False</Visible>
|
||||||
|
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||||
|
<Install>false</Install>
|
||||||
|
</BootstrapperPackage>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup />
|
||||||
|
<Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.targets" />
|
||||||
|
</Project>
|
||||||
@@ -226,6 +226,7 @@
|
|||||||
<Compile Include="Scheduler\DatatableJob.vb" />
|
<Compile Include="Scheduler\DatatableJob.vb" />
|
||||||
<Compile Include="Scheduler\JobListener.vb" />
|
<Compile Include="Scheduler\JobListener.vb" />
|
||||||
<Compile Include="Scheduler\JobResult.vb" />
|
<Compile Include="Scheduler\JobResult.vb" />
|
||||||
|
<Compile Include="Security\SecureFileHandler.vb" />
|
||||||
<Compile Include="ServiceHost.vb" />
|
<Compile Include="ServiceHost.vb" />
|
||||||
<Compile Include="WindowsService.vb">
|
<Compile Include="WindowsService.vb">
|
||||||
<SubType>Component</SubType>
|
<SubType>Component</SubType>
|
||||||
|
|||||||
297
Service.EDMIService/EDMIService1.vbproj
Normal file
297
Service.EDMIService/EDMIService1.vbproj
Normal file
@@ -0,0 +1,297 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||||
|
<PropertyGroup>
|
||||||
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||||
|
<ProjectGuid>{A8C3F298-76AB-4359-AB3C-986E313B4336}</ProjectGuid>
|
||||||
|
<OutputType>Exe</OutputType>
|
||||||
|
<StartupObject>DigitalData.Services.EDMIService.WindowsService</StartupObject>
|
||||||
|
<RootNamespace>DigitalData.Services.EDMIService</RootNamespace>
|
||||||
|
<AssemblyName>EDMIService</AssemblyName>
|
||||||
|
<FileAlignment>512</FileAlignment>
|
||||||
|
<MyType>Console</MyType>
|
||||||
|
<TargetFrameworkVersion>net8.0</TargetFrameworkVersion>
|
||||||
|
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||||
|
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||||
|
<TargetFrameworkProfile />
|
||||||
|
<PublishUrl>publish\</PublishUrl>
|
||||||
|
<Install>true</Install>
|
||||||
|
<InstallFrom>Disk</InstallFrom>
|
||||||
|
<UpdateEnabled>false</UpdateEnabled>
|
||||||
|
<UpdateMode>Foreground</UpdateMode>
|
||||||
|
<UpdateInterval>7</UpdateInterval>
|
||||||
|
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||||
|
<UpdatePeriodically>false</UpdatePeriodically>
|
||||||
|
<UpdateRequired>false</UpdateRequired>
|
||||||
|
<MapFileExtensions>true</MapFileExtensions>
|
||||||
|
<ApplicationRevision>0</ApplicationRevision>
|
||||||
|
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||||
|
<UseApplicationTrust>false</UseApplicationTrust>
|
||||||
|
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
|
<PlatformTarget>x64</PlatformTarget>
|
||||||
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
<DebugType>full</DebugType>
|
||||||
|
<DefineDebug>true</DefineDebug>
|
||||||
|
<DefineTrace>true</DefineTrace>
|
||||||
|
<OutputPath>bin\Debug\</OutputPath>
|
||||||
|
<DocumentationFile>
|
||||||
|
</DocumentationFile>
|
||||||
|
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
|
||||||
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
|
<DebugType>pdbonly</DebugType>
|
||||||
|
<DefineDebug>false</DefineDebug>
|
||||||
|
<DefineTrace>true</DefineTrace>
|
||||||
|
<Optimize>true</Optimize>
|
||||||
|
<OutputPath>bin\Release\</OutputPath>
|
||||||
|
<DocumentationFile>
|
||||||
|
</DocumentationFile>
|
||||||
|
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<OptionExplicit>On</OptionExplicit>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<OptionCompare>Binary</OptionCompare>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<OptionStrict>Off</OptionStrict>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<OptionInfer>On</OptionInfer>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Reference Include="DigitalData.Modules.Base">
|
||||||
|
<HintPath>..\..\DDModules\Base\bin\Debug\DigitalData.Modules.Base.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="DigitalData.Modules.Config">
|
||||||
|
<HintPath>..\..\DDModules\Config\bin\Debug\DigitalData.Modules.Config.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="DigitalData.Modules.Database">
|
||||||
|
<HintPath>..\..\DDModules\Database\bin\Debug\DigitalData.Modules.Database.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="DigitalData.Modules.EDMI.API">
|
||||||
|
<HintPath>..\..\DDModules\EDMIAPI\bin\Debug\DigitalData.Modules.EDMI.API.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="DigitalData.Modules.Filesystem">
|
||||||
|
<HintPath>P:\Projekte DIGITAL DATA\DIGITAL DATA - Entwicklung\DLL_Bibliotheken\Digital Data\DigitalData.Modules.Filesystem.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="DigitalData.Modules.Language">
|
||||||
|
<HintPath>P:\Projekte DIGITAL DATA\DIGITAL DATA - Entwicklung\DLL_Bibliotheken\Digital Data\DigitalData.Modules.Language.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="DigitalData.Modules.Logging">
|
||||||
|
<HintPath>..\..\DDModules\Logging\bin\Debug\DigitalData.Modules.Logging.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="DigitalData.Modules.Patterns">
|
||||||
|
<HintPath>..\..\DDModules\Patterns\bin\Debug\DigitalData.Modules.Patterns.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="DigitalData.Modules.ZooFlow">
|
||||||
|
<HintPath>..\..\DDModules\ZooFlow\bin\Debug\DigitalData.Modules.ZooFlow.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="FirebirdSql.Data.FirebirdClient, Version=7.5.0.0, Culture=neutral, PublicKeyToken=3750abcc3150b00c, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\FirebirdSql.Data.FirebirdClient.7.5.0\lib\net452\FirebirdSql.Data.FirebirdClient.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Microsoft.CSharp" />
|
||||||
|
<Reference Include="Microsoft.Extensions.Logging.Abstractions, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\Microsoft.Extensions.Logging.Abstractions.2.1.1\lib\netstandard2.0\Microsoft.Extensions.Logging.Abstractions.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\NLog.5.0.5\lib\net46\NLog.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Quartz, Version=3.5.0.0, Culture=neutral, PublicKeyToken=f6b8c98a402cc8a4, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\Quartz.3.5.0\lib\net462\Quartz.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System" />
|
||||||
|
<Reference Include="System.Buffers, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\System.Buffers.4.5.1\lib\net461\System.Buffers.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System.ComponentModel.DataAnnotations" />
|
||||||
|
<Reference Include="System.Configuration" />
|
||||||
|
<Reference Include="System.Configuration.Install" />
|
||||||
|
<Reference Include="System.Data" />
|
||||||
|
<Reference Include="System.Deployment" />
|
||||||
|
<Reference Include="System.Diagnostics.DiagnosticSource, Version=4.0.5.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\System.Diagnostics.DiagnosticSource.4.7.1\lib\net46\System.Diagnostics.DiagnosticSource.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System.IO.Compression" />
|
||||||
|
<Reference Include="System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\System.Memory.4.5.4\lib\net461\System.Memory.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System.Numerics" />
|
||||||
|
<Reference Include="System.Numerics.Vectors, Version=4.1.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\System.Numerics.Vectors.4.5.0\lib\net46\System.Numerics.Vectors.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.4.5.3\lib\net461\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System.Runtime.Remoting" />
|
||||||
|
<Reference Include="System.Runtime.Serialization" />
|
||||||
|
<Reference Include="System.ServiceModel" />
|
||||||
|
<Reference Include="System.ServiceProcess" />
|
||||||
|
<Reference Include="System.Transactions" />
|
||||||
|
<Reference Include="System.Web.Extensions" />
|
||||||
|
<Reference Include="System.Windows.Forms" />
|
||||||
|
<Reference Include="System.Xml" />
|
||||||
|
<Reference Include="System.Core" />
|
||||||
|
<Reference Include="System.Xml.Linq" />
|
||||||
|
<Reference Include="System.Data.DataSetExtensions" />
|
||||||
|
<Reference Include="System.Net.Http" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Import Include="Microsoft.VisualBasic" />
|
||||||
|
<Import Include="System" />
|
||||||
|
<Import Include="System.Collections" />
|
||||||
|
<Import Include="System.Collections.Generic" />
|
||||||
|
<Import Include="System.Data" />
|
||||||
|
<Import Include="System.Diagnostics" />
|
||||||
|
<Import Include="System.Linq" />
|
||||||
|
<Import Include="System.Xml.Linq" />
|
||||||
|
<Import Include="System.Threading.Tasks" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Compile Include="BaseClass.vb" />
|
||||||
|
<Compile Include="BaseMethod.vb" />
|
||||||
|
<Compile Include="ClassConstants.vb" />
|
||||||
|
<Compile Include="Config.vb" />
|
||||||
|
<Compile Include="Methods\Base\GetClientConfig\GetClientConfigMethod.vb" />
|
||||||
|
<Compile Include="Methods\Base\GetClientConfig\GetClientConfigResponse.vb" />
|
||||||
|
<Compile Include="Methods\Database\DatabaseName.vb" />
|
||||||
|
<Compile Include="Methods\Database\DatabaseType.vb" />
|
||||||
|
<Compile Include="Methods\Database\ExecuteNonQuery\ExecuteNonQueryMethod.vb" />
|
||||||
|
<Compile Include="Methods\Database\ExecuteNonQuery\ExecuteNonQueryRequest.vb" />
|
||||||
|
<Compile Include="Methods\Database\ExecuteNonQuery\ExecuteNonQueryResponse.vb" />
|
||||||
|
<Compile Include="Methods\Database\GetScalarValue\GetScalarValueMethod.vb" />
|
||||||
|
<Compile Include="Methods\Database\GetScalarValue\GetScalarValueRequest.vb" />
|
||||||
|
<Compile Include="Methods\Database\GetScalarValue\GetScalarValueResponse.vb" />
|
||||||
|
<Compile Include="Methods\Database\GetDatatable\GetDatatableMethod.vb" />
|
||||||
|
<Compile Include="Methods\Database\GetDatatable\GetDatatableRequest.vb" />
|
||||||
|
<Compile Include="Methods\Database\GetDatatable\GetDatatableResponse.vb" />
|
||||||
|
<Compile Include="Methods\IDB\CheckInOutFile\CheckInOutFileMethod.vb" />
|
||||||
|
<Compile Include="Methods\IDB\CheckInOutFile\CheckInOutFileRequest.vb" />
|
||||||
|
<Compile Include="Methods\IDB\CheckInOutFile\CheckInOutFileResponse.vb" />
|
||||||
|
<Compile Include="Methods\IDB\FileProperties.vb" />
|
||||||
|
<Compile Include="Methods\IDB\GetAttributeValue\GetAttributeValueMethod.vb" />
|
||||||
|
<Compile Include="Methods\IDB\GetAttributeValue\GetAttributeValueRequest.vb" />
|
||||||
|
<Compile Include="Methods\IDB\GetAttributeValue\GetAttributeValueResponse.vb" />
|
||||||
|
<Compile Include="Methods\Database\GetDatatableFromCache\GetDatatableFromCacheMethod.vb" />
|
||||||
|
<Compile Include="Methods\Database\GetDatatableFromCache\GetDatatableFromCacheRequest.vb" />
|
||||||
|
<Compile Include="Methods\Database\GetDatatableFromCache\GetDatatableFromCacheResponse.vb" />
|
||||||
|
<Compile Include="Methods\IDB\GetFileInfo\FileInfo.vb" />
|
||||||
|
<Compile Include="Methods\IDB\GetFileInfo\GetFileInfoMethod.vb" />
|
||||||
|
<Compile Include="Methods\IDB\GetFileInfo\GetFileInfoRequest.vb" />
|
||||||
|
<Compile Include="Methods\IDB\GetFileInfo\GetFileInfoResponse.vb" />
|
||||||
|
<Compile Include="Methods\IDB\GetFileObject\FileObject.vb" />
|
||||||
|
<Compile Include="Methods\IDB\GetFileObject\GetFileObjectRequest.vb" />
|
||||||
|
<Compile Include="Methods\IDB\GetFileObject\GetFileObjectResponse.vb" />
|
||||||
|
<Compile Include="Methods\IDB\GetFileObject\GetFileObjectMethod.vb" />
|
||||||
|
<Compile Include="Methods\GlobalIndexer\AutomaticIndex.vb" />
|
||||||
|
<Compile Include="Methods\GlobalIndexer\BaseIndex.vb" />
|
||||||
|
<Compile Include="Methods\GlobalIndexer\ImportFile\Steps\AutomaticIndexing.vb" />
|
||||||
|
<Compile Include="Methods\GlobalIndexer\ImportFile\ImportFileMethod.vb" />
|
||||||
|
<Compile Include="Methods\GlobalIndexer\ImportFile\ImportFileRequest.vb" />
|
||||||
|
<Compile Include="Methods\GlobalIndexer\ImportFile\ImportFileResponse.vb" />
|
||||||
|
<Compile Include="Methods\GlobalIndexer\ImportFile\Steps\PostProcessing.vb" />
|
||||||
|
<Compile Include="Methods\GlobalIndexer\Loader.vb" />
|
||||||
|
<Compile Include="Methods\GlobalIndexer\ManualIndex.vb" />
|
||||||
|
<Compile Include="Methods\GlobalIndexer\PostProcessingStep.vb" />
|
||||||
|
<Compile Include="Methods\GlobalIndexer\Profile.vb" />
|
||||||
|
<Compile Include="Methods\IDB\ImportFile\ImportFileMethod.vb" />
|
||||||
|
<Compile Include="Methods\IDB\ImportFile\ImportFileRequest.vb" />
|
||||||
|
<Compile Include="Methods\IDB\ImportFile\ImportFileResponse.vb" />
|
||||||
|
<Compile Include="Methods\IDB\NewFile\NewFileMethod.vb" />
|
||||||
|
<Compile Include="Methods\IDB\NewFile\NewFileRequest.vb" />
|
||||||
|
<Compile Include="Methods\IDB\NewFile\NewFileResponse.vb" />
|
||||||
|
<Compile Include="Methods\IDB\SetAttributeValue\SetAttributeValueMethod.vb" />
|
||||||
|
<Compile Include="Methods\IDB\SetAttributeValue\SetAttributeValueResponse.vb" />
|
||||||
|
<Compile Include="Methods\IDB\SetAttributeValue\SetAttributeValueRequest.vb" />
|
||||||
|
<Compile Include="GlobalState.vb" />
|
||||||
|
<Compile Include="IDB\Helpers.vb" />
|
||||||
|
<Compile Include="Messages\AccessRightResult.vb" />
|
||||||
|
<Compile Include="Messages\Messages.vb" />
|
||||||
|
<Compile Include="Messages\BaseResponse.vb" />
|
||||||
|
<Compile Include="Exceptions.vb" />
|
||||||
|
<Compile Include="Messages\DatabaseResult.vb" />
|
||||||
|
<Compile Include="EDMIService.vb" />
|
||||||
|
<Compile Include="Methods\IDB\AttributeValue.vb" />
|
||||||
|
<Compile Include="Methods\IDB\UpdateFile\UpdateFileMethod.vb" />
|
||||||
|
<Compile Include="Methods\IDB\UpdateFile\UpdateFileRequest.vb" />
|
||||||
|
<Compile Include="Methods\IDB\UpdateFile\UpdateFileResponse.vb" />
|
||||||
|
<Compile Include="Scheduler\LogProvider.vb" />
|
||||||
|
<Compile Include="Scheduler\Scheduler.vb" />
|
||||||
|
<Compile Include="Scheduler\DatatableJob.vb" />
|
||||||
|
<Compile Include="Scheduler\JobListener.vb" />
|
||||||
|
<Compile Include="Scheduler\JobResult.vb" />
|
||||||
|
<Compile Include="Security\SecureFileHandler.vb" />
|
||||||
|
<Compile Include="ServiceHost.vb" />
|
||||||
|
<Compile Include="WindowsService.vb">
|
||||||
|
<SubType>Component</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="IEDMIService.vb" />
|
||||||
|
<Compile Include="My Project\AssemblyInfo.vb" />
|
||||||
|
<Compile Include="My Project\Application.Designer.vb">
|
||||||
|
<AutoGen>True</AutoGen>
|
||||||
|
<DependentUpon>Application.myapp</DependentUpon>
|
||||||
|
<DesignTime>True</DesignTime>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="My Project\Resources.Designer.vb">
|
||||||
|
<AutoGen>True</AutoGen>
|
||||||
|
<DesignTime>True</DesignTime>
|
||||||
|
<DependentUpon>Resources.resx</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="My Project\Settings.Designer.vb">
|
||||||
|
<AutoGen>True</AutoGen>
|
||||||
|
<DependentUpon>Settings.settings</DependentUpon>
|
||||||
|
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="ProjectInstaller.vb">
|
||||||
|
<SubType>Component</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="SettingsModule.vb" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<EmbeddedResource Include="My Project\Resources.resx">
|
||||||
|
<Generator>VbMyResourcesResXFileCodeGenerator</Generator>
|
||||||
|
<LastGenOutput>Resources.Designer.vb</LastGenOutput>
|
||||||
|
<CustomToolNamespace>My.Resources</CustomToolNamespace>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="ProjectInstaller.resx">
|
||||||
|
<DependentUpon>ProjectInstaller.vb</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="My Project\Application.myapp">
|
||||||
|
<Generator>MyApplicationCodeGenerator</Generator>
|
||||||
|
<LastGenOutput>Application.Designer.vb</LastGenOutput>
|
||||||
|
</None>
|
||||||
|
<None Include="My Project\Settings.settings">
|
||||||
|
<Generator>SettingsSingleFileGenerator</Generator>
|
||||||
|
<CustomToolNamespace>My</CustomToolNamespace>
|
||||||
|
<LastGenOutput>Settings.Designer.vb</LastGenOutput>
|
||||||
|
</None>
|
||||||
|
<None Include="App.config">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</None>
|
||||||
|
<None Include="packages.config" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<BootstrapperPackage Include=".NETFramework,Version=v4.6.1">
|
||||||
|
<Visible>False</Visible>
|
||||||
|
<ProductName>Microsoft .NET Framework 4.6.1 %28x86 und x64%29</ProductName>
|
||||||
|
<Install>true</Install>
|
||||||
|
</BootstrapperPackage>
|
||||||
|
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||||
|
<Visible>False</Visible>
|
||||||
|
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||||
|
<Install>false</Install>
|
||||||
|
</BootstrapperPackage>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup />
|
||||||
|
<Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.targets" />
|
||||||
|
</Project>
|
||||||
@@ -86,14 +86,7 @@ Namespace Methods.GlobalIndexer.ImportFile
|
|||||||
oAutoAttributes = oAutomaticIndexing.ApplyAutomaticeAttributes(oUserAttributes, pData.File.FileInfoRaw, User)
|
oAutoAttributes = oAutomaticIndexing.ApplyAutomaticeAttributes(oUserAttributes, pData.File.FileInfoRaw, User)
|
||||||
|
|
||||||
' Import the file
|
' Import the file
|
||||||
Dim oNewFile As New NewFile.NewFileMethod(LogConfig, DatabaseIDB, DatabaseECM, GlobalState)
|
Dim oResponse = ImportFile(pData)
|
||||||
Dim oResponse = oNewFile.Run(New NewFile.NewFileRequest With {
|
|
||||||
.File = pData.File,
|
|
||||||
.IDBDoctypeId = pData.IDBDoctypeId,
|
|
||||||
.KindType = pData.KindType,
|
|
||||||
.StoreName = pData.StoreName,
|
|
||||||
.User = User
|
|
||||||
})
|
|
||||||
|
|
||||||
If oResponse.OK Then
|
If oResponse.OK Then
|
||||||
Logger.Info("Import of file [{0}] under ObjectId [{1}] successful!", pData.File.FileName, oResponse.ObjectId)
|
Logger.Info("Import of file [{0}] under ObjectId [{1}] successful!", pData.File.FileName, oResponse.ObjectId)
|
||||||
@@ -147,7 +140,16 @@ Namespace Methods.GlobalIndexer.ImportFile
|
|||||||
Return New Globix_ImportFileResponse(ex)
|
Return New Globix_ImportFileResponse(ex)
|
||||||
End Try
|
End Try
|
||||||
End Function
|
End Function
|
||||||
|
Private Function ImportFile(pData As Globix_ImportFileRequest) As NewFile.NewFileResponse
|
||||||
|
Dim oNewFile As New NewFile.NewFileMethod(LogConfig, DatabaseIDB, DatabaseECM, GlobalState)
|
||||||
|
Return oNewFile.Run(New NewFile.NewFileRequest With {
|
||||||
|
.File = pData.File,
|
||||||
|
.IDBDoctypeId = pData.IDBDoctypeId,
|
||||||
|
.KindType = pData.KindType,
|
||||||
|
.StoreName = pData.StoreName,
|
||||||
|
.User = User
|
||||||
|
})
|
||||||
|
End Function
|
||||||
Private Function GetVirtualPath(pFileInfo As FileInfo, pPathConvention As String, pUser As UserState, pUserAttributes As List(Of UserAttributeValue), pAutoAttributes As List(Of UserAttributeValue))
|
Private Function GetVirtualPath(pFileInfo As FileInfo, pPathConvention As String, pUser As UserState, pUserAttributes As List(Of UserAttributeValue), pAutoAttributes As List(Of UserAttributeValue))
|
||||||
Logger.Info("Generating virtual path for file [{0}]", pFileInfo.Name)
|
Logger.Info("Generating virtual path for file [{0}]", pFileInfo.Name)
|
||||||
|
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
Imports DigitalData.Modules.Logging
|
Imports DigitalData.Modules.Logging
|
||||||
Imports DigitalData.Modules.Language
|
Imports DigitalData.Modules.Language
|
||||||
Imports System.IO
|
Imports System.IO
|
||||||
|
Imports DigitalData.Services.EDMIService.Security
|
||||||
|
|
||||||
Namespace Methods.IDB.GetFileObject
|
Namespace Methods.IDB.GetFileObject
|
||||||
Public Class GetFileObjectMethod
|
Public Class GetFileObjectMethod
|
||||||
@@ -69,6 +70,29 @@ Namespace Methods.IDB.GetFileObject
|
|||||||
End Function
|
End Function
|
||||||
|
|
||||||
Private Function LoadFileContents(pFilePath As String) As Byte()
|
Private Function LoadFileContents(pFilePath As String) As Byte()
|
||||||
|
Try
|
||||||
|
Dim password = Environment.GetEnvironmentVariable("DD_FILE_ENCRYPTION_PASSWORD")
|
||||||
|
If String.IsNullOrWhiteSpace(password) Then
|
||||||
|
Logger.Warn("No encryption password set (DD_FILE_ENCRYPTION_PASSWORD). Attempting legacy plain read for file [{0}]", pFilePath)
|
||||||
|
Return ReadPlain(pFilePath)
|
||||||
|
End If
|
||||||
|
|
||||||
|
Try
|
||||||
|
' Try decrypt first (preferred path)
|
||||||
|
Logger.Debug("Attempting AES decrypt for file [{0}]", pFilePath)
|
||||||
|
Return SecureFileHandler.DecryptFileToBytes(pFilePath, password)
|
||||||
|
Catch exDec As Exception
|
||||||
|
Logger.Warn("Decrypt failed for file [{0}]. Falling back to plain read. Reason: {1}", pFilePath, exDec.Message)
|
||||||
|
Logger.Error(exDec)
|
||||||
|
Return ReadPlain(pFilePath)
|
||||||
|
End Try
|
||||||
|
|
||||||
|
Catch ex As Exception
|
||||||
|
Logger.Error(ex)
|
||||||
|
Return Nothing
|
||||||
|
End Try
|
||||||
|
End Function
|
||||||
|
Private Function LoadFileContents_Old(pFilePath As String) As Byte()
|
||||||
Try
|
Try
|
||||||
Using oFileStream As New FileStream(pFilePath, FileMode.Open, FileAccess.Read)
|
Using oFileStream As New FileStream(pFilePath, FileMode.Open, FileAccess.Read)
|
||||||
Using oMemoryStream As New MemoryStream()
|
Using oMemoryStream As New MemoryStream()
|
||||||
@@ -85,6 +109,15 @@ Namespace Methods.IDB.GetFileObject
|
|||||||
|
|
||||||
End Try
|
End Try
|
||||||
End Function
|
End Function
|
||||||
|
|
||||||
|
Private Function ReadPlain(pFilePath As String) As Byte()
|
||||||
|
Using oFileStream As New FileStream(pFilePath, FileMode.Open, FileAccess.Read, FileShare.Read)
|
||||||
|
Using oMemoryStream As New MemoryStream()
|
||||||
|
oFileStream.CopyTo(oMemoryStream)
|
||||||
|
Return oMemoryStream.ToArray()
|
||||||
|
End Using
|
||||||
|
End Using
|
||||||
|
End Function
|
||||||
End Class
|
End Class
|
||||||
|
|
||||||
End Namespace
|
End Namespace
|
||||||
@@ -3,6 +3,7 @@ Imports DigitalData.Modules.Base.IDB.Constants
|
|||||||
Imports DigitalData.Modules.Database
|
Imports DigitalData.Modules.Database
|
||||||
Imports DigitalData.Modules.Database.MSSQLServer.TransactionMode
|
Imports DigitalData.Modules.Database.MSSQLServer.TransactionMode
|
||||||
Imports DigitalData.Modules.Logging
|
Imports DigitalData.Modules.Logging
|
||||||
|
Imports DigitalData.Services.EDMIService.Security
|
||||||
|
|
||||||
Namespace Methods.IDB.NewFile
|
Namespace Methods.IDB.NewFile
|
||||||
Public Class NewFileMethod
|
Public Class NewFileMethod
|
||||||
@@ -22,6 +23,197 @@ Namespace Methods.IDB.NewFile
|
|||||||
Logger.Debug("Running [NewFileMethod].")
|
Logger.Debug("Running [NewFileMethod].")
|
||||||
Dim oFilePath As String = Nothing
|
Dim oFilePath As String = Nothing
|
||||||
|
|
||||||
|
Try
|
||||||
|
If pData.File Is Nothing Then
|
||||||
|
Throw New ArgumentNullException(NameOf(pData.File))
|
||||||
|
End If
|
||||||
|
|
||||||
|
If pData.KindType Is Nothing Then
|
||||||
|
Throw New ArgumentNullException(NameOf(pData.KindType))
|
||||||
|
End If
|
||||||
|
|
||||||
|
If pData.StoreName Is Nothing Then
|
||||||
|
Throw New ArgumentNullException(NameOf(pData.StoreName))
|
||||||
|
End If
|
||||||
|
|
||||||
|
If pData.User Is Nothing Then
|
||||||
|
Throw New ArgumentNullException(NameOf(pData.User))
|
||||||
|
End If
|
||||||
|
|
||||||
|
If IsNothing(pData.IDBDoctypeId) Then
|
||||||
|
Throw New ArgumentNullException(NameOf(pData.IDBDoctypeId))
|
||||||
|
End If
|
||||||
|
|
||||||
|
Logger.Debug("Checking if checksum already exists..")
|
||||||
|
Dim oExistingObjectId = Helpers.TestFileChecksumExists(pData.File.FileChecksum)
|
||||||
|
If oExistingObjectId > 0 Then
|
||||||
|
Return New NewFileResponse(oExistingObjectId)
|
||||||
|
End If
|
||||||
|
|
||||||
|
Logger.Debug("Creating New ObjectId..")
|
||||||
|
Dim oObjectId = Helpers.NewObjectIdWithTransaction(pData.KindType, pData.User.UserName, Connection, Transaction)
|
||||||
|
If oObjectId = 0 Then
|
||||||
|
LogAndThrow("Could not create new ObjectId!")
|
||||||
|
End If
|
||||||
|
Logger.Debug("New ObjectId [{0}] created!", oObjectId)
|
||||||
|
|
||||||
|
' Find ObjectStore by Title
|
||||||
|
Logger.Debug("Checking for DataStore [{0}].", pData.StoreName)
|
||||||
|
Dim oStore = GlobalState.ObjectStores.
|
||||||
|
Where(Function(store) store.Title = pData.StoreName).
|
||||||
|
SingleOrDefault()
|
||||||
|
|
||||||
|
If oStore Is Nothing Then
|
||||||
|
LogAndThrow($"DataStore [{pData.StoreName}] does not exist. Exiting.")
|
||||||
|
End If
|
||||||
|
Logger.Debug("Using DataStore [{0}].", pData.StoreName)
|
||||||
|
|
||||||
|
' Get Store base and final path
|
||||||
|
Logger.Debug("Store BasePath is [{0}]", oStore.Path)
|
||||||
|
Dim oFinalPath = Helpers.GetFileObjectPath(oStore, pData.File.FileImportedAt)
|
||||||
|
|
||||||
|
' Ensure target directory exists
|
||||||
|
Try
|
||||||
|
If Not IO.Directory.Exists(oFinalPath) Then
|
||||||
|
IO.Directory.CreateDirectory(oFinalPath)
|
||||||
|
End If
|
||||||
|
Catch exDir As Exception
|
||||||
|
LogAndThrow(exDir, $"Target directory [{oFinalPath}] could not be created.")
|
||||||
|
End Try
|
||||||
|
|
||||||
|
' Get filename
|
||||||
|
Dim oKeepFileName As Boolean = False
|
||||||
|
If oStore.IsArchive Then
|
||||||
|
Logger.Debug("Object Store is an archive: [{0}]", oStore.IsArchive)
|
||||||
|
oKeepFileName = True
|
||||||
|
End If
|
||||||
|
|
||||||
|
Dim oFileName As String = GetFileObjectFileName(oObjectId, pData.File.FileName, oKeepFileName)
|
||||||
|
Logger.Debug("Filename is [{0}]", oFileName)
|
||||||
|
|
||||||
|
oFilePath = IO.Path.Combine(oFinalPath, oFileName)
|
||||||
|
Dim oFileObjectInfo As IO.FileInfo = New IO.FileInfo(oFilePath)
|
||||||
|
|
||||||
|
Dim oFileObjectName As String = oFileObjectInfo.Name
|
||||||
|
Logger.Debug("File Information for [{0}]:", oFileObjectName)
|
||||||
|
|
||||||
|
Dim oFileObjectSize As Long = pData.File.FileContents.Length ' original (plaintext) size
|
||||||
|
Logger.Debug("Original Size: [{0}]", oFileObjectSize)
|
||||||
|
|
||||||
|
Dim oOriginalExtension As String = pData.File.FileInfoRaw.Extension.Substring(1)
|
||||||
|
Logger.Debug("Original Extension: [{0}]", oOriginalExtension)
|
||||||
|
|
||||||
|
Logger.Debug("Checksum: [{0}]", pData.File.FileChecksum)
|
||||||
|
|
||||||
|
' Retrieve encryption password (environment variable)
|
||||||
|
Dim encryptionPassword As String = Environment.GetEnvironmentVariable("DD_FILE_ENCRYPTION_PASSWORD")
|
||||||
|
If String.IsNullOrWhiteSpace(encryptionPassword) Then
|
||||||
|
LogAndThrow("Encryption password not configured (env DD_FILE_ENCRYPTION_PASSWORD).")
|
||||||
|
End If
|
||||||
|
|
||||||
|
' Perform encryption with strict failure handling
|
||||||
|
Try
|
||||||
|
Logger.Info("Encrypting and saving file to path [{0}]", oFilePath)
|
||||||
|
SecureFileHandler.EncryptFileFromBytes(pData.File.FileContents, oFilePath, encryptionPassword)
|
||||||
|
Catch exEnc As Exception
|
||||||
|
LogAndThrow(exEnc, $"Could not encrypt/write file [{oFilePath}] to disk!")
|
||||||
|
End Try
|
||||||
|
|
||||||
|
' Post-encryption validation: file must exist and contain at least header bytes
|
||||||
|
Try
|
||||||
|
Dim fi As New IO.FileInfo(oFilePath)
|
||||||
|
If Not fi.Exists Then
|
||||||
|
LogAndThrow($"Encrypted file was not created at [{oFilePath}].")
|
||||||
|
End If
|
||||||
|
' Minimum file size:1 (version) +4 (iterations) +32 (salt) =37 bytes
|
||||||
|
If fi.Length < 37 Then
|
||||||
|
LogAndThrow($"Encrypted file at [{oFilePath}] is invalid or truncated (size {fi.Length}).")
|
||||||
|
End If
|
||||||
|
Logger.Debug("Encrypted physical file size: [{0}]", fi.Length)
|
||||||
|
Catch exVal As Exception
|
||||||
|
' LogAndThrow above will throw; any other IO errors should also abort here
|
||||||
|
LogAndThrow(exVal, "Encrypted file validation failed.")
|
||||||
|
End Try
|
||||||
|
|
||||||
|
'---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
Logger.Info("Creating IDB FileObject for ObjectId [{0}].", oObjectId)
|
||||||
|
' Insert into DB (store original plaintext size for consistency)
|
||||||
|
Dim oSQL As String = $"EXEC PRIDB_NEW_IDBFO
|
||||||
|
'{oFinalPath}',
|
||||||
|
'{oFileObjectName}',
|
||||||
|
'{oOriginalExtension}',
|
||||||
|
{oFileObjectSize},
|
||||||
|
'{pData.File.FileChecksum}' ,
|
||||||
|
'{pData.User.UserName}',
|
||||||
|
'{oObjectId}',
|
||||||
|
{oStore.Id},
|
||||||
|
{pData.IDBDoctypeId}"
|
||||||
|
|
||||||
|
Dim oResult As Boolean = DatabaseIDB.ExecuteNonQueryWithConnectionObject(oSQL, Connection, ExternalTransaction, Transaction)
|
||||||
|
|
||||||
|
If oResult = False Then
|
||||||
|
LogAndThrow("IDB FileObject could not be created!")
|
||||||
|
End If
|
||||||
|
|
||||||
|
'---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
Dim oSystemAttributes As New Dictionary(Of String, Object) From {
|
||||||
|
{Attributes.ATTRIBUTE_ORIGIN_FILENAME, pData.File.FileName},
|
||||||
|
{Attributes.ATTRIBUTE_ORIGIN_CREATED, pData.File.FileCreatedAt},
|
||||||
|
{Attributes.ATTRIBUTE_ORIGIN_CHANGED, pData.File.FileChangedAt}
|
||||||
|
}
|
||||||
|
|
||||||
|
For Each oAttribute As KeyValuePair(Of String, Object) In oSystemAttributes
|
||||||
|
Try
|
||||||
|
' Dont write empty attributes
|
||||||
|
If oAttribute.Value Is Nothing Then
|
||||||
|
Continue For
|
||||||
|
End If
|
||||||
|
|
||||||
|
Dim oSuccess = Helpers.SetAttributeValueWithTransaction(Connection, Transaction, oObjectId, oAttribute.Key, oAttribute.Value, pData.User.Language, pData.User.UserName)
|
||||||
|
If oSuccess Then
|
||||||
|
Logger.Debug("System Attribute [{0}] written with value [{1}]", oAttribute.Key, oAttribute.Value)
|
||||||
|
Else
|
||||||
|
Logger.Warn("System attribute value could not be written")
|
||||||
|
End If
|
||||||
|
Catch ex As Exception
|
||||||
|
LogAndThrow(ex, $"System attribute [{oAttribute.Key}] could not be written!")
|
||||||
|
End Try
|
||||||
|
Next
|
||||||
|
|
||||||
|
'---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
' Finally, commit the transaction
|
||||||
|
Transaction?.Commit()
|
||||||
|
|
||||||
|
Return New NewFileResponse(oObjectId)
|
||||||
|
|
||||||
|
Catch ex As Exception
|
||||||
|
Logger.Warn("Error occurred while creating file!")
|
||||||
|
Logger.Error(ex)
|
||||||
|
|
||||||
|
Logger.Info("Cleaning up files.")
|
||||||
|
If Not IsNothing(oFilePath) AndAlso IO.File.Exists(oFilePath) Then
|
||||||
|
Try
|
||||||
|
IO.File.Delete(oFilePath)
|
||||||
|
Catch exInner As Exception
|
||||||
|
Logger.Warn("Error while cleaning up files.")
|
||||||
|
Logger.Error(exInner)
|
||||||
|
End Try
|
||||||
|
End If
|
||||||
|
|
||||||
|
Logger.Info("Rolling back transaction.")
|
||||||
|
Transaction?.Rollback()
|
||||||
|
|
||||||
|
Return New NewFileResponse(ex)
|
||||||
|
|
||||||
|
End Try
|
||||||
|
End Function
|
||||||
|
Public Function Run_Old(pData As NewFileRequest) As NewFileResponse
|
||||||
|
Logger.Debug("Running [NewFileMethod Old].")
|
||||||
|
Dim oFilePath As String = Nothing
|
||||||
|
|
||||||
Try
|
Try
|
||||||
If pData.File Is Nothing Then
|
If pData.File Is Nothing Then
|
||||||
Throw New ArgumentNullException(NameOf(pData.File))
|
Throw New ArgumentNullException(NameOf(pData.File))
|
||||||
@@ -181,7 +373,6 @@ Namespace Methods.IDB.NewFile
|
|||||||
|
|
||||||
End Try
|
End Try
|
||||||
End Function
|
End Function
|
||||||
|
|
||||||
Private Function GetFileObjectFileName(IDB_OBJ_ID As Long, pFilename As String, pKeepFilename As Boolean) As String
|
Private Function GetFileObjectFileName(IDB_OBJ_ID As Long, pFilename As String, pKeepFilename As Boolean) As String
|
||||||
' TODO: save actual extensions
|
' TODO: save actual extensions
|
||||||
If pKeepFilename Then
|
If pKeepFilename Then
|
||||||
|
|||||||
146
Service.EDMIService/Security/SecureFileHandler.vb
Normal file
146
Service.EDMIService/Security/SecureFileHandler.vb
Normal file
@@ -0,0 +1,146 @@
|
|||||||
|
Imports System.IO
|
||||||
|
Imports System.Security.Cryptography
|
||||||
|
|
||||||
|
Namespace Security
|
||||||
|
''' <summary>
|
||||||
|
''' Provides secure AES file encryption and decryption using PBKDF2 (Rfc2898DeriveBytes) for key derivation.
|
||||||
|
''' File format:
|
||||||
|
''' [1 byte Version][4 bytes IterationCount (Int32, big-endian)][32 bytes Salt][Encrypted Payload]
|
||||||
|
''' </summary>
|
||||||
|
Public NotInheritable Class SecureFileHandler
|
||||||
|
Private Sub New()
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
Private Const CURRENT_VERSION As Byte = 1
|
||||||
|
Private Const SALT_LENGTH As Integer = 32
|
||||||
|
Private Const KEY_SIZE_BYTES As Integer = 32 ' AES-256
|
||||||
|
Private Const IV_SIZE_BYTES As Integer = 16 ' AES Block size (128 bit)
|
||||||
|
Private Const DEFAULT_ITERATIONS As Integer = 100000
|
||||||
|
Private Const BUFFER_SIZE As Integer = 81920 '80KB streaming buffer
|
||||||
|
|
||||||
|
''' <summary>
|
||||||
|
''' Encrypts the provided byte array and writes an encrypted file to the target path using streaming.
|
||||||
|
''' </summary>
|
||||||
|
Public Shared Sub EncryptFileFromBytes(sourceData() As Byte, targetFilePath As String, password As String, Optional iterations As Integer = DEFAULT_ITERATIONS)
|
||||||
|
If sourceData Is Nothing Then Throw New ArgumentNullException(NameOf(sourceData))
|
||||||
|
If String.IsNullOrWhiteSpace(password) Then Throw New ArgumentNullException(NameOf(password))
|
||||||
|
Using fsOut = New FileStream(targetFilePath, FileMode.Create, FileAccess.Write, FileShare.None)
|
||||||
|
Dim salt = GenerateRandomBytes(SALT_LENGTH)
|
||||||
|
|
||||||
|
' Write header: Version, Iterations, Salt
|
||||||
|
fsOut.WriteByte(CURRENT_VERSION)
|
||||||
|
WriteInt32BigEndian(fsOut, iterations)
|
||||||
|
fsOut.Write(salt, 0, salt.Length)
|
||||||
|
|
||||||
|
Using keyDerivation = New Rfc2898DeriveBytes(password, salt, iterations)
|
||||||
|
Dim key = keyDerivation.GetBytes(KEY_SIZE_BYTES)
|
||||||
|
Dim iv = keyDerivation.GetBytes(IV_SIZE_BYTES)
|
||||||
|
|
||||||
|
Dim aesAlg As System.Security.Cryptography.Aes = System.Security.Cryptography.Aes.Create()
|
||||||
|
Try
|
||||||
|
aesAlg.KeySize = KEY_SIZE_BYTES * 8
|
||||||
|
aesAlg.BlockSize = IV_SIZE_BYTES * 8
|
||||||
|
aesAlg.Mode = CipherMode.CBC
|
||||||
|
aesAlg.Padding = PaddingMode.PKCS7
|
||||||
|
aesAlg.Key = key
|
||||||
|
aesAlg.IV = iv
|
||||||
|
|
||||||
|
Using crypto = aesAlg.CreateEncryptor()
|
||||||
|
Using cs = New CryptoStream(fsOut, crypto, CryptoStreamMode.Write)
|
||||||
|
Using msIn = New MemoryStream(sourceData, writable:=False)
|
||||||
|
Dim buffer(BUFFER_SIZE - 1) As Byte
|
||||||
|
Dim read As Integer
|
||||||
|
Do
|
||||||
|
read = msIn.Read(buffer, 0, buffer.Length)
|
||||||
|
If read <= 0 Then Exit Do
|
||||||
|
cs.Write(buffer, 0, read)
|
||||||
|
Loop
|
||||||
|
End Using
|
||||||
|
cs.FlushFinalBlock()
|
||||||
|
End Using
|
||||||
|
End Using
|
||||||
|
Finally
|
||||||
|
aesAlg.Dispose()
|
||||||
|
End Try
|
||||||
|
End Using
|
||||||
|
End Using
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
''' <summary>
|
||||||
|
''' Decrypts the encrypted file and returns the plaintext bytes.
|
||||||
|
''' </summary>
|
||||||
|
Public Shared Function DecryptFileToBytes(encryptedFilePath As String, password As String) As Byte()
|
||||||
|
If String.IsNullOrWhiteSpace(encryptedFilePath) Then Throw New ArgumentNullException(NameOf(encryptedFilePath))
|
||||||
|
If String.IsNullOrWhiteSpace(password) Then Throw New ArgumentNullException(NameOf(password))
|
||||||
|
Using fsIn = New FileStream(encryptedFilePath, FileMode.Open, FileAccess.Read, FileShare.Read)
|
||||||
|
Dim version = CByte(fsIn.ReadByte())
|
||||||
|
If version <> CURRENT_VERSION Then Throw New InvalidDataException("Unsupported file version.")
|
||||||
|
Dim iterations = ReadInt32BigEndian(fsIn)
|
||||||
|
Dim salt = New Byte(SALT_LENGTH - 1) {}
|
||||||
|
ReadExact(fsIn, salt, 0, salt.Length)
|
||||||
|
|
||||||
|
Using keyDerivation = New Rfc2898DeriveBytes(password, salt, iterations)
|
||||||
|
Dim key = keyDerivation.GetBytes(KEY_SIZE_BYTES)
|
||||||
|
Dim iv = keyDerivation.GetBytes(IV_SIZE_BYTES)
|
||||||
|
|
||||||
|
Dim aesAlg As System.Security.Cryptography.Aes = System.Security.Cryptography.Aes.Create()
|
||||||
|
Try
|
||||||
|
aesAlg.KeySize = KEY_SIZE_BYTES * 8
|
||||||
|
aesAlg.BlockSize = IV_SIZE_BYTES * 8
|
||||||
|
aesAlg.Mode = CipherMode.CBC
|
||||||
|
aesAlg.Padding = PaddingMode.PKCS7
|
||||||
|
aesAlg.Key = key
|
||||||
|
aesAlg.IV = iv
|
||||||
|
|
||||||
|
Using crypto = aesAlg.CreateDecryptor()
|
||||||
|
Using cs = New CryptoStream(fsIn, crypto, CryptoStreamMode.Read)
|
||||||
|
Using msOut = New MemoryStream()
|
||||||
|
Dim buffer(BUFFER_SIZE - 1) As Byte
|
||||||
|
Dim read As Integer
|
||||||
|
Do
|
||||||
|
read = cs.Read(buffer, 0, buffer.Length)
|
||||||
|
If read <= 0 Then Exit Do
|
||||||
|
msOut.Write(buffer, 0, read)
|
||||||
|
Loop
|
||||||
|
Return msOut.ToArray()
|
||||||
|
End Using
|
||||||
|
End Using
|
||||||
|
End Using
|
||||||
|
Finally
|
||||||
|
aesAlg.Dispose()
|
||||||
|
End Try
|
||||||
|
End Using
|
||||||
|
End Using
|
||||||
|
End Function
|
||||||
|
|
||||||
|
Private Shared Function GenerateRandomBytes(length As Integer) As Byte()
|
||||||
|
Dim data = New Byte(length - 1) {}
|
||||||
|
Using rng = RandomNumberGenerator.Create()
|
||||||
|
rng.GetBytes(data)
|
||||||
|
End Using
|
||||||
|
Return data
|
||||||
|
End Function
|
||||||
|
|
||||||
|
Private Shared Sub WriteInt32BigEndian(stream As Stream, value As Integer)
|
||||||
|
Dim bytes = BitConverter.GetBytes(value)
|
||||||
|
If BitConverter.IsLittleEndian Then Array.Reverse(bytes)
|
||||||
|
stream.Write(bytes, 0, bytes.Length)
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
Private Shared Function ReadInt32BigEndian(stream As Stream) As Integer
|
||||||
|
Dim bytes = New Byte(3) {}
|
||||||
|
ReadExact(stream, bytes, 0, 4)
|
||||||
|
If BitConverter.IsLittleEndian Then Array.Reverse(bytes)
|
||||||
|
Return BitConverter.ToInt32(bytes, 0)
|
||||||
|
End Function
|
||||||
|
|
||||||
|
Private Shared Sub ReadExact(stream As Stream, buffer As Byte(), offset As Integer, count As Integer)
|
||||||
|
Dim totalRead As Integer = 0
|
||||||
|
While totalRead < count
|
||||||
|
Dim read = stream.Read(buffer, offset + totalRead, count - totalRead)
|
||||||
|
If read <= 0 Then Throw New EndOfStreamException("Unexpected end of stream.")
|
||||||
|
totalRead += read
|
||||||
|
End While
|
||||||
|
End Sub
|
||||||
|
End Class
|
||||||
|
End Namespace
|
||||||
@@ -53,19 +53,19 @@
|
|||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="DigitalData.Modules.Config, Version=1.1.4.1, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="DigitalData.Modules.Config, Version=1.1.4.1, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>..\..\Modules\Config\bin\Debug\DigitalData.Modules.Config.dll</HintPath>
|
<HintPath>..\..\DDModules\Config\bin\Debug\DigitalData.Modules.Config.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DigitalData.Modules.Database, Version=2.2.7.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="DigitalData.Modules.Database, Version=2.2.7.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>..\..\Modules\Config\bin\Debug\DigitalData.Modules.Database.dll</HintPath>
|
<HintPath>..\..\DDModules\Database\bin\Debug\DigitalData.Modules.Database.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DigitalData.Modules.Jobs, Version=1.8.6.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="DigitalData.Modules.Jobs, Version=1.8.6.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>..\..\Modules\Jobs\bin\Debug\DigitalData.Modules.Jobs.dll</HintPath>
|
<HintPath>..\..\DDModules\Jobs\bin\Debug\DigitalData.Modules.Jobs.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DigitalData.Modules.Logging, Version=2.5.4.2, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="DigitalData.Modules.Logging, Version=2.5.4.2, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>..\..\Modules\Config\bin\Debug\DigitalData.Modules.Logging.dll</HintPath>
|
<HintPath>..\..\DDModules\Logging\bin\Debug\DigitalData.Modules.Logging.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Microsoft.CSharp" />
|
<Reference Include="Microsoft.CSharp" />
|
||||||
<Reference Include="Microsoft.Extensions.Logging.Abstractions, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
|
<Reference Include="Microsoft.Extensions.Logging.Abstractions, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
|
||||||
|
|||||||
@@ -50,11 +50,11 @@
|
|||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="DigitalData.Modules.Database, Version=2.2.7.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="DigitalData.Modules.Database, Version=2.2.7.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>..\..\Modules\Config\bin\Debug\DigitalData.Modules.Database.dll</HintPath>
|
<HintPath>..\..\DDModules\Database\bin\Debug\DigitalData.Modules.Database.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DigitalData.Modules.Logging, Version=2.5.4.2, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="DigitalData.Modules.Logging, Version=2.5.4.2, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>..\..\Modules\Config\bin\Debug\DigitalData.Modules.Logging.dll</HintPath>
|
<HintPath>..\..\DDModules\Logging\bin\Debug\DigitalData.Modules.Logging.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Microsoft.CSharp" />
|
<Reference Include="Microsoft.CSharp" />
|
||||||
<Reference Include="NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
|
<Reference Include="NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
|
||||||
|
|||||||
@@ -48,29 +48,29 @@
|
|||||||
<OptionInfer>On</OptionInfer>
|
<OptionInfer>On</OptionInfer>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="DigitalData.Modules.Base, Version=1.3.6.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="DigitalData.Modules.Base, Version=1.3.8.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>P:\Install .Net\0 DD - Bibliotheken\Modules\Base\DigitalData.Modules.Base.dll</HintPath>
|
<HintPath>..\..\DDModules\Base\bin\Debug\DigitalData.Modules.Base.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DigitalData.Modules.Config, Version=1.2.2.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="DigitalData.Modules.Config, Version=1.3.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>P:\Install .Net\0 DD - Bibliotheken\Modules\Config\DigitalData.Modules.Config.dll</HintPath>
|
<HintPath>..\..\DDModules\Config\bin\Debug\DigitalData.Modules.Config.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DigitalData.Modules.Database, Version=2.3.4.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="DigitalData.Modules.Database, Version=2.3.5.4, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>P:\Install .Net\0 DD - Bibliotheken\Modules\Database\DigitalData.Modules.Database.dll</HintPath>
|
<HintPath>..\..\DDModules\Database\bin\Debug\DigitalData.Modules.Database.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DigitalData.Modules.Interfaces, Version=1.12.1.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="DigitalData.Modules.Interfaces, Version=2.2.6.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>P:\Install .Net\0 DD - Bibliotheken\Modules\Interfaces\DigitalData.Modules.Interfaces.dll</HintPath>
|
<HintPath>..\..\DDModules\Interfaces\bin\Debug\DigitalData.Modules.Interfaces.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DigitalData.Modules.Jobs, Version=2.5.2.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="DigitalData.Modules.Jobs, Version=2.8.1.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>P:\Install .Net\0 DD - Bibliotheken\Modules\Jobs\DigitalData.Modules.Jobs.dll</HintPath>
|
<HintPath>..\..\DDModules\Jobs\bin\Debug\DigitalData.Modules.Jobs.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DigitalData.Modules.Logging, Version=2.6.3.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="DigitalData.Modules.Logging, Version=2.6.5.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>P:\Install .Net\0 DD - Bibliotheken\Modules\Logging\DigitalData.Modules.Logging.dll</HintPath>
|
<HintPath>..\..\DDModules\Logging\bin\Debug\DigitalData.Modules.Logging.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Microsoft.CSharp" />
|
<Reference Include="Microsoft.CSharp" />
|
||||||
<Reference Include="NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
|
<Reference Include="NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
|
||||||
|
|||||||
@@ -1,18 +1,21 @@
|
|||||||
using System;
|
using DigitalData.Modules.Interfaces;
|
||||||
using System.IO;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using Microsoft.AspNetCore.Http;
|
using Microsoft.AspNetCore.Http;
|
||||||
using Microsoft.AspNetCore.Mvc;
|
using Microsoft.AspNetCore.Mvc;
|
||||||
using DigitalData.Modules.Interfaces;
|
using Microsoft.CodeAnalysis.CSharp.Syntax;
|
||||||
using static DigitalData.Modules.Interfaces.Exceptions;
|
|
||||||
using static DigitalData.Modules.Interfaces.ZUGFeRDInterface;
|
|
||||||
using static DigitalData.Modules.Interfaces.PropertyValues;
|
|
||||||
using System.Data.SqlClient;
|
|
||||||
using Microsoft.Extensions.Configuration;
|
using Microsoft.Extensions.Configuration;
|
||||||
using System.Xml.Linq;
|
using Microsoft.VisualStudio.Web.CodeGeneration.Contracts.Messaging;
|
||||||
using Newtonsoft.Json.Linq;
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Data;
|
||||||
|
using System.Data.SqlClient;
|
||||||
|
using System.IO;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Net.Http;
|
||||||
using System.Text.RegularExpressions;
|
using System.Text.RegularExpressions;
|
||||||
|
using System.Xml.Linq;
|
||||||
|
using static DigitalData.Modules.Interfaces.Exceptions;
|
||||||
|
using static DigitalData.Modules.Interfaces.PropertyValues;
|
||||||
|
using static DigitalData.Modules.Interfaces.ZUGFeRDInterface;
|
||||||
|
|
||||||
namespace ZUGFeRDRESTService.Controllers
|
namespace ZUGFeRDRESTService.Controllers
|
||||||
{
|
{
|
||||||
@@ -26,6 +29,37 @@ namespace ZUGFeRDRESTService.Controllers
|
|||||||
public const string ADDED_WHO = "ZUGFeRD REST Service";
|
public const string ADDED_WHO = "ZUGFeRD REST Service";
|
||||||
public const string MESSAGEID_DOMAIN = "test.wisag.de";
|
public const string MESSAGEID_DOMAIN = "test.wisag.de";
|
||||||
|
|
||||||
|
public const string VALIDATION_SUCCESS = "VALIDATION SUCCESS";
|
||||||
|
public const string REFERENCES_Rejection_30001 = "REFERENCES_Rejection_30001";
|
||||||
|
public const string REFERENCES_Rejection_30002 = "REFERENCES_Rejection_30002";
|
||||||
|
public const string REFERENCES_Rejection_30002_1 = "REFERENCES_Rejection_30002_1";
|
||||||
|
public const string REFERENCES_Rejection_30003_1 = "REFERENCES_Rejection_30003_1";
|
||||||
|
public const string REFERENCES_Rejection_30003_2 = "REFERENCES_Rejection_30003_2";
|
||||||
|
public const string REFERENCES_Rejection_30003_3 = "REFERENCES_Rejection_30003_3";
|
||||||
|
public const string REFERENCES_Rejection_30004_1 = "REFERENCES_Rejection_30004_1";
|
||||||
|
public const string REFERENCES_Rejection_30004_2 = "REFERENCES_Rejection_30004_2";
|
||||||
|
public const string REFERENCES_Rejection_30004_3 = "REFERENCES_Rejection_30004_3";
|
||||||
|
public const string REFERENCES_Rejection_30005_1 = "REFERENCES_Rejection_30005_1";
|
||||||
|
public const string REFERENCES_Rejection_30005_2 = "REFERENCES_Rejection_30005_2";
|
||||||
|
public const string REFERENCES_Rejection_30006 = "REFERENCES_Rejection_30006";
|
||||||
|
public const string REFERENCES_Rejection_30007 = "REFERENCES_Rejection_30007";
|
||||||
|
public const string REFERENCES_Rejection_30007_1 = "REFERENCES_Rejection_30007_1";
|
||||||
|
public const string REFERENCES_Rejection_30008 = "REFERENCES_Rejection_30008";
|
||||||
|
public const string REFERENCES_Rejection_30009 = "REFERENCES_Rejection_30009";
|
||||||
|
public const string REFERENCES_Rejection_30010 = "REFERENCES_Rejection_30010";
|
||||||
|
public const string REFERENCES_Rejection_30011 = "REFERENCES_Rejection_30011";
|
||||||
|
public const string REFERENCES_Rejection_30012 = "REFERENCES_Rejection_30012";
|
||||||
|
public const string AMOUNT_CALC_REJECTION = "AMOUNT_CALC_REJECTION";
|
||||||
|
|
||||||
|
public const string GERMAN = "de-DE";
|
||||||
|
public const string ENGLISH = "en-US";
|
||||||
|
public const string FRENCH = "fr-FR";
|
||||||
|
public const string SPAIN = "es-ES";
|
||||||
|
|
||||||
|
private List<string> _ValidationErrors;
|
||||||
|
private List<string> _AllowedLanguageCodes;
|
||||||
|
private string _UserLanguageCode = GERMAN;
|
||||||
|
|
||||||
private const int MAX_FILE_SIZE_DEFAULT = 25;
|
private const int MAX_FILE_SIZE_DEFAULT = 25;
|
||||||
|
|
||||||
private readonly ZUGFeRDInterface _zugferd;
|
private readonly ZUGFeRDInterface _zugferd;
|
||||||
@@ -33,10 +67,9 @@ namespace ZUGFeRDRESTService.Controllers
|
|||||||
|
|
||||||
private readonly DigitalData.Modules.Logging.LogConfig _logConfig;
|
private readonly DigitalData.Modules.Logging.LogConfig _logConfig;
|
||||||
private readonly DigitalData.Modules.Logging.Logger _logger;
|
private readonly DigitalData.Modules.Logging.Logger _logger;
|
||||||
private readonly DigitalData.Modules.Filesystem.File _file;
|
//private readonly DigitalData.Modules.Filesystem.File _file;
|
||||||
|
|
||||||
private readonly PropertyValues _props;
|
private readonly PropertyValues _props;
|
||||||
//private readonly Dictionary<string, XmlItemProperty> _propertyMap = new Dictionary<string, XmlItemProperty>();
|
|
||||||
private readonly List<XmlItemProperty> _propertyMapList = new List<XmlItemProperty>();
|
private readonly List<XmlItemProperty> _propertyMapList = new List<XmlItemProperty>();
|
||||||
private readonly List<RejectionStringRow> _RecjectionMessageList = new List<RejectionStringRow>();
|
private readonly List<RejectionStringRow> _RecjectionMessageList = new List<RejectionStringRow>();
|
||||||
|
|
||||||
@@ -54,8 +87,6 @@ namespace ZUGFeRDRESTService.Controllers
|
|||||||
{
|
{
|
||||||
_logConfig = logging.LogConfig;
|
_logConfig = logging.LogConfig;
|
||||||
_logger = _logConfig.GetLogger();
|
_logger = _logConfig.GetLogger();
|
||||||
_file = new DigitalData.Modules.Filesystem.File(_logConfig);
|
|
||||||
|
|
||||||
_logger.Debug("Validation Controller initializing");
|
_logger.Debug("Validation Controller initializing");
|
||||||
|
|
||||||
// Read config file and assign all option flags related to
|
// Read config file and assign all option flags related to
|
||||||
@@ -82,7 +113,37 @@ namespace ZUGFeRDRESTService.Controllers
|
|||||||
_logger.Debug("Property Map list initial: [{0}] entries found. [{1}] entries will be available.", oPropertyMapList.Count, _propertyMapList.Count);
|
_logger.Debug("Property Map list initial: [{0}] entries found. [{1}] entries will be available.", oPropertyMapList.Count, _propertyMapList.Count);
|
||||||
|
|
||||||
_RecjectionMessageList = database.GetRejectionMessageList();
|
_RecjectionMessageList = database.GetRejectionMessageList();
|
||||||
|
|
||||||
|
_ValidationErrors = new List<String>() {
|
||||||
|
REFERENCES_Rejection_30001,
|
||||||
|
REFERENCES_Rejection_30002,
|
||||||
|
REFERENCES_Rejection_30003_1,
|
||||||
|
REFERENCES_Rejection_30003_2,
|
||||||
|
REFERENCES_Rejection_30003_3,
|
||||||
|
REFERENCES_Rejection_30004_1,
|
||||||
|
REFERENCES_Rejection_30004_2,
|
||||||
|
REFERENCES_Rejection_30004_3,
|
||||||
|
REFERENCES_Rejection_30005_1,
|
||||||
|
REFERENCES_Rejection_30005_2,
|
||||||
|
REFERENCES_Rejection_30006,
|
||||||
|
REFERENCES_Rejection_30007,
|
||||||
|
REFERENCES_Rejection_30007_1,
|
||||||
|
REFERENCES_Rejection_30008,
|
||||||
|
REFERENCES_Rejection_30009,
|
||||||
|
REFERENCES_Rejection_30010,
|
||||||
|
REFERENCES_Rejection_30011,
|
||||||
|
REFERENCES_Rejection_30012,
|
||||||
|
AMOUNT_CALC_REJECTION
|
||||||
|
};
|
||||||
|
|
||||||
|
_AllowedLanguageCodes = new List<string>()
|
||||||
|
{
|
||||||
|
GERMAN,
|
||||||
|
ENGLISH,
|
||||||
|
FRENCH,
|
||||||
|
SPAIN,
|
||||||
|
};
|
||||||
|
|
||||||
_logger.Debug("Validation Controller initialized!");
|
_logger.Debug("Validation Controller initialized!");
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -146,14 +207,58 @@ namespace ZUGFeRDRESTService.Controllers
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="file">This parameter's name needs to correspond to the html form's file-input name</param>
|
/// <param name="file">This parameter's name needs to correspond to the html form's file-input name</param>
|
||||||
/// <param name="user_id">This is the email address which the user supplied</param>
|
/// <param name="user_id">This is the email address which the user supplied</param>
|
||||||
|
/// <param name="language_id">This is language code which the user supplied (en-US, de-DE)</param>
|
||||||
[HttpPost]
|
[HttpPost]
|
||||||
public ValidationResponse Post(IFormFile file, string user_id)
|
public ValidationResponse Post(IFormCollection collection)
|
||||||
{
|
{
|
||||||
_logger.Info("Start processing request to ValidationController");
|
_logger.Info("Start processing request to ValidationController");
|
||||||
|
|
||||||
ZugferdResult oZugferdResult = null;
|
ZugferdResult oZugferdResult = null;
|
||||||
CheckPropertyValuesResult oPropertyResult = new CheckPropertyValuesResult();
|
CheckPropertyValuesResult oPropertyResult = new CheckPropertyValuesResult();
|
||||||
|
|
||||||
|
var oUserId = string.Empty;
|
||||||
|
var oLanguageId = GERMAN;
|
||||||
|
|
||||||
|
IFormFile file = collection.Files[0];
|
||||||
|
|
||||||
|
foreach (var keyItem in collection.Keys)
|
||||||
|
{
|
||||||
|
if (keyItem == "user_id")
|
||||||
|
{
|
||||||
|
oUserId = collection[keyItem];
|
||||||
|
}
|
||||||
|
else if (keyItem == "language_id")
|
||||||
|
{
|
||||||
|
oLanguageId = collection[keyItem];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!string.IsNullOrEmpty(oUserId))
|
||||||
|
{
|
||||||
|
_logger.Info("UserID set to [{0}].", oUserId);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
_logger.Info("UserID is empty!");
|
||||||
|
}
|
||||||
|
|
||||||
|
if (string.IsNullOrEmpty(oLanguageId))
|
||||||
|
{
|
||||||
|
_logger.Info("Language code was empty. Set to default 'de-DE'");
|
||||||
|
// DEFAULT-Sprache = Deutsch de-DE
|
||||||
|
_UserLanguageCode = GERMAN;
|
||||||
|
}
|
||||||
|
else if (_AllowedLanguageCodes.Where(i => i.Equals(oLanguageId, StringComparison.OrdinalIgnoreCase)).FirstOrDefault() != null)
|
||||||
|
{
|
||||||
|
_logger.Info("Language code is allowed. Set to [{0}].", oLanguageId);
|
||||||
|
_UserLanguageCode = oLanguageId;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
_logger.Info("Language code was unknown: [{0}]. Set to default 'de-DE'", oLanguageId);
|
||||||
|
_UserLanguageCode = GERMAN;
|
||||||
|
}
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
using Stream oStream = file.OpenReadStream();
|
using Stream oStream = file.OpenReadStream();
|
||||||
@@ -165,7 +270,6 @@ namespace ZUGFeRDRESTService.Controllers
|
|||||||
|
|
||||||
if (oFileSizeIsOK == false)
|
if (oFileSizeIsOK == false)
|
||||||
{
|
{
|
||||||
//throw new ZUGFeRDExecption(ErrorType.FileTooBig, "FileTooBig");
|
|
||||||
throw new ZUGFeRDExecption(ErrorCodes.FileSizeLimitReachedException, _MaxFileSizeInMegabytes.ToString(), string.Empty, "FileTooBig");
|
throw new ZUGFeRDExecption(ErrorCodes.FileSizeLimitReachedException, _MaxFileSizeInMegabytes.ToString(), string.Empty, "FileTooBig");
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -174,6 +278,7 @@ namespace ZUGFeRDRESTService.Controllers
|
|||||||
if (file.FileName.EndsWith(".pdf", StringComparison.OrdinalIgnoreCase))
|
if (file.FileName.EndsWith(".pdf", StringComparison.OrdinalIgnoreCase))
|
||||||
{
|
{
|
||||||
oZugferdResult = _zugferd.ExtractZUGFeRDFileWithGDPicture(oStream);
|
oZugferdResult = _zugferd.ExtractZUGFeRDFileWithGDPicture(oStream);
|
||||||
|
oZugferdResult.ReceiptFileType = "PDF";
|
||||||
}
|
}
|
||||||
else if (file.FileName.EndsWith(".xml", StringComparison.OrdinalIgnoreCase))
|
else if (file.FileName.EndsWith(".xml", StringComparison.OrdinalIgnoreCase))
|
||||||
{
|
{
|
||||||
@@ -185,23 +290,23 @@ namespace ZUGFeRDRESTService.Controllers
|
|||||||
};
|
};
|
||||||
|
|
||||||
oZugferdResult = _zugferd.SerializeZUGFeRDDocument(oResult);
|
oZugferdResult = _zugferd.SerializeZUGFeRDDocument(oResult);
|
||||||
|
oZugferdResult.ReceiptFileType = "XML";
|
||||||
}
|
}
|
||||||
|
|
||||||
_logger.Info("Detected Specification was: [{0}]", oZugferdResult.Specification);
|
_logger.Info("Detected Specification was: [{0}]", oZugferdResult.Specification);
|
||||||
|
|
||||||
var oFilteredPropertyMap = _zugferd.FilterPropertyMap(_propertyMapList, oZugferdResult.Specification);
|
var oFilteredPropertyMap = _zugferd.FilterPropertyMap(_propertyMapList, oZugferdResult.Specification);
|
||||||
|
|
||||||
if (oFilteredPropertyMap.Count == 0)
|
if (oFilteredPropertyMap.Count == 0)
|
||||||
{
|
{
|
||||||
_logger.Warn("No properties found in property map for specification [{0}]", oZugferdResult.Specification);
|
_logger.Warn("No properties found in property map for specification [{0}]", oZugferdResult.Specification);
|
||||||
//throw new ZUGFeRDExecption(ErrorType.UnsupportedFormat, "Unsupported Format");
|
|
||||||
throw new ZUGFeRDExecption(ErrorCodes.UnsupportedFerdException, "Unsupported Format");
|
throw new ZUGFeRDExecption(ErrorCodes.UnsupportedFerdException, "Unsupported Format");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
_logger.Debug("Property map contains [{0}] entries for specification [{1}]", oFilteredPropertyMap.Count, oZugferdResult.Specification);
|
_logger.Debug("Property map contains [{0}] entries for specification [{1}]", oFilteredPropertyMap.Count, oZugferdResult.Specification);
|
||||||
}
|
}
|
||||||
|
|
||||||
_logger.Info("Starting structural check against the database.");
|
_logger.Info("Starting structural check against the database.");
|
||||||
|
|
||||||
oPropertyResult = _props.CheckPropertyValues(oZugferdResult.SchemaObject, oFilteredPropertyMap, "MESSAGEID");
|
oPropertyResult = _props.CheckPropertyValues(oZugferdResult.SchemaObject, oFilteredPropertyMap, "MESSAGEID");
|
||||||
@@ -219,24 +324,21 @@ namespace ZUGFeRDRESTService.Controllers
|
|||||||
|
|
||||||
if (oPropertyResult.MissingProperties.Count > 0)
|
if (oPropertyResult.MissingProperties.Count > 0)
|
||||||
{
|
{
|
||||||
//throw new ZUGFeRDExecption(ErrorType.MissingProperties, "Missing Properties");
|
|
||||||
throw new ZUGFeRDExecption(ErrorCodes.MissingValueException, "Missing Properties");
|
throw new ZUGFeRDExecption(ErrorCodes.MissingValueException, "Missing Properties");
|
||||||
}
|
}
|
||||||
|
|
||||||
Tuple<bool, string> oValidateResult = ValidateBuyerOrderReference(oPropertyResult.ValidProperties);
|
Tuple<bool, string> oValidateResult = ValidateBuyerOrderReference(oPropertyResult.ValidProperties, oZugferdResult);
|
||||||
|
|
||||||
if (oValidateResult.Item1 == false)
|
if (oValidateResult.Item1 == false)
|
||||||
{
|
{
|
||||||
//throw new ZUGFeRDExecption(ErrorType.UnknownError, "Unknown Error");
|
|
||||||
throw new ZUGFeRDExecption(ErrorCodes.UnhandledException, "Unknown Error");
|
throw new ZUGFeRDExecption(ErrorCodes.UnhandledException, "Unknown Error");
|
||||||
}
|
}
|
||||||
|
|
||||||
string oValidateResultString = oValidateResult.Item2;
|
string oValidateResultString = oValidateResult.Item2;
|
||||||
|
|
||||||
if (oValidateResultString == "ALL REFERENCES CHECKED POSITIVE")
|
if (oValidateResultString.Equals(VALIDATION_SUCCESS))
|
||||||
{
|
{
|
||||||
string oMessage = "Die hochgeladene Datei ist eine gültige-ZUGFeRD Rechnung";
|
string oMessage = "Die hochgeladene Datei ist eine gültige-ZUGFeRD Rechnung";
|
||||||
|
|
||||||
_logger.Info($"Responding with message: [{oMessage}]");
|
_logger.Info($"Responding with message: [{oMessage}]");
|
||||||
|
|
||||||
return new ValidationResponse()
|
return new ValidationResponse()
|
||||||
@@ -244,10 +346,10 @@ namespace ZUGFeRDRESTService.Controllers
|
|||||||
status = RESPONSE_OK,
|
status = RESPONSE_OK,
|
||||||
message = oMessage
|
message = oMessage
|
||||||
};
|
};
|
||||||
} else
|
}
|
||||||
|
else
|
||||||
{
|
{
|
||||||
string oMessage = oValidateResultString;
|
string oMessage = oValidateResultString;
|
||||||
|
|
||||||
_logger.Info($"Responding with message: [{oMessage}]");
|
_logger.Info($"Responding with message: [{oMessage}]");
|
||||||
|
|
||||||
return new ValidationResponse()
|
return new ValidationResponse()
|
||||||
@@ -256,7 +358,8 @@ namespace ZUGFeRDRESTService.Controllers
|
|||||||
message = oMessage
|
message = oMessage
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
};
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
catch (ZUGFeRDExecption ex)
|
catch (ZUGFeRDExecption ex)
|
||||||
{
|
{
|
||||||
@@ -282,26 +385,24 @@ namespace ZUGFeRDRESTService.Controllers
|
|||||||
oMessage = Regex.Replace(oMessage, "@REPLACE_PARAM2", ex.Param2, RegexOptions.IgnoreCase);
|
oMessage = Regex.Replace(oMessage, "@REPLACE_PARAM2", ex.Param2, RegexOptions.IgnoreCase);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Der REJECTION-Code wird in alle Meldungen eingefügt.
|
|
||||||
if (!string.IsNullOrEmpty(rejectionCodeNumber) && oMessage.Contains("@REJECTION_CODE", StringComparison.OrdinalIgnoreCase))
|
|
||||||
{
|
|
||||||
oMessage = Regex.Replace(oMessage, "@REJECTION_CODE", "Ablehnungscode: " + rejectionCodeNumber, RegexOptions.IgnoreCase);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Determine if any errors should be sent in the response
|
// Determine if any errors should be sent in the response
|
||||||
switch (ex.ErrorCode)
|
switch (ex.ErrorCode)
|
||||||
{
|
{
|
||||||
case ErrorCodes.MissingValueException:
|
case ErrorCodes.MissingValueException:
|
||||||
oErrors.AddRange(from item in oPropertyResult.MissingProperties
|
|
||||||
select (item.EN16931_ID + " (" + item.Description + ")"));
|
var oErrorsText = GetMissingValuesListString(oPropertyResult.MissingProperties);
|
||||||
|
if (!string.IsNullOrEmpty(oErrorsText) && oMessage.Contains("@REPLACE_PARAM3", StringComparison.OrdinalIgnoreCase))
|
||||||
|
{
|
||||||
|
oMessage = Regex.Replace(oMessage, "@REPLACE_PARAM3", oErrorsText, RegexOptions.IgnoreCase);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
oMessage = "Alte Logik. Meldung nicht gefunden";
|
oMessage = "Alte Logik. Meldung nicht gefunden";
|
||||||
}
|
}
|
||||||
|
|
||||||
_logger.Info($"Responding with message: [{oMessage}]");
|
_logger.Info($"Responding with message: [{oMessage}]");
|
||||||
@@ -315,21 +416,61 @@ namespace ZUGFeRDRESTService.Controllers
|
|||||||
}
|
}
|
||||||
catch (ValidationException ex)
|
catch (ValidationException ex)
|
||||||
{
|
{
|
||||||
|
_logger.Error(ex);
|
||||||
|
|
||||||
var rejectionCodeNumber = this.GetRejectionCodeNumber(ex.ErrorCode);
|
var rejectionCodeNumber = this.GetRejectionCodeNumber(ex.ErrorCode);
|
||||||
|
|
||||||
// Der gesamte Ausgabetext muss anhand des ErrorCodes ermittelt werden
|
// Der gesamte Ausgabetext muss anhand des ErrorCodes ermittelt werden
|
||||||
string oMessage = this.GetRejectionMessage(rejectionCodeNumber);
|
string oMessage = this.GetRejectionMessage(rejectionCodeNumber);
|
||||||
|
|
||||||
List<string> oErrors = ex.ValidationErrors.Select(e =>
|
// Wenn es ValidationErrors gibt, werden diese nun übersetzt und in eine Liste übertragen werden
|
||||||
{
|
|
||||||
return $"Element '{e.ElementName}' mit Wert '{e.ElementValue}': {e.ErrorMessageDE}";
|
|
||||||
}).ToList();
|
|
||||||
|
|
||||||
|
var mainText = GetTextByToken("ItemValueText");
|
||||||
|
var resultList = new List<string>();
|
||||||
|
foreach (var errorItem in ex.ValidationErrors)
|
||||||
|
{
|
||||||
|
var resultString = mainText;
|
||||||
|
|
||||||
|
if (!string.IsNullOrEmpty(errorItem.ElementName))
|
||||||
|
{
|
||||||
|
// replace @ITEM_NAME => e.ElementName
|
||||||
|
resultString = resultString.Replace("@ITEM_NAME", errorItem.ElementName, StringComparison.OrdinalIgnoreCase);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!string.IsNullOrEmpty(errorItem.ElementValue))
|
||||||
|
{
|
||||||
|
// replace ITEM_VALUE => e.ElementValue
|
||||||
|
resultString = resultString.Replace("@ITEM_VALUE", errorItem.ElementValue, StringComparison.OrdinalIgnoreCase);
|
||||||
|
}
|
||||||
|
|
||||||
|
var itemErrorText = GetTextByToken(errorItem.ErrorMessageToken);
|
||||||
|
if (!string.IsNullOrEmpty(itemErrorText))
|
||||||
|
{
|
||||||
|
// attach itemErrorText
|
||||||
|
resultString += " " + itemErrorText;
|
||||||
|
}
|
||||||
|
|
||||||
|
_logger.Debug($"resultString: [{resultString}]");
|
||||||
|
resultList.Add(resultString);
|
||||||
|
}
|
||||||
|
|
||||||
|
// wenn ergebnisse vorliegen, in html transformieren und anhängen
|
||||||
|
if (resultList.Count > 0)
|
||||||
|
{
|
||||||
|
var htmlResultString = "<ul>";
|
||||||
|
foreach (var resultItem in resultList)
|
||||||
|
{
|
||||||
|
htmlResultString += " <li>" + resultItem + "</li>" + Environment.NewLine;
|
||||||
|
}
|
||||||
|
htmlResultString += " </ul>";
|
||||||
|
|
||||||
|
oMessage += " " + htmlResultString;
|
||||||
|
}
|
||||||
|
|
||||||
return new ValidationResponse()
|
return new ValidationResponse()
|
||||||
{
|
{
|
||||||
status = RESPONSE_ERROR,
|
status = RESPONSE_ERROR,
|
||||||
message = oMessage,
|
message = oMessage
|
||||||
errors = oErrors
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
@@ -348,20 +489,73 @@ namespace ZUGFeRDRESTService.Controllers
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private Tuple<bool, string> ValidateBuyerOrderReference(List<ValidProperty> pProperties)
|
private string GetMissingValuesListString(List<MissingProperty> missingProperties)
|
||||||
|
{
|
||||||
|
if (missingProperties == null || missingProperties.Count == 0)
|
||||||
|
{
|
||||||
|
return string.Empty;
|
||||||
|
}
|
||||||
|
|
||||||
|
string retValue = "<ul>";
|
||||||
|
foreach (var missingProperty in missingProperties)
|
||||||
|
{
|
||||||
|
var searchToken = missingProperty.EN16931_ID + "_Description";
|
||||||
|
var descriptionTranslated = GetTextByToken(searchToken);
|
||||||
|
var rowString = "<li>" + missingProperty.EN16931_ID + " (" + descriptionTranslated + ")</li>";
|
||||||
|
retValue += rowString;
|
||||||
|
}
|
||||||
|
retValue += "</ul>";
|
||||||
|
|
||||||
|
return retValue;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Holt sprachgenauen Text anhand eines Titel-Tokens
|
||||||
|
/// </summary>
|
||||||
|
/// <returns></returns>
|
||||||
|
private string GetTextByToken(string tokenValue)
|
||||||
|
{
|
||||||
|
RejectionStringRow stringRow = null;
|
||||||
|
|
||||||
|
if (!string.IsNullOrEmpty(tokenValue))
|
||||||
|
{
|
||||||
|
stringRow = _RecjectionMessageList.Where(i => i.Title.Equals(tokenValue, StringComparison.OrdinalIgnoreCase) &&
|
||||||
|
i.Language.Equals(_UserLanguageCode, StringComparison.OrdinalIgnoreCase)).FirstOrDefault();
|
||||||
|
|
||||||
|
if (stringRow == null &&
|
||||||
|
!_UserLanguageCode.Equals(GERMAN, StringComparison.OrdinalIgnoreCase))
|
||||||
|
{
|
||||||
|
// Wenn kein sprachgenauer Text vorliegt, hole den deutschen Text.
|
||||||
|
stringRow = _RecjectionMessageList.Where(i => i.Title.Equals(tokenValue, StringComparison.OrdinalIgnoreCase) &&
|
||||||
|
i.Language.Equals(GERMAN, StringComparison.OrdinalIgnoreCase)).FirstOrDefault();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
string retValue = string.Empty;
|
||||||
|
|
||||||
|
if (stringRow != null)
|
||||||
|
{
|
||||||
|
retValue = !string.IsNullOrEmpty(stringRow.String1) ? stringRow.String1.Trim() : string.Empty;
|
||||||
|
}
|
||||||
|
|
||||||
|
_logger.Debug($"Token [{tokenValue}] - String1 [{retValue}]");
|
||||||
|
return retValue;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Hier wird eine externe Prozedur gerufen, PRCUST_INV_CHECK_FROM_PORTAL,
|
||||||
|
/// die das Ergebnis der Referenzpruefung liefert.
|
||||||
|
/// </summary>
|
||||||
|
private Tuple<bool, string> ValidateBuyerOrderReference(List<ValidProperty> pProperties, ZugferdResult pZugferdResult)
|
||||||
{
|
{
|
||||||
var oMessageId = GetMessageId();
|
var oMessageId = GetMessageId();
|
||||||
_logger.Debug("Created new MessageId: [{0}]", oMessageId);
|
_logger.Debug("Created new MessageId: [{0}]", oMessageId);
|
||||||
|
|
||||||
_logger.Debug("Inserting properties into database.");
|
_logger.Debug("Inserting properties into database.");
|
||||||
foreach (var oItem in pProperties)
|
if (!BulkInsertDataToDatabase(oMessageId, pProperties, pZugferdResult))
|
||||||
{
|
{
|
||||||
var oResult = InsertPropertyMap(oItem, oMessageId);
|
_logger.Warn("Error while Inserting properties into database!");
|
||||||
|
return new Tuple<bool, string>(false, string.Empty);
|
||||||
if (oResult == false)
|
|
||||||
{
|
|
||||||
_logger.Warn("Error while inserting the Property [{0}] into the Database!", oItem.Description);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
_logger.Debug("Calling validation prodecure.");
|
_logger.Debug("Calling validation prodecure.");
|
||||||
@@ -377,6 +571,57 @@ namespace ZUGFeRDRESTService.Controllers
|
|||||||
if (_database.MSSQL.ExecuteNonQuery(oCommand))
|
if (_database.MSSQL.ExecuteNonQuery(oCommand))
|
||||||
{
|
{
|
||||||
string oReturnValue = (string)oCommand.Parameters["@MSG_OUTPUT"].Value;
|
string oReturnValue = (string)oCommand.Parameters["@MSG_OUTPUT"].Value;
|
||||||
|
|
||||||
|
_logger.Debug("Validation Result message from DB: " + oReturnValue);
|
||||||
|
|
||||||
|
if (oReturnValue.Equals("ALL REFERENCES CHECKED POSITIVE", StringComparison.OrdinalIgnoreCase))
|
||||||
|
{
|
||||||
|
_logger.Debug("Validation Success");
|
||||||
|
oReturnValue = VALIDATION_SUCCESS;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
// Gehe durch die möglichen Fehler, und ermittle Rückmeldung
|
||||||
|
foreach (var oRejectionItem in _ValidationErrors)
|
||||||
|
{
|
||||||
|
if (oReturnValue.Contains(oRejectionItem, StringComparison.OrdinalIgnoreCase))
|
||||||
|
{
|
||||||
|
_logger.Debug("oRejectionItem match: " + oRejectionItem);
|
||||||
|
|
||||||
|
var oDbMessage = this.GetRejectionMessage(oRejectionItem);
|
||||||
|
|
||||||
|
//Jetzt müssen ggf Platzhalter ersetzt werden.
|
||||||
|
if (oRejectionItem == REFERENCES_Rejection_30003_2)
|
||||||
|
{
|
||||||
|
string oReplaceParam1 = GetReplaceText1_30003_2(pProperties);
|
||||||
|
string oReplaceParam2 = GetReplaceText2_30003_2(pProperties);
|
||||||
|
|
||||||
|
oReturnValue = oDbMessage.Replace("@REPLACE_PARAM1", oReplaceParam1);
|
||||||
|
oReturnValue = oReturnValue.Replace("@REPLACE_PARAM2", oReplaceParam2);
|
||||||
|
|
||||||
|
}
|
||||||
|
else if (oRejectionItem == REFERENCES_Rejection_30003_3)
|
||||||
|
{
|
||||||
|
string oReplaceParam1 = GetReplaceText1_30003_3(pProperties);
|
||||||
|
|
||||||
|
oReturnValue = oDbMessage.Replace("@REPLACE_PARAM1", oReplaceParam1);
|
||||||
|
}
|
||||||
|
else if (oRejectionItem == REFERENCES_Rejection_30001)
|
||||||
|
{
|
||||||
|
// TODO - BUKR?
|
||||||
|
oReturnValue = oDbMessage.Replace("@REPLACE_PARAM1", "9999");
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
oReturnValue = oDbMessage;
|
||||||
|
}
|
||||||
|
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
_logger.Debug("Validation terminal Result message: " + oReturnValue);
|
||||||
return new Tuple<bool, string>(true, oReturnValue);
|
return new Tuple<bool, string>(true, oReturnValue);
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -390,86 +635,391 @@ namespace ZUGFeRDRESTService.Controllers
|
|||||||
{
|
{
|
||||||
_logger.Error(e);
|
_logger.Error(e);
|
||||||
return new Tuple<bool, string>(false, string.Empty);
|
return new Tuple<bool, string>(false, string.Empty);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public string GetMessageId()
|
private string GetReplaceText1_30003_3(List<ValidProperty> pProperties)
|
||||||
|
{
|
||||||
|
string oReplaceParam1 = string.Empty;
|
||||||
|
|
||||||
|
// BuyerOrderReferencedDocument
|
||||||
|
var itemBT13 = pProperties.Where(i => i.TableColumn == "INVOICE_REFERENCE").FirstOrDefault();
|
||||||
|
string valueBt13 = "-";
|
||||||
|
if (itemBT13 != null)
|
||||||
|
{
|
||||||
|
valueBt13 = string.IsNullOrEmpty(itemBT13.Value) ? "-" : itemBT13.Value;
|
||||||
|
}
|
||||||
|
oReplaceParam1 += "<li>[BuyerOrderReferencedDocument] (BT-13) = [" + valueBt13 + "]</li>";
|
||||||
|
|
||||||
|
|
||||||
|
// BuyerReference
|
||||||
|
var itemBT10 = pProperties.Where(i => i.TableColumn == "INVOICE_REFERENCE3").FirstOrDefault();
|
||||||
|
string valueBt10 = "-";
|
||||||
|
if (itemBT10 != null)
|
||||||
|
{
|
||||||
|
valueBt10 = string.IsNullOrEmpty(itemBT10.Value) ? "-" : itemBT10.Value;
|
||||||
|
}
|
||||||
|
oReplaceParam1 += "<li>[BuyerReference] (BT-10) = [" + valueBt10 + "]</li>";
|
||||||
|
|
||||||
|
|
||||||
|
// CostCenter
|
||||||
|
var itemBT19 = pProperties.Where(i => i.TableColumn == "INVOICE_COST_CENTER").FirstOrDefault();
|
||||||
|
string valueBt19 = "-";
|
||||||
|
if (itemBT19 != null)
|
||||||
|
{
|
||||||
|
valueBt19 = string.IsNullOrEmpty(itemBT19.Value) ? "-" : itemBT19.Value;
|
||||||
|
}
|
||||||
|
oReplaceParam1 += "<li>[CostCenter] (BT-19) = [" + valueBt19 + "]</li>";
|
||||||
|
|
||||||
|
// BuyerID
|
||||||
|
var itemBT46 = pProperties.Where(i => i.TableColumn == "INVOICE_BUYER_ID").FirstOrDefault();
|
||||||
|
string valueBt46 = "-";
|
||||||
|
if (itemBT46 != null)
|
||||||
|
{
|
||||||
|
valueBt46 = string.IsNullOrEmpty(itemBT46.Value) ? "-" : itemBT46.Value;
|
||||||
|
}
|
||||||
|
oReplaceParam1 += "<li>[BuyerTradeParty] (BT-46) = [" + valueBt46 + "]</li>";
|
||||||
|
|
||||||
|
oReplaceParam1 = "<ul>" + oReplaceParam1 + "</ul>";
|
||||||
|
_logger.Debug("oReplaceParam1-Text: " + oReplaceParam1);
|
||||||
|
|
||||||
|
return oReplaceParam1;
|
||||||
|
}
|
||||||
|
|
||||||
|
private string GetReplaceText2_30003_2(List<ValidProperty> pProperties)
|
||||||
|
{
|
||||||
|
string oReplaceParam2 = string.Empty;
|
||||||
|
|
||||||
|
// BuyerTradeParty.Name
|
||||||
|
var itemBT44 = pProperties.Where(i => i.TableColumn == "INVOICE_BUYER_NAME").FirstOrDefault();
|
||||||
|
string valueBt44 = "-";
|
||||||
|
if (itemBT44 != null)
|
||||||
|
{
|
||||||
|
valueBt44 = string.IsNullOrEmpty(itemBT44.Value) ? "-" : itemBT44.Value;
|
||||||
|
}
|
||||||
|
oReplaceParam2 += "<li>[BuyerTradeParty.Name] (BT-44) = [" + valueBt44 + "]</li>";
|
||||||
|
|
||||||
|
// BuyerTradeParty.PostalTradeAddress.LineTwo
|
||||||
|
var itemBT51 = pProperties.Where(i => i.TableColumn == "INVOICE_BUYER_ADRESS2").FirstOrDefault();
|
||||||
|
string valueBt51 = "-";
|
||||||
|
if (itemBT51 != null)
|
||||||
|
{
|
||||||
|
valueBt51 = string.IsNullOrEmpty(itemBT51.Value) ? "-" : itemBT51.Value;
|
||||||
|
}
|
||||||
|
oReplaceParam2 += "<li>[BuyerTradeParty.PostalTradeAddress.LineTwo] (BT-51) = [" + valueBt51 + "]</li>";
|
||||||
|
|
||||||
|
oReplaceParam2 = "<ul>" + oReplaceParam2 + "</ul>";
|
||||||
|
_logger.Debug("oReplaceParam2-Text: " + oReplaceParam2);
|
||||||
|
|
||||||
|
return oReplaceParam2;
|
||||||
|
}
|
||||||
|
|
||||||
|
private string GetReplaceText1_30003_2(List<ValidProperty> pProperties)
|
||||||
|
{
|
||||||
|
string oReplaceParam1 = string.Empty;
|
||||||
|
|
||||||
|
// BuyerOrderReferencedDocument
|
||||||
|
var itemBT13 = pProperties.Where(i => i.TableColumn == "INVOICE_REFERENCE").FirstOrDefault();
|
||||||
|
string valueBt13 = "-";
|
||||||
|
if (itemBT13 != null)
|
||||||
|
{
|
||||||
|
valueBt13 = string.IsNullOrEmpty(itemBT13.Value) ? "-" : itemBT13.Value;
|
||||||
|
}
|
||||||
|
oReplaceParam1 += "<li>[BuyerOrderReferencedDocument] (BT-13) = [" + valueBt13 + "]</li>";
|
||||||
|
|
||||||
|
|
||||||
|
// BuyerReference
|
||||||
|
var itemBT10 = pProperties.Where(i => i.TableColumn == "INVOICE_REFERENCE3").FirstOrDefault();
|
||||||
|
string valueBt10 = "-";
|
||||||
|
if (itemBT10 != null)
|
||||||
|
{
|
||||||
|
valueBt10 = string.IsNullOrEmpty(itemBT10.Value) ? "-" : itemBT10.Value;
|
||||||
|
}
|
||||||
|
oReplaceParam1 += "<li>[BuyerReference] (BT-10) = [" + valueBt10 + "]</li>";
|
||||||
|
|
||||||
|
|
||||||
|
// CostCenter
|
||||||
|
var itemBT19 = pProperties.Where(i => i.TableColumn == "INVOICE_COST_CENTER").FirstOrDefault();
|
||||||
|
string valueBt19 = "-";
|
||||||
|
if (itemBT19 != null)
|
||||||
|
{
|
||||||
|
valueBt19 = string.IsNullOrEmpty(itemBT19.Value) ? "-" : itemBT19.Value;
|
||||||
|
}
|
||||||
|
oReplaceParam1 += "<li>[CostCenter] (BT-19) = [" + valueBt19 + "]</li>";
|
||||||
|
|
||||||
|
oReplaceParam1 = "<ul>" + oReplaceParam1 + "</ul>";
|
||||||
|
_logger.Debug("oReplaceParam1-Text: " + oReplaceParam1);
|
||||||
|
|
||||||
|
return oReplaceParam1;
|
||||||
|
}
|
||||||
|
|
||||||
|
private string GetMessageId()
|
||||||
{
|
{
|
||||||
return $"{Guid.NewGuid()}@{MESSAGEID_DOMAIN}";
|
return $"{Guid.NewGuid()}@{MESSAGEID_DOMAIN}";
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool InsertPropertyMap(ValidProperty pProperty, string pMessageId)
|
private bool BulkInsertDataToDatabase(string pMessageId, List<ValidProperty> pProperties, ZugferdResult pZugferdResult)
|
||||||
|
{
|
||||||
|
if (string.IsNullOrEmpty(pMessageId))
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!DeleteExistingPropertyValues(pMessageId))
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
DataTable oDataTable = PrepareDataTable(pMessageId, pProperties, pZugferdResult);
|
||||||
|
|
||||||
|
// ColumnList initialisieren
|
||||||
|
List<string> oColumnNames = new List<string> {
|
||||||
|
"REFERENCE_GUID",
|
||||||
|
"ITEM_DESCRIPTION",
|
||||||
|
"ITEM_VALUE",
|
||||||
|
"GROUP_COUNTER",
|
||||||
|
"SPEC_NAME",
|
||||||
|
"IS_REQUIRED"
|
||||||
|
};
|
||||||
|
|
||||||
|
bool oBulkResult = BulkInsert(oDataTable, "TBEDMI_ITEM_VALUE", oColumnNames);
|
||||||
|
|
||||||
|
if (!oBulkResult)
|
||||||
|
{
|
||||||
|
_logger.Error("Bulk Insert for MessageId [{0}] failed!", pMessageId);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
_logger.Info("Bulk Insert finished. [{0}] rows inserted for MessageId [{1}].", oDataTable.Rows.Count, pMessageId);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
private bool BulkInsert(DataTable pDataTable, string pDestinationTable, List<string> pColumnNames)
|
||||||
|
{
|
||||||
|
using (var oSqlBulkCopy = new SqlBulkCopy(_database.MSSQL.GetConnection()))
|
||||||
|
{
|
||||||
|
oSqlBulkCopy.DestinationTableName = pDestinationTable;
|
||||||
|
foreach (var columnItem in pColumnNames)
|
||||||
|
{
|
||||||
|
oSqlBulkCopy.ColumnMappings.Add(new SqlBulkCopyColumnMapping(columnItem, columnItem));
|
||||||
|
}
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
oSqlBulkCopy.WriteToServer(pDataTable);
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
_logger.Error(ex);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
private DataTable PrepareDataTable(string pMessageId, List<ValidProperty> pProperties, ZugferdResult pDocument)
|
||||||
|
{
|
||||||
|
DataTable oDataTable = new DataTable();
|
||||||
|
oDataTable.Columns.Add(new DataColumn("REFERENCE_GUID", typeof(string)));
|
||||||
|
oDataTable.Columns.Add(new DataColumn("ITEM_DESCRIPTION", typeof(string)));
|
||||||
|
oDataTable.Columns.Add(new DataColumn("ITEM_VALUE", typeof(string)));
|
||||||
|
oDataTable.Columns.Add(new DataColumn("GROUP_COUNTER", typeof(Int32)));
|
||||||
|
oDataTable.Columns.Add(new DataColumn("SPEC_NAME", typeof(string)));
|
||||||
|
oDataTable.Columns.Add(new DataColumn("IS_REQUIRED", typeof(bool)));
|
||||||
|
|
||||||
|
// Erste Zeile enthält die Spezifikation
|
||||||
|
DataRow oFirstRow = oDataTable.NewRow();
|
||||||
|
oFirstRow["REFERENCE_GUID"] = pMessageId;
|
||||||
|
oFirstRow["ITEM_DESCRIPTION"] = "Verwendete Spezifikation der E-Rechnung";
|
||||||
|
oFirstRow["ITEM_VALUE"] = pDocument.Specification;
|
||||||
|
oFirstRow["GROUP_COUNTER"] = 0;
|
||||||
|
oFirstRow["SPEC_NAME"] = "ZUGFERD_SPECIFICATION";
|
||||||
|
oFirstRow["IS_REQUIRED"] = false;
|
||||||
|
|
||||||
|
_logger.Debug("Mapping Property [ZUGFERD_SPECIFICATION] with value [{0}]", pDocument.Specification);
|
||||||
|
oDataTable.Rows.Add(oFirstRow);
|
||||||
|
|
||||||
|
//' Zweite Zeile enthält das verwendete XML Schema
|
||||||
|
DataRow oSecondRow = oDataTable.NewRow();
|
||||||
|
oSecondRow["REFERENCE_GUID"] = pMessageId;
|
||||||
|
oSecondRow["ITEM_DESCRIPTION"] = "Verwendetes XML-Schema (XSD) der E-Rechnung";
|
||||||
|
oSecondRow["ITEM_VALUE"] = pDocument.UsedXMLSchema;
|
||||||
|
oSecondRow["GROUP_COUNTER"] = 0;
|
||||||
|
oSecondRow["SPEC_NAME"] = "ZUGFERD_XML_SCHEMA";
|
||||||
|
oSecondRow["IS_REQUIRED"] = false;
|
||||||
|
|
||||||
|
_logger.Debug("Mapping Property [ZUGFERD_XML_SCHEMA] with value [{0}]", pDocument.UsedXMLSchema);
|
||||||
|
oDataTable.Rows.Add(oSecondRow);
|
||||||
|
|
||||||
|
//' Dritte Zeile enthält das verwendete Datei-Format des Belegs (PDF/XML)
|
||||||
|
if (pDocument.ReceiptFileType != null)
|
||||||
|
{
|
||||||
|
DataRow oThirdRow = oDataTable.NewRow();
|
||||||
|
oThirdRow["REFERENCE_GUID"] = pMessageId;
|
||||||
|
oThirdRow["ITEM_DESCRIPTION"] = "Dateityp der E-Rechnung";
|
||||||
|
oThirdRow["ITEM_VALUE"] = pDocument.ReceiptFileType;
|
||||||
|
oThirdRow["GROUP_COUNTER"] = 0;
|
||||||
|
oThirdRow["SPEC_NAME"] = "RECEIPT_FILE_TYPE";
|
||||||
|
oThirdRow["IS_REQUIRED"] = false;
|
||||||
|
|
||||||
|
_logger.Debug("Mapping Property [RECEIPT_FILE_TYPE] with value [{0}]", pDocument.ReceiptFileType);
|
||||||
|
oDataTable.Rows.Add(oThirdRow);
|
||||||
|
}
|
||||||
|
|
||||||
|
foreach (var propertyItem in pProperties)
|
||||||
|
{
|
||||||
|
|
||||||
|
// ItemType = 3 => eingebettete Datei, nicht den base64 speichern
|
||||||
|
if (propertyItem.ItemType == 3)
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
// ItemType = 0 (normale texte) dürfen nicht leer sein - leere Werte werden überlesen
|
||||||
|
if (propertyItem.ItemType == 0 && string.IsNullOrEmpty(propertyItem.Value))
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
// If GroupCounter is -1, it means this is a default property that can only occur once.
|
||||||
|
// Set the actual inserted value to 0
|
||||||
|
var oGroupCounterValue = propertyItem.GroupCounter < 0 ? 0 : propertyItem.GroupCounter;
|
||||||
|
|
||||||
|
if (propertyItem.Value.Length > 4000)
|
||||||
|
{
|
||||||
|
_logger.Warn("Value for field [{0}] is longer than 4000 characters, will be truncated!", propertyItem.TableColumn);
|
||||||
|
propertyItem.Value = propertyItem.Value.Substring(0, 4000);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Description mit BT-Feld aufbereiten
|
||||||
|
var betterDescription = propertyItem.Description;
|
||||||
|
if (!string.IsNullOrEmpty(propertyItem.EN16931_ID))
|
||||||
|
{
|
||||||
|
betterDescription = propertyItem.EN16931_ID + " (" + propertyItem.Description + ")";
|
||||||
|
}
|
||||||
|
|
||||||
|
DataRow newRow = oDataTable.NewRow();
|
||||||
|
newRow["REFERENCE_GUID"] = pMessageId;
|
||||||
|
newRow["ITEM_DESCRIPTION"] = betterDescription;
|
||||||
|
newRow["ITEM_VALUE"] = propertyItem.Value;
|
||||||
|
newRow["GROUP_COUNTER"] = oGroupCounterValue;
|
||||||
|
newRow["SPEC_NAME"] = propertyItem.TableColumn;
|
||||||
|
newRow["IS_REQUIRED"] = propertyItem.IsRequired;
|
||||||
|
|
||||||
|
_logger.Debug("Mapping Property [{0}] with value [{1}]", propertyItem.TableColumn, propertyItem.Value);
|
||||||
|
oDataTable.Rows.Add(newRow);
|
||||||
|
}
|
||||||
|
|
||||||
|
return oDataTable;
|
||||||
|
}
|
||||||
|
|
||||||
|
private bool DeleteExistingPropertyValues(string pMessageId)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
if (pProperty.ItemType == 3)
|
var delItemValueSQL = "DELETE FROM TBEDMI_ITEM_VALUE WHERE REFERENCE_GUID = '" + pMessageId + "';";
|
||||||
|
var oCommand = new SqlCommand(delItemValueSQL);
|
||||||
|
var retValue = _database.MSSQL.ExecuteNonQuery(oCommand);
|
||||||
|
|
||||||
|
if (!retValue)
|
||||||
{
|
{
|
||||||
// Wir speichern keine Attachment-Werte in die DB
|
_logger.Warn("DELETE FROM TBEDMI_ITEM_VALUE NOT successfull");
|
||||||
return true;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (pProperty.ItemType == 0 && string.IsNullOrEmpty(pProperty.Value.ToString()))
|
_logger.Debug("DELETE FROM TBEDMI_ITEM_VALUE successfull");
|
||||||
{
|
|
||||||
// Leere Texte speichern wir nicht in der DB
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
var oSql = $"INSERT INTO {pProperty.TableName} " +
|
|
||||||
"(REFERENCE_GUID, ITEM_DESCRIPTION, ITEM_VALUE, CREATEDWHO, SPEC_NAME, GROUP_COUNTER, IS_REQUIRED) VALUES " +
|
|
||||||
"(@REFERENCE_GUID, @ITEM_DESCRIPTION, @ITEM_VALUE, @CREATEDWHO, @SPEC_NAME, @GROUP_COUNTER, @IS_REQUIRED)";
|
|
||||||
|
|
||||||
string itemValue = string.Empty;
|
|
||||||
if (pProperty.Value.Length > 900)
|
|
||||||
{
|
|
||||||
itemValue = pProperty.Value.Substring(1, 899);
|
|
||||||
_logger.Warn("Value for field [{0}] is longer than 900 characters, will be truncated!", pProperty.TableColumn);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
itemValue = pProperty.Value;
|
|
||||||
}
|
|
||||||
|
|
||||||
var oParams = new SqlParameter[]
|
|
||||||
{
|
|
||||||
new SqlParameter("@REFERENCE_GUID", pMessageId),
|
|
||||||
new SqlParameter("@ITEM_DESCRIPTION", pProperty.Description),
|
|
||||||
new SqlParameter("@ITEM_VALUE", itemValue.Replace("'", "''")),
|
|
||||||
new SqlParameter("@CREATEDWHO", ADDED_WHO),
|
|
||||||
new SqlParameter("@GROUP_COUNTER", pProperty.GroupCounter),
|
|
||||||
new SqlParameter("@SPEC_NAME", pProperty.TableColumn),
|
|
||||||
new SqlParameter("@IS_REQUIRED", pProperty.IsRequired)
|
|
||||||
};
|
|
||||||
|
|
||||||
var oCommand = new SqlCommand(oSql);
|
|
||||||
oCommand.Parameters.AddRange(oParams);
|
|
||||||
|
|
||||||
return _database.MSSQL.ExecuteNonQuery(oCommand);
|
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
_logger.Error(ex);
|
_logger.Error(ex);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var delItemFilesSQL = "DELETE FROM TBEDMI_ITEM_FILES WHERE REFERENCE_GUID = '" + pMessageId + "';";
|
||||||
|
var oCommand = new SqlCommand(delItemFilesSQL);
|
||||||
|
var retValue = _database.MSSQL.ExecuteNonQuery(oCommand);
|
||||||
|
|
||||||
|
if (!retValue)
|
||||||
|
{
|
||||||
|
_logger.Warn("DELETE FROM TBEDMI_ITEM_FILES NOT successfull");
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
_logger.Debug("DELETE FROM TBEDMI_ITEM_FILES successfull");
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
_logger.Error(ex);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Ermittelt die Ausgabe-nachricht für einen Fehlercode
|
/// Ermittelt die Ausgabe-nachricht für einen Fehlercode
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public string GetRejectionMessage(string pErrorCode)
|
private string GetRejectionMessage(string pErrorCode)
|
||||||
{
|
{
|
||||||
_logger.Info("GetRejectionMessage() - errorCode.ToString(): '" + pErrorCode.ToString() + "'");
|
_logger.Info("GetRejectionMessage() - errorCode.ToString(): '" + pErrorCode.ToString() + "'");
|
||||||
|
|
||||||
if (_RecjectionMessageList == null) return string.Empty;
|
if (_RecjectionMessageList == null) return string.Empty;
|
||||||
|
|
||||||
// Sprache wird man vielleicht mal auswählen können
|
var searchTitle = string.Empty;
|
||||||
var language = "de-DE";
|
|
||||||
var searchTitle = "ZUGFERD_Rejection_" + pErrorCode + "_Web";
|
|
||||||
|
|
||||||
var messageItem = _RecjectionMessageList.Where(i => i.Title.Equals(searchTitle, StringComparison.OrdinalIgnoreCase) && i.Language == language).FirstOrDefault();
|
if (pErrorCode.Contains("2000"))
|
||||||
if (messageItem != null)
|
|
||||||
{
|
{
|
||||||
_logger.Info("GetRejectionMessage() - messageItem: '" + messageItem.String1 + "'");
|
searchTitle = "ZUGFERD_Rejection_" + pErrorCode + "_Web";
|
||||||
return messageItem.String1;
|
}
|
||||||
|
else if (pErrorCode.Contains("REFERENCES_Rejection_3000"))
|
||||||
|
{
|
||||||
|
searchTitle = pErrorCode + "_Web";
|
||||||
|
}
|
||||||
|
else if (pErrorCode.Contains("AMOUNT_CALC"))
|
||||||
|
{
|
||||||
|
searchTitle = "AMOUNT_CALC_REJECTION_Web";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
searchTitle = "ZUGFERD_Rejection_20006_Web";
|
||||||
|
}
|
||||||
|
|
||||||
|
// Sprachgenauen Text suchen.
|
||||||
|
var messageItem = _RecjectionMessageList.Where(i => i.Title.Equals(searchTitle, StringComparison.OrdinalIgnoreCase) &&
|
||||||
|
i.Language.Equals(_UserLanguageCode, StringComparison.OrdinalIgnoreCase)).FirstOrDefault();
|
||||||
|
|
||||||
|
if (messageItem == null &&
|
||||||
|
!_UserLanguageCode.Equals(GERMAN, StringComparison.OrdinalIgnoreCase)) {
|
||||||
|
|
||||||
|
_logger.Info("GetRejectionMessage() - Es wurde kein passender Text für die Sprache [{0}] gefunden.", _UserLanguageCode);
|
||||||
|
|
||||||
|
// Wenn kein sprachgenauer Text vorliegt, hole den deutschen Text.
|
||||||
|
messageItem = _RecjectionMessageList.Where(i => i.Title.Equals(searchTitle, StringComparison.OrdinalIgnoreCase) &&
|
||||||
|
i.Language.Equals(GERMAN, StringComparison.OrdinalIgnoreCase)).FirstOrDefault();
|
||||||
|
}
|
||||||
|
|
||||||
|
if (messageItem != null && !string.IsNullOrEmpty(pErrorCode))
|
||||||
|
{
|
||||||
|
var resultText = string.Empty;
|
||||||
|
|
||||||
|
// Der REJECTION-Code wird in allen Meldungen ausgetauscht.
|
||||||
|
if (messageItem.String1.Contains("@REJECTION_CODE", StringComparison.OrdinalIgnoreCase))
|
||||||
|
{
|
||||||
|
var substituteText = this.GetLabelText("Ablehnungscode", _UserLanguageCode);
|
||||||
|
substituteText = string.IsNullOrEmpty(substituteText) ? "Ablehnungscode" : substituteText;
|
||||||
|
substituteText = substituteText + ": " + pErrorCode;
|
||||||
|
|
||||||
|
resultText = Regex.Replace(messageItem.String1, "@REJECTION_CODE", substituteText, RegexOptions.IgnoreCase);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
resultText = messageItem.String1;
|
||||||
|
}
|
||||||
|
|
||||||
|
_logger.Info("GetRejectionMessage() - messageItem: '" + resultText + "'");
|
||||||
|
return resultText;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -478,6 +1028,15 @@ namespace ZUGFeRDRESTService.Controllers
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private string GetLabelText(string pLabel, string pLanguage)
|
||||||
|
{
|
||||||
|
// Sprachgenauen Text suchen.
|
||||||
|
var messageItem = _RecjectionMessageList.Where(i => i.Title.Equals(pLabel, StringComparison.OrdinalIgnoreCase) &&
|
||||||
|
i.Language.Equals(pLanguage, StringComparison.OrdinalIgnoreCase)).FirstOrDefault();
|
||||||
|
|
||||||
|
return messageItem != null ? messageItem.String1 : string.Empty;
|
||||||
|
}
|
||||||
|
|
||||||
private string GetRejectionCodeNumber(ErrorCodes rejectionCode)
|
private string GetRejectionCodeNumber(ErrorCodes rejectionCode)
|
||||||
{
|
{
|
||||||
switch (rejectionCode)
|
switch (rejectionCode)
|
||||||
|
|||||||
@@ -15,7 +15,12 @@
|
|||||||
<label>Benutzerkennung/Email:</label>
|
<label>Benutzerkennung/Email:</label>
|
||||||
<input type="email" name="user_id" required />
|
<input type="email" name="user_id" required />
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
<label>Sprachcode (de-DE etc.):</label>
|
||||||
|
<input type="text" name="language_id" value="de-DE" required />
|
||||||
|
</p>
|
||||||
|
|
||||||
<button type="submit">Submit</button>
|
<button type="submit">Submit</button>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
|||||||
@@ -20,11 +20,11 @@
|
|||||||
},
|
},
|
||||||
"Zugferd": {
|
"Zugferd": {
|
||||||
"AllowZugferd10": true,
|
"AllowZugferd10": true,
|
||||||
"AllowZugferd2x": false,
|
"AllowZugferd2x": true,
|
||||||
"AllowZugferd23x": false,
|
"AllowZugferd23x": true,
|
||||||
"AllowFacturX": false,
|
"AllowFacturX": true,
|
||||||
"AllowXRechnung": false,
|
"AllowXRechnung": true,
|
||||||
"AllowPeppolBISBill3x": false
|
"AllowPeppolBISBill3x": true
|
||||||
},
|
},
|
||||||
"GDPictureVersion": "",
|
"GDPictureVersion": "",
|
||||||
"MaxFileSizeInMegabytes": 25
|
"MaxFileSizeInMegabytes": 25
|
||||||
|
|||||||
Reference in New Issue
Block a user