HomePageConverterExcel.xaml 2.4 KB

12345678910111213141516171819202122232425262728293031
  1. <UserControl x:Class="PDF_Master.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="AnyContentRadioBtn" Command="{Binding RadioButtonCommand}" CommandParameter="{Binding ElementName=AnyContentRadioBtn,Path=Name}" IsChecked="True">
  11. <TextBlock Text="所有内容"/>
  12. </RadioButton>
  13. <ComboBox Margin="0,8,0,0" Width="228" Height="28.55" IsEnabled="{Binding ElementName=AnyContentRadioBtn,Path=IsChecked}" SelectedIndex="{Binding AnyContentSelectIndex}">
  14. <ComboBoxItem Content="为每个页面创建工作表 "/>
  15. <ComboBoxItem Content="为文档创建单个工作表"/>
  16. </ComboBox>
  17. <RadioButton Margin="0,10,0,0" Name="OnlyTableRadioBtn" Command="{Binding RadioButtonCommand}" CommandParameter="{Binding ElementName=OnlyTableRadioBtn,Path=Name}">
  18. <TextBlock Text="只提取表格"/>
  19. </RadioButton>
  20. <ComboBox Name="OnlyTableComboBox" Margin="0,8,0,0" Width="228" Height="28.55" IsEnabled="{Binding ElementName=OnlyTableRadioBtn,Path=IsChecked}" SelectedIndex="{Binding OnlyTableSelectIndex}">
  21. <ComboBoxItem Content="支持一个表格提取到单独的工作表"/>
  22. <ComboBoxItem Content="支持按页面提取表格到单独的工作表"/>
  23. <ComboBoxItem Content="支持将所有表格提取到一个工作表"/>
  24. </ComboBox>
  25. <RadioButton Margin="0,10,0,0" Name="OnlyTextRadioBtn" Command="{Binding RadioButtonCommand}" CommandParameter="{Binding ElementName=OnlyTextRadioBtn,Path=Name}">
  26. <TextBlock Text="只提取文字"></TextBlock>
  27. </RadioButton>
  28. </StackPanel>
  29. </StackPanel>
  30. </Grid>
  31. </UserControl>