12345678910111213141516171819202122232425262728293031 |
- <UserControl x:Class="PDF_Office.Views.Dialog.HomePageToolsDialogs.HomePageBatchProcessing.HomePageConverter.HomePageConverterExcel"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:prism="http://prismlibrary.com/"
- prism:ViewModelLocator.AutoWireViewModel="True">
- <Grid>
- <StackPanel Orientation="Vertical" Width="245">
- <TextBlock Text="Excel工作簿设置:" Height="20"/>
- <StackPanel Orientation="Vertical" Margin="0,7,0,0">
- <RadioButton Name="AnyContentRadioBtn" Command="{Binding RadioButtonCommand}" CommandParameter="{Binding ElementName=AnyContentRadioBtn,Path=Name}" IsChecked="True">
- <TextBlock Text="所有内容"/>
- </RadioButton>
- <ComboBox Margin="0,8,0,0" Width="228" Height="28.55" IsEnabled="{Binding ElementName=AnyContentRadioBtn,Path=IsChecked}" SelectedIndex="{Binding AnyContentSelectIndex}">
- <ComboBoxItem Content="为每个页面创建工作表 "/>
- <ComboBoxItem Content="为文档创建单个工作表"/>
- </ComboBox>
- <RadioButton Margin="0,10,0,0" Name="OnlyTableRadioBtn" Command="{Binding RadioButtonCommand}" CommandParameter="{Binding ElementName=OnlyTableRadioBtn,Path=Name}">
- <TextBlock Text="只提取表格"/>
- </RadioButton>
- <ComboBox Name="OnlyTableComboBox" Margin="0,8,0,0" Width="228" Height="28.55" IsEnabled="{Binding ElementName=OnlyTableRadioBtn,Path=IsChecked}" SelectedIndex="{Binding OnlyTableSelectIndex}">
- <ComboBoxItem Content="支持一个表格提取到单独的工作表"/>
- <ComboBoxItem Content="支持按页面提取表格到单独的工作表"/>
- <ComboBoxItem Content="支持将所有表格提取到一个工作表"/>
- </ComboBox>
- <RadioButton Margin="0,10,0,0" Name="OnlyTextRadioBtn" Command="{Binding RadioButtonCommand}" CommandParameter="{Binding ElementName=OnlyTextRadioBtn,Path=Name}">
- <TextBlock Text="只提取文字"></TextBlock>
- </RadioButton>
- </StackPanel>
- </StackPanel>
- </Grid>
- </UserControl>
|