프로젝트

일반

사용자정보

통계
| 브랜치(Branch): | 개정판:

markus / ConvertService / ServiceController / Markus.Service.StationController / Views / FinalPDFView.xaml @ 5532bcc0

이력 | 보기 | 이력해설 | 다운로드 (40.2 KB)

1 5c387707 semi
<UserControl
2
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
4
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
5
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
6
             xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
7
             xmlns:controls="clr-namespace:Markus.Service.StationController.Controls"
8
             xmlns:VM="clr-namespace:Markus.Service.StationController.ViewModel"
9
             xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"
10
             xmlns:local="clr-namespace:Markus.Service.StationController.Views" x:Class="Markus.Service.StationController.Views.FinalPDFView"
11
             xmlns:maskedInput="clr-namespace:Telerik.Windows.Controls.MaskedInput;assembly=Telerik.Windows.Controls.Input"
12
             mc:Ignorable="d"  Background="White" DataContext="{DynamicResource FinalPDFViewModel}" 
13
    d:DesignHeight="450" d:DesignWidth="1000">
14
    <UserControl.Resources>
15
        <Style TargetType="telerik:GridViewCell" x:Key="StretchCellStyle">
16
            <Setter Property="Margin" Value="0"/>
17
            <Setter Property="Padding" Value="0"/>
18
            <Setter Property="VerticalContentAlignment" Value="Stretch"/>
19
            <Setter Property="HorizontalContentAlignment" Value="Stretch"/>
20
        </Style>
21
        <Style TargetType="{x:Type telerik:GridViewHeaderCell}">
22
            <Setter Property="HorizontalContentAlignment" Value="Center"/>
23
            <Setter Property="Background" Value="Gray"/>
24
        </Style>
25
        <Style TargetType="{x:Type telerik:GridViewCell}">
26
            <Setter Property="HorizontalContentAlignment" Value="Center"/>
27
        </Style>
28
        <Style TargetType="{x:Type telerik:GridViewCell}" x:Key="OriginalFileGridViewCell">
29
            <Setter Property="HorizontalContentAlignment" Value="Left"/>
30
        </Style>
31
        <Style TargetType="{x:Type controls:RowIndexColumn}">
32
            <Setter Property="TextAlignment" Value="Center"/>
33
        </Style>
34
        <Style TargetType="{x:Type TextBox}">
35
            <Setter Property="Margin" Value="5,5,0,0"/>
36
            <Setter Property="VerticalAlignment" Value="Center"/>
37
            <Setter Property="HorizontalContentAlignment" Value="Left"/>
38
            <Setter Property="Foreground" Value="Black"/>
39
            <Setter Property="Background" Value="Transparent"/>
40
            <Setter Property="BorderBrush" Value="Transparent"/>
41
            <Setter Property="BorderThickness" Value="0"/>
42
            <Setter Property="IsReadOnly" Value="true"/>
43
            <Setter Property="FocusVisualStyle" Value="{x:Null}"/>
44
            <Setter Property="ScrollViewer.PanningMode" Value="VerticalFirst"/>
45
            <Setter Property="Stylus.IsFlicksEnabled" Value="False"/>
46
            <Setter Property="Template">
47
                <Setter.Value>
48
                    <ControlTemplate TargetType="{x:Type TextBox}">
49
                        <Border x:Name="Bd" 
50
                    BorderThickness="{TemplateBinding BorderThickness}" 
51
                    SnapsToDevicePixels="true">
52
                            <ScrollViewer x:Name="PART_ContentHost" BorderThickness="{TemplateBinding BorderThickness}"
53
                    SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/>
54
                        </Border>
55
                    </ControlTemplate>
56
                </Setter.Value>
57
            </Setter>
58
        </Style>
59
60
        <VM:FinalPDFViewModel x:Key="FinalPDFViewModel"/>
61
        <DataTemplate x:Key="RowDetailsTemplate">
62
            <local:FinalPDFInfo />
63
        </DataTemplate>
64
    </UserControl.Resources>
65
    <i:Interaction.Triggers>
66
        <i:EventTrigger  EventName="Loaded">
67
            <i:InvokeCommandAction Command="{Binding LoadedCommand}"/>
68
        </i:EventTrigger>
69
        <i:EventTrigger  EventName="Unloaded">
70
            <i:InvokeCommandAction Command="{Binding ClosingCommand}"/>
71
        </i:EventTrigger>
72
    </i:Interaction.Triggers>
73
    <Grid HorizontalAlignment="Stretch" ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto" VerticalAlignment="Stretch">
74
        <Grid.RowDefinitions>
75
            <RowDefinition Height="Auto"/>
76
            <RowDefinition Height="Auto"/>
77
            <RowDefinition Height="Auto"/>
78
            <RowDefinition Height="*"/>
79
            <RowDefinition Height="Auto"/>
80
            <RowDefinition Height="Auto"/>
81
        </Grid.RowDefinitions>
82
        <StackPanel Margin="0,10" Orientation="Horizontal" HorizontalAlignment="Right" Grid.Row="0">
