프로젝트

일반

사용자정보

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

markus / ConvertService / ServiceBase / Markus.Service.StationController / Views / FinalPDFView.xaml @ 29cd086e

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

1
<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
            <telerik:RadComboBox Width="100" SelectedItem="{Binding SelectedStatus, Mode=TwoWay}" SelectedIndex="4"
88
                   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

    
92

    
93
        <Grid Grid.Row="1">
94
            <Grid.Style>
95
                <Style>
96
                    <Setter Property="TextBlock.Margin" Value="20,0,0,0"/>
97
                </Style>
98
            </Grid.Style>
99
            <Grid.RowDefinitions>
100
                <RowDefinition />
101
                <RowDefinition />
102
            </Grid.RowDefinitions>
103
            <Grid Grid.Row="0">
104
                <Grid.RowDefinitions>
105
                    <RowDefinition Height="10"/>
106
                    <RowDefinition />
107
                    <RowDefinition Height="10"/>
108
                    <RowDefinition />
109
                    <RowDefinition Height="10" />
110
                    <RowDefinition />
111
                    <RowDefinition Height="10" />
112
                </Grid.RowDefinitions>
113
                <Grid.ColumnDefinitions>
114
                    <ColumnDefinition Width="Auto"/>
115
                    <ColumnDefinition Width="*" />
116
                    <ColumnDefinition Width="10"/>
117
                    <ColumnDefinition Width="Auto"/>
118
                    <ColumnDefinition Width="*"/>
119
                    <ColumnDefinition Width="10"/>
120
                    <ColumnDefinition Width="Auto"/>
121
                    <ColumnDefinition Width="*"/>
122
                    <ColumnDefinition Width="10"/>
123
                    <ColumnDefinition Width="Auto"/>
124
                    <ColumnDefinition Width="*"/>
125
                </Grid.ColumnDefinitions>
126
                <TextBlock Text="Project NO  " Grid.Row="1" Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Left"/>
127
                <telerik:RadComboBox Grid.Row="1" Grid.Column="1" HorizontalAlignment="Stretch"
128
                                         DisplayMemberPath="Project_NOAndProject_Name"
129
                                         ItemsSource="{Binding ProjectNames}" 
130
                                         SelectedItem="{Binding ProjectNumberFilter}"
131
                                         AllowMultipleSelection="False"
132
                                         EmptyText="Project_NO : Project_Name"/>
133

    
134
                <TextBlock Text="Document ID  " Grid.Row="1" Grid.Column="3" VerticalAlignment="Center" HorizontalAlignment="Left"/>
135
                <telerik:RadMaskedTextInput IsClearButtonVisible="True"  EmptyContent="DocumentID" Value="{Binding DocumentIDFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
136
                                                        TextMode="PlainText" Grid.Row="1" Grid.Column="4" HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="2,0"
137
                                                maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""/>
138

    
139
                <TextBlock Text="MarkupInfo ID  " Grid.Row="1" Grid.Column="6"   VerticalAlignment="Center" HorizontalAlignment="Left"/>
140
                <telerik:RadMaskedTextInput IsClearButtonVisible="True" EmptyContent="MarkupInfo ID " Value="{Binding MarkupInfo_IDFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
141
                                                        TextMode="PlainText" Grid.Row="1" Grid.Column="7" HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="2,0"
142
                                                maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""/>
143

    
144
                <TextBlock Text="Docuemnt Name  " Grid.Row="3" Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Left"/>
145
                <telerik:RadMaskedTextInput IsClearButtonVisible="True"  EmptyContent="Docuemnt Name" Value="{Binding Document_NameFilter , UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
146
                               TextMode="PlainText" Grid.Row="3" Grid.Column="1" HorizontalContentAlignment="Stretch"  VerticalAlignment="Bottom" HorizontalAlignment="Stretch" Margin="2,0"
147
                                                maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""/>
148

    
149
                <TextBlock Text="Docuemnt NO  " Grid.Row="3" Grid.Column="3"  VerticalAlignment="Center" HorizontalAlignment="Left"/>
150
                <telerik:RadMaskedTextInput IsClearButtonVisible="True" EmptyContent="Docuemnt NO" Value="{Binding Document_NOFilter , UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
151
                           TextMode="PlainText" Grid.Row="3" Grid.Column="4"   HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="2,0"
152
                                                maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""/>
