MainPageExtractDialog.xaml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <UserControl x:Class="PDF_Office.Views.Dialog.MainPageTools.MainPageExtractDialog"
  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:cus="clr-namespace:PDF_Office.CustomControl"
  7. xmlns:prism="http://prismlibrary.com/"
  8. prism:ViewModelLocator.AutoWireViewModel="True"
  9. d:DesignHeight="404"
  10. d:DesignWidth="480"
  11. mc:Ignorable="d">
  12. <Grid>
  13. <Grid.RowDefinitions>
  14. <RowDefinition Height="50"></RowDefinition>
  15. <RowDefinition Height="*"></RowDefinition>
  16. <RowDefinition Height="63"></RowDefinition>
  17. </Grid.RowDefinitions>
  18. <TextBlock Grid.Row="0" Text="提取" FontSize="20" FontWeight="ExtraBlack" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="20,0,0,0" Height="28" Width="120"/>
  19. <Border Grid.Row="1" BorderBrush="Gray" BorderThickness="0,1,0,1" VerticalAlignment="Center" Height="291">
  20. <Grid>
  21. <Grid.ColumnDefinitions>
  22. <ColumnDefinition Width="1*"/>
  23. <ColumnDefinition Width="1*"/>
  24. </Grid.ColumnDefinitions>
  25. <Grid Grid.Column="0">
  26. <Border Margin="10,40,10,40" Width="176" Height="218" Background="LightGray" >
  27. <Viewbox >
  28. <Image Name="Image"></Image>
  29. </Viewbox>
  30. </Border>
  31. <StackPanel Orientation="Horizontal" Grid.Row="1" HorizontalAlignment="Center" VerticalAlignment="Bottom">
  32. <Button Name="PrePage" Width="20" Height="20" HorizontalAlignment="Left" FontSize="16" Background="WhiteSmoke" HorizontalContentAlignment="Center" VerticalContentAlignment="Center">
  33. <TextBlock Text="&lt;" VerticalAlignment="Center"></TextBlock>
  34. </Button>
  35. <TextBox x:Name="CurrentPage" Width="30" Height="25" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Margin="10,0,5,0" Text="1" ></TextBox>
  36. <TextBlock Text="of" HorizontalAlignment="Left" VerticalAlignment="Center" Margin="0"></TextBlock>
  37. <TextBlock x:Name="PageIndex" HorizontalAlignment="Left" VerticalAlignment="Center" Margin="5"></TextBlock>
  38. <Button Name="NextPage" Width="20" Height="20" HorizontalAlignment="Left" FontSize="16" Background="WhiteSmoke" HorizontalContentAlignment="Center" VerticalContentAlignment="Center">
  39. <TextBlock Text=">" VerticalAlignment="Center"></TextBlock>
  40. </Button>
  41. </StackPanel>
  42. </Grid>
  43. <Grid Grid.Column="1">
  44. <Grid.RowDefinitions>
  45. <RowDefinition Height="5*"/>
  46. <RowDefinition Height="5*"/>
  47. </Grid.RowDefinitions>
  48. <Grid Grid.Row="0">
  49. <StackPanel Orientation="Vertical" Margin="0,40,0,0">
  50. <TextBlock Text="页面范围" FontWeight="ExtraBlack" Width="56" Height="22" HorizontalAlignment="Left"/>
  51. <cus:WritableComboBox Width="208" Height="32" HorizontalAlignment="Left" Margin="0,20,0,0"></cus:WritableComboBox>
  52. </StackPanel>
  53. </Grid>
  54. <Grid Grid.Row="1">
  55. <StackPanel Orientation="Vertical">
  56. <TextBlock Text="页面范围" FontWeight="ExtraBlack" Width="56" Height="22" HorizontalAlignment="Left"/>
  57. <CheckBox Margin="0,20,0,0">
  58. <TextBlock Text="每个页面作为单独页面"></TextBlock>
  59. </CheckBox>
  60. <CheckBox Margin="0,20,0,0">
  61. <TextBlock Text="提取后删除页面"></TextBlock>
  62. </CheckBox>
  63. </StackPanel>
  64. </Grid>
  65. </Grid>
  66. </Grid>
  67. </Border>
  68. </Grid>
  69. </UserControl>