83
            <TextBlock Text="Display Count : " VerticalAlignment="Center"/>
84
            <telerik:RadComboBox Width="100" SelectedItem="{Binding SelectedCount, Mode=TwoWay}" Margin="0,0,10,0" SelectedValuePath="DisplayMember"
85
                  DisplayMemberPath="ValueMember" ItemsSource="{Binding SelectedCountList}" SelectedIndex="0" />
86
            <TextBlock Text="Status Type : " Margin="10,0,0,0"  VerticalAlignment="Center"/>
87 64e36f82 semi
            <telerik:RadComboBox Width="100" SelectedItem="{Binding SelectedStatus, Mode=TwoWay}" SelectedIndex="{Binding SelectedInt, Mode=TwoWay}"
88 5c387707 semi
                   DisplayMemberPath="DisplayName" SelectedValuePath="Value" ItemsSource="{Binding StatusCodeList}" Height="20"/>
89
            <telerik:RadToggleButton Content="  엑셀 저장  " Margin="10,0" Height="20" Command="{Binding DataSaveFileGemBoxCommand, Mode=OneWay}"/>
90
        </StackPanel>
91
        <Grid Grid.Row="1">
92
            <Grid.Style>
93
                <Style>
94
                    <Setter Property="TextBlock.Margin" Value="20,0,0,0"/>
95
                </Style>
96
            </Grid.Style>
97
            <Grid.RowDefinitions>
98
                <RowDefinition />
99
                <RowDefinition />
100
            </Grid.RowDefinitions>
101
            <Grid Grid.Row="0">
102
                <Grid.RowDefinitions>
103
                    <RowDefinition Height="10"/>
104
                    <RowDefinition />
105
                    <RowDefinition Height="10"/>
106
                    <RowDefinition />
107
                    <RowDefinition Height="10" />
108
                    <RowDefinition />
109
                    <RowDefinition Height="10" />
110
                </Grid.RowDefinitions>
111
                <Grid.ColumnDefinitions>
112
                    <ColumnDefinition Width="Auto"/>
113
                    <ColumnDefinition Width="*" />
114
                    <ColumnDefinition Width="10"/>
115
                    <ColumnDefinition Width="Auto"/>
116
                    <ColumnDefinition Width="*"/>
117
                    <ColumnDefinition Width="10"/>
118
                    <ColumnDefinition Width="Auto"/>
119
                    <ColumnDefinition Width="*"/>
120
                    <ColumnDefinition Width="10"/>
121
                    <ColumnDefinition Width="Auto"/>
122
                    <ColumnDefinition Width="*"/>
123
                </Grid.ColumnDefinitions>
124
                <TextBlock Text="Project NO  " Grid.Row="1" Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Left"/>
125
                <telerik:RadComboBox Grid.Row="1" Grid.Column="1" HorizontalAlignment="Stretch"
126
                                         DisplayMemberPath="Project_NOAndProject_Name"
127
                                         ItemsSource="{Binding ProjectNames}" 
128
                                         SelectedItem="{Binding ProjectNumberFilter}"
129
                                         AllowMultipleSelection="False"
130
                                         EmptyText="Project_NO : Project_Name" Height="22" VerticalAlignment="Top"/>
131
132
                <TextBlock Text="Document ID  " Grid.Row="1" Grid.Column="3" VerticalAlignment="Center" HorizontalAlignment="Left"/>
133
                <telerik:RadMaskedTextInput IsClearButtonVisible="True"  EmptyContent="DocumentID" Value="{Binding DocumentIDFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
134
                                                        TextMode="PlainText" Grid.Row="1" Grid.Column="4" HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="2,0"
135
                                                maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask="" AcceptsReturn="False">
136
                    <telerik:RadMaskedTextInput.InputBindings>
137 919dee1b semi
                        <KeyBinding Key="Enter" Command="{Binding DataFilterCommand, UpdateSourceTrigger=PropertyChanged}" />
138 5c387707 semi
                    </telerik:RadMaskedTextInput.InputBindings>
139
                </telerik:RadMaskedTextInput>
140
141
                <TextBlock Text="MarkupInfo ID  " Grid.Row="1" Grid.Column="6"   VerticalAlignment="Center" HorizontalAlignment="Left"/>
142
                <telerik:RadMaskedTextInput IsClearButtonVisible="True" EmptyContent="MarkupInfo ID " Value="{Binding MarkupInfo_IDFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
143
                                                        TextMode="PlainText" Grid.Row="1" Grid.Column="7" HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="2,0"
144
                                                maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""  AcceptsReturn="False">
145
                    <telerik:RadMaskedTextInput.InputBindings>
146 919dee1b semi
                        <KeyBinding Key="Enter" Command="{Binding DataFilterCommand, UpdateSourceTrigger=PropertyChanged}" />
147 5c387707 semi
                    </telerik:RadMaskedTextInput.InputBindings>
148
                </telerik:RadMaskedTextInput>
149
150
                <TextBlock Text="Docuemnt Name  " Grid.Row="3" Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Left"/>
