Repository navigation
Expand file tree
/
Copy pathRenderedExportWarningWindow.xaml
More file actions
93 lines (86 loc) · 3.85 KB
/
Copy pathRenderedExportWarningWindow.xaml
File metadata and controls
93 lines (86 loc) · 3.85 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<Window x:Class="OneNoteExporter.RenderedExportWarningWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Icon="icon.ico"
Title="PDF/XPS export"
Width="640" Height="430"
MinWidth="580" MinHeight="400"
ResizeMode="CanResizeWithGrip"
ShowInTaskbar="False"
WindowStartupLocation="CenterOwner"
Background="{StaticResource BgPage}">
<Border Margin="18"
Padding="22"
Background="{StaticResource BgCard}"
BorderBrush="{StaticResource BorderColor}"
BorderThickness="1"
CornerRadius="8">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<TextBlock Grid.Row="0"
x:Name="TitleText"
FontSize="20"
FontWeight="Bold"
TextWrapping="Wrap"
Foreground="{StaticResource PrimaryBlue}"/>
<TextBlock Grid.Row="1"
x:Name="ExplanationText"
Margin="0,10,0,0"
TextWrapping="Wrap"
FontSize="14"
LineHeight="21"
Foreground="{StaticResource TextPrimary}"/>
<ScrollViewer Grid.Row="2"
Margin="0,20,0,0"
VerticalScrollBarVisibility="Auto"
HorizontalScrollBarVisibility="Disabled">
<StackPanel>
<Button x:Name="SectionsButton"
Style="{StaticResource PrimaryButtonStyle}"
IsDefault="True"
Padding="16,12"
Click="SectionsButton_Click">
<TextBlock Text="Export individual sections (recommended)"
FontSize="14"
TextWrapping="Wrap"
TextAlignment="Center"/>
</Button>
<Button x:Name="OneNotePackageButton"
Style="{StaticResource GrayButtonStyle}"
Margin="0,10,0,0"
Padding="16,12"
Click="OneNotePackageButton_Click">
<TextBlock x:Name="OneNotePackageButtonText"
Text="Create a complete OneNote package (.onepkg)"
FontSize="14"
TextWrapping="Wrap"
TextAlignment="Center"/>
</Button>
<Button x:Name="WholeNotebookButton"
Style="{StaticResource GrayButtonStyle}"
Margin="0,10,0,0"
Padding="16,12"
Click="WholeNotebookButton_Click">
<TextBlock x:Name="WholeNotebookButtonText"
FontSize="14"
TextWrapping="Wrap"
TextAlignment="Center"/>
</Button>
</StackPanel>
</ScrollViewer>
<Button Grid.Row="3"
Content="Cancel"
Style="{StaticResource SmallButtonStyle}"
Width="90"
Margin="0,16,0,0"
HorizontalAlignment="Right"
IsCancel="True"
Click="CancelButton_Click"/>
</Grid>
</Border>
</Window>