153
                <TextBlock Text="CreateUser ID " Grid.Row="3" Grid.Column="6"  VerticalAlignment="Center" HorizontalAlignment="Left"/>
154
                <telerik:RadMaskedTextInput IsClearButtonVisible="True"   EmptyContent="CreateUser ID "  Value="{Binding CreateUser_IDFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
155
                            TextMode="PlainText" Grid.Row="3" Grid.Column="7"  HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="2,0"
156
                                                maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""/>
157
                <TextBlock Text="DocInfo ID " Grid.Row="1" Grid.Column="9"  VerticalAlignment="Center" HorizontalAlignment="Left"/>
158
                <telerik:RadMaskedTextInput IsClearButtonVisible="True"  EmptyContent="DocInfo ID"  Value="{Binding DOCINFO_IDFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
159
                         TextMode="PlainText" Grid.Row="1" Grid.Column="10"   HorizontalAlignment="Stretch"   VerticalAlignment="Center" Margin="2,0"
160
                                                maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""/>
161
                <TextBlock Text="GROUP NO " Grid.Row="3" Grid.Column="9"  VerticalAlignment="Center" HorizontalAlignment="Left"/>
162
                <telerik:RadMaskedTextInput IsClearButtonVisible="True"  EmptyContent="GROUP NO"  Value="{Binding GROUP_NOFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
163
                         TextMode="PlainText" Grid.Row="3" Grid.Column="10"   HorizontalAlignment="Stretch"   VerticalAlignment="Center" Margin="2,0"
164
                                                maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""/>
165
                <TextBlock Text="REVISION " Grid.Row="5" Grid.Column="0"  VerticalAlignment="Center" HorizontalAlignment="Left"/>
166
                <telerik:RadMaskedTextInput IsClearButtonVisible="True"  EmptyContent="REVISION"  Value="{Binding REVISIONFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
167
                         TextMode="PlainText" Grid.Row="5" Grid.Column="1"   HorizontalAlignment="Stretch"   VerticalAlignment="Center" Margin="2,0"
168
                                                maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""/>
169

    
170
                <TextBlock Text="DOCUMENT_URL " Grid.Row="5" Grid.Column="3"  VerticalAlignment="Center" HorizontalAlignment="Left"/>
171
                <telerik:RadMaskedTextInput IsClearButtonVisible="True"  EmptyContent="DOCUMENT_URL"  Value="{Binding Document_URLFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
172
                         TextMode="PlainText" Grid.Row="5" Grid.Column="4"   HorizontalAlignment="Stretch"   VerticalAlignment="Center" Margin="2,0" Grid.ColumnSpan="7"
173
                                                maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""/>
174
            </Grid>
175

    
176
            <StackPanel Grid.Row="4" Grid.ColumnSpan="11">
177
                <StackPanel Orientation="Horizontal">
178
                    <TextBlock Text="CreateTime  " VerticalAlignment="Center" Width="102"/>
179
                    <telerik:RadDateTimePicker x:Name="datePicker1" Width="200"
180
                                   InputMode="DateTimePicker"  
181
                                   VerticalAlignment="Center"
182
                                   HorizontalAlignment="Stretch"
183
                                   SelectedValue="{Binding SelectedCreateTimeBegin ,Mode=TwoWay,  UpdateSourceTrigger=PropertyChanged }" >
184
                    </telerik:RadDateTimePicker>
185
                    <TextBlock Text="  ~  " VerticalAlignment="Center"/>
186
                    <telerik:RadDateTimePicker x:Name="datePicker2"  Width="200"
187
                                   InputMode="DateTimePicker"  HorizontalAlignment="Stretch"
188
                                   VerticalAlignment="Center"
189
                                   SelectedValue="{Binding SelectedCreateTimeEnd ,Mode=TwoWay,  UpdateSourceTrigger=PropertyChanged}"
190
                                   Margin="0,1">
191
                    </telerik:RadDateTimePicker>
192
                    <Button Content="Clear" Margin="5"  Width="50" Height="20" HorizontalAlignment="Left" Command="{Binding RemoveCreateTimeFilterCommand, Mode=OneWay}"/>
193

    
194
                    <CheckBox IsChecked="{Binding ExcptionCheck, Mode=TwoWay}">Excption is not NULL</CheckBox>
195
                </StackPanel>
196
            </StackPanel>
197
        </Grid>
