<Window x:Class="OPlanner.ExportPrintDescriptions" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="Export/Print Descriptions" Height="535" Width="600" WindowStartupLocation="CenterOwner">
	<Grid>
		<StackPanel>
			<StackPanel>
				<ListView Name="coursesView" Height="250" Style="{StaticResource VerticalScrollListView}">
					<ListView.View>
						<GridView AllowsColumnReorder="False">
							<GridViewColumn DisplayMemberBinding="{Binding CourseName}" Header="Course" Width="300"></GridViewColumn>
							<GridViewColumn Header="Symbol" Width="60">
								<GridViewColumn.CellTemplate>
									<DataTemplate>
										<CheckBox IsChecked="{Binding ExportSymbol}" HorizontalAlignment="Center" Margin="0,1,0,1"></CheckBox>
									</DataTemplate>
								</GridViewColumn.CellTemplate>
							</GridViewColumn>
							<GridViewColumn Header="Text" Width="60">
								<GridViewColumn.CellTemplate>
									<DataTemplate>
										<CheckBox IsChecked="{Binding ExportText}" HorizontalAlignment="Center" Margin="0,1,0,1"></CheckBox>
									</DataTemplate>
								</GridViewColumn.CellTemplate>
							</GridViewColumn>
						</GridView>
					</ListView.View>
				</ListView>
			</StackPanel>
			<StackPanel>
				<StackPanel Margin="0,10,0,0">
					<StackPanel Orientation="Horizontal" Margin="5,0,0,5">
						<Label Margin="0,0,5,0" Padding="0,0,0,0">Description box size:</Label>
						<TextBox Width="40" Name="descriptionSizeBox"></TextBox>
						<Label>mm</Label>
					</StackPanel>
					<StackPanel Orientation="Horizontal" Margin="5,0,0,5">
						<Label Margin="0,0,5,0" Padding="0,0,0,0">Title:</Label>
						<TextBox Width="320" Name="titleBox"></TextBox>
					</StackPanel>
				</StackPanel>
				<StackPanel Margin="0,10,0,0">
					<Label FontWeight="Bold">Export</Label>
					<StackPanel Orientation="Horizontal" Margin="5,0,0,5">
						<Label Margin="0,0,5,0">Format:</Label>
						<RadioButton Name="jpegButton" GroupName="formatGroup" IsChecked="True" Margin="0,0,5,0" VerticalAlignment="Center" Checked="jpegButton_Checked" Unchecked="jpegButton_Unchecked">Jpeg</RadioButton>
						<RadioButton Name="pngButton" GroupName="formatGroup" VerticalAlignment="Center">Png</RadioButton>
						<Label Margin="5,0,0,0">Dpi:</Label>
						<TextBox Width="60" Name="dpiBox"></TextBox>
						<StackPanel Orientation="Horizontal" Name="qualityPanel">
							<Label Margin="5,0,0,0">Quality:</Label>
							<TextBox Width="60" Name="qualityBox"></TextBox>
						</StackPanel>
					</StackPanel>
					<Button Name="exportButton" HorizontalAlignment="Left" Click="exportButton_Click" Margin="5,0,0,0">Export</Button>
				</StackPanel>
				<StackPanel Margin="0,10,0,0">
					<Label FontWeight="Bold">Print</Label>
					<StackPanel Orientation="Horizontal">
						<Label Name="printerLabel">Printer:</Label>
						<Button Name="printerButton" Click="printerButton_Click">Printer Settings</Button>
					</StackPanel>
					<StackPanel Orientation="Horizontal" Margin="5,0,0,0">
						<CheckBox Name="onePerPage" Margin="0,2,0,2">One set of descriptions per page</CheckBox>
					</StackPanel>
					<StackPanel Orientation="Horizontal">
						<Button Name="previewButton" Click="previewButton_Click" Margin="5,0,0,0">Print Preview</Button>
					</StackPanel>
				</StackPanel>
			</StackPanel>
		</StackPanel>
    </Grid>
</Window>