151
                <telerik:RadMaskedTextInput IsClearButtonVisible="True"  EmptyContent="Docuemnt Name" Value="{Binding Document_NameFilter , UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
152
                               TextMode="PlainText" Grid.Row="3" Grid.Column="1" HorizontalContentAlignment="Stretch"  VerticalAlignment="Bottom" HorizontalAlignment="Stretch" Margin="2,0"
153
                                                maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""  AcceptsReturn="False">
154
                    <telerik:RadMaskedTextInput.InputBindings>
155 919dee1b semi
                        <KeyBinding Key="Enter" Command="{Binding DataFilterCommand, UpdateSourceTrigger=PropertyChanged}" />
156 5c387707 semi
                    </telerik:RadMaskedTextInput.InputBindings>
157
                </telerik:RadMaskedTextInput>
158
159
                <TextBlock Text="Docuemnt NO  " Grid.Row="3" Grid.Column="3"  VerticalAlignment="Center" HorizontalAlignment="Left"/>
160
                <telerik:RadMaskedTextInput IsClearButtonVisible="True" EmptyContent="Docuemnt NO" Value="{Binding Document_NOFilter , UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
161
                           TextMode="PlainText" Grid.Row="3" Grid.Column="4"   HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="2,0"
162
                                                maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""  AcceptsReturn="False">
163
                    <telerik:RadMaskedTextInput.InputBindings>
164 919dee1b semi
                        <KeyBinding Key="Enter" Command="{Binding DataFilterCommand, UpdateSourceTrigger=PropertyChanged}" />
165 5c387707 semi
                    </telerik:RadMaskedTextInput.InputBindings>
166
                </telerik:RadMaskedTextInput>
167
                
168
                <TextBlock Text="CreateUser ID " Grid.Row="3" Grid.Column="6"  VerticalAlignment="Center" HorizontalAlignment="Left"/>
169
                <telerik:RadMaskedTextInput IsClearButtonVisible="True"   EmptyContent="CreateUser ID "  Value="{Binding CreateUser_IDFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
170
                            TextMode="PlainText" Grid.Row="3" Grid.Column="7"  HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="2,0"
171
                                                maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""  AcceptsReturn="False">
172
                    <telerik:RadMaskedTextInput.InputBindings>
173 919dee1b semi
                        <KeyBinding Key="Enter" Command="{Binding DataFilterCommand, UpdateSourceTrigger=PropertyChanged}" />
174 5c387707 semi
                    </telerik:RadMaskedTextInput.InputBindings>
175
                </telerik:RadMaskedTextInput>
176
                
177
                <TextBlock Text="DocInfo ID " Grid.Row="1" Grid.Column="9"  VerticalAlignment="Center" HorizontalAlignment="Left"/>
178
                <telerik:RadMaskedTextInput IsClearButtonVisible="True"  EmptyContent="DocInfo ID"  Value="{Binding DOCINFO_IDFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
179
                         TextMode="PlainText" Grid.Row="1" Grid.Column="10"   HorizontalAlignment="Stretch"   VerticalAlignment="Center" Margin="2,0"
180
                                                maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""  AcceptsReturn="False">
181
                    <telerik:RadMaskedTextInput.InputBindings>
182 919dee1b semi
                        <KeyBinding Key="Enter" Command="{Binding DataFilterCommand, UpdateSourceTrigger=PropertyChanged}" />
183 5c387707 semi
                    </telerik:RadMaskedTextInput.InputBindings>
184
                </telerik:RadMaskedTextInput>
185
                
186
                <TextBlock Text="GROUP NO " Grid.Row="3" Grid.Column="9"  VerticalAlignment="Center" HorizontalAlignment="Left"/>
187
                <telerik:RadMaskedTextInput IsClearButtonVisible="True"  EmptyContent="GROUP NO"  Value="{Binding GROUP_NOFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
188
                         TextMode="PlainText" Grid.Row="3" Grid.Column="10"   HorizontalAlignment="Stretch"   VerticalAlignment="Center" Margin="2,0"
189
                                                maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""  AcceptsReturn="False">
190
                    <telerik:RadMaskedTextInput.InputBindings>
191 919dee1b semi
                        <KeyBinding Key="Enter" Command="{Binding DataFilterCommand, UpdateSourceTrigger=PropertyChanged}" />
192 5c387707 semi
                    </telerik:RadMaskedTextInput.InputBindings>
193
                </telerik:RadMaskedTextInput>
194
                
195
                <TextBlock Text="REVISION " Grid.Row="5" Grid.Column="0"  VerticalAlignment="Center" HorizontalAlignment="Left"/>
196
                <telerik:RadMaskedTextInput IsClearButtonVisible="True"  EmptyContent="REVISION"  Value="{Binding REVISIONFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
197
                         TextMode="PlainText" Grid.Row="5" Grid.Column="1"   HorizontalAlignment="Stretch"   VerticalAlignment="Center" Margin="2,0"
198
                                                maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""  AcceptsReturn="False">
