3.1 changes

This commit is contained in:
Mikael Karlsson
2021-06-08 19:02:25 +10:00
parent c7f8cbe760
commit 18533494b2
318 changed files with 163882 additions and 137 deletions

View File

@@ -21,7 +21,7 @@
<StackPanel Orientation="Horizontal" Margin="0,0,5,0" >
<Label Content="Export root" />
<Rectangle Style="{DynamicResource InfoIcon}" ToolTip="This root folder where exported files will be stored" />
<Rectangle Style="{DynamicResource InfoIcon}" ToolTip="The root folder where exported files will be stored" />
</StackPanel>
<Grid Grid.Column='1' Grid.Row='0'>

View File

@@ -22,7 +22,7 @@
<StackPanel Orientation="Horizontal" Margin="0,0,5,0" >
<Label Content="Import root" />
<Rectangle Style="{DynamicResource InfoIcon}" ToolTip="This root folder where exported files are stored" />
<Rectangle Style="{DynamicResource InfoIcon}" ToolTip="The root folder where exported files are stored" />
</StackPanel>
<Grid Grid.Column='1' Grid.Row='0'>
<Grid.ColumnDefinitions>

110
Xaml/CompareForm.xaml Normal file
View File

@@ -0,0 +1,110 @@
<Grid xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="5,5,5,5">
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<TabControl SelectedIndex="0" Margin="0,0,0,5">
<TabItem Header="Options">
<ScrollViewer VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto" Padding="0,0,5,0">
<Grid VerticalAlignment="Stretch" >
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" SharedSizeGroup="TitleColumn" />
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<StackPanel Orientation="Horizontal" Grid.Row='0' Margin="0,5,5,0" >
<Label Content="Source objct" />
<Rectangle Style="{DynamicResource InfoIcon}" ToolTip="Current intune object" />
</StackPanel>
<TextBlock Name="txtIntuneObject" Text="" Grid.Column='1' Margin="0,9,5,0"/>
<StackPanel Orientation="Horizontal" Margin="0,5,5,0" Grid.Row='1' >
<Label Content="File to compare" />
<Rectangle Style="{DynamicResource InfoIcon}" ToolTip="The exported file to compare current Intune object with" />
</StackPanel>
<Grid Grid.Column='1' Grid.Row='1' Margin="0,5,0,0">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="5" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<TextBox Text="" Name="txtCompareFile" />
<Button Grid.Column="2" Name="browseCompareObject" Padding="5,2,5,2" Width="50" ToolTip="Browse for file">...</Button>
</Grid>
<StackPanel Orientation="Horizontal" Grid.Row='2' Margin="0,5,5,0" >
<Label Content="Comparison Type" />
<Rectangle Style="{DynamicResource InfoIcon}" ToolTip="Specify how objects should be compared" />
</StackPanel>
<ComboBox Name="cbCompareType" Margin="0,5,0,0" MinWidth="250" Grid.Row='2' Grid.Column="1" HorizontalAlignment="Left"
DisplayMemberPath="Name" SelectedValuePath="Value" />
<TextBlock Grid.Row='999' TextWrapping="Wrap" Margin="5,20,5,0" Grid.ColumnSpan="2">
The <Bold>Property</Bold> comparison method is a quick and easy option for objects that are based on a static set of properties <LineBreak/>
e.g. Configuration Profiles, Compliance Polcies etc.<LineBreak/>This method will compare each property of the objects. <LineBreak/>
The downside of this method is that it could be difficult to match the property name with the setting in th UI.
<LineBreak/>
The <Bold>Documentation</Bold> method will use the documentation engine and compare property values as they are displayed in the portal.<LineBreak/>
This is recommended for objects with dynamic settings e.g. Settings Catalog and Endpoint security objects. <LineBreak/>
The downside of this method is that it could be slow and that some property-based objects are not supported.
</TextBlock>
</Grid>
</ScrollViewer>
</TabItem>
<TabItem Header="Compare Output">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<DataGrid Name="dgCompareInfo"
AutoGenerateColumns="False"
SelectionMode="Single"
SelectionUnit="FullRow"
CanUserAddRows="False">
<DataGrid.RowStyle>
<Style TargetType="DataGridRow">
<Style.Triggers>
<DataTrigger Binding="{Binding Match}" Value="true">
<Setter Property="Foreground" Value="Black"></Setter>
</DataTrigger>
<DataTrigger Binding="{Binding Match}" Value="false">
<Setter Property="Foreground" Value="Red"></Setter>
</DataTrigger>
</Style.Triggers>
</Style>
</DataGrid.RowStyle>
<DataGrid.Columns>
<DataGridTextColumn Header="Property" Binding="{Binding PropertyName}" IsReadOnly="True" Width="Auto" />
<DataGridTextColumn Header="Category" Binding="{Binding Category}" IsReadOnly="True" Width="Auto" />
<DataGridTextColumn Header="Intune Object" Binding="{Binding Object1Value}" IsReadOnly="True" Width="1*" />
<DataGridTextColumn Header="Backup Object" Binding="{Binding Object2Value}" IsReadOnly="True" Width="1*" />
</DataGrid.Columns>
</DataGrid>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Grid.Row='1' Margin="5,5,0,0">
<Button Name="btnCompareSave" Content="Save" ToolTip="Save as CSV file" Width='100' Margin="5,0,0,0" />
<Button Name="btnCompareCopy" Content="Copy" ToolTip="Copy CSV content to clipboard" Width='100' Margin="5,0,0,0" />
</StackPanel>
</Grid>
</TabItem>
</TabControl>
<StackPanel Name="spCompareSubMenu" Orientation="Horizontal" HorizontalAlignment="Right" Grid.Row='1'>
<Button Name="btnStartCompare" Content="Compare" ToolTip="Compare objects" Width='100' Margin="5,0,0,0" />
<Button Name="btnClose" Content="Close" Width='100' Margin="5,0,0,0" />
</StackPanel>
</Grid>

