update 20241127

This commit is contained in:
Stefan Hutter
2024-11-27 15:53:34 +01:00
parent 341ea50f06
commit 2a652c7325
11218 changed files with 1987907 additions and 362275 deletions

View File

@@ -28,25 +28,26 @@
/// </summary>
private void InitializeComponent()
{
Syncfusion.Windows.Forms.PdfViewer.MessageBoxSettings messageBoxSettings4 = new Syncfusion.Windows.Forms.PdfViewer.MessageBoxSettings();
Syncfusion.Windows.PdfViewer.PdfViewerPrinterSettings pdfViewerPrinterSettings4 = new Syncfusion.Windows.PdfViewer.PdfViewerPrinterSettings();
Syncfusion.Windows.Forms.PdfViewer.MessageBoxSettings messageBoxSettings1 = new Syncfusion.Windows.Forms.PdfViewer.MessageBoxSettings();
Syncfusion.Windows.PdfViewer.PdfViewerPrinterSettings pdfViewerPrinterSettings1 = new Syncfusion.Windows.PdfViewer.PdfViewerPrinterSettings();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DocPreview));
Syncfusion.Windows.Forms.PdfViewer.TextSearchSettings textSearchSettings4 = new Syncfusion.Windows.Forms.PdfViewer.TextSearchSettings();
Syncfusion.Windows.Forms.PdfViewer.TextSearchSettings textSearchSettings1 = new Syncfusion.Windows.Forms.PdfViewer.TextSearchSettings();
this.pdfViewerControl1 = new Syncfusion.Windows.Forms.PdfViewer.PdfViewerControl();
this.pnlEdit = new System.Windows.Forms.Panel();
this.Open = new System.Windows.Forms.ToolStrip();
this.txtPageNumber = new System.Windows.Forms.ToolStripTextBox();
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
this.zoomComboBox = new System.Windows.Forms.ToolStripComboBox();
this.panel1 = new System.Windows.Forms.Panel();
this.btnFirst = new System.Windows.Forms.ToolStripButton();
this.btnPrevious = new System.Windows.Forms.ToolStripButton();
this.txtPageNumber = new System.Windows.Forms.ToolStripTextBox();
this.btnNext = new System.Windows.Forms.ToolStripButton();
this.btnLast = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
this.zoomIn = new System.Windows.Forms.ToolStripButton();
this.zoomOut = new System.Windows.Forms.ToolStripButton();
this.zoomComboBox = new System.Windows.Forms.ToolStripComboBox();
this.FitPage = new System.Windows.Forms.ToolStripButton();
this.FitWidth = new System.Windows.Forms.ToolStripButton();
this.panel1 = new System.Windows.Forms.Panel();
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
this.Open.SuspendLayout();
this.panel1.SuspendLayout();
this.SuspendLayout();
@@ -63,17 +64,17 @@
this.pdfViewerControl1.IsTextSearchEnabled = true;
this.pdfViewerControl1.IsTextSelectionEnabled = true;
this.pdfViewerControl1.Location = new System.Drawing.Point(76, 0);
messageBoxSettings4.EnableNotification = true;
this.pdfViewerControl1.MessageBoxSettings = messageBoxSettings4;
messageBoxSettings1.EnableNotification = true;
this.pdfViewerControl1.MessageBoxSettings = messageBoxSettings1;
this.pdfViewerControl1.MinimumZoomPercentage = 50;
this.pdfViewerControl1.Name = "pdfViewerControl1";
this.pdfViewerControl1.PageBorderThickness = 1;
pdfViewerPrinterSettings4.Copies = 1;
pdfViewerPrinterSettings4.PageOrientation = Syncfusion.Windows.PdfViewer.PdfViewerPrintOrientation.Auto;
pdfViewerPrinterSettings4.PageSize = Syncfusion.Windows.PdfViewer.PdfViewerPrintSize.ActualSize;
pdfViewerPrinterSettings4.PrintLocation = ((System.Drawing.PointF)(resources.GetObject("pdfViewerPrinterSettings4.PrintLocation")));
pdfViewerPrinterSettings4.ShowPrintStatusDialog = true;
this.pdfViewerControl1.PrinterSettings = pdfViewerPrinterSettings4;
pdfViewerPrinterSettings1.Copies = 1;
pdfViewerPrinterSettings1.PageOrientation = Syncfusion.Windows.PdfViewer.PdfViewerPrintOrientation.Auto;
pdfViewerPrinterSettings1.PageSize = Syncfusion.Windows.PdfViewer.PdfViewerPrintSize.ActualSize;
pdfViewerPrinterSettings1.PrintLocation = ((System.Drawing.PointF)(resources.GetObject("pdfViewerPrinterSettings1.PrintLocation")));
pdfViewerPrinterSettings1.ShowPrintStatusDialog = true;
this.pdfViewerControl1.PrinterSettings = pdfViewerPrinterSettings1;
this.pdfViewerControl1.ReferencePath = null;
this.pdfViewerControl1.ScrollDisplacementValue = 0;
this.pdfViewerControl1.ShowHorizontalScrollBar = true;
@@ -83,10 +84,10 @@
this.pdfViewerControl1.SpaceBetweenPages = 8;
this.pdfViewerControl1.TabIndex = 3;
this.pdfViewerControl1.Text = "pdfViewerControl1";
textSearchSettings4.CurrentInstanceColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(255)))), ((int)(((byte)(171)))), ((int)(((byte)(64)))));
textSearchSettings4.HighlightAllInstance = true;
textSearchSettings4.OtherInstanceColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(254)))), ((int)(((byte)(255)))), ((int)(((byte)(0)))));
this.pdfViewerControl1.TextSearchSettings = textSearchSettings4;
textSearchSettings1.CurrentInstanceColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(255)))), ((int)(((byte)(171)))), ((int)(((byte)(64)))));
textSearchSettings1.HighlightAllInstance = true;
textSearchSettings1.OtherInstanceColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(254)))), ((int)(((byte)(255)))), ((int)(((byte)(0)))));
this.pdfViewerControl1.TextSearchSettings = textSearchSettings1;
this.pdfViewerControl1.ThemeName = "Default";
this.pdfViewerControl1.VerticalScrollOffset = 0;
this.pdfViewerControl1.VisualStyle = Syncfusion.Windows.Forms.PdfViewer.VisualStyle.Default;
@@ -117,40 +118,15 @@
this.zoomOut,
this.zoomComboBox,
this.FitPage,
this.FitWidth});
this.FitWidth,
this.toolStripButton1});
this.Open.Location = new System.Drawing.Point(3, 6);
this.Open.Name = "Open";
this.Open.Padding = new System.Windows.Forms.Padding(5);
this.Open.Size = new System.Drawing.Size(426, 33);
this.Open.Size = new System.Drawing.Size(454, 41);
this.Open.TabIndex = 5;
this.Open.Text = "toolStrip1";
//
// btnFirst
//
this.btnFirst.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.btnFirst.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Bold);
this.btnFirst.Image = ((System.Drawing.Image)(resources.GetObject("btnFirst.Image")));
this.btnFirst.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
this.btnFirst.ImageTransparentColor = System.Drawing.Color.Magenta;
this.btnFirst.Margin = new System.Windows.Forms.Padding(8, 0, 0, 0);
this.btnFirst.Name = "btnFirst";
this.btnFirst.Size = new System.Drawing.Size(23, 23);
this.btnFirst.ToolTipText = "Erste Seite";
this.btnFirst.Click += new System.EventHandler(this.btnFirst_Click);
//
// btnPrevious
//
this.btnPrevious.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.btnPrevious.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Bold);
this.btnPrevious.Image = ((System.Drawing.Image)(resources.GetObject("btnPrevious.Image")));
this.btnPrevious.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
this.btnPrevious.ImageTransparentColor = System.Drawing.Color.Magenta;
this.btnPrevious.Margin = new System.Windows.Forms.Padding(8, 0, 0, 0);
this.btnPrevious.Name = "btnPrevious";
this.btnPrevious.Size = new System.Drawing.Size(23, 23);
this.btnPrevious.ToolTipText = "Vorherige Seite";
this.btnPrevious.Click += new System.EventHandler(this.btnPrevious_Click);
//
// txtPageNumber
//
this.txtPageNumber.AutoSize = false;
@@ -161,60 +137,10 @@
this.txtPageNumber.Text = "1";
this.txtPageNumber.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// btnNext
//
this.btnNext.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.btnNext.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Bold);
this.btnNext.Image = ((System.Drawing.Image)(resources.GetObject("btnNext.Image")));
this.btnNext.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
this.btnNext.ImageTransparentColor = System.Drawing.Color.Magenta;
this.btnNext.Margin = new System.Windows.Forms.Padding(8, 0, 0, 0);
this.btnNext.Name = "btnNext";
this.btnNext.Size = new System.Drawing.Size(23, 23);
this.btnNext.ToolTipText = "Nächste Seite";
this.btnNext.Click += new System.EventHandler(this.btnNext_Click);
//
// btnLast
//
this.btnLast.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.btnLast.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Bold);
this.btnLast.Image = ((System.Drawing.Image)(resources.GetObject("btnLast.Image")));
this.btnLast.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
this.btnLast.ImageTransparentColor = System.Drawing.Color.Magenta;
this.btnLast.Margin = new System.Windows.Forms.Padding(8, 0, 0, 0);
this.btnLast.Name = "btnLast";
this.btnLast.Size = new System.Drawing.Size(23, 23);
this.btnLast.ToolTipText = "Letzte Seite";
this.btnLast.Click += new System.EventHandler(this.btnLast_Click);
//
// toolStripSeparator2
//
this.toolStripSeparator2.Name = "toolStripSeparator2";
this.toolStripSeparator2.Size = new System.Drawing.Size(6, 23);
//
// zoomIn
//
this.zoomIn.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.zoomIn.Image = ((System.Drawing.Image)(resources.GetObject("zoomIn.Image")));
this.zoomIn.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
this.zoomIn.ImageTransparentColor = System.Drawing.Color.Magenta;
this.zoomIn.Margin = new System.Windows.Forms.Padding(8, 0, 0, 0);
this.zoomIn.Name = "zoomIn";
this.zoomIn.Size = new System.Drawing.Size(23, 23);
this.zoomIn.ToolTipText = "Verkleinern";
this.zoomIn.Click += new System.EventHandler(this.zoomIn_Click);
//
// zoomOut
//
this.zoomOut.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.zoomOut.Image = ((System.Drawing.Image)(resources.GetObject("zoomOut.Image")));
this.zoomOut.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
this.zoomOut.ImageTransparentColor = System.Drawing.Color.Magenta;
this.zoomOut.Margin = new System.Windows.Forms.Padding(8, 0, 0, 0);
this.zoomOut.Name = "zoomOut";
this.zoomOut.Size = new System.Drawing.Size(23, 23);
this.zoomOut.ToolTipText = "Vergrössern";
this.zoomOut.Click += new System.EventHandler(this.zoomOut_Click);
this.toolStripSeparator2.Size = new System.Drawing.Size(6, 31);
//
// zoomComboBox
//
@@ -228,10 +154,95 @@
"400%"});
this.zoomComboBox.Margin = new System.Windows.Forms.Padding(8, 0, 0, 0);
this.zoomComboBox.Name = "zoomComboBox";
this.zoomComboBox.Size = new System.Drawing.Size(75, 23);
this.zoomComboBox.Size = new System.Drawing.Size(75, 31);
this.zoomComboBox.Text = "100%";
this.zoomComboBox.SelectedIndexChanged += new System.EventHandler(this.zoomComboBox_SelectedIndexChanged);
//
// panel1
//
this.panel1.Controls.Add(this.Open);
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
this.panel1.Location = new System.Drawing.Point(76, 0);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(781, 41);
this.panel1.TabIndex = 6;
//
// btnFirst
//
this.btnFirst.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.btnFirst.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Bold);
this.btnFirst.Image = ((System.Drawing.Image)(resources.GetObject("btnFirst.Image")));
this.btnFirst.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
this.btnFirst.ImageTransparentColor = System.Drawing.Color.Magenta;
this.btnFirst.Margin = new System.Windows.Forms.Padding(8, 0, 0, 0);
this.btnFirst.Name = "btnFirst";
this.btnFirst.Size = new System.Drawing.Size(23, 31);
this.btnFirst.ToolTipText = "Erste Seite";
this.btnFirst.Click += new System.EventHandler(this.btnFirst_Click);
//
// btnPrevious
//
this.btnPrevious.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.btnPrevious.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Bold);
this.btnPrevious.Image = ((System.Drawing.Image)(resources.GetObject("btnPrevious.Image")));
this.btnPrevious.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
this.btnPrevious.ImageTransparentColor = System.Drawing.Color.Magenta;
this.btnPrevious.Margin = new System.Windows.Forms.Padding(8, 0, 0, 0);
this.btnPrevious.Name = "btnPrevious";
this.btnPrevious.Size = new System.Drawing.Size(23, 31);
this.btnPrevious.ToolTipText = "Vorherige Seite";
this.btnPrevious.Click += new System.EventHandler(this.btnPrevious_Click);
//
// btnNext
//
this.btnNext.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.btnNext.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Bold);
this.btnNext.Image = ((System.Drawing.Image)(resources.GetObject("btnNext.Image")));
this.btnNext.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
this.btnNext.ImageTransparentColor = System.Drawing.Color.Magenta;
this.btnNext.Margin = new System.Windows.Forms.Padding(8, 0, 0, 0);
this.btnNext.Name = "btnNext";
this.btnNext.Size = new System.Drawing.Size(23, 31);
this.btnNext.ToolTipText = "Nächste Seite";
this.btnNext.Click += new System.EventHandler(this.btnNext_Click);
//
// btnLast
//
this.btnLast.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.btnLast.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Bold);
this.btnLast.Image = ((System.Drawing.Image)(resources.GetObject("btnLast.Image")));
this.btnLast.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
this.btnLast.ImageTransparentColor = System.Drawing.Color.Magenta;
this.btnLast.Margin = new System.Windows.Forms.Padding(8, 0, 0, 0);
this.btnLast.Name = "btnLast";
this.btnLast.Size = new System.Drawing.Size(23, 31);
this.btnLast.ToolTipText = "Letzte Seite";
this.btnLast.Click += new System.EventHandler(this.btnLast_Click);
//
// zoomIn
//
this.zoomIn.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.zoomIn.Image = ((System.Drawing.Image)(resources.GetObject("zoomIn.Image")));
this.zoomIn.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
this.zoomIn.ImageTransparentColor = System.Drawing.Color.Magenta;
this.zoomIn.Margin = new System.Windows.Forms.Padding(8, 0, 0, 0);
this.zoomIn.Name = "zoomIn";
this.zoomIn.Size = new System.Drawing.Size(23, 31);
this.zoomIn.ToolTipText = "Verkleinern";
this.zoomIn.Click += new System.EventHandler(this.zoomIn_Click);
//
// zoomOut
//
this.zoomOut.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.zoomOut.Image = ((System.Drawing.Image)(resources.GetObject("zoomOut.Image")));
this.zoomOut.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
this.zoomOut.ImageTransparentColor = System.Drawing.Color.Magenta;
this.zoomOut.Margin = new System.Windows.Forms.Padding(8, 0, 0, 0);
this.zoomOut.Name = "zoomOut";
this.zoomOut.Size = new System.Drawing.Size(23, 31);
this.zoomOut.ToolTipText = "Vergrössern";
this.zoomOut.Click += new System.EventHandler(this.zoomOut_Click);
//
// FitPage
//
this.FitPage.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
@@ -240,7 +251,7 @@
this.FitPage.ImageTransparentColor = System.Drawing.Color.Magenta;
this.FitPage.Margin = new System.Windows.Forms.Padding(8, 0, 0, 0);
this.FitPage.Name = "FitPage";
this.FitPage.Size = new System.Drawing.Size(23, 23);
this.FitPage.Size = new System.Drawing.Size(23, 31);
this.FitPage.ToolTipText = "Eine Seite";
this.FitPage.Visible = false;
this.FitPage.Click += new System.EventHandler(this.FitPage_Click);
@@ -253,20 +264,21 @@
this.FitWidth.ImageTransparentColor = System.Drawing.Color.Magenta;
this.FitWidth.Margin = new System.Windows.Forms.Padding(8, 0, 0, 0);
this.FitWidth.Name = "FitWidth";
this.FitWidth.Size = new System.Drawing.Size(23, 23);
this.FitWidth.Size = new System.Drawing.Size(23, 31);
this.FitWidth.Text = "FitWidth";
this.FitWidth.ToolTipText = "Seitenbreite";
this.FitWidth.Visible = false;
this.FitWidth.Click += new System.EventHandler(this.FitWidth_Click);
//
// panel1
// toolStripButton1
//
this.panel1.Controls.Add(this.Open);
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
this.panel1.Location = new System.Drawing.Point(76, 0);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(781, 41);
this.panel1.TabIndex = 6;
this.toolStripButton1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.toolStripButton1.Image = global::OnDoc.Properties.Resources.Printer_24x24_32;
this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton1.Name = "toolStripButton1";
this.toolStripButton1.Size = new System.Drawing.Size(28, 28);
this.toolStripButton1.Text = "toolStripButton1";
this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click);
//
// DocPreview
//
@@ -302,5 +314,6 @@
private System.Windows.Forms.ToolStripButton FitPage;
private System.Windows.Forms.ToolStripButton FitWidth;
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.ToolStripButton toolStripButton1;
}
}