198

    
199
        <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Grid.Row="2">
200
            <telerik:RadToggleButton Content=" Convert 추가" Command="{Binding ConverAddCommand, Mode=OneWay}" Width="100" Margin="0,0,20,0" HorizontalAlignment="Right"/>
201
            <telerik:RadToggleButton Content=" 검색" Command="{Binding DataFilterCommand, Mode=OneWay}" Width="100" Margin="0,0,20,0" HorizontalAlignment="Right"/>
202
            <telerik:RadToggleButton Content=" 초기화" Command="{Binding ResetCommand, Mode=OneWay}" Width="100" Margin="0,0,20,0" HorizontalAlignment="Right"/>
203
        </StackPanel>
204

    
205

    
206
        <telerik:RadExpander ExpandDirection="Down"  BorderThickness="0" Grid.Row="3"
207
                  ScrollViewer.HorizontalScrollBarVisibility="Auto"  ScrollViewer.VerticalScrollBarVisibility="Auto"  IsExpanded="True" 
208
                             telerik:AnimationManager.IsAnimationEnabled="False" >
209
            <telerik:RadExpander.Header>
210
                <Grid>
211
                    <Grid.ColumnDefinitions>
212
                        <ColumnDefinition Width="Auto"/>
213
                        <ColumnDefinition Width="Auto"/>
214
                    </Grid.ColumnDefinitions>
215
                    <TextBlock Text="Final PDF Items : "/>
216
                    <TextBlock Text="{Binding SelectedCount.DisplayMember, StringFormat=\{0:d\}}" Grid.Column="1"/>
217
                </Grid>
218
            </telerik:RadExpander.Header>
219

    
220
            <telerik:RadGridView x:Name="dataGrid1"  GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"  
221
                                                         ItemsSource="{Binding FilterConvertSourceView}" 
222
                             SelectionMode="Extended"
223
                             SelectionUnit="FullRow"
224
                             CanUserSelect ="True"
225
                             RowDetailsTemplate="{StaticResource RowDetailsTemplate}"  
226
                                                         AutoGenerateColumns="False"
227
                             ColumnWidth="*" CanUserFreezeColumns="False"
228
                             Grid.Row="1"  ScrollViewer.CanContentScroll="True" IsFilteringAllowed="True"
229
                             LeftFrozenColumnCount="6" 
230
                             RightFrozenColumnCount="0">
231
                <i:Interaction.Behaviors>
232
                    <controls:GridViewSelectionUtilities SelectedItems="{Binding SelectFilterConvertList, Source={StaticResource FinalPDFViewModel}}" />
233
                </i:Interaction.Behaviors>
234
                <telerik:RadContextMenu.ContextMenu>
235
                    <telerik:RadContextMenu x:Name= "GridContextMenu">
236
                        <telerik:RadMenuItem  Header="Convert"  Command="{Binding ConvertCommand}"/>
237
                        <telerik:RadMenuItem Header="Validation"  Command="{Binding ValidateCommand}"/>
238
                        <telerik:RadMenuItem Header="Delete"  Command="{Binding DeleteCommand}"/>
239
                    </telerik:RadContextMenu>
240
                </telerik:RadContextMenu.ContextMenu>
241
                <telerik:RadGridView.Columns>
242
                    <telerik:GridViewToggleRowDetailsColumn />
243
                    <controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" />
244

    
245
                    <telerik:GridViewDataColumn Header="Convert ID" 
246
                                                                                        DataMemberBinding="{Binding ConvertID}" Width="*" />
247
                    <telerik:GridViewDataColumn x:Name="commend" Header="Markus " Width="0.5*"  CellStyle="{StaticResource StretchCellStyle}">
248
                        <telerik:GridViewDataColumn.CellTemplate>
249
                            <DataTemplate>
250
                                <telerik:RadButton Content="Click" BorderThickness="0"
251
                                                   Background="Transparent"
252
                                                   Command="{Binding MarkusLinkCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/>
253
                            </DataTemplate>
254
                        </telerik:GridViewDataColumn.CellTemplate>
255
                    </telerik:GridViewDataColumn>
256
                    <telerik:GridViewDataColumn Header="ProjectNO" 
257
                                                                                        DataMemberBinding="{Binding ProjectNumber}" Width="*" />
258
                    <telerik:GridViewDataColumn Header="DocumentID"
