|
@@ -123,17 +123,18 @@ namespace PDF_Master.ViewModels.HomePanel.PDFTools
|
|
|
System.Windows.Forms.OpenFileDialog dlg = new System.Windows.Forms.OpenFileDialog();
|
|
|
dlg.Multiselect = false;
|
|
|
dlg.Filter = "PDF|*.pdf;*.PDF;";
|
|
|
- if (toolItem.FnType == PDFFnType.Compress || toolItem.FnType == PDFFnType.Security||
|
|
|
- toolItem.FnType ==PDFFnType.BatchRemove||toolItem.FnType==PDFFnType.ConvertPDF||
|
|
|
- toolItem.FnType==PDFFnType.Background|| toolItem.FnType == PDFFnType.HeaderFooter||
|
|
|
- toolItem.FnType == PDFFnType.BatesNumbers|| toolItem.FnType == PDFFnType.WaterMark||
|
|
|
- toolItem.FnType == PDFFnType.PDFToExcel|| toolItem.FnType == PDFFnType.PDFToImage||
|
|
|
- toolItem.FnType == PDFFnType.PDFToPPT|| toolItem.FnType == PDFFnType.Batch ||
|
|
|
- toolItem.FnType == PDFFnType.Merge)
|
|
|
- {
|
|
|
- //dlg.Multiselect = true;
|
|
|
- }
|
|
|
- if (toolItem.FnType == PDFFnType.ImageToPDF)
|
|
|
+ //MVP原规划的批量工具 暂时先注释掉
|
|
|
+ //if (toolItem.FnType == PDFFnType.Compress || toolItem.FnType == PDFFnType.Security||
|
|
|
+ // toolItem.FnType ==PDFFnType.BatchRemove||toolItem.FnType==PDFFnType.ConvertPDF||
|
|
|
+ // toolItem.FnType==PDFFnType.Background|| toolItem.FnType == PDFFnType.HeaderFooter||
|
|
|
+ // toolItem.FnType == PDFFnType.BatesNumbers|| toolItem.FnType == PDFFnType.WaterMark||
|
|
|
+ // toolItem.FnType == PDFFnType.PDFToExcel|| toolItem.FnType == PDFFnType.PDFToImage||
|
|
|
+ // toolItem.FnType == PDFFnType.PDFToPPT|| toolItem.FnType == PDFFnType.Batch ||
|
|
|
+ // toolItem.FnType == PDFFnType.Merge)
|
|
|
+ //{
|
|
|
+ // //dlg.Multiselect = true;
|
|
|
+ //}
|
|
|
+ if (toolItem.FnType == PDFFnType.ImageToPDF|| toolItem.FnType == PDFFnType.Merge)
|
|
|
{
|
|
|
dlg.Multiselect = true;
|
|
|
dlg.Filter = "Picture|*.png;*.PNG;*.jpg;*.JPG;*bmp;*jpeg;*gif;*tiff;";
|