View File

@@ -0,0 +1,61 @@
<Grid xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" SharedSizeGroup="TitleColumn" />
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<StackPanel Orientation="Horizontal" Margin="0,5,5,0" Grid.Row="0">
<Label Content="Output Properties" />
<Rectangle Style="{DynamicResource InfoIcon}" ToolTip="Specify the output type. Simple will only add Value and Name for Settings. Extended will output the same as Raw Output. Use Custom to select custom properties" />
</StackPanel>
<ComboBox Name="cbCSVDocumentationProperties" Margin="0,5,0,0" MinWidth="250" Grid.Row="0" Grid.Column="1" HorizontalAlignment="Left"
DisplayMemberPath="Name" SelectedValuePath="Value" />
<StackPanel Orientation="Horizontal" Margin="0,5,5,0" Grid.Row="1" Name="spCSVCustomProperties">
<Label Content="Custom Properties" />
<Rectangle Style="{DynamicResource InfoIcon}" ToolTip="Comma separated list with properties to export. The properties must match with values from Raw Data" />
</StackPanel>
<TextBox Text="" Name="txtCSVCustomProperties" Margin="0,5,5,5" Grid.Row="1" Grid.Column="1"/>
<StackPanel Orientation="Horizontal" Margin="0,5,5,0" Grid.Row="2">
<Label Content="CSV output root" />
<Rectangle Style="{DynamicResource InfoIcon}" ToolTip="This root folder where document files will be stored" />
</StackPanel>
<Grid Grid.Column='1' Grid.Row='2' Margin="0,5,5,0" >
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="5" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<TextBox Text="" Name="txtCSVDocumentationPath" />
<Button Grid.Column="2" Name="browseCSVDocumentationPath" Padding="5,0,5,0" Width="50" ToolTip="Browse for folder">...</Button>
</Grid>
<StackPanel Orientation="Horizontal" Grid.Row='3' Margin="0,0,5,0">
<Label Content="Add object name to path" />
<Rectangle Style="{DynamicResource InfoIcon}" ToolTip="This will export all objects to a sub-directory of the export path with name based on object type" />
</StackPanel>
<CheckBox Grid.Column='1' Grid.Row='3' Name='chkCSVAddObjectType' VerticalAlignment="Center" IsChecked="true" />
<StackPanel Orientation="Horizontal" Grid.Row='4' Margin="0,0,5,0">
<Label Content="Add company name to path" />
<Rectangle Style="{DynamicResource InfoIcon}" ToolTip="This will add the company name in Azure to the export path" />
</StackPanel>
<CheckBox Grid.Column='1' Grid.Row='4' Name='chkCSVAddCompanyName' VerticalAlignment="Center" IsChecked="true" />
</Grid>