199
                    <telerik:RadMaskedTextInput.InputBindings>
200 919dee1b semi
                        <KeyBinding Key="Enter" Command="{Binding DataFilterCommand, UpdateSourceTrigger=PropertyChanged}" />
201 5c387707 semi
                    </telerik:RadMaskedTextInput.InputBindings>
202
                </telerik:RadMaskedTextInput>
203
204
                <TextBlock Text="DOCUMENT_URL " Grid.Row="5" Grid.Column="3"  VerticalAlignment="Center" HorizontalAlignment="Left"/>
205
                <telerik:RadMaskedTextInput IsClearButtonVisible="True"  EmptyContent="DOCUMENT_URL"  Value="{Binding Document_URLFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
206
                         TextMode="PlainText" Grid.Row="5" Grid.Column="4"   HorizontalAlignment="Stretch"   VerticalAlignment="Center" Margin="2,0" Grid.ColumnSpan="7"
207
                                                maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask="" AcceptsReturn="False">
208
                    <telerik:RadMaskedTextInput.InputBindings>
209 919dee1b semi
                        <KeyBinding Key="Enter" Command="{Binding DataFilterCommand, UpdateSourceTrigger=PropertyChanged}" />
210 5c387707 semi
                    </telerik:RadMaskedTextInput.InputBindings>
211
                </telerik:RadMaskedTextInput>
212
            </Grid>
213
214
            <StackPanel Grid.Row="4" Grid.ColumnSpan="11">
215
                <StackPanel Orientation="Horizontal">
216
                    <TextBlock Text="CreateTime  " VerticalAlignment="Center" Width="102"/>
217
                    <telerik:RadDateTimePicker x:Name="datePicker1" Width="200"
218
                                   InputMode="DateTimePicker"  
219
                                   VerticalAlignment="Center"
220
                                   HorizontalAlignment="Stretch"
221
                                   SelectedValue="{Binding SelectedCreateTimeBegin ,Mode=TwoWay,  UpdateSourceTrigger=PropertyChanged }" >
222
                    </telerik:RadDateTimePicker>
223
                    <TextBlock Text="  ~  " VerticalAlignment="Center"/>
224
                    <telerik:RadDateTimePicker x:Name="datePicker2"  Width="200"
225
                                   InputMode="DateTimePicker"  HorizontalAlignment="Stretch"
226
                                   VerticalAlignment="Center"
227
                                   SelectedValue="{Binding SelectedCreateTimeEnd ,Mode=TwoWay,  UpdateSourceTrigger=PropertyChanged}"
228
                                   Margin="0,1">
229
                    </telerik:RadDateTimePicker>
230
                    <Button Content="Clear" Margin="5"  Width="50" Height="20" HorizontalAlignment="Left" Command="{Binding RemoveCreateTimeFilterCommand, Mode=OneWay}"/>
231
232
                    <CheckBox IsChecked="{Binding ExcptionCheck, Mode=TwoWay}">Excption is not NULL</CheckBox>
233
                </StackPanel>
234
            </StackPanel>
235
        </Grid>
236
237
        <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Grid.Row="2">
238
            <telerik:RadToggleButton Content=" Document Items" Command="{Binding DocumentFilterCommand, Mode=OneWay}" Width="100" Margin="0,0,20,0" HorizontalAlignment="Right"/>
239
            <telerik:RadToggleButton Content=" Convert 추가" Command="{Binding ConverAddCommand, Mode=OneWay}" Width="100" Margin="0,0,20,0" HorizontalAlignment="Right"/>
240
            <telerik:RadToggleButton Content=" 검색" Command="{Binding DataFilterCommand, Mode=OneWay}" Width="100" Margin="0,0,20,0" HorizontalAlignment="Right"/>
241
            <telerik:RadToggleButton Content=" 초기화" Command="{Binding ResetCommand, Mode=OneWay}" Width="100" Margin="0,0,20,0" HorizontalAlignment="Right"/>
242
        </StackPanel>
243
244
245
        <telerik:RadExpander ExpandDirection="Down"  BorderThickness="0" Grid.Row="3"
246
                  ScrollViewer.HorizontalScrollBarVisibility="Auto"  ScrollViewer.VerticalScrollBarVisibility="Auto"  IsExpanded="True" 
247
                             telerik:AnimationManager.IsAnimationEnabled="False" >
248
            <telerik:RadExpander.Header>
249
                <Grid>
250
                    <Grid.ColumnDefinitions>
251
                        <ColumnDefinition Width="Auto"/>
252
                        <ColumnDefinition Width="Auto"/>
253
                    </Grid.ColumnDefinitions>
254
                    <TextBlock Text="Final PDF Items : "/>
255
                    <TextBlock Text="{Binding SelectedCount.DisplayMember, StringFormat=\{0:d\}}" Grid.Column="1"/>
256
                </Grid>
257
            </telerik:RadExpander.Header>
258
259
            <telerik:RadGridView x:Name="dataGrid1"  GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"  
