update 20241127
This commit is contained in:
@@ -304,7 +304,7 @@ namespace OnDoc.UIControls.Administrator
|
||||
case "DOT":
|
||||
case "WORD":
|
||||
case "DOTM":
|
||||
SyncFWord sfword = new SyncFWord();
|
||||
SyncFWord sfword = new SyncFWord("", "");
|
||||
if (sfword.FindText(base64, this.toolStripTextBox1.Text) == true) { MessageBox.Show(dr[1].ToString()); }
|
||||
break;
|
||||
case "XLSM":
|
||||
|
||||
229
Client/UIControls/DocPreview.Designer.cs
generated
229
Client/UIControls/DocPreview.Designer.cs
generated
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -264,5 +264,10 @@ namespace OnDoc.UIControls
|
||||
ZoomPercentage = 169;
|
||||
zoomComboBox.Text = ZoomPercentage.ToString() + "%";
|
||||
}
|
||||
|
||||
private void toolStripButton1_Click(object sender, EventArgs e)
|
||||
{
|
||||
pdfViewerControl1.Print(true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -117,7 +117,7 @@
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="pdfViewerPrinterSettings4.PrintLocation" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<data name="pdfViewerPrinterSettings1.PrintLocation" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>
|
||||
AAEAAAD/////AQAAAAAAAAAMAgAAAFFTeXN0ZW0uRHJhd2luZywgVmVyc2lvbj00LjAuMC4wLCBDdWx0
|
||||
dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWIwM2Y1ZjdmMTFkNTBhM2EFAQAAABVTeXN0ZW0uRHJh
|
||||
@@ -132,10 +132,10 @@
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABIAAAAPCAYAAADphp8SAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADVSURBVDhPY3CLL/8Pw65x5Q8YSATOsRXCrvGlGygyyC2u
|
||||
1NEtvuwJSC9ZBtnb17MA1bfZRxT8hekl2SDnxAoloCtOIOsDYZIMcksoi3KJKP+ErAeGiTLIL6mUFyi3
|
||||
1NEtvuwJSC9ZBtnb17MA1bfZh+X9hekl2SDnxAoloCtOIOsDYZIMcksoi3KJKP+ErAeGiTLIL6mUFyi3
|
||||
CFktOiZokEdChalrfPkdZHXYMF6DXGLL5XB5BR0TdlFipZZbbMklZHXYMFFhZB9fzwH03mRkteiYKINg
|
||||
wC221Aeo7jWyHhgmySAQcEkqlXKLLd+DrA+ESTYIBOrr65nc4srL3eILflNkEAwgJw2KDAIBSGItXwQA
|
||||
NuYz+AIzheMAAAAASUVORK5CYII=
|
||||
wC221Aeo7jWyHhgmySAQcEkqlXKLLd+DrA+ESTYIBOrr65nc4srL3eLzflNkEAwgJw2KDAIBSGItXwQA
|
||||
J9Qz8tyQmCQAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="btnPrevious.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
@@ -143,8 +143,8 @@
|
||||
iVBORw0KGgoAAAANSUhEUgAAAA0AAAASCAYAAACAa1QyAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAACzSURBVDhPYyAFeMWXSLjFlW2FcgkDt/jyYLf4ojdA+j9U
|
||||
CDdwSSvnd40rXwRSDMNQKezALa7U0TGm7BGyBpya7OPrOdziy/qACv6hawBhqDIEcI4tN3SNK7uKTTEM
|
||||
Q5UyMISGhjK7xJVXucUX/MamEBmDNbjFVKi4xpcdw6YAG2YAOiUdyPiCLoEPk6eJLOfBAMkBgQxICnJk
|
||||
QHLkIgOSkhEyIDnBIgOgYuKzBjKAZMKyrQCr0A6qDDwF9gAAAABJRU5ErkJggg==
|
||||
Q5UyMISGhjK7xJVXucXn/camEBmDNbjFVKi4xpcdw6YAG2YAOiUdyPiCLoEPk6eJLOfBAMkBgQxICnJk
|
||||
QHLkIgOSkhEyIDnBIgOgYuKzBjKAZMKyrQCkPg6mmNw2kwAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="btnNext.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
@@ -152,39 +152,39 @@
|
||||
iVBORw0KGgoAAAANSUhEUgAAAA0AAAASCAYAAACAa1QyAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAACeSURBVDhPY3CNLd3iFV8iwUAKcIsv/w/Er90TyoKgQoQB
|
||||
VBMYu8aXLfSIrueDSuEGyJoguOihe3y5A1QaO8DUBMb/gLjXPr6eA6oMFaApRsEu8eVXXONLDKBKEQCb
|
||||
YhQcUf7LNa6sMjQ0lBmqhQhNUOwSV37UI65EmSRNUPzFLb4ijbaaSHMeqQFBapCTGrkkJiNSEyxpWYP0
|
||||
TMjAAAAOUA6wPpjOgAAAAABJRU5ErkJggg==
|
||||
YhQcVv7LNa6sMjQ0lBmqhQhNUOwSV37UI65EmSRNUPzFLb4ijbaaSHMeqQFBapCTGrkkJiNSEyxpWYP0
|
||||
TMjAAAAG+g6sHS8nigAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="btnLast.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABIAAAAPCAYAAADphp8SAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADaSURBVDhPY3CNK1/kl1TKy0AiAOp74BZf/h+GGUCEa3z5
|
||||
HY+EClOoGqIAVoMguOC3W1x5eX19PRNULV6AxyAIdo0v2+2SVCoFVY8TEDQIil+7xZb6QPVgBcQaBMbA
|
||||
HY+EClOoGqIAVoMgOO+3W1x5eX19PRNULV6AxyAIdo0v2+2SVCoFVY8TEDQIil+7xZb6QPVgBcQaBMbA
|
||||
sJtsH1/PAdWLAkgyCIxjSy55JFZqQfXDAekGAbFLRPknl9hyOagZYECyQbiSBmlhhCexEmUQyCtuCWVR
|
||||
UD1YAREGlZ1wTqxQgqrHCXAaZB9R8BdIt9nb17NA1eIFOAwqe+IWV+oIVUMUwDDINb50g3NshTBUnmiA
|
||||
alD5fwD5dTP3Q5iDpgAAAABJRU5ErkJggg==
|
||||
UD1YAREGlZ1wTqxQgqrHCXAaZB+W9xdIt9nb17NA1eIFOAwqe+IWV+oIVUMUwDDINb50g3NshTBUnmiA
|
||||
alD5fwDu3zPxKNmfQgAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="zoomIn.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABIAAAARCAYAAADQWvz5AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADPSURBVDhPY0AH9vb1LC5xFZFucWWrXOLLH7vFF/wGYTAb
|
||||
JAaUA6mBKscO3BLKXF3jy++4xZf/x4ed40tuu8dWuEC1oQKgbZn2EQV/sWnEhsFqgXqg2iHANa48EJti
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADPSURBVDhPY0AH9vb1LC5xFZFucWWrXOLLH7vF5/0GYTAb
|
||||
JAaUA6mBKscO3BLKXF3jy++4xZf/x4ed40tuu8dWuEC1oQKgbZn2YXl/sWnEhsFqgXqg2iHANa48EJti
|
||||
YjBIL9gQ+/h8Aafo4lfYFBGDQXpBZjAAObnokmTgXAaXuPJDWCRIwiAzQC76hizoHl/uQAxG1gPE30AG
|
||||
IQv8BwccEQBDH5BAcZFrfIkBMRhZDxB/o2oYUSfWqJaOQIAqKRsGqJLXYIAquR8GyCuPGBgAOKDxdMLp
|
||||
HrkAAAAASUVORK5CYII=
|
||||
IQv8BwccEQBDH5BAcZFrfIkBMRhZDxB/o2oYUSfWqJaOQIAqKRsGqJLXYIAquR8GyCuPGBgA/mnxXG9M
|
||||
KfwAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="zoomOut.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABIAAAARCAYAAADQWvz5AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAEdSURBVDhPY0AH9vb1LC5xFZFucWWrXOLLH7vFF/wGYTAb
|
||||
JAaUA6mBKscO3GMrXFzjy++4xZf/x4ed40tug9RCtaECoG2Z9hEFf7FpxIbBaoF6oNohwDWuPBCr4viy
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAEdSURBVDhPY0AH9vb1LC5xFZFucWWrXOLLH7vF5/0GYTAb
|
||||
JAaUA6mBKscO3GMrXFzjy++4xZf/x4ed40tug9RCtaECoG2Z9mF5f7FpxIbBaoF6oNohwDWuPBCr4viy
|
||||
j85xJRdAGMTGpgakF2yIfXy+gFN08SusiuJLN4AVAQGIjU0NSC/IDAYgJxddEoaJMQiKcxlc4soPYZEA
|
||||
Y2INApkBctE3ZEH3+HIHGHaNqdSBmsMAYiPLIesB4m8gg5AF/kP1EQQY+oAEiotc40sM4DimWBGqD+ii
|
||||
YkVkOWQ9QPyNqmFEnVijWjoCK8KRst3ii94A6QMQDGZjqIGnbBigSl6DAbeEMldicj9IDc7cDwPw8ii+
|
||||
fLVbfNkT4sojBgYAFg7NfrDJ4qoAAAAASUVORK5CYII=
|
||||
fLVbfNkT4sojBgYA29fNZohv9VsAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="FitPage.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
|
||||
@@ -470,19 +470,19 @@
|
||||
<data name="ribbonbuttonlogin.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wQAADsEBuJFr7QAAABpJREFUWEftwQEBAAAAgiD/r25IQAAAAMC5GhAgAAGdeElDAAAAAElFTkSuQmCC
|
||||
vwAADr8BOAVTJAAAABpJREFUWEftwQEBAAAAgiD/r25IQAAAAMC5GhAgAAGdeElDAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="ribbonbuttonlogin.LargeImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wQAADsEBuJFr7QAAABpJREFUWEftwQEBAAAAgiD/r25IQAAAAMC5GhAgAAGdeElDAAAAAElFTkSuQmCC
|
||||
vwAADr8BOAVTJAAAABpJREFUWEftwQEBAAAAgiD/r25IQAAAAMC5GhAgAAGdeElDAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="ribbonbuttonlogin.SmallImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wQAADsEBuJFr7QAAABNJREFUOE9jGAWjYBSMAjBgYAAABBAAAadEfGMAAAAASUVORK5CYII=
|
||||
vwAADr8BOAVTJAAAABNJREFUOE9jGAWjYBSMAjBgYAAABBAAAadEfGMAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="pdfConfig1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
|
||||
@@ -415,6 +415,7 @@ namespace OnDoc.UIControls
|
||||
if (rbasPDFarchivieren.Checked) { docgendata.erstellungsart = Erstellungsart.DokumentAlsPDFArchivieren; }
|
||||
|
||||
docgendata.dokumentwerte = gridDokwertlist.DataSource as DataTable;
|
||||
|
||||
}
|
||||
|
||||
public void update_dokdata(ref clsDocData dokdata)
|
||||
@@ -434,6 +435,7 @@ namespace OnDoc.UIControls
|
||||
dokdata.Bezeichnung = docgendata.bezeichnung;
|
||||
if (docgendata.erstellungsart == Erstellungsart.DokumentAlsPDF) { dokdata.Result_as_PDF = "True"; } else { dokdata.Result_as_PDF = "False"; }
|
||||
if (docgendata.digitaleunterschrift == true) { dokdata.As_Faksimile = "True"; } else { dokdata.As_Faksimile = "False"; }
|
||||
if (docgendata.frormularOhneUnterschrift==true) { dokdata.Form_ohne_Unterschrift = "True" ; } else { dokdata.Form_ohne_Unterschrift = "False"; }
|
||||
dokdata.dokumentwerte = docgendata.dokumentwerte;
|
||||
dokdata.Barcode = barcode;
|
||||
dokdata.VorlageNr = this.vorlagenr.ToString();
|
||||
|
||||
Reference in New Issue
Block a user