166
Xaml/DocumentationForm.xaml Normal file
View File

@@ -0,0 +1,166 @@
<Grid xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="5,5,5,5">
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<TabControl SelectedIndex="0" Margin="0,0,0,5">
<TabItem Header="Options">
<ScrollViewer VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto" Padding="0,0,5,0">
<Grid Name="grdExportProperties" VerticalAlignment="Stretch" >
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" SharedSizeGroup="TitleColumn" />
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="10"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<StackPanel Orientation="Horizontal" Margin="0,5,5,0" >
<Label Content="Output Type" />
<Rectangle Style="{DynamicResource InfoIcon}" ToolTip="Specify the targeted object type for the documentation" />
</StackPanel>
<ComboBox Name="cbDocumentationType" Margin="0,5,0,0" MinWidth="250" Grid.Column="1" HorizontalAlignment="Left"
DisplayMemberPath="Name" SelectedValuePath="Value" />
<StackPanel Orientation="Horizontal" Margin="0,5,5,0" Grid.Row="1">
<Label Content="Language" />
<Rectangle Style="{DynamicResource InfoIcon}" ToolTip="Specify in what language the items should be documented. Note: All text might not be supported in other languages than english" />
</StackPanel>
<ComboBox Name="cbDocumentationLanguage" Margin="0,5,0,0" MinWidth="250" Grid.Row="1" Grid.Column="1" HorizontalAlignment="Left"
DisplayMemberPath="EnglishName" SelectedValuePath="Name" />
<StackPanel Orientation="Horizontal" Margin="0,5,5,0" Grid.Row="2">
<Label Content="Property separator" />
<Rectangle Style="{DynamicResource InfoIcon}" ToolTip="Specify what character to use to separate properties of an item" />
</StackPanel>
<ComboBox Name="cbDocumentationPropertySeparator" Margin="0,5,0,0" Width="100" Grid.Row="2" Grid.Column="1" HorizontalAlignment="Left" />
<StackPanel Orientation="Horizontal" Margin="0,5,5,0" Grid.Row="3">
<Label Content="Object separator" />
<Rectangle Style="{DynamicResource InfoIcon}" ToolTip="Specify what character to use to separate objects" />
</StackPanel>
<ComboBox Name="cbDocumentationObjectSeparator" Margin="0,5,0,0" Width="100" Grid.Row="3" Grid.Column="1" HorizontalAlignment="Left"
DisplayMemberPath="Name" SelectedValuePath="Value" />
<StackPanel Orientation="Horizontal" Margin="0,5,5,0" Grid.Row="4">
<Label Content="Set unconfigured value" />
<Rectangle Style="{DynamicResource InfoIcon}" ToolTip="Set the unconfigured value if the propery is not configured and the property definition has an unconfigured value set" />
</StackPanel>
<CheckBox Grid.Column='1' Grid.Row='4' Name='chkSetUnconfiguredValue' VerticalAlignment="Center" IsChecked="true" />
<StackPanel Orientation="Horizontal" Margin="0,5,5,0" Grid.Row="5">
<Label Content="Set default value" />
<Rectangle Style="{DynamicResource InfoIcon}" ToolTip="Set the default value if the propery is not configured and the property definition has a default value configured" />
</StackPanel>
<CheckBox Grid.Column='1' Grid.Row='5' Name='chkSetDefaultValue' VerticalAlignment="Center" IsChecked="true" />
<Label Content="Objects to document" Grid.Row="0" Grid.Column="4" />
<DataGrid Name="grdDocumentObjects" Grid.Row="1" Grid.RowSpan="99" Grid.Column="4" CanUserAddRows="False" AutoGenerateColumns="False" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Background="White" Margin="0,0,5,0">
<!--
<DataGrid.Columns>
<DataGridCheckBoxColumn Header="Selected" Binding="{Binding IsSelected,UpdateSourceTrigger=PropertyChanged}" />
<DataGridTextColumn Header="Object Name" Binding="{Binding DisplayName}" IsReadOnly="True"/>
</DataGrid.Columns>
-->
</DataGrid>
</Grid>
</ScrollViewer>
</TabItem>
<TabItem Header="Output Settings" Visibility="Collapsed" Name="tabOutputSettings">
<ScrollViewer VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto" Padding="0,0,5,0">
<Grid Grid.IsSharedSizeScope='True'>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Grid VerticalAlignment="Stretch" >
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" SharedSizeGroup="TitleColumn" />
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<StackPanel Orientation="Horizontal" Margin="0,5,5,0" Grid.Row="0">
<Label Content="Unconfigured text" />
<Rectangle Style="{DynamicResource InfoIcon}" ToolTip="If unconfigured items are included, specify what value they should have. Don't change will leave the current values as is. Some will be empty and some will be marked as 'Not configured'" />
</StackPanel>
<ComboBox Name="cbNotConifugredText" Margin="0,5,0,0" MinWidth="250" Grid.Row="0" Grid.Column="1" HorizontalAlignment="Left"
DisplayMemberPath="Name" SelectedValuePath="Value" />
<StackPanel Orientation="Horizontal" Margin="0,5,5,0" Grid.Row="1">
<Label Content="Skip unconfigured properties" />
<Rectangle Style="{DynamicResource InfoIcon}" ToolTip="Exclude properties that are empty or set to 'Not configured'" />
</StackPanel>
<CheckBox Grid.Column='1' Grid.Row='1' Name='chkSkipNotConfigured' VerticalAlignment="Center" IsChecked="true" />
<StackPanel Orientation="Horizontal" Margin="0,5,5,0" Grid.Row="2">
<Label Content="Skip default values" />
<Rectangle Style="{DynamicResource InfoIcon}" ToolTip="Exclude properties that are configured with default or unconfigured value" />
</StackPanel>
<CheckBox Grid.Column='1' Grid.Row='2' Name='chkSkipDefaultValues' VerticalAlignment="Center" IsChecked="true" />
<StackPanel Orientation="Horizontal" Margin="0,5,5,0" Grid.Row="3">
<Label Content="Skip disabled properties" />
<Rectangle Style="{DynamicResource InfoIcon}" ToolTip="Exclude properties that are marked as disabled. If this is NOT checked, dispabled properties will still be excluded if the same EntityKey is used on an enabled property" />
</StackPanel>
<CheckBox Grid.Column='1' Grid.Row='3' Name='chkSkipDisabled' VerticalAlignment="Center" IsChecked="true" />
</Grid>
<Label Name="lblCustomOptions" Grid.Row="1" Margin="0,10,5,0" />
<ContentControl Name="ccOutputCustomOptions" Grid.Row="2" Margin="0,0,5,0" />
</Grid>
</ScrollViewer>
</TabItem>
<TabItem Header="Raw Output">
<Grid VerticalAlignment="Stretch" >
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<TextBox Name="txtDocumentationRawData"
ScrollViewer.HorizontalScrollBarVisibility="Auto"
ScrollViewer.VerticalScrollBarVisibility="Auto"
ScrollViewer.CanContentScroll="True"
IsReadOnly="True"
Margin="0" AcceptsReturn="True" />
<StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Right" Margin="0,5,0,5" >
<Button Name="btnCopyBasic" Content="Copy Basic" MinWidth="100" Margin="0,0,5,0" ToolTip="Copy the Basic info to the clipboard"/>
<Button Name="btnCopySettings" Content="Copy Settings" MinWidth="100" Margin="0,0,5,0" ToolTip="Copy the Settings info to the clipboard"/>
<Button Name="btnCopyAll" Content="Copy All" MinWidth="100" Margin="0,0,0,0" ToolTip="Copy all info to the clipboard"/>
</StackPanel>
</Grid>
</TabItem>
</TabControl>
<StackPanel Name="spDocSubMenu" Orientation="Horizontal" HorizontalAlignment="Right" Grid.Row='1'>
<Button Name="btnClearDocumentationList" Content="Clear list" ToolTip="Clear items in the document list" Width='100' Margin="5,0,0,0" Visibility="Collapsed" />
<Button Name="btnAddToDocumentationList" Content="Add to list" ToolTip="Add selected items to the list to document later" Width='100' Margin="5,0,0,0" Visibility="Collapsed" />
<Button Name="btnStartDocumentation" Content="Start" ToolTip="Start docmentation" Width='100' Margin="5,0,0,0" />
<Button Name="btnClose" Content="Close" Width='100' Margin="5,0,0,0" />
</StackPanel>
</Grid >

