123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233 |
- <UserControl
- x:Class="PDF_Master.Views.Tools.ConverterBarContent"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:local="clr-namespace:PDF_Master.ViewModels.Tools"
- xmlns:prism="http://prismlibrary.com/"
- prism:ViewModelLocator.AutoWireViewModel="True">
- <UserControl.Resources>
- <ResourceDictionary>
- <ResourceDictionary.MergedDictionaries>
- <ResourceDictionary Source="../../Styles/CustomBtnStyle.xaml" />
- </ResourceDictionary.MergedDictionaries>
- </ResourceDictionary>
- </UserControl.Resources>
- <Grid>
- <Border
- x:Name="ToolsBorder"
- Height="39"
- BorderBrush="#1A000000"
- BorderThickness="0,1,0,1">
- <WrapPanel Height="28" HorizontalAlignment="Center">
- <Button
- Name="ConverterWordBtn"
- Width="79"
- Height="28"
- Command="{Binding ToConverterCommand}"
- CommandParameter="{Binding ElementName=ConverterWordBtn}"
- Style="{StaticResource InsideBarBtnStyle}">
- <StackPanel Margin="0,0,0,0" Orientation="Horizontal">
- <StackPanel Margin="0,0,6,0">
- <Grid Width="20" Height="20">
- <Path Data="M4 18H16V6.74847L11.8671 2H4V18ZM4 0C2.89543 0 2 0.895431 2 2V18C2 19.1046 2.89543 20 4 20H16C17.1046 20 18 19.1046 18 18V6.74847C18 6.26584 17.8255 5.79948 17.5086 5.43542L13.3757 0.686951C12.9958 0.250541 12.4456 0 11.8671 0H4Z" Fill="#273C62" />
- <Path Data="M7.10449 15H8.79395L9.95117 10.6885H10.0391L11.2158 15H12.8955L14.7363 7.9541H12.8906L11.9678 12.6221H11.8799L10.7129 7.9541H9.27734L8.14941 12.6221H8.06152L7.12402 7.9541H5.26367L7.10449 15Z" Fill="#94989C" />
- </Grid>
- </StackPanel>
- <TextBlock
- Width="47"
- Height="16"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- FontFamily="Segoe UI"
- FontSize="12"
- Text="To Word" />
- </StackPanel>
- </Button>
- <Button
- Name="ConverterExcelBtn"
- Width="79"
- Height="28"
- Margin="6,0,0,0"
- Command="{Binding ToConverterCommand}"
- CommandParameter="{Binding ElementName=ConverterExcelBtn}"
- Style="{StaticResource InsideBarBtnStyle}">
- <StackPanel Margin="0,0,0,0" Orientation="Horizontal">
- <StackPanel Margin="0,0,6,0">
- <Grid Width="20" Height="20">
- <Path Data="M4 18H16V6.74847L11.8671 2H4V18ZM4 0C2.89543 0 2 0.895431 2 2V18C2 19.1046 2.89543 20 4 20H16C17.1046 20 18 19.1046 18 18V6.74847C18 6.26584 17.8255 5.79948 17.5086 5.43542L13.3757 0.686951C12.9958 0.250541 12.4456 0 11.8671 0H4Z" Fill="#273C62" />
- <Path Data="M6.64062 15H8.5498L10.3125 12.0312L9.12109 12.7148H9.95117L11.3232 15H13.335L10.6934 10.8105L11.1133 12.2803V11.4502L13.3545 7.9541H11.3623L9.70215 11.0449L10.8594 10.3369H10.0293L8.74023 7.9541H6.64062L8.78906 11.4307V12.2607L9.19922 10.7861L6.64062 15Z" Fill="#94989C" />
- </Grid>
- </StackPanel>
- <TextBlock
- Width="47"
- Height="16"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- FontFamily="Segoe UI"
- FontSize="12"
- Text="To Excel" />
- </StackPanel>
- </Button>
- <Button
- Name="ConverterPPTBtn"
- Width="79"
- Height="28"
- Margin="6,0,0,0"
- Command="{Binding ToConverterCommand}"
- CommandParameter="{Binding ElementName=ConverterPPTBtn}"
- Style="{StaticResource InsideBarBtnStyle}">
- <StackPanel Margin="0,0,0,0" Orientation="Horizontal">
- <StackPanel Margin="0,0,6,0">
- <Grid Width="20" Height="20">
- <Path Data="M4 18H16V6.74847L11.8671 2H4V18ZM4 0C2.89543 0 2 0.895431 2 2V18C2 19.1046 2.89543 20 4 20H16C17.1046 20 18 19.1046 18 18V6.74847C18 6.26584 17.8255 5.79948 17.5086 5.43542L13.3757 0.686951C12.9958 0.250541 12.4456 0 11.8671 0H4Z" Fill="#273C62" />
- <Path Data="M8.25684 12.9395H10.3955C10.9196 12.9395 11.3753 12.8385 11.7627 12.6367C12.1501 12.4316 12.4495 12.1436 12.6611 11.7725C12.876 11.3981 12.9834 10.9603 12.9834 10.459V10.4492C12.9834 9.94466 12.876 9.50684 12.6611 9.13574C12.4495 8.76139 12.1501 8.47168 11.7627 8.2666C11.3753 8.05827 10.9196 7.9541 10.3955 7.9541H8.25684V9.33105H9.96094C10.3418 9.33105 10.638 9.42546 10.8496 9.61426C11.0645 9.80306 11.1719 10.0814 11.1719 10.4492V10.459C11.1719 10.8236 11.0645 11.1019 10.8496 11.2939C10.638 11.486 10.3418 11.582 9.96094 11.582H8.25684V12.9395ZM7.3584 15H9.15039V7.9541H7.3584V15Z" Fill="#94989C" />
- </Grid>
- </StackPanel>
- <TextBlock
- Width="47"
- Height="16"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- FontFamily="Segoe UI"
- FontSize="12"
- Text="To PPT" />
- </StackPanel>
- </Button>
- <Button
- Name="ConverterRTFBtn"
- Width="79"
- Height="28"
- Margin="6,0,0,0"
- Command="{Binding ToConverterCommand}"
- CommandParameter="{Binding ElementName=ConverterRTFBtn}"
- Style="{StaticResource InsideBarBtnStyle}">
- <StackPanel Margin="0,0,0,0" Orientation="Horizontal">
- <StackPanel Margin="0,0,6,0">
- <Grid Width="20" Height="20">
- <Path Data="M4 18H16V6.74847L11.8671 2H4V18ZM4 0C2.89543 0 2 0.895431 2 2V18C2 19.1046 2.89543 20 4 20H16C17.1046 20 18 19.1046 18 18V6.74847C18 6.26584 17.8255 5.79948 17.5086 5.43542L13.3757 0.686951C12.9958 0.250541 12.4456 0 11.8671 0H4Z" Fill="#273C62" />
- <Path Data="M7.24609 15H9.03809V12.5391H9.88281C9.89583 12.5391 9.90885 12.5391 9.92188 12.5391C9.93815 12.5391 9.9528 12.5391 9.96582 12.5391L11.1719 15H13.1836L11.7773 12.2705C12.1615 12.1012 12.4577 11.8359 12.666 11.4746C12.8743 11.1133 12.9785 10.7178 12.9785 10.2881V10.2783C12.9785 9.79329 12.876 9.37826 12.6709 9.0332C12.4658 8.6849 12.1647 8.41797 11.7676 8.23242C11.3737 8.04688 10.887 7.9541 10.3076 7.9541H7.24609V15ZM9.03809 11.3086V9.30664H10.0977C10.4199 9.30664 10.6755 9.39941 10.8643 9.58496C11.0531 9.76725 11.1475 10.0065 11.1475 10.3027V10.3125C11.1475 10.6185 11.0547 10.861 10.8691 11.04C10.6836 11.2191 10.4297 11.3086 10.1074 11.3086H9.03809Z" Fill="#94989C" />
- </Grid>
- </StackPanel>
- <TextBlock
- Width="47"
- Height="16"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- FontFamily="Segoe UI"
- FontSize="12"
- Text="To RTF" />
- </StackPanel>
- </Button>
- <Button
- Name="ConverterCSVBtn"
- Width="79"
- Height="28"
- Margin="6,0,0,0"
- Command="{Binding ToConverterCommand}"
- CommandParameter="{Binding ElementName=ConverterCSVBtn}"
- Style="{StaticResource InsideBarBtnStyle}">
- <StackPanel Margin="0,0,0,0" Orientation="Horizontal">
- <StackPanel Margin="0,0,6,0">
- <Grid Width="20" Height="20">
- <Path Data="M4 18H16V6.74847L11.8671 2H4V18ZM4 0C2.89543 0 2 0.895431 2 2V18C2 19.1046 2.89543 20 4 20H16C17.1046 20 18 19.1046 18 18V6.74847C18 6.26584 17.8255 5.79948 17.5086 5.43542L13.3757 0.686951C12.9958 0.250541 12.4456 0 11.8671 0H4Z" Fill="#273C62" />
- <Path Data="M10.1318 15.1904C10.7373 15.1904 11.2695 15.0765 11.7285 14.8486C12.1908 14.6208 12.5586 14.3066 12.832 13.9062C13.1087 13.5059 13.2666 13.0436 13.3057 12.5195L13.3105 12.4365H11.582L11.5723 12.4951C11.5332 12.736 11.4486 12.9476 11.3184 13.1299C11.1914 13.3122 11.027 13.4538 10.8252 13.5547C10.6266 13.6556 10.3971 13.7061 10.1367 13.7061C9.80794 13.7061 9.52474 13.6165 9.28711 13.4375C9.05273 13.2552 8.87044 12.998 8.74023 12.666C8.61328 12.3307 8.5498 11.9336 8.5498 11.4746V11.4648C8.5498 11.0059 8.61328 10.612 8.74023 10.2832C8.87044 9.95117 9.05273 9.69564 9.28711 9.5166C9.52474 9.33757 9.80632 9.24805 10.1318 9.24805C10.389 9.24805 10.6201 9.30176 10.8252 9.40918C11.0303 9.5166 11.1979 9.66471 11.3281 9.85352C11.4583 10.0423 11.5397 10.2588 11.5723 10.5029L11.5771 10.5469H13.3057L13.3008 10.459C13.2682 9.93815 13.112 9.47591 12.832 9.07227C12.5521 8.66536 12.1794 8.34635 11.7139 8.11523C11.2516 7.88086 10.7243 7.76367 10.1318 7.76367C9.42546 7.76367 8.81836 7.91341 8.31055 8.21289C7.80273 8.51237 7.41048 8.9388 7.13379 9.49219C6.86035 10.0456 6.72363 10.7048 6.72363 11.4697V11.4795C6.72363 12.2445 6.86035 12.9053 7.13379 13.4619C7.41048 14.0153 7.80273 14.4417 8.31055 14.7412C8.82161 15.0407 9.42871 15.1904 10.1318 15.1904Z" Fill="#94989C" />
- </Grid>
- </StackPanel>
- <TextBlock
- Width="47"
- Height="16"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- FontFamily="Segoe UI"
- FontSize="12"
- Text="To CSV" />
- </StackPanel>
- </Button>
- <Button
- Name="ConverterHTMLBtn"
- Width="79"
- Height="28"
- Margin="6,0,0,0"
- Command="{Binding ToConverterCommand}"
- CommandParameter="{Binding ElementName=ConverterHTMLBtn}"
- Style="{StaticResource InsideBarBtnStyle}">
- <StackPanel Margin="0,0,0,0" Orientation="Horizontal">
- <StackPanel Margin="0,0,6,0">
- <Grid Width="20" Height="20">
- <Path Data="M4 18H16V6.74847L11.8671 2H4V18ZM4 0C2.89543 0 2 0.895431 2 2V18C2 19.1046 2.89543 20 4 20H16C17.1046 20 18 19.1046 18 18V6.74847C18 6.26584 17.8255 5.79948 17.5086 5.43542L13.3757 0.686951C12.9958 0.250541 12.4456 0 11.8671 0H4Z" Fill="#273C62" />
- <Path Data="M6.80176 15H8.59375V12.1582H11.4014V15H13.1934V7.9541H11.4014V10.7178H8.59375V7.9541H6.80176V15Z" Fill="#94989C" />
- </Grid>
- </StackPanel>
- <TextBlock
- Width="47"
- Height="16"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- FontFamily="Segoe UI"
- FontSize="12"
- Text="To HTML" />
- </StackPanel>
- </Button>
- <Button
- Name="ConverterTextBtn"
- Width="79"
- Height="28"
- Margin="6,0,0,0"
- Command="{Binding ToConverterCommand}"
- CommandParameter="{Binding ElementName=ConverterTextBtn}"
- Style="{StaticResource InsideBarBtnStyle}">
- <StackPanel Margin="0,0,0,0" Orientation="Horizontal">
- <StackPanel Margin="0,0,6,0">
- <Grid Width="20" Height="20">
- <Path Data="M4 18H16V6.74847L11.8671 2H4V18ZM4 0C2.89543 0 2 0.895431 2 2V18C2 19.1046 2.89543 20 4 20H16C17.1046 20 18 19.1046 18 18V6.74847C18 6.26584 17.8255 5.79948 17.5086 5.43542L13.3757 0.686951C12.9958 0.250541 12.4456 0 11.8671 0H4Z" Fill="#273C62" />
- <Path Data="M9.10156 15H10.8936V9.39453H12.9248V7.9541H7.07031V9.39453H9.10156V15Z" Fill="#94989C" />
- </Grid>
- </StackPanel>
- <TextBlock
- Width="47"
- Height="16"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- FontFamily="Segoe UI"
- FontSize="12"
- Text="To Text" />
- </StackPanel>
- </Button>
- <Button
- Name="ConverterImgBtn"
- Width="84"
- Height="28"
- Margin="6,0,0,0"
- Command="{Binding ToConverterCommand}"
- CommandParameter="{Binding ElementName=ConverterImgBtn}"
- Style="{StaticResource InsideBarBtnStyle}">
- <StackPanel Margin="0,0,0,0" Orientation="Horizontal">
- <StackPanel Margin="0,0,6,0">
- <Grid Width="20" Height="20">
- <Path Data="M4 18H16V6.74847L11.8671 2H4V18ZM4 0C2.89543 0 2 0.895431 2 2V18C2 19.1046 2.89543 20 4 20H16C17.1046 20 18 19.1046 18 18V6.74847C18 6.26584 17.8255 5.79948 17.5086 5.43542L13.3757 0.686951C12.9958 0.250541 12.4456 0 11.8671 0H4Z" Fill="#273C62" />
- <Path Data="M5.07835 14.1639L7.78045 9.21171C7.93442 8.93659 8.23465 8.92601 8.39632 9.20113L10.7828 12.4232L12.3994 10.746C12.5534 10.4815 12.8459 10.4921 12.9999 10.7566L14.9168 14.1427C15.1169 14.4919 14.9322 14.9998 14.6165 14.9998H5.38628C5.07065 15.0104 4.88589 14.5131 5.07835 14.1639Z" Fill="#94989C" />
- </Grid>
- </StackPanel>
- <TextBlock
- Width="52"
- Height="16"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- FontFamily="Segoe UI"
- FontSize="12"
- Text="To Image" />
- </StackPanel>
- </Button>
- </WrapPanel>
- </Border>
- </Grid>
- </UserControl>
|