260
                                                         ItemsSource="{Binding FilterConvertSourceView}" 
261
                             SelectionMode="Extended"
262
                             SelectionUnit="FullRow"
263
                             CanUserSelect ="True"
264
                             RowDetailsTemplate="{StaticResource RowDetailsTemplate}"  
265
                                                         AutoGenerateColumns="False"
266
                             ColumnWidth="*" CanUserFreezeColumns="False"
267
                             Grid.Row="1"  ScrollViewer.CanContentScroll="True" IsFilteringAllowed="True"
268
                             LeftFrozenColumnCount="6" 
269
                             RightFrozenColumnCount="0">
270
                <i:Interaction.Behaviors>
271
                    <controls:GridViewSelectionUtilities SelectedItems="{Binding SelectFilterConvertList}" />
272
                </i:Interaction.Behaviors>
273
                <telerik:RadContextMenu.ContextMenu>
274
                    <telerik:RadContextMenu x:Name= "GridContextMenu">
275
                        <telerik:RadMenuItem  Header="Convert"  Command="{Binding ConvertCommand}"/>
276
                        <telerik:RadMenuItem Header="Validation"  Command="{Binding ValidateCommand}"/>
277
                        <telerik:RadMenuItem Header="Delete"  Command="{Binding DeleteCommand}"/>
278 c3a5e283 semi
                        <telerik:RadMenuItem Header="Markup List"  Command="{Binding Markup_CheckCommand}"/>
279 5c387707 semi
                    </telerik:RadContextMenu>
280
                </telerik:RadContextMenu.ContextMenu>
281
                <telerik:RadGridView.Columns>
282
                    <telerik:GridViewToggleRowDetailsColumn />
283
                    <controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" />
284
285
                    <telerik:GridViewDataColumn Header="Convert ID" 
286
                                                                                        DataMemberBinding="{Binding ConvertID}" Width="*" />
287
                    <telerik:GridViewDataColumn x:Name="commend" Header="Markus " Width="0.5*"  CellStyle="{StaticResource StretchCellStyle}">
288
                        <telerik:GridViewDataColumn.CellTemplate>
289
                            <DataTemplate>
290
                                <telerik:RadButton Content="Click" BorderThickness="0"
291
                                                   Background="Transparent"
292
                                                   Command="{Binding MarkusLinkCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/>
293
                            </DataTemplate>
294
                        </telerik:GridViewDataColumn.CellTemplate>
295
                    </telerik:GridViewDataColumn>
296
                    <telerik:GridViewDataColumn Header="ProjectNO" 
297
                                                                                        DataMemberBinding="{Binding ProjectNumber}" Width="*" />
298
                    <telerik:GridViewDataColumn Header="DocumentID"
299
                                                                                        DataMemberBinding="{Binding DocumentID}" Width="*" />
300
                    <telerik:GridViewDataColumn Header="ConvertState"
301
                                                                                        DataMemberBinding="{Binding ConvertState}" Width="*" />
302
                    <telerik:GridViewDataColumn Header="DocInfoID"
303
                                                                                        DataMemberBinding="{Binding DocInfo_ID}" Width="*" />
304
                    <telerik:GridViewDataColumn Header="MarkusInfoID"
305
                                                                                        DataMemberBinding="{Binding MarkupInfo_ID}" Width="*" />
306
                    <telerik:GridViewDataColumn Header="Create UserID"
307
                                                                                        DataMemberBinding="{Binding Create_User_ID}" Width="*" />
308
                    <telerik:GridViewDataColumn Header="CurrentPageNo"
309
                                                                                        DataMemberBinding="{Binding CurrentPageNo, Mode=TwoWay}" Width="*" />
310
                    <telerik:GridViewDataColumn Header="TotalPageNo"
311
                                                                                        DataMemberBinding="{Binding TotalPage, Mode=TwoWay}" Width="*"  />
312
                    <telerik:GridViewDynamicHyperlinkColumn Header="원본파일"  CellStyle="{StaticResource OriginalFileGridViewCell}"
313
                                                        NavigateUrlFormatString=" {0}"
314
                                                                                                            NavigateUrlMemberPaths="OriginfilePath"
315
                                                                                                                Width="2*">
316
                        <telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
317
                            <DataTemplate>
318
                                <TextBlock Text="{Binding FileName}" HorizontalAlignment="Left"/>
319
                            </DataTemplate>
320
                        </telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
321
                    </telerik:GridViewDynamicHyperlinkColumn>
322
323
                    <telerik:GridViewDataColumn Header=" ConvertPath" IsReadOnly="True" Width="*" CellStyle="{StaticResource StretchCellStyle}">
324
                        <telerik:GridViewDataColumn.CellTemplate>
325
                            <DataTemplate>
326
                                <Grid>
327
                                    <Grid.ColumnDefinitions>
328
                                        <ColumnDefinition/>
329
                                        <ColumnDefinition Width="Auto"/>
330
                                    </Grid.ColumnDefinitions>
331
                                    <TextBox TextAlignment="Left" Text="{Binding ConvertPath}" Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black"/>