View File

@@ -0,0 +1,130 @@
<Grid xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" SharedSizeGroup="TitleColumn" />
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<StackPanel Orientation="Horizontal" Margin="0,5,5,0" Grid.Row="0">
<Label Content="Output Properties" />
<Rectangle Style="{DynamicResource InfoIcon}" ToolTip="Specify the output type. Simple will only add Value and Name for Settings. Extended will output the same as Raw Output. Use Custom to select custom properties" />
</StackPanel>
<ComboBox Name="cbWordDocumentationProperties" Margin="0,5,0,0" MinWidth="250" Grid.Row="0" Grid.Column="1" HorizontalAlignment="Left"
DisplayMemberPath="Name" SelectedValuePath="Value" />
<StackPanel Orientation="Horizontal" Margin="0,5,5,0" Grid.Row="1" Name="spWordCustomProperties">
<Label Content="Custom Properties" />
<Rectangle Style="{DynamicResource InfoIcon}" ToolTip="Comma separated list with properties to export. The properties must match with values from Raw Data" />
</StackPanel>
<TextBox Text="" Name="txtWordCustomProperties" Margin="0,5,5,5" Grid.Row="1" Grid.Column="1"/>
<StackPanel Orientation="Horizontal" Margin="0,0,5,0" Grid.Row="2">
<Label Content="Word document template" />
<Rectangle Style="{DynamicResource InfoIcon}" ToolTip="The document template (*.dotx) file to use for the documentation. Normal.dotx will be used if this is empty" />
</StackPanel>
<Grid Grid.Column='1' Grid.Row='2' Margin="0,5,5,0" >
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="5" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<TextBox Text="" Name="txtWordDocumentTemplate" />
<Button Grid.Column="2" Name="browseWordDocumentTemplate" Padding="5,0,5,0" Width="50" ToolTip="Browse for template file">...</Button>
</Grid>
<StackPanel Orientation="Horizontal" Grid.Row='3' Margin="0,0,5,0">
<Label Content="Document name" />
<Rectangle Style="{DynamicResource InfoIcon}" ToolTip="Default value is %MyDocuments%\%Organization%-%Date%.docx. Special folders and environmentvariables can be used" />
</StackPanel>
<Grid Grid.Column='1' Grid.Row='3' Margin="0,5,5,0" >
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="5" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<TextBox Text="" Name="txtWordDocumentName" />
<Button Grid.Column="2" Name="browseWordDocumentName" Padding="5,0,5,0" Width="50" ToolTip="Select output document">...</Button>
</Grid>
<StackPanel Orientation="Horizontal" Margin="0,5,5,0" Grid.Row="5">
<Label Content="Include Categories" />
<Rectangle Style="{DynamicResource InfoIcon}" ToolTip="Add categories when available for objects" />
</StackPanel>
<CheckBox Grid.Column='1' Grid.Row='5' Name='chkWordAddCategories' VerticalAlignment="Center" IsChecked="true" />
<StackPanel Orientation="Horizontal" Margin="0,5,5,0" Grid.Row="6">
<Label Content="Include Sub-categories" />
<Rectangle Style="{DynamicResource InfoIcon}" ToolTip="Add sub-categories when available for objects" />
</StackPanel>
<CheckBox Grid.Column='1' Grid.Row='6' Name='chkWordAddSubCategories' VerticalAlignment="Center" IsChecked="true" />
<StackPanel Orientation="Horizontal" Margin="0,5,5,0" Grid.Row="7">
<Label Content="Header 1 style" />
<Rectangle Style="{DynamicResource InfoIcon}" ToolTip="Style for Header 1" />
</StackPanel>
<TextBox Grid.Column='1' Grid.Row='7' Name='txtWordHeader1Style' Margin="0,5,5,5"/>
<StackPanel Orientation="Horizontal" Margin="0,5,5,0" Grid.Row="8">
<Label Content="Header 2 style" />
<Rectangle Style="{DynamicResource InfoIcon}" ToolTip="Style for Header 2" />
</StackPanel>
<TextBox Grid.Column='2' Grid.Row='8' Name='txtWordHeader2Style' Margin="0,5,5,5"/>
<StackPanel Orientation="Horizontal" Margin="0,5,5,0" Grid.Row="9">
<Label Content="Table style" />
<Rectangle Style="{DynamicResource InfoIcon}" ToolTip="Style for Tables" />
</StackPanel>
<TextBox Grid.Column='2' Grid.Row='9' Name='txtWordTableStyle' Margin="0,5,5,5"/>
<StackPanel Orientation="Horizontal" Margin="0,5,5,0" Grid.Row="10">
<Label Content="Table header row style" />
<Rectangle Style="{DynamicResource InfoIcon}" ToolTip="Style of the Table header row. Default is Font size increased by 2" />
</StackPanel>
<TextBox Grid.Column='2' Grid.Row='10' Name='txtWordTableHeaderStyle' Margin="0,5,5,5"/>
<StackPanel Orientation="Horizontal" Margin="0,5,5,0" Grid.Row="11">
<Label Content="Table Category header row style" />
<Rectangle Style="{DynamicResource InfoIcon}" ToolTip="Style of the Table Category row. Default is Font size increased by 2 + Italic" />
</StackPanel>
<TextBox Grid.Column='2' Grid.Row='11' Name='txtWordCategoryHeaderStyle' Margin="0,5,5,5"/>
<StackPanel Orientation="Horizontal" Margin="0,5,5,0" Grid.Row="12">
<Label Content="Table Sub-Category header row style" />
<Rectangle Style="{DynamicResource InfoIcon}" ToolTip="Style of the Table Sub-Category row. Default is current font + Italic" />
</StackPanel>
<TextBox Grid.Column='2' Grid.Row='12' Name='txtWordSubCategoryHeaderStyle' Margin="0,5,5,5"/>
<StackPanel Orientation="Horizontal" Grid.Row='13' Margin="0,0,5,0">
<Label Content="Open document" />
<Rectangle Style="{DynamicResource InfoIcon}" ToolTip="This will open the document and activate Word when finished" />
</StackPanel>
<CheckBox Grid.Column='1' Grid.Row='13' Name='chkWordOpenDocument' VerticalAlignment="Center" IsChecked="true" />
</Grid>

