HomePageBatchProcessingDialog.xaml 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. <UserControl x:Class="PDF_Office.Views.Dialog.HomePageToolsDialogs.HomePageBatchProcessing.HomePageBatchProcessingDialog"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6. xmlns:prism="http://prismlibrary.com/"
  7. prism:ViewModelLocator.AutoWireViewModel="True"
  8. d:DesignHeight="554"
  9. d:DesignWidth="892"
  10. mc:Ignorable="d">
  11. <UserControl.Resources>
  12. <ResourceDictionary>
  13. <ResourceDictionary.MergedDictionaries>
  14. <ResourceDictionary Source="../../../../Styles/CustomBtnStyle.xaml"/>
  15. </ResourceDictionary.MergedDictionaries>
  16. </ResourceDictionary>
  17. </UserControl.Resources>
  18. <Grid>
  19. <Grid.RowDefinitions>
  20. <RowDefinition Height="32"/>
  21. <RowDefinition/>
  22. </Grid.RowDefinitions>
  23. <StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
  24. <Button x:Name="ShiftingBtn" Style="{StaticResource HomePageCompressBtn}" Tag="0" Width="106" Command="{Binding DelegateChangeBatchProcessingCommand}" CommandParameter="{Binding ElementName=ShiftingBtn,Path=Tag}" Click="Btn_Click">
  25. <StackPanel Orientation="Vertical" >
  26. <Border HorizontalAlignment="Center">
  27. <TextBlock Text="转档" FontSize="18"></TextBlock>
  28. </Border>
  29. <Border Margin="0,4,0,0">
  30. <Path VerticalAlignment="Center" HorizontalAlignment="Center" Stroke="Black" Data="M0 0L4 0 L18 0" Height="2" Stretch="Fill" Name="ShiftingPath"/>
  31. </Border>
  32. </StackPanel>
  33. </Button>
  34. <Button x:Name="CompressBtn" Tag="1" Width="106" Style="{StaticResource HomePageCompressBtn}" Command="{Binding DelegateChangeBatchProcessingCommand}" CommandParameter="{Binding ElementName=CompressBtn,Path=Tag}" Click="Btn_Click">
  35. <StackPanel Orientation="Vertical" >
  36. <Border HorizontalAlignment="Center">
  37. <TextBlock Text="压缩" FontSize="18"></TextBlock>
  38. </Border>
  39. <Border Margin="0,4,0,0">
  40. <Path VerticalAlignment="Center" HorizontalAlignment="Center" Stroke="Black" Data="M0 0L4 0 L18 0" Height="2" Stretch="Fill" Name="CompressPath"/>
  41. </Border>
  42. </StackPanel>
  43. </Button>
  44. <Button x:Name="SecurityBtn" Tag="2" Width="106" Style="{StaticResource HomePageCompressBtn}" Command="{Binding DelegateChangeBatchProcessingCommand}" CommandParameter="{Binding ElementName=SecurityBtn,Path=Tag}" Click="Btn_Click">
  45. <StackPanel Orientation="Vertical" >
  46. <Border HorizontalAlignment="Center">
  47. <TextBlock Text="安全" FontSize="18"></TextBlock>
  48. </Border>
  49. <Border Margin="0,4,0,0">
  50. <Path VerticalAlignment="Center" HorizontalAlignment="Center" Stroke="Black" Data="M0 0L4 0 L18 0" Height="2" Stretch="Fill" Name="SecurityPath"/>
  51. </Border>
  52. </StackPanel>
  53. </Button >
  54. <Button x:Name="WatermarkBtn" Tag="3" Width="118" Style="{StaticResource HomePageCompressBtn}" Command="{Binding DelegateChangeBatchProcessingCommand}" CommandParameter="{Binding ElementName=WatermarkBtn,Path=Tag}" Click="Btn_Click">
  55. <StackPanel Orientation="Vertical" >
  56. <Border HorizontalAlignment="Center">
  57. <TextBlock Text="水印" FontSize="18"></TextBlock>
  58. </Border>
  59. <Border Margin="0,4,0,0">
  60. <Path VerticalAlignment="Center" HorizontalAlignment="Center" Stroke="Black" Data="M0 0L4 0 L18 0" Height="2" Stretch="Fill" Name="WatermarkPath"/>
  61. </Border>
  62. </StackPanel>
  63. </Button>
  64. <Button x:Name="BackgroundBtn" Tag="4" Width="106" Style="{StaticResource HomePageCompressBtn}" Command="{Binding DelegateChangeBatchProcessingCommand}" CommandParameter="{Binding ElementName=BackgroundBtn,Path=Tag}" Click="Btn_Click">
  65. <StackPanel Orientation="Vertical" >
  66. <Border HorizontalAlignment="Center">
  67. <TextBlock Text="背景" FontSize="18"></TextBlock>
  68. </Border>
  69. <Border Margin="0,4,0,0">
  70. <Path VerticalAlignment="Center" HorizontalAlignment="Center" Stroke="Black" Data="M0 0L4 0 L18 0" Height="2" Stretch="Fill" Name="BackgroundPath"/>
  71. </Border>
  72. </StackPanel>
  73. </Button>
  74. <Button x:Name="HeaderFooterBtn" Tag="5" Width="106" Style="{StaticResource HomePageCompressBtn}" Command="{Binding DelegateChangeBatchProcessingCommand}" CommandParameter="{Binding ElementName=HeaderFooterBtn,Path=Tag}" Click="Btn_Click">
  75. <StackPanel Orientation="Vertical" >
  76. <Border HorizontalAlignment="Center">
  77. <TextBlock Text="页眉页脚" FontSize="18"></TextBlock>
  78. </Border>
  79. <Border Margin="0,4,0,0">
  80. <Path VerticalAlignment="Center" HorizontalAlignment="Center" Stroke="Black" Data="M0 0L4 0 L18 0" Height="2" Stretch="Fill" Name="HeaderFooterPath"/>
  81. </Border>
  82. </StackPanel>
  83. </Button>
  84. <Button x:Name="BatesBtn" Tag="6" Width="106" Style="{StaticResource HomePageCompressBtn}" Command="{Binding DelegateChangeBatchProcessingCommand}" CommandParameter="{Binding ElementName=BatesBtn,Path=Tag}" Click="Btn_Click">
  85. <StackPanel Orientation="Vertical" >
  86. <Border HorizontalAlignment="Center">
  87. <TextBlock Text="Bates码" FontSize="18"></TextBlock>
  88. </Border>
  89. <Border Margin="0,4,0,0">
  90. <Path VerticalAlignment="Center" HorizontalAlignment="Center" Stroke="Black" Data="M0 0L4 0 L18 0" Height="2" Stretch="Fill" Name="BatesPath"/>
  91. </Border>
  92. </StackPanel>
  93. </Button>
  94. <Button x:Name="RemoveSecurityBtn" Tag="7" Width="106" Style="{StaticResource HomePageCompressBtn}" Command="{Binding DelegateChangeBatchProcessingCommand}" CommandParameter="{Binding ElementName=RemoveSecurityBtn,Path=Tag}" Click="Btn_Click">
  95. <StackPanel Orientation="Vertical" >
  96. <Border HorizontalAlignment="Center">
  97. <TextBlock Text="批量移除" FontSize="18"></TextBlock>
  98. </Border>
  99. <Border Margin="0,4,0,0">
  100. <Path VerticalAlignment="Center" HorizontalAlignment="Center" Stroke="Black" Data="M0 0L4 0 L18 0" Height="2" Stretch="Fill" Name="RemoveSecurityPath"/>
  101. </Border>
  102. </StackPanel>
  103. </Button>
  104. </StackPanel>
  105. <ContentControl x:Name="PrintMod" prism:RegionManager.RegionName="{Binding BatchProcessingRegionName}" Visibility="{Binding BatchProcessingVisible}" Grid.Row="1"/>
  106. </Grid>
  107. </UserControl>