<UserControl x:Class="PDF_Office.Views.Tools.ConverterBarContent"
             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">
    <UserControl.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="../../Styles/CustomBtnStyle.xaml"/>
                <ResourceDictionary Source="../../Styles/MenuStyle.xaml"/>
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </UserControl.Resources>
    <Grid>
        <Border x:Name="ToolsBorder" BorderBrush="#1A000000" BorderThickness="0,1,0,1" Height="40">
            <WrapPanel HorizontalAlignment="Center" Height="40">
                <Button Name="ConverterWordBtn" Style="{StaticResource InsideBarBtnStyle }"  Command="{Binding ToConverterCommand}" CommandParameter="{Binding ElementName=ConverterWordBtn}">

                    <StackPanel Orientation="Horizontal" Margin="12 0 12 0">
                        <StackPanel Margin="0,0,8,0">
                            <Border Height="30" Width="30" Background="LightSeaGreen" ></Border>
                        </StackPanel >
                        <TextBlock Text="PDF转Word" VerticalAlignment="Center"></TextBlock>
                    </StackPanel>
                </Button>
                <Button Name="ConverterExcelBtn" Style="{StaticResource InsideBarBtnStyle }" Command="{Binding ToConverterCommand}" CommandParameter="{Binding ElementName=ConverterExcelBtn}">

                    <StackPanel Orientation="Horizontal" Margin="12 0 12 0">
                        <StackPanel Margin="0,0,8,0">
                            <Border Height="30" Width="30" Background="LightSeaGreen" ></Border>
                        </StackPanel >
                        <TextBlock Text="PDF转Excel" VerticalAlignment="Center"></TextBlock>
                    </StackPanel>
                </Button>
                <Button Name="ConverterPPTBtn" Style="{StaticResource InsideBarBtnStyle }" Command="{Binding ToConverterCommand}" CommandParameter="{Binding ElementName=ConverterPPTBtn}">

                    <StackPanel Orientation="Horizontal" Margin="12 0 12 0">
                        <StackPanel Margin="0,0,8,0">
                            <Border Height="30" Width="30" Background="LightSeaGreen" ></Border>
                        </StackPanel >
                        <TextBlock Text="PDF转PPT" VerticalAlignment="Center"></TextBlock>
                    </StackPanel>
                </Button>
                <Button Name="ConverterRTFBtn" Style="{StaticResource InsideBarBtnStyle }" Command="{Binding ToConverterCommand}" CommandParameter="{Binding ElementName=ConverterRTFBtn}">

                    <StackPanel Orientation="Horizontal" Margin="12 0 12 0">
                        <StackPanel Margin="0,0,8,0">
                            <Border Height="30" Width="30" Background="LightSeaGreen" ></Border>
                        </StackPanel >
                        <TextBlock Text="PDF转RTF" VerticalAlignment="Center"></TextBlock>
                    </StackPanel>
                </Button>
                <Button Name="ConverterCSVBtn" Style="{StaticResource InsideBarBtnStyle }" Command="{Binding ToConverterCommand}" CommandParameter="{Binding ElementName=ConverterCSVBtn}">

                    <StackPanel Orientation="Horizontal" Margin="12 0 12 0">
                        <StackPanel Margin="0,0,8,0">
                            <Border Height="30" Width="30" Background="LightSeaGreen" ></Border>
                        </StackPanel >
                        <TextBlock Text="PDF转CSV" VerticalAlignment="Center"></TextBlock>
                    </StackPanel>
                </Button>
                <Button Name="ConverterHTMLBtn" Style="{StaticResource InsideBarBtnStyle }" Command="{Binding ToConverterCommand}" CommandParameter="{Binding ElementName=ConverterHTMLBtn}">

                    <StackPanel Orientation="Horizontal" Margin="12 0 12 0">
                        <StackPanel Margin="0,0,8,0">
                            <Border Height="30" Width="30" Background="LightSeaGreen" ></Border>
                        </StackPanel >
                        <TextBlock Text="PDF转HTML" VerticalAlignment="Center"></TextBlock>
                    </StackPanel>
                </Button>
                <Button Name="ConverterTextBtn" Style="{StaticResource InsideBarBtnStyle }" Command="{Binding ToConverterCommand}" CommandParameter="{Binding ElementName=ConverterTextBtn}">

                    <StackPanel Orientation="Horizontal" Margin="12 0 12 0">
                        <StackPanel Margin="0,0,8,0">
                            <Border Height="30" Width="30" Background="LightSeaGreen" ></Border>
                        </StackPanel >
                        <TextBlock Text="PDF转Text" VerticalAlignment="Center"></TextBlock>
                    </StackPanel>
                </Button>
                <Button Name="ConverterImgBtn" Style="{StaticResource InsideBarBtnStyle }" Command="{Binding ToConverterCommand}" CommandParameter="{Binding ElementName=ConverterImgBtn}">
                    <StackPanel Orientation="Horizontal" Margin="12 0 12 0">
                        <StackPanel Margin="0,0,8,0">
                            <Border Height="30" Width="30" Background="LightSeaGreen" ></Border>
                        </StackPanel >
                        <TextBlock Text="PDF转图片" VerticalAlignment="Center"></TextBlock>
                    </StackPanel>
                </Button>
                
            </WrapPanel>
        </Border>
    </Grid>
</UserControl>