123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107 |
- <UserControl x:Class="PDF_Office.Views.Dialog.HomePageToolsDialogs.HomePageBatchProcessing.HomePageBatchProcessingDialog"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:prism="http://prismlibrary.com/"
- prism:ViewModelLocator.AutoWireViewModel="True"
- d:DesignHeight="554"
- d:DesignWidth="892"
- mc:Ignorable="d">
- <UserControl.Resources>
- <ResourceDictionary>
- <ResourceDictionary.MergedDictionaries>
- <ResourceDictionary Source="../../../../Styles/CustomBtnStyle.xaml"/>
- </ResourceDictionary.MergedDictionaries>
- </ResourceDictionary>
- </UserControl.Resources>
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="32"/>
- <RowDefinition/>
- </Grid.RowDefinitions>
- <StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
- <Button x:Name="ShiftingBtn" Style="{StaticResource HomePageCompressBtn}" Tag="0" Width="106" Command="{Binding DelegateChangeBatchProcessingCommand}" CommandParameter="{Binding ElementName=ShiftingBtn,Path=Tag}" Click="Btn_Click">
- <StackPanel Orientation="Vertical" >
- <Border HorizontalAlignment="Center">
- <TextBlock Text="转档" FontSize="18"></TextBlock>
- </Border>
- <Border Margin="0,4,0,0">
- <Path VerticalAlignment="Center" HorizontalAlignment="Center" Stroke="Black" Data="M0 0L4 0 L18 0" Height="2" Stretch="Fill" Name="ShiftingPath"/>
- </Border>
- </StackPanel>
- </Button>
- <Button x:Name="CompressBtn" Tag="1" Width="106" Style="{StaticResource HomePageCompressBtn}" Command="{Binding DelegateChangeBatchProcessingCommand}" CommandParameter="{Binding ElementName=CompressBtn,Path=Tag}" Click="Btn_Click">
- <StackPanel Orientation="Vertical" >
- <Border HorizontalAlignment="Center">
- <TextBlock Text="压缩" FontSize="18"></TextBlock>
- </Border>
- <Border Margin="0,4,0,0">
- <Path VerticalAlignment="Center" HorizontalAlignment="Center" Stroke="Black" Data="M0 0L4 0 L18 0" Height="2" Stretch="Fill" Name="CompressPath"/>
- </Border>
- </StackPanel>
- </Button>
- <Button x:Name="SecurityBtn" Tag="2" Width="106" Style="{StaticResource HomePageCompressBtn}" Command="{Binding DelegateChangeBatchProcessingCommand}" CommandParameter="{Binding ElementName=SecurityBtn,Path=Tag}" Click="Btn_Click">
- <StackPanel Orientation="Vertical" >
- <Border HorizontalAlignment="Center">
- <TextBlock Text="安全" FontSize="18"></TextBlock>
- </Border>
- <Border Margin="0,4,0,0">
- <Path VerticalAlignment="Center" HorizontalAlignment="Center" Stroke="Black" Data="M0 0L4 0 L18 0" Height="2" Stretch="Fill" Name="SecurityPath"/>
- </Border>
- </StackPanel>
- </Button >
- <Button x:Name="WatermarkBtn" Tag="3" Width="118" Style="{StaticResource HomePageCompressBtn}" Command="{Binding DelegateChangeBatchProcessingCommand}" CommandParameter="{Binding ElementName=WatermarkBtn,Path=Tag}" Click="Btn_Click">
- <StackPanel Orientation="Vertical" >
- <Border HorizontalAlignment="Center">
- <TextBlock Text="水印" FontSize="18"></TextBlock>
- </Border>
- <Border Margin="0,4,0,0">
- <Path VerticalAlignment="Center" HorizontalAlignment="Center" Stroke="Black" Data="M0 0L4 0 L18 0" Height="2" Stretch="Fill" Name="WatermarkPath"/>
- </Border>
- </StackPanel>
- </Button>
- <Button x:Name="BackgroundBtn" Tag="4" Width="106" Style="{StaticResource HomePageCompressBtn}" Command="{Binding DelegateChangeBatchProcessingCommand}" CommandParameter="{Binding ElementName=BackgroundBtn,Path=Tag}" Click="Btn_Click">
- <StackPanel Orientation="Vertical" >
- <Border HorizontalAlignment="Center">
- <TextBlock Text="背景" FontSize="18"></TextBlock>
- </Border>
- <Border Margin="0,4,0,0">
- <Path VerticalAlignment="Center" HorizontalAlignment="Center" Stroke="Black" Data="M0 0L4 0 L18 0" Height="2" Stretch="Fill" Name="BackgroundPath"/>
- </Border>
- </StackPanel>
- </Button>
- <Button x:Name="HeaderFooterBtn" Tag="5" Width="106" Style="{StaticResource HomePageCompressBtn}" Command="{Binding DelegateChangeBatchProcessingCommand}" CommandParameter="{Binding ElementName=HeaderFooterBtn,Path=Tag}" Click="Btn_Click">
- <StackPanel Orientation="Vertical" >
- <Border HorizontalAlignment="Center">
- <TextBlock Text="页眉页脚" FontSize="18"></TextBlock>
- </Border>
- <Border Margin="0,4,0,0">
- <Path VerticalAlignment="Center" HorizontalAlignment="Center" Stroke="Black" Data="M0 0L4 0 L18 0" Height="2" Stretch="Fill" Name="HeaderFooterPath"/>
- </Border>
- </StackPanel>
- </Button>
- <Button x:Name="BatesBtn" Tag="6" Width="106" Style="{StaticResource HomePageCompressBtn}" Command="{Binding DelegateChangeBatchProcessingCommand}" CommandParameter="{Binding ElementName=BatesBtn,Path=Tag}" Click="Btn_Click">
- <StackPanel Orientation="Vertical" >
- <Border HorizontalAlignment="Center">
- <TextBlock Text="Bates码" FontSize="18"></TextBlock>
- </Border>
- <Border Margin="0,4,0,0">
- <Path VerticalAlignment="Center" HorizontalAlignment="Center" Stroke="Black" Data="M0 0L4 0 L18 0" Height="2" Stretch="Fill" Name="BatesPath"/>
- </Border>
- </StackPanel>
- </Button>
- <Button x:Name="RemoveSecurityBtn" Tag="7" Width="106" Style="{StaticResource HomePageCompressBtn}" Command="{Binding DelegateChangeBatchProcessingCommand}" CommandParameter="{Binding ElementName=RemoveSecurityBtn,Path=Tag}" Click="Btn_Click">
- <StackPanel Orientation="Vertical" >
- <Border HorizontalAlignment="Center">
- <TextBlock Text="批量移除" FontSize="18"></TextBlock>
- </Border>
- <Border Margin="0,4,0,0">
- <Path VerticalAlignment="Center" HorizontalAlignment="Center" Stroke="Black" Data="M0 0L4 0 L18 0" Height="2" Stretch="Fill" Name="RemoveSecurityPath"/>
- </Border>
- </StackPanel>
- </Button>
- </StackPanel>
- <ContentControl x:Name="PrintMod" prism:RegionManager.RegionName="{Binding BatchProcessingRegionName}" Visibility="{Binding BatchProcessingVisible}" Grid.Row="1"/>
- </Grid>
- </UserControl>
|