259
                                                                                        DataMemberBinding="{Binding DocumentID}" Width="*" />
260
                    <telerik:GridViewDataColumn Header="ConvertState"
261
                                                                                        DataMemberBinding="{Binding ConvertState}" Width="*" />
262
                    <telerik:GridViewDataColumn Header="DocInfoID"
263
                                                                                        DataMemberBinding="{Binding DocInfo_ID}" Width="*" />
264
                    <telerik:GridViewDataColumn Header="MarkusInfoID"
265
                                                                                        DataMemberBinding="{Binding MarkupInfo_ID}" Width="*" />
266
                    <telerik:GridViewDataColumn Header="Create UserID"
267
                                                                                        DataMemberBinding="{Binding Create_User_ID}" Width="*" />
268
                    <telerik:GridViewDataColumn Header="CurrentPageNo"
269
                                                                                        DataMemberBinding="{Binding CurrentPageNo, Mode=TwoWay}" Width="*" />
270
                    <telerik:GridViewDataColumn Header="TotalPageNo"
271
                                                                                        DataMemberBinding="{Binding TotalPage, Mode=TwoWay}" Width="*"  />
272
                    <telerik:GridViewDynamicHyperlinkColumn Header="원본파일"  CellStyle="{StaticResource OriginalFileGridViewCell}"
273
                                                        NavigateUrlFormatString=" {0}"
274
                                                                                                            NavigateUrlMemberPaths="OriginfilePath"
275
                                                                                                                Width="2*">
276
                        <telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
277
                            <DataTemplate>
278
                                <TextBlock Text="{Binding FileName}" HorizontalAlignment="Left"/>
279
                            </DataTemplate>
280
                        </telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
281
                    </telerik:GridViewDynamicHyperlinkColumn>
282

    
283
                    <telerik:GridViewDataColumn Header=" ConvertPath" IsReadOnly="True" Width="*" CellStyle="{StaticResource StretchCellStyle}">
284
                        <telerik:GridViewDataColumn.CellTemplate>
285
                            <DataTemplate>
286
                                <Grid>
287
                                    <Grid.ColumnDefinitions>
288
                                        <ColumnDefinition/>
289
                                        <ColumnDefinition Width="Auto"/>
290
                                    </Grid.ColumnDefinitions>
291
                                    <TextBox TextAlignment="Left" Text="{Binding ConvertPath}" Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black"/>
292
                                    <telerik:RadButton Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black" Grid.Column="1"
293
                                                   Command="{Binding FinalPDFPathFileSearchCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}">
294
                                        <Image Source="/Markus.Service.StationController;component/Resources/File_Search_Icon.png"  Stretch="None" />
295
                                    </telerik:RadButton>
296
                                </Grid>
297
                            </DataTemplate>
298
                        </telerik:GridViewDataColumn.CellTemplate>
299
                    </telerik:GridViewDataColumn>
300
                    <telerik:GridViewDataColumn Header="CreateTime" 
301
                                                                                        DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*"  />
302
                    <telerik:GridViewDataColumn Header="StartTime" IsReadOnly="True"   Background="Transparent" 
303
                                                                                        DataMemberBinding="{Binding StartTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
304
                    <telerik:GridViewDataColumn Header="EndTime" IsReadOnly="True"   Background="Transparent" 
305
                                                                                        DataMemberBinding="{Binding EndTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
306
                    <telerik:GridViewDataColumn Header="TotalTime" IsReadOnly="True"   Background="Transparent" 
307
                                                                                        DataMemberBinding="{Binding TotalTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
308
                </telerik:RadGridView.Columns>
309
            </telerik:RadGridView>
310
        </telerik:RadExpander>
311

    
312
        <telerik:RadExpander Grid.Row="4" ExpandDirection="Down" BorderThickness="0"
313
                  ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto"
314
                             telerik:AnimationManager.IsAnimationEnabled="False" IsExpanded ="{Binding ConvertShow, Mode=TwoWay}">
315
            <telerik:RadExpander.Header>
316
                <Grid>
317
                    <Grid.ColumnDefinitions>
318
                        <ColumnDefinition Width="Auto"/>
319
                        <ColumnDefinition Width="Auto"/>
320
                    </Grid.ColumnDefinitions>
321
                    <TextBlock Text="Real FinalPDF Items : "/>
322
                    <TextBlock Text="{Binding RealConvertSource.Count, StringFormat=\{0:d\}}" Grid.Column="1"/>