View File

@@ -39,8 +39,6 @@
<Grid Name="grdObject" Grid.Row="1" Grid.RowSpan="2" Visibility="Collapsed" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Background="White" Margin="0,0,0,0" />
<CheckBox Grid.Row="2" Name="chkSelectAll" HorizontalAlignment="Left" Margin="7,2,0,0" ToolTip="Select/Unselect all" IsEnabled="False" />
<StackPanel Grid.Row="2" Name="spSubMenu" Orientation="Horizontal" HorizontalAlignment="Right" Margin="0,5,0,0" >
<Button Name="btnView" Content="View" MinWidth="100" Margin="0,0,5,0" IsEnabled="False" ToolTip="Veiw the json data of an item" />
<Button Name="btnCopy" Content="Copy" MinWidth="100" Margin="0,0,5,0" IsEnabled="False" ToolTip="Clone the selected item"/>

View File

@@ -0,0 +1,29 @@
<Viewbox xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Canvas Height="18" Width="18">
<Canvas.Resources>
<LinearGradientBrush x:Key="cf7d088c-fc7f-4c2c-8ffa-0b4b450e304a" StartPoint="0.0752099975943565,0.0372200012207031" EndPoint="0.0752099975943565,0.170129999518394" MappingMode="RelativeToBoundingBox">
<LinearGradientBrush.GradientStops>
<GradientStopCollection>
<GradientStop Offset="0" Color="#5ea0ef" />
<GradientStop Offset="1" Color="#0078d4" />
</GradientStopCollection>
</LinearGradientBrush.GradientStops>
</LinearGradientBrush>
<LinearGradientBrush x:Key="cf7d088c-fc7f-4c2c-8ffa-0b4b450e304b" StartPoint="0.143889993429184,0.0797099992632866" EndPoint="0.143889993429184,0.151940003037453" MappingMode="RelativeToBoundingBox">
<LinearGradientBrush.GradientStops>
<GradientStopCollection>
<GradientStop Offset="0" Color="#86d633" />
<GradientStop Offset="1" Color="#76bc2d" />
</GradientStopCollection>
</LinearGradientBrush.GradientStops>
</LinearGradientBrush>
</Canvas.Resources>
<Path Fill="{StaticResource cf7d088c-fc7f-4c2c-8ffa-0b4b450e304a}" Data="M12.9 12.721l-2.5-2.492a.731.731 0 01-.217-.522v-.563a.74.74 0 01.739-.739h4.116V3.113a.455.455 0 00-.478-.428H.479A.456.456 0 000 3.113v9.7a.455.455 0 00.479.428H12.9z" />
<Path Fill="#0078d4" Data="M.451 2.685h14.14a.429.429 0 01.45.4V4.7H0V3.088a.431.431 0 01.451-.403z" Opacity="0.7"/>
<Ellipse Canvas.Left="1.182" Canvas.Top="6.266" Width="1.228" Height="1.228" Fill="#FFFFFF" Opacity="0.7"/>
<Ellipse Canvas.Left="1.182" Canvas.Top="8.6269999999999989" Width="1.228" Height="1.228" Fill="#FFFFFF" Opacity="0.5"/>
<Path Data="M10.186 9.707v-.563a.721.721 0 01.115-.371H3.6a.267.267 0 00-.266.267v.408a.266.266 0 00.266.267h6.589z" Fill="#FFFFFF" Opacity="0.5"/>
<Rectangle Width="0.534" Height="0.942" Canvas.Left="3.333" Canvas.Top="6.416" Fill="#FFFFFF" Opacity="0.7"/>
<Path Fill="{StaticResource cf7d088c-fc7f-4c2c-8ffa-0b4b450e304b}" Data="M18 9.707v-.563A.148.148 0 0017.852 9h-6.927a.148.148 0 00-.148.148v.563a.149.149 0 00.044.1l2.622 2.621a.153.153 0 01.043.105v2.63a.148.148 0 00.148.148h1.51a.148.148 0 00.148-.148v-2.63a.148.148 0 01.043-.105l2.622-2.621A.153.153 0 0018 9.707z" />
</Canvas>
</Viewbox>

