123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- <UserControl x:Class="PDF_Office.Views.Dialog.HomePageToolsDialogs.HomePageExtractDialog"
- 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:cus="clr-namespace:PDF_Office.CustomControl"
- xmlns:prism="http://prismlibrary.com/"
- prism:ViewModelLocator.AutoWireViewModel="True"
- Height="404"
- Width="490"
- d:DesignHeight="404"
- d:DesignWidth="490"
- mc:Ignorable="d">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="50"></RowDefinition>
- <RowDefinition Height="*"></RowDefinition>
- <RowDefinition Height="63"></RowDefinition>
- </Grid.RowDefinitions>
- <TextBlock Grid.Row="0" Text="提取" FontSize="20" FontWeight="ExtraBlack" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="20,0,0,0" Height="28" Width="120"/>
- <Border Grid.Row="1" BorderBrush="Gray" BorderThickness="0,1,0,1" VerticalAlignment="Center" Height="291">
- <Grid>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="212"/>
- <ColumnDefinition Width="*"/>
- </Grid.ColumnDefinitions>
- <Grid Grid.Column="0">
- <cus:PageTurningPreview x:Name="ExtractPreview" Loaded="PageTurningPreview_Loaded" ></cus:PageTurningPreview>
- </Grid>
- <Grid Grid.Column="1">
- <Grid.RowDefinitions>
- <RowDefinition Height="5*"/>
- <RowDefinition Height="5*"/>
- </Grid.RowDefinitions>
- <Grid Grid.Row="0">
- <StackPanel Orientation="Vertical" Margin="0,40,0,0">
- <TextBlock Text="页面范围" FontWeight="ExtraBlack" Width="56" Height="22" HorizontalAlignment="Left"/>
- <cus:WritableComboBox Width="208" Height="32" HorizontalAlignment="Left" Margin="0,20,0,0" Text="{Binding PageRangeText,Mode=TwoWay}" SelectedIndex="{Binding PageRangeSelectIndex,Mode=TwoWay}"></cus:WritableComboBox>
- </StackPanel>
- </Grid>
- <Grid Grid.Row="1">
- <StackPanel Orientation="Vertical">
- <TextBlock Text="页面范围" FontWeight="ExtraBlack" Width="56" Height="22" HorizontalAlignment="Left"/>
- <CheckBox Margin="0,20,0,0" Command="{Binding ExtractToSingleFileCommand}" IsChecked="{Binding ExtractToSingleFileIsCheck}">
- <TextBlock Text="每个页面作为单独页面"></TextBlock>
- </CheckBox>
- <CheckBox Margin="0,20,0,0" Command="{Binding DeleteAfterExtractCommand}" IsChecked="{Binding DeleteAfterExtractIsCheck}">
- <TextBlock Text="提取后删除页面"></TextBlock>
- </CheckBox>
- </StackPanel>
- </Grid>
- </Grid>
- </Grid>
- </Border>
- <Grid Grid.Row="2">
- <Button
- Width="98"
- Height="32"
- Margin="0,0,124,0"
- HorizontalAlignment="Right"
- Command="{Binding ExtractCommand}"
- Content="提取" />
- <Button
- Width="98"
- Height="32"
- Margin="16,0"
- HorizontalAlignment="Right"
- Command="{Binding CancelCommand}"
- Content="取消" />
- </Grid>
- </Grid>
- </UserControl>
|