332
                                    <telerik:RadButton Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black" Grid.Column="1"
333
                                                   Command="{Binding FinalPDFPathFileSearchCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}">
334
                                        <Image Source="/Markus.Service.StationController;component/Resources/File_Search_Icon.png"  Stretch="None" />
335
                                    </telerik:RadButton>
336
                                </Grid>
337
                            </DataTemplate>
338
                        </telerik:GridViewDataColumn.CellTemplate>
339
                    </telerik:GridViewDataColumn>
340
                    <telerik:GridViewDataColumn Header="CreateTime" 
341
                                                                                        DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*"  />
342
                    <telerik:GridViewDataColumn Header="StartTime" IsReadOnly="True"   Background="Transparent" 
343
                                                                                        DataMemberBinding="{Binding StartTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
344
                    <telerik:GridViewDataColumn Header="EndTime" IsReadOnly="True"   Background="Transparent" 
345
                                                                                        DataMemberBinding="{Binding EndTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
346
                    <telerik:GridViewDataColumn Header="TotalTime" IsReadOnly="True"   Background="Transparent" 
347
                                                                                        DataMemberBinding="{Binding TotalTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
348
                </telerik:RadGridView.Columns>
349
            </telerik:RadGridView>
350
        </telerik:RadExpander>
351
352
        <telerik:RadExpander Grid.Row="4" ExpandDirection="Down" BorderThickness="0"
353
                  ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto"
354
                             telerik:AnimationManager.IsAnimationEnabled="False" IsExpanded ="{Binding ConvertShow, Mode=TwoWay}">
355
            <telerik:RadExpander.Header>
356
                <Grid>
357
                    <Grid.ColumnDefinitions>
358
                        <ColumnDefinition Width="Auto"/>
359
                        <ColumnDefinition Width="Auto"/>
360
                    </Grid.ColumnDefinitions>
361
                    <TextBlock Text="Real FinalPDF Items : "/>
362
                    <TextBlock Text="{Binding RealConvertSource.Count, StringFormat=\{0:d\}}" Grid.Column="1"/>
363
                </Grid>
364
            </telerik:RadExpander.Header>
365
            <telerik:RadGridView Name="dataGrid2" GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"
366
                                                         ItemsSource="{Binding RealConvertSource}"
367
                             SelectedItem="{Binding SelectRealConvert, Mode=TwoWay}"
368
                             RowDetailsTemplate="{StaticResource RowDetailsTemplate}"
369
                                                         AutoGenerateColumns="False" CanUserFreezeColumns="False"
370
                             ColumnWidth="*"
371
                             Grid.Row="1"  ScrollViewer.CanContentScroll="False" IsFilteringAllowed="True">
372
                <telerik:RadContextMenu.ContextMenu>
373
                    <telerik:RadContextMenu>
374
                        <telerik:RadMenuItem  Header="Convert"  Command="{Binding ConvertCommand}" CommandParameter="{Binding SelectRealConvert}"/>
375
                        <telerik:RadMenuItem Header="Validation"  Command="{Binding ValidateCommand}" CommandParameter="{Binding SelectRealConvert}"/>
376
                        <telerik:RadMenuItem Header="Delete"  Command="{Binding DeleteCommand}" CommandParameter="{Binding SelectRealConvert}"/>
377
                        <telerik:RadMenuItem Header="Stop Process"  Command="{Binding Stop_ProcessCommand}" CommandParameter="{Binding SelectRealConvert}" />
378
                    </telerik:RadContextMenu>
379
                </telerik:RadContextMenu.ContextMenu>
380
                <telerik:RadGridView.Columns>
381
                    <telerik:GridViewToggleRowDetailsColumn />
382
                    <controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" />
383
384
                    <telerik:GridViewDataColumn Header="Convert ID" 
385
                                                                                        DataMemberBinding="{Binding ConvertID}" Width="*" />
386
387
                    <telerik:GridViewDataColumn Header="Markus " Width="0.5*" CellStyle="{StaticResource StretchCellStyle}">
388
                        <telerik:GridViewDataColumn.CellTemplate>
389
                            <DataTemplate>
390
                                <telerik:RadButton Content="Click "  BorderThickness="0" Background="Transparent"
391
                                                   Command="{Binding MarkusLinkCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/>
392
                            </DataTemplate>
393
                        </telerik:GridViewDataColumn.CellTemplate>
394
                    </telerik:GridViewDataColumn>
395
                    <telerik:GridViewDataColumn Header="ProjectNO" 
396
                                                                                        DataMemberBinding="{Binding ProjectNumber}" Width="*" />
397
                    <telerik:GridViewDataColumn Header="DocumentID"
398
                                                                                        DataMemberBinding="{Binding DocumentID}" Width="*" />
399
                    <telerik:GridViewDataColumn Header="ConvertState"
400
                                                                                        DataMemberBinding="{Binding ConvertState}" Width="*" />
401
                    <telerik:GridViewDataColumn Header="DocInfoID"