323
                </Grid>
324
            </telerik:RadExpander.Header>
325
            <telerik:RadGridView Name="dataGrid2" GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"
326
                                                         ItemsSource="{Binding RealConvertSource}"
327
                             SelectedItem="{Binding SelectRealConvert, Mode=TwoWay}"
328
                             RowDetailsTemplate="{StaticResource RowDetailsTemplate}"
329
                                                         AutoGenerateColumns="False" CanUserFreezeColumns="False"
330
                             ColumnWidth="*"
331
                             Grid.Row="1"  ScrollViewer.CanContentScroll="False" IsFilteringAllowed="True">
332
                <telerik:RadContextMenu.ContextMenu>
333
                    <telerik:RadContextMenu>
334
                        <telerik:RadMenuItem  Header="Convert"  Command="{Binding ConvertCommand}" CommandParameter="{Binding SelectRealConvert}"/>
335
                        <telerik:RadMenuItem Header="Validation"  Command="{Binding ValidateCommand}" CommandParameter="{Binding SelectRealConvert}"/>
336
                        <telerik:RadMenuItem Header="Delete"  Command="{Binding DeleteCommand}" CommandParameter="{Binding SelectRealConvert}"/>
337
                        <telerik:RadMenuItem Header="Stop Process"  Command="{Binding Stop_ProcessCommand}" CommandParameter="{Binding SelectRealConvert}" />
338
                    </telerik:RadContextMenu>
339
                </telerik:RadContextMenu.ContextMenu>
340
                <telerik:RadGridView.Columns>
341
                    <telerik:GridViewToggleRowDetailsColumn />
342
                    <controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" />
343

    
344
                    <telerik:GridViewDataColumn Header="Convert ID" 
345
                                                                                        DataMemberBinding="{Binding ConvertID}" Width="*" />
346

    
347
                    <telerik:GridViewDataColumn Header="Markus " Width="0.5*" CellStyle="{StaticResource StretchCellStyle}">
348
                        <telerik:GridViewDataColumn.CellTemplate>
349
                            <DataTemplate>
350
                                <telerik:RadButton Content="Click "  BorderThickness="0" Background="Transparent"
351
                                                   Command="{Binding MarkusLinkCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/>
352
                            </DataTemplate>
353
                        </telerik:GridViewDataColumn.CellTemplate>
354
                    </telerik:GridViewDataColumn>
355
                    <telerik:GridViewDataColumn Header="ProjectNO" 
356
                                                                                        DataMemberBinding="{Binding ProjectNumber}" Width="*" />
357
                    <telerik:GridViewDataColumn Header="DocumentID"
358
                                                                                        DataMemberBinding="{Binding DocumentID}" Width="*" />
359
                    <telerik:GridViewDataColumn Header="ConvertState"
360
                                                                                        DataMemberBinding="{Binding ConvertState}" Width="*" />
361
                    <telerik:GridViewDataColumn Header="DocInfoID"
362
                                                                                        DataMemberBinding="{Binding DocInfo_ID}" Width="*" />
363
                    <telerik:GridViewDataColumn Header="MarkusInfoID"
364
                                                                                        DataMemberBinding="{Binding MarkupInfo_ID}" Width="*" />
365
                    <telerik:GridViewDataColumn Header="Create UserID"
366
                                                                                        DataMemberBinding="{Binding Create_User_ID}" Width="*" />
367
                    <telerik:GridViewDataColumn Header="CurrentPageNo"
368
                                                                                        DataMemberBinding="{Binding CurrentPageNo, Mode=TwoWay}" Width="*" />
369
                    <telerik:GridViewDataColumn Header="TotalPageNo"
370
                                                                                        DataMemberBinding="{Binding TotalPage, Mode=TwoWay}" Width="*"  />
371
                    <telerik:GridViewDynamicHyperlinkColumn Header="원본파일"  CellStyle="{StaticResource OriginalFileGridViewCell}"
372
                                                        NavigateUrlFormatString=" {0}"
373
                                                                                                            NavigateUrlMemberPaths="OriginfilePath"
374
                                                                                                                Width="2*">
375
                        <telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
376
                            <DataTemplate>
377
                                <TextBlock Text="{Binding FileName}" HorizontalAlignment="Left" />
378
                            </DataTemplate>
379
                        </telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