View File

@@ -0,0 +1,20 @@
<Viewbox Width="18" Height="18" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Viewbox.Resources>
<LinearGradientBrush x:Key="82ede37b-be1f-4ec6-a8d4-aefcb532a259" StartPoint="0,11.9927997589111" EndPoint="0,11.9345598220825" MappingMode="RelativeToBoundingBox">
<LinearGradientBrush.GradientStops>
<GradientStopCollection>
<GradientStop Offset="0" Color="#5ea0ef" />
<GradientStop Offset="1" Color="#0078d4" />
</GradientStopCollection>
</LinearGradientBrush.GradientStops>
</LinearGradientBrush>
</Viewbox.Resources>
<Canvas Height="18" Width="18">
<Path Fill="{StaticResource 82ede37b-be1f-4ec6-a8d4-aefcb532a259}" Data="M0 7.146L.011 10.5a.578.578 0 00.176.43l3.238 2.8a.77.77 0 00.409.169l13.581.039a.588.588 0 00.585-.59l-.014-8.635a.6.6 0 00-.591-.592l-13.61-.053a.89.89 0 00-.38.141L.205 6.7A.569.569 0 000 7.146zm3.134.925a1.076 1.076 0 11-1.522 0l.007-.007a1.067 1.067 0 011.508 0z" />
<Path Fill="#005ba1" Data="M1.279 9.921a1.554 1.554 0 100-2.2 1.554 1.554 0 000 2.2zM1.893 8.1a.874.874 0 11-.241.241.891.891 0 01.241-.241z" />
<Path Data="M15.762 6.978h-5.286a.522.522 0 100 1.044h5.338a.522.522 0 100-1.044z" Fill="#ffffff" Opacity="0.6" />
<Path Data="M6.74 8.787a.245.245 0 00.347 0l2.1-2.1a.245.245 0 000-.347l-.163-.163a.246.246 0 00-.346 0L6.914 7.936l-.607-.606a.249.249 0 00-.346 0L5.8 7.5a.246.246 0 000 .346z" Fill="#ffffff" Opacity="0.8" />
<Path Data="M15.788 10.016H10.5a.522.522 0 000 1.044h5.338a.522.522 0 100-1.044z" Fill="#ffffff" Opacity="0.6" />
<Path Data="M6.767 11.825a.244.244 0 00.346 0l2.1-2.1a.247.247 0 000-.347l-.164-.163a.245.245 0 00-.346 0L6.94 10.974l-.606-.607a.251.251 0 00-.346 0l-.166.166a.245.245 0 000 .347z" Fill="#ffffff" Opacity="0.8" />
</Canvas>
</Viewbox>

View File

@@ -26,7 +26,8 @@
<GradientStopCollection />
</LinearGradientBrush.GradientStops>
</LinearGradientBrush>
</Canvas.Resources> <Rectangle Width="16.68" Height="11.87" Canvas.Top="1.03" Fill="#0078d4" RadiusX="0.6" RadiusY="0.6" />
</Canvas.Resources>
<Rectangle Width="16.68" Height="11.87" Canvas.Top="1.03" Fill="#0078d4" RadiusX="0.6" RadiusY="0.6" />
<Rectangle Width="14.74" Height="10.1" Canvas.Left="0.97" Canvas.Top="1.86" Fill="{StaticResource aea576e5-fef8-4bf5-a6dd-590c075a08c5}" Opacity='0.9' RadiusX="0.3" RadiusY="0.3" />
<Rectangle Width="7.7" Height="12.85" Canvas.Left="10.3" Canvas.Top="4.12" Fill="{StaticResource ae1611cd-4cf1-4ed1-b5e1-db19220ee586}" RadiusX="0.3" RadiusY="0.3" />
<Rectangle Width="1.77" Height="0.24" Canvas.Left="13.27" Canvas.Top="4.55" Fill="#f2f2f2" RadiusX="0.11" RadiusY="0.11" />