402
                                                                                        DataMemberBinding="{Binding DocInfo_ID}" Width="*" />
403
                    <telerik:GridViewDataColumn Header="MarkusInfoID"
404
                                                                                        DataMemberBinding="{Binding MarkupInfo_ID}" Width="*" />
405
                    <telerik:GridViewDataColumn Header="Create UserID"
406
                                                                                        DataMemberBinding="{Binding Create_User_ID}" Width="*" />
407
                    <telerik:GridViewDataColumn Header="CurrentPageNo"
408
                                                                                        DataMemberBinding="{Binding CurrentPageNo, Mode=TwoWay}" Width="*" />
409
                    <telerik:GridViewDataColumn Header="TotalPageNo"
410
                                                                                        DataMemberBinding="{Binding TotalPage, Mode=TwoWay}" Width="*"  />
411
                    <telerik:GridViewDynamicHyperlinkColumn Header="원본파일"  CellStyle="{StaticResource OriginalFileGridViewCell}"
412
                                                        NavigateUrlFormatString=" {0}"
413
                                                                                                            NavigateUrlMemberPaths="OriginfilePath"
414
                                                                                                                Width="2*">
415
                        <telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
416
                            <DataTemplate>
417
                                <TextBlock Text="{Binding FileName}" HorizontalAlignment="Left" />
418
                            </DataTemplate>
419
                        </telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
420
                    </telerik:GridViewDynamicHyperlinkColumn>
421
422
                    <telerik:GridViewDataColumn Header=" ConvertPath" IsReadOnly="True" Width="*" CellStyle="{StaticResource StretchCellStyle}">
423
                        <telerik:GridViewDataColumn.CellTemplate>
424
                            <DataTemplate>
425
                                <Grid>
426
                                    <Grid.ColumnDefinitions>
427
                                        <ColumnDefinition/>
428
                                        <ColumnDefinition Width="Auto"/>
429
                                    </Grid.ColumnDefinitions>
430
                                    <TextBox TextAlignment="Left" Text="{Binding ConvertPath}" Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black"/>
431
                                    <telerik:RadButton Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black" Grid.Column="1"
432
                                                   Command="{Binding FinalPDFPathFileSearchCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}">
433
                                        <Image Source="/Markus.Service.StationController;component/Resources/File_Search_Icon.png"  Stretch="None" />
434
                                    </telerik:RadButton>
435
                                </Grid>
436
                            </DataTemplate>
437
                        </telerik:GridViewDataColumn.CellTemplate>
438
                    </telerik:GridViewDataColumn>
439
440
                    <telerik:GridViewDataColumn Header="CreateTime" 
441
                                                                                        DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
442
                    <telerik:GridViewDataColumn Header="StartTime" IsReadOnly="True"   Background="Transparent" 
443
                                                                                        DataMemberBinding="{Binding StartTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
444
                    <telerik:GridViewDataColumn Header="EndTime" IsReadOnly="True"   Background="Transparent" 
445
                                                                                        DataMemberBinding="{Binding EndTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
446
                    <telerik:GridViewDataColumn Header="TotalTime" IsReadOnly="True"   Background="Transparent" 
447
                                                                                        DataMemberBinding="{Binding TotalTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
448
                </telerik:RadGridView.Columns>
449
            </telerik:RadGridView>
450
        </telerik:RadExpander>
451
452
        <telerik:RadExpander Grid.Row="5" ExpandDirection="Down" BorderThickness="0"  VerticalAlignment="Stretch" Margin="0,0,0,10"
453
                  ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto" 
454
                             telerik:AnimationManager.IsAnimationEnabled="False"  IsExpanded ="{Binding AliveShow, Mode=TwoWay}">
455
            <telerik:RadExpander.Header>
456
                <Grid>
457
                    <Grid.ColumnDefinitions>
458
                        <ColumnDefinition Width="Auto"/>
459
                        <ColumnDefinition Width="Auto"/>
460
                    </Grid.ColumnDefinitions>
461
                    <TextBlock Text="Alive FinalPDF Items : " Grid.RowSpan="2"/>
462
                    <TextBlock Text="{Binding AliveItems.Count, StringFormat=\{0:d\}}" Grid.Column="1" Grid.RowSpan="2"/>
463
                </Grid>
464
            </telerik:RadExpander.Header>
465
            <telerik:RadGridView GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"
466
                                                         ItemsSource="{Binding AliveItems}"
467
                             SelectedItem="{Binding SelectAliveConvert, Mode=TwoWay}"
468
                                                         AutoGenerateColumns="False" CanUserFreezeColumns="False" RowDetailsTemplate="{StaticResource RowDetailsTemplate}"
469
                             ColumnWidth="*"  ScrollViewer.CanContentScroll="False" IsFilteringAllowed="True" Grid.Row="1" >
470
                <telerik:RadContextMenu.ContextMenu>
471
                    <telerik:RadContextMenu>
472
                        <telerik:RadMenuItem Header="Stop Process"  Command="{Binding Stop_ProcessCommand}" CommandParameter="{Binding SelectAliveConvert}"/>