380
                    </telerik:GridViewDynamicHyperlinkColumn>
381

    
382
                    <telerik:GridViewDataColumn Header=" ConvertPath" IsReadOnly="True" Width="*" CellStyle="{StaticResource StretchCellStyle}">
383
                        <telerik:GridViewDataColumn.CellTemplate>
384
                            <DataTemplate>
385
                                <Grid>
386
                                    <Grid.ColumnDefinitions>
387
                                        <ColumnDefinition/>
388
                                        <ColumnDefinition Width="Auto"/>
389
                                    </Grid.ColumnDefinitions>
390
                                    <TextBox TextAlignment="Left" Text="{Binding ConvertPath}" Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black"/>
391
                                    <telerik:RadButton Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black" Grid.Column="1"
392
                                                   Command="{Binding FinalPDFPathFileSearchCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}">
393
                                        <Image Source="/Markus.Service.StationController;component/Resources/File_Search_Icon.png"  Stretch="None" />
394
                                    </telerik:RadButton>
395
                                </Grid>
396
                            </DataTemplate>
397
                        </telerik:GridViewDataColumn.CellTemplate>
398
                    </telerik:GridViewDataColumn>
399

    
400
                    <telerik:GridViewDataColumn Header="CreateTime" 
401
                                                                                        DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
402
                    <telerik:GridViewDataColumn Header="StartTime" IsReadOnly="True"   Background="Transparent" 
403
                                                                                        DataMemberBinding="{Binding StartTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
404
                    <telerik:GridViewDataColumn Header="EndTime" IsReadOnly="True"   Background="Transparent" 
405
                                                                                        DataMemberBinding="{Binding EndTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
406
                    <telerik:GridViewDataColumn Header="TotalTime" IsReadOnly="True"   Background="Transparent" 
407
                                                                                        DataMemberBinding="{Binding TotalTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
408
                </telerik:RadGridView.Columns>
409
            </telerik:RadGridView>
410
        </telerik:RadExpander>
411

    
412
        <telerik:RadExpander Grid.Row="5" ExpandDirection="Down" BorderThickness="0"  VerticalAlignment="Stretch" Margin="0,0,0,10"
413
                  ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto" 
414
                             telerik:AnimationManager.IsAnimationEnabled="False"  IsExpanded ="{Binding AliveShow, Mode=TwoWay}">
415
            <telerik:RadExpander.Header>
416
                <Grid>
417
                    <Grid.ColumnDefinitions>
418
                        <ColumnDefinition Width="Auto"/>
419
                        <ColumnDefinition Width="Auto"/>
420
                    </Grid.ColumnDefinitions>
421
                    <TextBlock Text="Alive FinalPDF Items : " Grid.RowSpan="2"/>
422
                    <TextBlock Text="{Binding AliveItems.Count, StringFormat=\{0:d\}}" Grid.Column="1" Grid.RowSpan="2"/>
423
                </Grid>
424
            </telerik:RadExpander.Header>
425
            <telerik:RadGridView GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"
426
                                                         ItemsSource="{Binding AliveItems}"
427
                             SelectedItem="{Binding SelectAliveConvert, Mode=TwoWay}"
428
                                                         AutoGenerateColumns="False" CanUserFreezeColumns="False" RowDetailsTemplate="{StaticResource RowDetailsTemplate}"
429
                             ColumnWidth="*"  ScrollViewer.CanContentScroll="False" IsFilteringAllowed="True" Grid.Row="1" >
430
                <telerik:RadContextMenu.ContextMenu>
431
                    <telerik:RadContextMenu>
432
                        <telerik:RadMenuItem Header="Stop Process"  Command="{Binding Stop_ProcessCommand}" CommandParameter="{Binding SelectAliveConvert}"/>
433
                    </telerik:RadContextMenu>
434
                </telerik:RadContextMenu.ContextMenu>
435
                <telerik:RadGridView.Columns>
436
                    <telerik:GridViewToggleRowDetailsColumn />
437
                    <controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" />
438

    
439
                    <telerik:GridViewDataColumn Header="Convert ID" 
440
                                                                                        DataMemberBinding="{Binding ConvertID}" Width="*" />
441

    
442
                    <telerik:GridViewDataColumn Header="Markus " Width="0.5*" CellStyle="{StaticResource StretchCellStyle}">
443
                        <telerik:GridViewDataColumn.CellTemplate>
