﻿<Window x:Class="FeedbackGeneratorQQ.Controls.Help"
        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:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        mc:Ignorable="d"
        Title="FAQ"
        WindowStartupLocation="CenterScreen"
        Height="600" MinHeight="600"
        Width="600" MinWidth="600">

    <ScrollViewer VerticalScrollBarVisibility="Auto">
        <StackPanel>
            <TextBlock Text="Folder structure" FontSize="12" Margin="0 5 0 0" FontWeight="Bold" />
            <TextBlock Text="Templates are stored into {your_application_path}/AttributeTemplates folder."
                       FontSize="12" />
            <TextBlock Text="Attributes are created based on subfolders of this folder." FontSize="12" />

            <TextBlock Text="Attribute renaming" FontSize="12" Margin="0 5 0 0" FontWeight="Bold" />
            <TextBlock Text="Rename corresponding folder." FontSize="12" />

            <TextBlock Text="Attribute adding" FontSize="12" Margin="0 5 0 0" FontWeight="Bold" />
            <TextBlock Text="Add new folder with the corresponding name." FontSize="12" />
            <TextBlock Text="Copy Template.xml file from any existing folder." FontSize="12" />
            <TextBlock Text="Change Template.xml file content according to your requirements." FontSize="12" />

            <TextBlock Text="Template.xml file structure" FontSize="12" Margin="0 5 0 0" FontWeight="Bold" />
            <TextBlock Text="You can create any score with any number of phrases for it. For example:" FontSize="12" />

            <TextBlock FontSize="12" x:Name="Example" Margin="0 5 0 5" />
            <TextBlock FontSize="12"
                       Text="Will create 2 scores: Fantastic and Awful. Each of them will have 2 variants to generate" />

            <TextBlock Text="Replacers" FontSize="12" Margin="0 5 0 0" FontWeight="Bold" />
            <TextBlock Text="Replacer is generated based on selected Gender, First Name and Last Name. In the example above you can see using of %UserName% replacer. You can use the following replacers:" 
                       FontSize="12" TextWrapping="Wrap" Margin="0 0 0 5" />

            <TextBlock Text="%UserName% is replaced with Last Name + First Name" FontSize="12"  />
            <TextBlock Text="%LastName% is replaced with Last Name" FontSize="12"  />
            <TextBlock Text="%FirstName% is replaced with First Name" FontSize="12"  />
            <TextBlock Text="%SheHe% and %HeShe% are replaced with She or He" FontSize="12"  />
            <TextBlock Text="%sheHe% and %heShe% are replaced with she or he" FontSize="12"  />
            <TextBlock Text="%himHer% and %herHim% are replaced with him or her" FontSize="12"  />
            <TextBlock Text="%himselfHerself% and %herselfHimself% are replaced with himself or herself" FontSize="12"  />
            <TextBlock Text="%herHis% and %hisHer% are replaced with her or his" FontSize="12"  />
            <TextBlock Text="%HerHis% and %HisHer% are replaced with Her or His" FontSize="12"  />

            <TextBlock Text="Please note. You have to restart application after any file modification."
                       Foreground="Red"
                       FontWeight="Bold" FontSize="12" Margin="0 10 0 0" />
            <TextBlock Text="Otherwise correct work is not guaranteed." Foreground="Red"
                       FontWeight="Bold" FontSize="12" />
        </StackPanel>
    </ScrollViewer>
</Window>