473
                    </telerik:RadContextMenu>
474
                </telerik:RadContextMenu.ContextMenu>
475
                <telerik:RadGridView.Columns>
476
                    <telerik:GridViewToggleRowDetailsColumn />
477
                    <controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" />
478
479
                    <telerik:GridViewDataColumn Header="Convert ID" 
480
                                                                                        DataMemberBinding="{Binding ConvertID}" Width="*" />
481
482
                    <telerik:GridViewDataColumn Header="Markus " Width="0.5*" CellStyle="{StaticResource StretchCellStyle}">
483
                        <telerik:GridViewDataColumn.CellTemplate>
484
                            <DataTemplate>
485
                                <telerik:RadButton Content="Click "  BorderThickness="0" Background="Transparent"
486
                                                   Command="{Binding MarkusLinkCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/>
487
                            </DataTemplate>
488
                        </telerik:GridViewDataColumn.CellTemplate>
489
                    </telerik:GridViewDataColumn>
490
                    <telerik:GridViewDataColumn Header="ProjectNO" 
491
                                                                                        DataMemberBinding="{Binding ProjectNumber}" Width="*" />
492
                    <telerik:GridViewDataColumn Header="DocumentID"
493
                                                                                        DataMemberBinding="{Binding DocumentID}" Width="*" />
494
                    <telerik:GridViewDataColumn Header="ConvertState"
495
                                                                                        DataMemberBinding="{Binding ConvertState}" Width="*" />
496
                    <telerik:GridViewDataColumn Header="DocInfoID"
497
                                                                                        DataMemberBinding="{Binding DocInfo_ID}" Width="*" />
498
                    <telerik:GridViewDataColumn Header="MarkusInfoID"
499
                                                                                        DataMemberBinding="{Binding MarkupInfo_ID}" Width="*" />
500
                    <telerik:GridViewDataColumn Header="Create UserID"
501
                                                                                        DataMemberBinding="{Binding Create_User_ID}" Width="*" />
502
                    <telerik:GridViewDataColumn Header="CurrentPageNo"
503
                                                                                        DataMemberBinding="{Binding CurrentPageNo, Mode=TwoWay}" Width="*" />
504
                    <telerik:GridViewDataColumn Header="TotalPageNo"
505
                                                                                        DataMemberBinding="{Binding TotalPage, Mode=TwoWay}" Width="*"  />
506
                    <telerik:GridViewDynamicHyperlinkColumn Header="원본파일"  CellStyle="{StaticResource OriginalFileGridViewCell}"
507
                                                        NavigateUrlFormatString=" {0}"
508
                                                                                                            NavigateUrlMemberPaths="OriginfilePath"
509
                                                                                                                Width="2*">
510
                        <telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
511
                            <DataTemplate>
512
                                <TextBlock Text="{Binding FileName}" HorizontalAlignment="Left"/>
513
                            </DataTemplate>
514
                        </telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
515
                    </telerik:GridViewDynamicHyperlinkColumn>
516
                    
517
                    <telerik:GridViewDataColumn Header=" ConvertPath" IsReadOnly="True" Width="*" CellStyle="{StaticResource StretchCellStyle}">
518
                        <telerik:GridViewDataColumn.CellTemplate>
519
                            <DataTemplate>
520
                                <Grid>
521
                                    <Grid.ColumnDefinitions>
522
                                        <ColumnDefinition/>
523
                                        <ColumnDefinition Width="Auto"/>
524
                                    </Grid.ColumnDefinitions>
525
                                    <TextBox TextAlignment="Left" Text="{Binding ConvertPath}" Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black"/>
526
                                    <telerik:RadButton Grid.Column="1" Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black" 
527
                                                   Command="{Binding FinalPDFPathFileSearchCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}">
528
                                        <Image Source="/Markus.Service.StationController;component/Resources/File_Search_Icon.png"  Stretch="None" />
529
                                    </telerik:RadButton>
530
                                </Grid>
531
                            </DataTemplate>
532
                        </telerik:GridViewDataColumn.CellTemplate>
533
                    </telerik:GridViewDataColumn>
534
535
                    <telerik:GridViewDataColumn Header="CreateTime" 
536
                                                                                        DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
537
                    <telerik:GridViewDataColumn Header="StartTime" IsReadOnly="True"   Background="Transparent" 
538
                                                                                        DataMemberBinding="{Binding StartTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
539
                    <telerik:GridViewDataColumn Header="EndTime" IsReadOnly="True"   Background="Transparent" 
540
                                                                                        DataMemberBinding="{Binding EndTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
541
                    <telerik:GridViewDataColumn Header="TotalTime" IsReadOnly="True"   Background="Transparent" 
542
                                                                                        DataMemberBinding="{Binding TotalTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
543
                </telerik:RadGridView.Columns>
544
            </telerik:RadGridView>
545
        </telerik:RadExpander>
546
547
    </Grid>
548
</UserControl>
클립보드 이미지 추가 (최대 크기: 500 MB)