HomePageConverterExcel.xaml 2.3 KB

123456789101112131415161718192021222324252627282930
  1. <UserControl x:Class="PDF_Office.Views.Dialog.HomePageToolsDialogs.HomePageBatchProcessing.HomePageConverter.HomePageConverterExcel"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:prism="http://prismlibrary.com/"
  5. prism:ViewModelLocator.AutoWireViewModel="True">
  6. <Grid>
  7. <StackPanel Orientation="Vertical" Width="245">
  8. <TextBlock Text="Excel工作簿设置:" Height="20"/>
  9. <StackPanel Orientation="Vertical" Margin="0,7,0,0">
  10. <RadioButton Name="ForEachPageRadioBtn" Command="{Binding RadioButtonCommand}" CommandParameter="{Binding ElementName=ForEachPageRadioBtn,Path=Name}">
  11. <TextBlock Text="将每个页面转换为一个单独的工作表"/>
  12. </RadioButton>
  13. <RadioButton Margin="0,6,0,0" Name="ForTheDocRadioBtn" Command="{Binding RadioButtonCommand}" CommandParameter="{Binding ElementName=ForTheDocRadioBtn,Path=Name}">
  14. <TextBlock Text="将所有页面转换为一个工作表格式"/>
  15. </RadioButton>
  16. <RadioButton Margin="0,10,0,0" Name="OnlyTableRadioBtn" Command="{Binding RadioButtonCommand}" CommandParameter="{Binding ElementName=OnlyTableRadioBtn,Path=Name}">
  17. <TextBlock Text="只提取表格"/>
  18. </RadioButton>
  19. <ComboBox Name="OnlyTableComboBox" Margin="0,8,0,0" Width="228" Height="28.55" IsEnabled="{Binding ElementName=OnlyTableRadioBtn,Path=IsChecked}" SelectionChanged="OnlyTableComboBox_SelectionChanged">
  20. <ComboBoxItem Content="支持一个表格提取到单独的工作表"/>
  21. <ComboBoxItem Content="支持按页面提取表格到单独的工作表"/>
  22. <ComboBoxItem Content="支持将所有表格提取到一个工作表"/>
  23. </ComboBox>
  24. <RadioButton Margin="0,10,0,0" Name="OnlyTextRadioBtn" Command="{Binding RadioButtonCommand}" CommandParameter="{Binding ElementName=OnlyTextRadioBtn,Path=Name}">
  25. <TextBlock Text="只提取文字"></TextBlock>
  26. </RadioButton>
  27. </StackPanel>
  28. </StackPanel>
  29. </Grid>
  30. </UserControl>