444
                            <DataTemplate>
445
                                <telerik:RadButton Content="Click "  BorderThickness="0" Background="Transparent"
446
                                                   Command="{Binding MarkusLinkCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/>
447
                            </DataTemplate>
448
                        </telerik:GridViewDataColumn.CellTemplate>
449
                    </telerik:GridViewDataColumn>
450
                    <telerik:GridViewDataColumn Header="ProjectNO" 
451
                                                                                        DataMemberBinding="{Binding ProjectNumber}" Width="*" />
452
                    <telerik:GridViewDataColumn Header="DocumentID"
453
                                                                                        DataMemberBinding="{Binding DocumentID}" Width="*" />
454
                    <telerik:GridViewDataColumn Header="ConvertState"
455
                                                                                        DataMemberBinding="{Binding ConvertState}" Width="*" />
456
                    <telerik:GridViewDataColumn Header="DocInfoID"
457
                                                                                        DataMemberBinding="{Binding DocInfo_ID}" Width="*" />
458
                    <telerik:GridViewDataColumn Header="MarkusInfoID"
459
                                                                                        DataMemberBinding="{Binding MarkupInfo_ID}" Width="*" />
460
                    <telerik:GridViewDataColumn Header="Create UserID"
461
                                                                                        DataMemberBinding="{Binding Create_User_ID}" Width="*" />
462
                    <telerik:GridViewDataColumn Header="CurrentPageNo"
463
                                                                                        DataMemberBinding="{Binding CurrentPageNo, Mode=TwoWay}" Width="*" />
464
                    <telerik:GridViewDataColumn Header="TotalPageNo"
465
                                                                                        DataMemberBinding="{Binding TotalPage, Mode=TwoWay}" Width="*"  />
466
                    <telerik:GridViewDynamicHyperlinkColumn Header="원본파일"  CellStyle="{StaticResource OriginalFileGridViewCell}"
467
                                                        NavigateUrlFormatString=" {0}"
468
                                                                                                            NavigateUrlMemberPaths="OriginfilePath"
469
                                                                                                                Width="2*">
470
                        <telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
471
                            <DataTemplate>
472
                                <TextBlock Text="{Binding FileName}" HorizontalAlignment="Left"/>
473
                            </DataTemplate>
474
                        </telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
475
                    </telerik:GridViewDynamicHyperlinkColumn>
476
                    
477
                    <telerik:GridViewDataColumn Header=" ConvertPath" IsReadOnly="True" Width="*" CellStyle="{StaticResource StretchCellStyle}">
478
                        <telerik:GridViewDataColumn.CellTemplate>
479
                            <DataTemplate>
480
                                <Grid>
481
                                    <Grid.ColumnDefinitions>
482
                                        <ColumnDefinition/>
483
                                        <ColumnDefinition Width="Auto"/>
484
                                    </Grid.ColumnDefinitions>
485
                                    <TextBox TextAlignment="Left" Text="{Binding ConvertPath}" Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black"/>
486
                                    <telerik:RadButton Grid.Column="1" Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black" 
487
                                                   Command="{Binding FinalPDFPathFileSearchCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}">
488
                                        <Image Source="/Markus.Service.StationController;component/Resources/File_Search_Icon.png"  Stretch="None" />
489
                                    </telerik:RadButton>
490
                                </Grid>
491
                            </DataTemplate>
492
                        </telerik:GridViewDataColumn.CellTemplate>
493
                    </telerik:GridViewDataColumn>
494

    
495
                    <telerik:GridViewDataColumn Header="CreateTime" 
496
                                                                                        DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
497
                    <telerik:GridViewDataColumn Header="StartTime" IsReadOnly="True"   Background="Transparent" 
498
                                                                                        DataMemberBinding="{Binding StartTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
499
                    <telerik:GridViewDataColumn Header="EndTime" IsReadOnly="True"   Background="Transparent" 
500
                                                                                        DataMemberBinding="{Binding EndTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
501
                    <telerik:GridViewDataColumn Header="TotalTime" IsReadOnly="True"   Background="Transparent" 
502
                                                                                        DataMemberBinding="{Binding TotalTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
503
                </telerik:RadGridView.Columns>
504
            </telerik:RadGridView>
505
        </telerik:RadExpander>
506

    
507
    </Grid>
508
</UserControl>
509

    
클립보드 이미지 추가 (최대 크기: 500 MB)