프로젝트

일반

사용자정보

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

markus / KCOM / Views / TopMenu.xaml @ 01cbc243

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

1
<UserControl xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"  x:Class="KCOM.Views.TopMenu"
2
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:common="clr-namespace:KCOM.Common"
4
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
5
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
6
             xmlns:local="clr-namespace:KCOM.Views"
7
             mc:Ignorable="d" 
8
             d:DesignHeight="250" d:DesignWidth="1600">
9
             <!--d:DesignHeight="250" d:DesignWidth="1600">-->
10
    <UserControl.Resources>
11
        <Style TargetType="telerik:RadToggleButton">
12
            <Setter Property="telerik:StyleManager.Theme" Value="VisualStudio2013"/>
13
            <Setter Property="BorderThickness" Value="0"/>
14
            <Setter Property="Background" Value="Transparent"/>
15
        </Style>
16
        <Style TargetType="telerik:RadRibbonComboBox">
17
            <Setter Property="telerik:StyleManager.Theme" Value="VisualStudio2013"/>
18
        </Style>
19
        <Style TargetType="telerik:RadRibbonButton">
20
            <Setter Property="telerik:StyleManager.Theme" Value="VisualStudio2013"/>
21
        </Style>
22
        <Style TargetType="telerik:RadRibbonToggleButton">
23
            <Setter Property="telerik:StyleManager.Theme" Value="VisualStudio2013"/>
24
        </Style>
25
    </UserControl.Resources>
26
    <Grid>
27
        <telerik:RadRibbonView  Title="KCOM" ApplicationName="세부 내용 입력란" TitleBarVisibility="Collapsed" VerticalAlignment="Top" telerik:StyleManager.Theme="Office2016"
28
                                ApplicationButtonVisibility="Collapsed" BorderThickness="0.5" SelectedIndex="1"
29
                                x:Name="radRibbonView" MaxHeight="Infinity" IsApplicationMenuOpen="False" IsBackstageOpen="False" IsMinimizable="True" IsMinimized="False" 
30
                                QuickAccessToolBarPosition="AboveRibbon" MinimizeButtonVisibility="Visible">
31
            <!--<telerik:RadRibbonView.QuickAccessToolBar>
32
                <telerik:QuickAccessToolBar telerik:StyleManager.Theme="Office2016">
33
                    <telerik:QuickAccessToolBar>
34
                        <telerik:RadRibbonButton Text="Save" SmallImage="/KCOM;component/Resources/Images/MenuImage_new/topdf.png"
35
                                        Size="Small"
36
                                        telerik:KeyTipService.AccessText="1" />
37
                        <telerik:RadRibbonButton Text="Undo" SmallImage="/KCOM;component/Resources/Images/MenuImage_new/topdf.png"
38
                                        Size="Small"
39
                                        telerik:KeyTipService.AccessText="2" />
40
                        <telerik:RadRibbonButton Text="Print" SmallImage="/KCOM;component/Resources/Images/MenuImage_new/topdf.png"
41
                                        Size="Small"
42
                                        telerik:KeyTipService.AccessText="3" />
43
                    </telerik:QuickAccessToolBar>
44
                </telerik:QuickAccessToolBar>
45
            </telerik:RadRibbonView.QuickAccessToolBar>-->
46
            <telerik:RadRibbonView.BorderBrush>
47
                <SolidColorBrush Color="{DynamicResource {x:Static SystemColors.ActiveBorderColorKey}}"/>
48
            </telerik:RadRibbonView.BorderBrush>
49
            
50
            <telerik:RadRibbonTab Header="HOME" Visibility="Visible">                
51
                <telerik:RadRibbonGroup DialogLauncherVisibility="Collapsed"
52
                                        telerik:ScreenTip.Description="Show the File Task options."
53
                                        telerik:ScreenTip.Title="File"
54
                                        Visibility="Visible">
55
                    <telerik:RadOrderedWrapPanel>
56
                        <StackPanel Orientation="Horizontal">
57
                            <telerik:RadRibbonButton Content="Print" Size="Large" LargeImage="/KCOM;component/Resources/Images/MenuImage_new/printer.png" Click="PrintEvent"/>
58
                            <telerik:RadRibbonButton Content="Export"  Size="Large" LargeImage="/KCOM;component/Resources/Images/MenuImage_new/topdf.png" Click="PrintEvent"/>
59
                            <telerik:RadRibbonButton Content="SAVE" Size="Large" LargeImage="/KCOM;component/Resources/Images/MenuImage_new/diskette2.png" Click="SaveEvent"/>
60
                            <!--<telerik:RadRibbonButton Content="GO"  
61
                                                 LargeImage="/KCOM;component/Resources/Images/MenuImage_new/print.png"
62
                                                 Size="Large"/>-->
63
                        </StackPanel>
64
                    </telerik:RadOrderedWrapPanel>
65
                    <!--<telerik:RadCollapsiblePanel>
66
                        <telerik:RadRibbonButton
67
                                                       CollapseToMedium="WhenGroupIsMedium"
68
                                                       CollapseToSmall="WhenGroupIsSmall"
69
                                                       CommandParameter="Print"
70
                                                       LargeImage="/KCOM;component/Resources/Images/MenuImage_new/print.png"
71
                                                       Size="Medium"
72
                                                       Tag="Print"
73
                                                       telerik:ScreenTip.Description="기본 펜을 사용합니다"
74
                                                       telerik:ScreenTip.Title="Free Mark Pen"
75
                                                       Text="Print" />
76
                        <telerik:RadRibbonButton
77
                                                       CollapseToMedium="WhenGroupIsMedium"
78
                                                       CollapseToSmall="WhenGroupIsSmall"
79
                                                       CommandParameter="PDF"
80
                                                       LargeImage="/KCOM;component/Resources/Images/MenuImage_new/print.png"
81
                                                       Size="Medium"
82
                                                       Tag="PDF"
83
                                                       telerik:ScreenTip.Description="기본 펜을 사용합니다"
84
                                                       telerik:ScreenTip.Title="Free Mark Pen"
85
                                                       Text="PDF" />
86
                    </telerik:RadCollapsiblePanel>-->
87
                </telerik:RadRibbonGroup>
88
                <!--<telerik:RadRibbonGroup DialogLauncherVisibility="Collapsed"
89
                                        telerik:ScreenTip.Description="Show the File Task options."
90
                                        telerik:ScreenTip.Title="File"
91
                                        Visibility="Visible">
92
                    <telerik:RadCollapsiblePanel>-->
93
                        <!--<telerik:RadRibbonButton
94
                                                       CollapseToMedium="WhenGroupIsMedium"
95
                                                       CollapseToSmall="WhenGroupIsSmall"
96
                                                       CommandParameter="Print"
97
                                                       Size="Medium"
98
                                                       Tag="Print" x:Name="btnFromFile" Click="btnFromFile_Click"
99
                                                       telerik:ScreenTip.Description="기본 펜을 사용합니다"
100
                                                       telerik:ScreenTip.Title="Free Mark Pen"
101
                                                       Text="From File" />-->
102
                        <!--<telerik:RadRibbonButton
103
                                                       CollapseToMedium="WhenGroupIsMedium"
104
                                                       CollapseToSmall="WhenGroupIsSmall"
105
                                                       CommandParameter="PDF"
106
                                                       Size="Medium" Click="btnSync_Click"
107
                                                       Tag="PDF" x:Name="btnSync"
108
                                                       telerik:ScreenTip.Description="기본 펜을 사용합니다"
109
                                                       telerik:ScreenTip.Title="Free Mark Pen"
110
                                                       Text="Sync" />-->
111
                    <!--</telerik:RadCollapsiblePanel>
112
                </telerik:RadRibbonGroup>-->
113
            </telerik:RadRibbonTab>
114
            
115
            <telerik:RadRibbonTab Header="COMMENT">
116

    
117
                <telerik:RadRibbonGroup DialogLauncherVisibility="Collapsed"
118
                                        Header="CONTROL"
119
                                        IsEnabled="True">
120
                    <telerik:RadCollapsiblePanel>
121
                        <telerik:RadRibbonToggleButton 
122
                                                       CollapseToMedium="WhenGroupIsMedium"
123
                                                       CollapseToSmall="WhenGroupIsSmall"
124
                                                       CommandParameter="Undo"
125
                                                       LargeImage="/KCOM;component/Resources/Images/MenuImage_new/undo3.png"
126
                                                       Size="Medium"
127
                                                       Click="ControlEvent"
128
                                                       Tag="Undo"
129
                                                       telerik:ScreenTip.Description="마크업을 그 전으로 돌립니다"
130
                                                       telerik:ScreenTip.Title="Undo"
131
                                                       Text="Undo" />
132
                        <telerik:RadRibbonToggleButton 
133
                                                       CollapseToMedium="WhenGroupIsMedium"
134
                                                       CollapseToSmall="WhenGroupIsSmall"
135
                                                       CommandParameter="Copy"
136
                                                       LargeImage="/KCOM;component/Resources/Images/MenuImage_new/copy2.png"
137
                                                       Size="Medium"
138
                                                       Click="ControlEvent"
139
                                                       Tag="Copy"
140
                                                       telerik:ScreenTip.Description="마크업을 복사 합니다"
141
                                                       telerik:ScreenTip.Title="Copy"
142
                                                       Text="Copy" />
143
                        <telerik:RadRibbonToggleButton 
144
                                                       CollapseToMedium="WhenGroupIsMedium"
145
                                                       CollapseToSmall="WhenGroupIsSmall"
146
                                                       CommandParameter="Ink"
147
                                                       LargeImage="/KCOM;component/Resources/Images/MenuImage_new/eraser.png"
148
                                                       Size="Medium"
149
                                                       Click="ControlEvent"
150
                                                       Tag="Eraser"
151
                                                       telerik:ScreenTip.Description="마크업을 지웁니다"
152
                                                       telerik:ScreenTip.Title="Eraser"
153
                                                       Text="Eraser" />
154
                    </telerik:RadCollapsiblePanel>
155
                    <telerik:RadCollapsiblePanel>
156
                        <telerik:RadRibbonToggleButton 
157
                                                       CollapseToMedium="WhenGroupIsMedium"
158
                                                       CollapseToSmall="WhenGroupIsSmall"
159
                                                       CommandParameter="Redo"
160
                                                       LargeImage="/KCOM;component/Resources/Images/MenuImage_new/Redo3.png"
161
                                                       Size="Medium"
162
                                                       Click="ControlEvent"
163
                                                       Tag="Redo"
164
                                                       telerik:ScreenTip.Description="마크업을 되돌립니다."
165
                                                       telerik:ScreenTip.Title="Eraser"
166
                                                       Text="Redo" />
167
                        <telerik:RadRibbonToggleButton 
168
                                                       CollapseToMedium="WhenGroupIsMedium"
169
                                                       CollapseToSmall="WhenGroupIsSmall"
170
                                                       CommandParameter="Cut"
171
                                                       LargeImage="/KCOM;component/Resources/Images/MenuImage_new/cut1.png"
172
                                                       Size="Medium"
173
                                                       Click="ControlEvent"
174
                                                       Tag="Cut"
175
                                                       telerik:ScreenTip.Description="선택된 마크업을 잘라냅니다"
176
                                                       telerik:ScreenTip.Title="Cut"
177
                                                       Text="Cut" />
178
                        <telerik:RadRibbonToggleButton 
179
                                                       CollapseToMedium="WhenGroupIsMedium"
180
                                                       CollapseToSmall="WhenGroupIsSmall"
181
                                                       CommandParameter="Delete"
182
                                                       LargeImage="/KCOM;component/Resources/Images/MenuImage_new/delete3.png"
183
                                                       Size="Medium"
184
                                                       Click="ControlEvent"
185
                                                       Tag="Delete"
186
                                                       telerik:ScreenTip.Description="선택된 마크업을 제거합니다"
187
                                                       telerik:ScreenTip.Title="Delete"
188
                                                       Text="Delete" />
189
                    </telerik:RadCollapsiblePanel>
190
                    <telerik:RadCollapsiblePanel>
191
                        <telerik:RadRibbonToggleButton 
192
                                                       CollapseToMedium="WhenGroupIsMedium"
193
                                                       CollapseToSmall="WhenGroupIsSmall"
194
                                                       CommandParameter="Select"
195
                                                       LargeImage="/KCOM;component/Resources/Images/MenuImage_new/select.png"
196
                                                       Size="Medium"
197
                                                       Click="ControlEvent"
198
                                                       Tag="Select"
199
                                                       x:Name="btnSelection"
200
                                                       telerik:ScreenTip.Description="범위를 선택하여 마크업을 선택합니다"
201
                                                       telerik:ScreenTip.Title="Eraser"
202
                                                       Text="Selection"/>
203
                        <telerik:RadRibbonToggleButton 
204
                                                       CollapseToMedium="WhenGroupIsMedium"
205
                                                       CollapseToSmall="WhenGroupIsSmall"
206
                                                       CommandParameter="Paste"
207
                                                       LargeImage="/KCOM;component/Resources/Images/MenuImage_new/paste1.png"
208
                                                       Size="Medium"
209
                                                       Click="ControlEvent"
210
                                                       Tag="Ink"
211
                                                       telerik:ScreenTip.Description="복사한 마크업을 붙여 넣습니다"
212
                                                       telerik:ScreenTip.Title="Paste"
213
                                                       Text="Paste" />
214
                        <telerik:RadRibbonToggleButton ></telerik:RadRibbonToggleButton>
215
                    </telerik:RadCollapsiblePanel>
216
                </telerik:RadRibbonGroup>
217

    
218
                <telerik:RadRibbonGroup DialogLauncherVisibility="Collapsed"
219
                                        Header="LINE" 
220
                                        Icon="/KCOM;component/Resources/Images/MenuImage/1.png"
221
                                        telerik:ScreenTip.Description="Show the File Task options."
222
                                        telerik:ScreenTip.Title="File"
223
                                        Visibility="Visible">
224
                    <Grid Margin="0,-1,0,0">
225
                        <Grid.ColumnDefinitions>
226
                            <ColumnDefinition/>
227
                            <ColumnDefinition/>
228
                            <ColumnDefinition/>
229
                            <ColumnDefinition/>
230
                        </Grid.ColumnDefinitions>
231
                        <Grid.RowDefinitions>
232
                            <RowDefinition/>
233
                            <RowDefinition/>
234
                            <RowDefinition/>
235
                        </Grid.RowDefinitions>
236

    
237
                                <telerik:RadToggleButton CommandParameter="Line" Grid.Column="0" Grid.Row="0" Tag="Line3" Width="30" Height="30" Click="ControlEvent">
238
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_New/line.png" />
239
                                </telerik:RadToggleButton>
240
                                <telerik:RadToggleButton CommandParameter="Arrow" Grid.Column="1" Grid.Row="0" Tag="Normal" Width="30" Height="30" Click="ControlEvent">
241
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_New/Arrow.png" />
242
                                </telerik:RadToggleButton>
243
                                <telerik:RadToggleButton CommandParameter="ArrowMulti" Grid.Column="2" Grid.Row="0" Tag="Normal" Width="30" Height="30" Click="ControlEvent">
244
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_New/arrowTrans.png" />
245
                                </telerik:RadToggleButton>
246
                                <telerik:RadToggleButton CommandParameter="TwinLine" Tag="Arrow" Grid.Column="0" Grid.Row="1" Width="30" Height="30" Click="ControlEvent">
247
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_New/dimension.png" />
248
                                </telerik:RadToggleButton>
249
                                <telerik:RadToggleButton CommandParameter="DimLine" Tag="Dim" Grid.Column="1" Grid.Row="1" Width="30" Height="30" Click="ControlEvent">
250
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_New/dimensionEx.png" />
251
                                </telerik:RadToggleButton>
252
                                <telerik:RadToggleButton CommandParameter="CancelLine" Grid.Column="2" Grid.Row="1"  Tag="Line3" Width="30" Height="30" Click="ControlEvent">
253
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_New/lineDelete.png" />
254
                                </telerik:RadToggleButton>
255
                                <telerik:RadToggleButton CommandParameter="Arc" Grid.Column="0" Grid.Row="2"  Tag="Arc" Width="30" Height="30" Click="ControlEvent">
256
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_New/arc.png" />
257
                                </telerik:RadToggleButton>
258
                                <telerik:RadToggleButton CommandParameter="ChainLine" Grid.Column="1" Grid.Row="2" Tag="Chain"  Width="30" Height="30" Click="ControlEvent">
259
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_New/lineChain.png" />
260
                                </telerik:RadToggleButton>
261
                        <!--<CheckBox Margin="10,5,2,0" HorizontalAlignment="Left" VerticalAlignment="Center" Grid.Column="2" Grid.Row="0" Content="Fill" Checked="FillShapeEvent" Unchecked="FillShapeEvent" x:Name="cbFillShape" IsChecked="{Binding checkFillShape, Source={x:Static common:ViewerDataModel.Instance}}" />-->
262
                        <CheckBox VerticalAlignment="Center" Grid.Column="3" Grid.Row="0" Margin="10,5,2,0" HorizontalAlignment="Left" Content="Axis Lock" Checked="AxisLockEvent" Unchecked="AxisLockEvent" x:Name="cbAxisLock" IsChecked="{Binding checkAxis, Source={x:Static common:ViewerDataModel.Instance}}" />
263

    
264
                        <telerik:RadButtonGroup Margin="10,0,0,0" Height="20" Grid.Column="3" Grid.Row="1"
265
                                                BorderThickness="1"
266
                                                telerik:StyleManager.Theme="Windows8">
267
                                <TextBlock Width="40"
268
                                       HorizontalAlignment="Center"
269
                                       VerticalAlignment="Center"
270
                                       FontSize="10"
271
                                       Text="Interval"
272
                                       TextAlignment="Center" />
273
                                <telerik:RadNumericUpDown x:Name="cbIntervalSize"
274
                                                      Width="60"
275
                                                      Height="20"
276
                                                      Margin="2"
277
                                                      HorizontalAlignment="Stretch"
278
                                                      VerticalAlignment="Center"
279
                                                      HorizontalContentAlignment="Center"
280
                                                      Maximum="100"
281
                                                      Minimum="5"
282
                                                      NumberDecimalDigits="0"
283
                                                      telerik:StyleManager.Theme="Windows7"
284
                                                      ToolTipService.ToolTip="Interval Value"
285
                                                                                                          ValueChanged="cbIntervalSize_ValueChanged"
286
                                                      Value="{Binding Interval, Source={x:Static common:ViewerDataModel.Instance}, Mode=TwoWay}"
287
                                                      />
288
                            </telerik:RadButtonGroup>
289

    
290
                        
291
                    </Grid>
292
                </telerik:RadRibbonGroup>
293
                    
294
                
295
                <telerik:RadRibbonGroup DialogLauncherVisibility="Collapsed"
296
                                        Header="SHAPE"
297
                                        telerik:ScreenTip.Description="Show the File Task options."
298
                                        telerik:ScreenTip.Title="File"
299
                                        Visibility="Visible">
300
                    <Grid Margin="0,-1,0,0">
301
                        <Grid.ColumnDefinitions>
302
                            <ColumnDefinition/>
303
                            <ColumnDefinition/>
304
                            <ColumnDefinition/>
305
                            <ColumnDefinition/>
306
                        </Grid.ColumnDefinitions>
307
                        <Grid.RowDefinitions>
308
                            <RowDefinition/>
309
                            <RowDefinition/>
310
                            <RowDefinition/>
311
                        </Grid.RowDefinitions>
312

    
313
                        <telerik:RadToggleButton CommandParameter="PolygonCloud" Grid.Column="0" Grid.Row="0" Tag="Cloud" Width="30" Height="30" Click="ControlEvent">
314
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_new/Cloud.png" />
315
                                </telerik:RadToggleButton>
316
                        <telerik:RadToggleButton CommandParameter="RectCloud" Grid.Column="1" Grid.Row="0" Tag="RectCloud" Width="30" Height="30" Click="ControlEvent">
317
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_new/cloudRect.png" />
318
                                </telerik:RadToggleButton>
319

    
320
                                <!--강인구 추가-->
321
                        <CheckBox Margin="10,5,2,0" HorizontalAlignment="Left" VerticalAlignment="Center" Grid.Column="2" Grid.Row="0" Content="Fill" Checked="FillShapeEvent" Unchecked="FillShapeEvent" x:Name="cbFillShape" IsChecked="{Binding checkFillShape, Source={x:Static common:ViewerDataModel.Instance}}" />
322
                        <CheckBox Margin="2,5,2,0" HorizontalAlignment="Left" VerticalAlignment="Center" Grid.Column="3" Grid.Row="0" Content="Hatch" Checked="HatchShapeEvent" Unchecked="HatchShapeEvent" x:Name="cbHatchShape" IsChecked="{Binding checkHatchShape, Source={x:Static common:ViewerDataModel.Instance}}"/>
323
                        
324
                        <telerik:RadToggleButton CommandParameter="Polygon" Grid.Column="0" Grid.Row="1" Tag="Poly" Width="30" Height="30" Click="ControlEvent">
325
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/polygon.png" />
326
                        </telerik:RadToggleButton>
327
                        <telerik:RadToggleButton CommandParameter="Rectangle" Grid.Column="1" Grid.Row="1" Tag="RectShape" Width="30" Height="30" Click="ControlEvent">
328
                                <Image Source="/KCOM;component/Resources/Images/MenuImage_new/rectangle.png" />
329
                         </telerik:RadToggleButton>
330
                        <telerik:RadToggleButton CommandParameter="Triangle" Grid.Column="0" Grid.Row="2" Tag="TriShape" Width="30" Height="30" Click="ControlEvent">
331
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/triangle.png" />
332
                        </telerik:RadToggleButton>
333
                        <telerik:RadToggleButton CommandParameter="Circle" Grid.Column="1" Grid.Row="2" Tag="CicleShape" Width="30" Height="30" Click="ControlEvent">
334
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/circle.png" />
335
                        </telerik:RadToggleButton>
336
                        <telerik:RadDockPanel  Grid.Column="2" Grid.Row="1" Grid.ColumnSpan="2">
337
                        <TextBlock HorizontalAlignment="Center" VerticalAlignment="Bottom" Text="Opacity" FontSize="10" Margin="10,0,0,4"/>
338
                        <telerik:RadSlider HorizontalAlignment="Center" Width="70" Margin="10,4,10,-2" telerik:StyleManager.Theme="VisualStudio2013" Value="{Binding ControlOpacity, Source={x:Static common:ViewerDataModel.Instance}}"
339
                                                Maximum="1" Minimum="0" HandlesVisibility="Visible" VerticalAlignment="Center" ValueChanged="sdOpacity_ValueChanged"/>
340
                        </telerik:RadDockPanel>
341

    
342
                        <telerik:RadButtonGroup Margin="10,3,0,-3" Height="20" Grid.Column="2" Grid.Row="2" Grid.ColumnSpan="2"
343
                                                BorderThickness="1"
344
                                                telerik:StyleManager.Theme="Windows8">
345
                            <TextBlock Width="50"
346
                                       HorizontalAlignment="Center"
347
                                       VerticalAlignment="Center"
348
                                       FontSize="10"
349
                                       Text="ArcLength"
350
                                       TextAlignment="Center" />
351
                            <telerik:RadNumericUpDown x:Name="cbArcLength"
352
                                                      Width="69"
353
                                                      Height="20"
354
                                                      Margin="2"
355
                                                      HorizontalAlignment="Stretch"
356
                                                      VerticalAlignment="Center"
357
                                                      HorizontalContentAlignment="Center"
358
                                                      Maximum="100"
359
                                                      Minimum="5"
360
                                                      NumberDecimalDigits="0"
361
                                                      telerik:StyleManager.Theme="Windows7"
362
                                                      ToolTipService.ToolTip="Interval Value"
363
                                                                                                          ValueChanged="cbArcLength_ValueChanged"
364
                                                      Value="{Binding ArcLength, Source={x:Static common:ViewerDataModel.Instance}, Mode=TwoWay}"
365
                                                      />
366
                        </telerik:RadButtonGroup>
367

    
368

    
369

    
370
                        <!--<telerik:RadButtonGroup Height="20" Grid.Column="2" Grid.Row="2" Grid.ColumnSpan="2" Width="120" Margin="-30,6,10,-1"
371
                                                BorderThickness="1"
372
                                                telerik:StyleManager.Theme="Windows8">
373
                            <TextBlock Width="50"
374
                                       Margin="2"
375
                                       HorizontalAlignment="Center"
376
                                       VerticalAlignment="Center"
377
                                       FontSize="10"
378
                                       Text="ArcSize"
379
                                       TextAlignment="Center" />
380
                            <telerik:RadNumericUpDown x:Name="cbArcSize"
381
                                                      Width="66"
382
                                                      Height="22"
383
                                                      Margin="2"
384
                                                      HorizontalAlignment="Stretch"
385
                                                      VerticalAlignment="Center"
386
                                                      HorizontalContentAlignment="Center"
387
                                                      Maximum="10"
388
                                                      Minimum="1"
389
                                                      NumberDecimalDigits="0"
390
                                                      telerik:StyleManager.Theme="Windows7"
391
                                                      ToolTipService.ToolTip="Stroke Value"
392
                                                                                                          ValueChanged="cbLineSize_ValueChanged"
393
                                                      
394
                                                      Value="{Binding LineSize, Source={x:Static common:ViewerDataModel.Instance}}"
395
                                                      />
396
                        </telerik:RadButtonGroup>-->
397
                    </Grid>
398
                </telerik:RadRibbonGroup>
399
                
400
                <telerik:RadRibbonGroup Header="TEXT">
401
                    <Grid Margin="0,-1,0,0">
402
                        <Grid.ColumnDefinitions>
403
                            <ColumnDefinition/>
404
                            <ColumnDefinition/>
405
                            <ColumnDefinition/>
406
                            <ColumnDefinition/>
407
                        </Grid.ColumnDefinitions>
408
                        <Grid.RowDefinitions>
409
                            <RowDefinition/>
410
                            <RowDefinition/>
411
                            <RowDefinition/>
412
                        </Grid.RowDefinitions>
413
                        <telerik:RadToggleButton Width="30" Height="30" Click="ControlEvent" CommandParameter="Text" Tag="Normal">
414
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/text.png" />
415
                        </telerik:RadToggleButton>
416
                        <telerik:RadToggleButton Width="30" Height="30" Grid.Column="1" Click="ControlEvent" CommandParameter="TextBorder" Tag="Border">
417
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/textBorder.png" />
418
                        </telerik:RadToggleButton>
419
                        <telerik:RadToggleButton Width="30" Height="30" Grid.Column="2" Click="ControlEvent" CommandParameter="TextCloud" Tag="Cloud">
420
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/textCloud.png" />
421
                        </telerik:RadToggleButton>
422
                        <CheckBox HorizontalAlignment="Left" Content="Highlight" Grid.Column="3" VerticalAlignment="Center" Margin="2,5,2,0" Checked="HighlightEvent" Unchecked="HighlightEvent" IsChecked="{Binding checkHighlight, Source={x:Static common:ViewerDataModel.Instance}}" />
423
                        <!--<CheckBox Margin="10,5,2,0" HorizontalAlignment="Left" VerticalAlignment="Center" Grid.Column="2" Grid.Row="0" Content="Fill" Checked="FillShapeEvent" Unchecked="FillShapeEvent" x:Name="cbFillShape" IsChecked="{Binding checkFillShape, Source={x:Static common:ViewerDataModel.Instance}}" />-->
424

    
425
                        <telerik:RadToggleButton Width="30" Height="30" Grid.Column="0" Grid.Row="1" Click="ControlEvent" CommandParameter="ArrowText" Tag="ArrowText_Normal">
426
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/ArrowText.png" />
427
                        </telerik:RadToggleButton>
428
                        <telerik:RadToggleButton Width="30" Height="30" Grid.Column="1" Grid.Row="1" Click="ControlEvent" CommandParameter="ArrowText" Tag="ArrowText_Border">
429
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/ArrowTextBorder.png" />
430
                        </telerik:RadToggleButton>
431
                        <telerik:RadToggleButton Width="30" Height="30" Grid.Column="2" Grid.Row="1" Click="ControlEvent" CommandParameter="ArrowText" Tag="ArrowText_Cloud">
432
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/arrowTextCloud.png" />
433
                        </telerik:RadToggleButton>
434

    
435
                        <telerik:RadToggleButton Width="30" Height="30" Grid.Column="0" Grid.Row="2" Click="ControlEvent" CommandParameter="ArrowText" Tag="ArrowTextFix_Normal">
436
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/ArrowTextTrans.png" />
437
                        </telerik:RadToggleButton>
438
                        <telerik:RadToggleButton Width="30" Height="30" Grid.Column="1" Grid.Row="2" Click="ControlEvent" CommandParameter="ArrowText" Tag="ArrowTextFix_Border">
439
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/arrowTransBorder.png" />
440
                        </telerik:RadToggleButton>
441
                        <telerik:RadToggleButton Width="30" Height="30" Grid.Column="2" Grid.Row="2" Click="ControlEvent" CommandParameter="ArrowText" Tag="ArrowTextFix_Cloud">
442
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/arrowTransCloud.png" />
443
                        </telerik:RadToggleButton>
444
                    </Grid>
445
                </telerik:RadRibbonGroup>
446
                
447
                <telerik:RadRibbonGroup Header="FONT">
448
                    
449
                    <telerik:RadOrderedWrapPanel>
450
                        <StackPanel Orientation="Horizontal">
451
                                                <!--강인구 추가-->
452
                            <telerik:RadRibbonComboBox Width="60" Name="comboFontFamily" SelectedIndex="0" telerik:ScreenTip.Title="Font" telerik:ScreenTip.Description="Change the font face." SelectionChanged="RadRibbonComboBox_SelectionChanged">
453
                                <telerik:RadRibbonComboBoxItem Content="Arial"/>
454
                                <telerik:RadRibbonComboBoxItem Content="Calibri (Body)" />
455
                                <telerik:RadRibbonComboBoxItem Content="Tahoma" />
456
                                <telerik:RadRibbonComboBoxItem Content="Verdana"  />
457
                                <telerik:RadRibbonComboBoxItem Content="Times New Roman" />
458
                                <telerik:RadRibbonComboBoxItem Content="Cambria" />
459
                            </telerik:RadRibbonComboBox>
460
                                                        <!--강인구 추가(이벤트)-->
461
                            <!--<telerik:RadRibbonComboBox Name="comboFontSize" Width="45" SelectedIndex="0" telerik:ScreenTip.Title="Font Size"  telerik:ScreenTip.Description="Change the font size." SelectionChanged="comboFontSize_SelectionChanged">
462
                                <telerik:RadRibbonComboBoxItem Content="8" />
463
                                <telerik:RadRibbonComboBoxItem Content="9" />
464
                                <telerik:RadRibbonComboBoxItem Content="10" />
465
                                <telerik:RadRibbonComboBoxItem Content="11" />
466
                                <telerik:RadRibbonComboBoxItem Content="12" />
467
                                <telerik:RadRibbonComboBoxItem Content="14" />
468
                                <telerik:RadRibbonComboBoxItem Content="16" />
469
                                <telerik:RadRibbonComboBoxItem Content="18" />
470
                                <telerik:RadRibbonComboBoxItem Content="20" />
471
                                <telerik:RadRibbonComboBoxItem Content="30" />
472
                                <telerik:RadRibbonComboBoxItem Content="40" />
473
                                <telerik:RadRibbonComboBoxItem Content="50" />
474
                                <telerik:RadRibbonComboBoxItem Content="60" />
475
                                <telerik:RadRibbonComboBoxItem Content="70" />
476
                                <telerik:RadRibbonComboBoxItem Content="80" />
477
                                <telerik:RadRibbonComboBoxItem Content="90" />
478
                                <telerik:RadRibbonComboBoxItem Content="100" />
479
                            </telerik:RadRibbonComboBox>-->
480

    
481

    
482
                            <telerik:RadNumericUpDown x:Name="comboFontSize"
483
                                                      Width="35"
484
                                                      HorizontalContentAlignment="Center"
485
                                                      Maximum="60"
486
                                                      Minimum="1"
487
                                                      NumberDecimalDigits="0"
488
                                                      telerik:StyleManager.Theme="Windows7"
489
                                                      ToolTipService.ToolTip="Stroke Value"
490
                                                                                                          ValueChanged="comboFontSize_ValueChanged"
491
                                                      Value="{Binding TextSize, Source={x:Static common:ViewerDataModel.Instance}}"
492
                                                      />
493

    
494

    
495
                        </StackPanel>
496
                        <!--<telerik:RadButtonGroup>
497
                            <telerik:RadRibbonButton SmallImage="/KCOM;component/Resources/Images/MenuImage/bold.png" telerik:ScreenTip.Title="Grow Font" />
498
                            <telerik:RadRibbonButton SmallImage="/RadRibbonViewSample;component/Images/IconMSOffice/16/font-decreasesize.png" telerik:ScreenTip.Title="Shrink Font" />
499
                        </telerik:RadButtonGroup>-->
500
                        <!--<telerik:RadButtonGroup>
501
                            <telerik:RadRibbonButton SmallImage="/RadRibbonViewSample;component/Images/IconMSOffice/16/ClearFormatting16.png" Text="Clear Formatting" telerik:ScreenTip.Title="Clear Formatting" />
502
                        </telerik:RadButtonGroup>-->
503
                        <!--<telerik:RadButtonGroup telerik:StyleManager.Theme="Office2016">-->
504
                        <!--강인구 추가(이벤트)-->
505
                        <!--<CheckBox HorizontalAlignment="Left" Content="Highlight" Grid.Column="3" VerticalAlignment="Center" Margin="2,5,2,0" Checked="HighlightEvent" Unchecked="HighlightEvent" IsChecked="{Binding checkHighlight, Source={x:Static common:ViewerDataModel.Instance}}" />-->
506
                        <telerik:RadToggleButton x:Name="btnBold" telerik:ScreenTip.Title="Bold" telerik:ScreenTip.Description="Make the selected text bold." Width="32" Height="32" Checked="btnBold_Checked"  Unchecked="btnBold_Checked" IsChecked="{Binding checkTextWeight, Source={x:Static common:ViewerDataModel.Instance}}">
507
                                <Image Source="/KCOM;component/Resources/Images/MenuImage_new/bold.png" />
508
                            </telerik:RadToggleButton>
509
                        <!--강인구 추가(이벤트)-->
510
                        <telerik:RadToggleButton  x:Name="btnItalic"  telerik:ScreenTip.Title="Italic" telerik:ScreenTip.Description="Italicize the selected text." Width="32" Height="32" Checked="btnItalic_Checked"  Unchecked="btnItalic_Checked" IsChecked="{Binding checkTextStyle, Source={x:Static common:ViewerDataModel.Instance}}">
511
                                <Image Source="/KCOM;component/Resources/Images/MenuImage_new/italic.png"/>
512
                            </telerik:RadToggleButton>
513
                                                <!--강인구 추가(이벤트)-->
514
                        <telerik:RadToggleButton  x:Name="btnUnderLine" Width="32" Height="32" telerik:ScreenTip.Title="Underline" telerik:ScreenTip.Description="Underline the selected text." Checked="btnUnderLine_Checked"  Unchecked="btnUnderLine_Checked" IsChecked="{Binding checkUnderLine, Source={x:Static common:ViewerDataModel.Instance}}">
515
                                <Image Source="/KCOM;component/Resources/Images/MenuImage_new/underline.png"/>
516
                            </telerik:RadToggleButton>
517
                        <!--</telerik:RadButtonGroup>-->
518
                        <!--<CheckBox Margin="10,3,5,0" HorizontalAlignment="Left" Content="Highlight" VerticalAlignment="Center"/>--><!--
519
                        <telerik:RadButton Content="LIBRARY" Background="{DynamicResource KCOMColor_MarkerBrush}" Foreground="White" Margin="5,5,0,0" Padding="3"/>-->
520
                    </telerik:RadOrderedWrapPanel>
521
                </telerik:RadRibbonGroup>
522
                
523
                <telerik:RadRibbonGroup DialogLauncherVisibility="Collapsed"
524
                                        Header="PEN"
525
                                        IsEnabled="True"
526
                                        telerik:ScreenTip.Description="펜 툴을 이용하여 그릴 수 있습니다"
527
                                        telerik:ScreenTip.Title="Pen">
528
                    <telerik:RadCollapsiblePanel>
529
                        <telerik:RadRibbonToggleButton 
530
                                                       CollapseToMedium="WhenGroupIsMedium"
531
                                                       CollapseToSmall="WhenGroupIsSmall"
532
                                                       CommandParameter="Ink"
533
                                                       LargeImage="/KCOM;component/Resources/Images/MenuImage_new/pen.png"
534
                                                       Size="Large"
535
                                                       Click="ControlEvent"
536
                                                       Tag="Pensil"
537
                                                       telerik:ScreenTip.Description="기본 펜을 사용합니다"
538
                                                       telerik:ScreenTip.Title="Free Mark Pen"
539
                                                       Text="Pen" />
540
                        <!--<telerik:RadRibbonToggleButton 
541
                                                       CollapseToMedium="WhenGroupIsMedium"
542
                                                       CollapseToSmall="WhenGroupIsSmall"
543
                                                       CommandParameter="Select"
544
                                                       LargeImage="/KCOM;component/Resources/Images/MenuImage_new/select.png"
545
                                                       Size="Medium"
546
                                                       Click="ControlEvent"
547
                                                       Tag="Ink"
548
                                                       telerik:ScreenTip.Description="범위를 선택하여 그린 펜을 선택합니다"
549
                                                       telerik:ScreenTip.Title="Select Ink Strokes"
550
                                                       Text="Selection" />-->
551
                        <!--<telerik:RadRibbonToggleButton 
552
                                                       CollapseToMedium="WhenGroupIsMedium"
553
                                                       CollapseToSmall="WhenGroupIsSmall"
554
                                                       CommandParameter="Ink"                                
555
                                                       LargeImage="/KCOM;component/Resources/Images/MenuImage_new/eraserLine.png"
556
                                                       Size="Medium"
557
                                                       Click="ControlEvent"
558
                                                       Tag="EraserClear"
559
                                                       telerik:ScreenTip.Description="펜으로 그린 부분을 점 단위로 제거합니다"
560
                                                       telerik:ScreenTip.Title="Dot Unit Eraser"
561
                                                       Text="Eraser(Dot)" />-->
562
                        <!--<telerik:RadRibbonToggleButton 
563
                                                       CollapseToMedium="WhenGroupIsMedium"
564
                                                       CollapseToSmall="WhenGroupIsSmall"
565
                                                       CommandParameter="Ink"
566
                                                       LargeImage="/KCOM;component/Resources/Images/MenuImage_new/eraser.png"
567
                                                       Size="Medium"
568
                                                       Click="ControlEvent"
569
                                                       Tag="Eraser"
570
                                                       telerik:ScreenTip.Description="펜으로 그린 부분을 선 단위로 적으로 제거합니다"
571
                                                       telerik:ScreenTip.Title="Path Unit Eraser"
572
                                                       Text="Eraser(Path)" />-->
573
                    </telerik:RadCollapsiblePanel>
574
                </telerik:RadRibbonGroup>
575

    
576
                <telerik:RadRibbonGroup DialogLauncherVisibility="Collapsed"
577
                                        Header="Approval Stamp"
578
                                        telerik:ScreenTip.Description="Stamp , Image , Date 등을 만듭니다"
579
                                        telerik:ScreenTip.Title="Approval">
580
                    <Grid Margin="0,-1,0,0">
581
                        <Grid.ColumnDefinitions>
582
                            <ColumnDefinition/>
583
                            <ColumnDefinition/>
584
                            <ColumnDefinition/>
585
                        </Grid.ColumnDefinitions>
586
                        <Grid.RowDefinitions>
587
                            <RowDefinition/>
588
                            <RowDefinition/>
589
                            <RowDefinition/>
590
                        </Grid.RowDefinitions>
591

    
592
                        <!--강인구 추가 Mark Click 이벤트 추가-->
593
                        <telerik:RadToggleButton CommandParameter="Shape" Tag="RectShape_Fill" Grid.Column="0" Grid.Row="0" Width="30" Height="30"
594
                                                       telerik:ScreenTip.Description="사각마크를 쉽게 그립니다"
595
                                                       telerik:ScreenTip.Title="Rectangle Mark" Click="ControlEvent">
596
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/markRect.png" />
597
                        </telerik:RadToggleButton>
598
                        <!--강인구 추가 Stamp Click 이벤트 추가-->
599
                        <telerik:RadToggleButton CommandParameter="SymbolN" Grid.Column="1" Grid.Row="0" Width="30" Height="30"
600
                                                       Tag="approved" Visibility="Visible"  x:Name="btnTopStamp"
601
                                                       telerik:ScreenTip.Description="Approved를 쉽게 그립니다"
602
                                                       telerik:ScreenTip.Title="Approved"  Click="ControlEvent">
603
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/stamp.png" />
604
                        </telerik:RadToggleButton>
605

    
606
                        <!--강인구 추가 Sign Click 이벤트 추가-->
607
                        <telerik:RadToggleButton CommandParameter="Sign" Tag="Sign" Grid.Column="2" Grid.Row="0" Width="30" Height="30"
608
                                                       telerik:ScreenTip.Description="Signature를 쉽게 그립니다"
609
                                                       telerik:ScreenTip.Title="Signature" Click="ControlEvent">
610
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/signReal.png" />
611
                        </telerik:RadToggleButton>
612

    
613
                        <!--강인구 추가 check Click 이벤트 추가-->
614
                        <telerik:RadToggleButton CommandParameter="Check" Grid.Column="0" Grid.Row="1" Width="30" Height="30" Tag="Check"
615
                                                       telerik:ScreenTip.Description="체크마크를 쉽게 그립니다"
616
                                                       telerik:ScreenTip.Title="Check Mark" Click="ControlEvent">
617
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/markCheck.png" />
618
                        </telerik:RadToggleButton>
619

    
620
                        <telerik:RadToggleButton CommandParameter="Image" Click="ControlEvent" Tag="Image"  Grid.Column="1" Grid.Row="1" Width="30" Height="30"
621
                                                       telerik:ScreenTip.Description="Image를 쉽게 추가합니다"
622
                                                       telerik:ScreenTip.Title="Image">
623
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/Picture.png" />
624
                        </telerik:RadToggleButton>
625

    
626
                        <telerik:RadToggleButton CommandParameter="Date"  Grid.Column="2" Grid.Row="1" Width="30" Height="30"
627
                                                       Tag="Date" Click="ControlEvent"
628
                                                       telerik:ScreenTip.Description="날짜를 삽입합니다"
629
                                                       telerik:ScreenTip.Title="Date">
630
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/calendar.png" />
631
                        </telerik:RadToggleButton>
632

    
633
                        <telerik:RadToggleButton x:Name="btn_Batch" Grid.Column="0" Grid.Row="2" Width="30" Height="30"
634
                                                       CommandParameter="Batch"
635
                                                       Tag="Batch"
636
                                                       telerik:ScreenTip.Title="batch Approval" Click="ControlEvent">
637
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/chronometer.png" />
638
                        </telerik:RadToggleButton>
639

    
640
                    </Grid>
641
                </telerik:RadRibbonGroup>
642

    
643
                <!--<telerik:RadRibbonGroup DialogLauncherVisibility="Collapsed"
644
                                        Header="Approval Stamp"
645
                                        telerik:ScreenTip.Description="Stamp , Image , Date 등을 만듭니다"
646
                                        telerik:ScreenTip.Title="Approval">
647
                    <telerik:RadCollapsiblePanel Margin="3,0,3,0">
648
                        --><!--강인구 추가 Mark Click 이벤트 추가--><!--
649
                        <telerik:RadRibbonToggleButton MaxWidth="100"
650
                                                       CollapseToSmall="WhenGroupIsMedium"
651
                                                       CommandParameter="Shape"
652
                                                       Size="Medium"
653
                                                       SmallImage="/KCOM;component/Resources/Images/MenuImage_new/markRect.png"
654
                                                       Tag="RectShape_Fill"
655
                                                       telerik:ScreenTip.Description="사각마크를 쉽게 그립니다"
656
                                                       telerik:ScreenTip.Title="Rectangle Mark" Click="ControlEvent"
657
                                                       />
658
                        --><!--강인구 추가 Stamp Click 이벤트 추가--><!--
659
                        <telerik:RadRibbonToggleButton MaxWidth="100"
660
                                                       CollapseToSmall="WhenGroupIsMedium"
661
                                                       CommandParameter="SymbolN"
662
                                                       Size="Medium"
663
                                                       SmallImage="/KCOM;component/Resources/Images/MenuImage_new/stamp.png"
664
                                                       Tag="approved" Visibility="Visible"  x:Name="btnTopStamp"
665
                                                       telerik:ScreenTip.Description="Approved를 쉽게 그립니다"
666
                                                       telerik:ScreenTip.Title="Approved"  Click="ControlEvent"
667
                                                       />
668
                        --><!--강인구 추가 Sign Click 이벤트 추가--><!--
669
                        <telerik:RadRibbonToggleButton MaxWidth="100"
670
                                                       CollapseToSmall="WhenGroupIsMedium"
671
                                                       CommandParameter="Sign"
672
                                                       Size="Medium"
673
                                                       SmallImage="/KCOM;component/Resources/Images/MenuImage_new/signReal.png"
674
                                                       Tag="Sign"
675
                                                       telerik:ScreenTip.Description="Signature를 쉽게 그립니다"
676
                                                       telerik:ScreenTip.Title="Signature" Click="ControlEvent"/>
677
                        
678
                        --><!--강인구 추가 check Click 이벤트 추가--><!--
679
                        <telerik:RadRibbonToggleButton MaxWidth="100"
680
                                                       CollapseToSmall="WhenGroupIsMedium"
681
                                                       CommandParameter="Check"
682
                                                       Size="Medium"
683
                                                       SmallImage="/KCOM;component/Resources/Images/MenuImage_new/markCheck.png"
684
                                                       Tag="Check"
685
                                                       telerik:ScreenTip.Description="체크마크를 쉽게 그립니다"
686
                                                       telerik:ScreenTip.Title="Check Mark" Click="ControlEvent"/>
687
                        
688
                        <telerik:RadRibbonToggleButton MaxWidth="100"
689
                                                       CollapseToSmall="WhenGroupIsMedium"
690
                                                       CommandParameter="Image"
691
                                                       Size="Medium" Click="ControlEvent"
692
                                                       SmallImage="/KCOM;component/Resources/Images/MenuImage_New/Picture.png"
693
                                                       Tag="Image"
694
                                                       telerik:ScreenTip.Description="Image를 쉽게 추가합니다"
695
                                                       telerik:ScreenTip.Title="Image"/>
696
                        
697
                        <telerik:RadRibbonToggleButton MaxWidth="100"
698
                                                       CollapseToSmall="WhenGroupIsMedium"
699
                                                       CommandParameter="Date"
700
                                                       Size="Medium"
701
                                                       SmallImage="/KCOM;component/Resources/Images/MenuImage_New/calendar.png"
702
                                                       Tag="Date" Click="ControlEvent"
703
                                                       telerik:ScreenTip.Description="날짜를 삽입합니다"
704
                                                       telerik:ScreenTip.Title="Date"/>
705
                        
706
                        <telerik:RadRibbonToggleButton MaxWidth="100" x:Name="btn_Batch"
707
                                                       CollapseToSmall="WhenGroupIsMedium"
708
                                                       CommandParameter="Batch"
709
                                                       Size="Medium" SmallImage="/KCOM;component/Resources/Images/MenuImage_New/chronometer.png"
710
                                                       Tag="Batch"
711
                                                       telerik:ScreenTip.Title="batch Approval" Click="ControlEvent"/>
712

713
                    </telerik:RadCollapsiblePanel>
714
                </telerik:RadRibbonGroup>-->
715
                
716
                <telerik:RadRibbonGroup DialogLauncherVisibility="Collapsed"
717
                                        Header="Adjustment (Line,Shape)"
718
                                        telerik:ScreenTip.Description="선,도형 관련 옵션을 지정합니다"
719
                                        telerik:ScreenTip.Title="Adjustment(Line,Shape)">
720
                    <telerik:RadOrderedWrapPanel Margin="3,0,3,0">
721
                        <telerik:RadButtonGroup Height="30"
722
                                                BorderThickness="1"
723
                                                telerik:StyleManager.Theme="Windows8">
724
                            <TextBlock Width="50"
725
                                       Margin="2"
726
                                       HorizontalAlignment="Center"
727
                                       VerticalAlignment="Center"
728
                                       FontSize="10"
729
                                       Text="Style"
730
                                       TextAlignment="Center" />
731
                            <telerik:RadComboBox x:Name="cbDashStyle"
732
                                                 Width="60" Margin="5,0,5,0"
733
                                                 SelectedIndex="0" Background="Transparent"
734
                                                 telerik:StyleManager.Theme="Office2016"
735
                                                 ToolTipService.ToolTip="Dash Style"
736
                                                 SelectionChanged="cbDashStyle_SelectionChanged"
737
                                                 >
738
                                <telerik:RadComboBox.ItemTemplate>
739
                                    <DataTemplate>
740
                                        <StackPanel Height="10"
741
                                                    Margin="5"
742
                                                    VerticalAlignment="Center">
743
                                            <Line Stroke="Red"
744
                                                  StrokeDashArray="{Binding dashData}"
745
                                                  StrokeDashOffset="1"
746
                                                  StrokeThickness="2"
747
                                                  X1="0"
748
                                                  X2="150"
749
                                                  Y1="5"
750
                                                  Y2="5" />
751
                                        </StackPanel>
752
                                    </DataTemplate>
753
                                </telerik:RadComboBox.ItemTemplate>
754
                            </telerik:RadComboBox>
755
                        </telerik:RadButtonGroup>
756
                        <telerik:RadButtonGroup Height="30"
757
                                                BorderThickness="1"
758
                                                telerik:StyleManager.Theme="Windows8">
759
                            <TextBlock Width="50"
760
                                       Margin="2"
761
                                       HorizontalAlignment="Center"
762
                                       VerticalAlignment="Center"
763
                                       FontSize="10"
764
                                       Text="Thickness"
765
                                       TextAlignment="Center" />
766
                            <telerik:RadNumericUpDown x:Name="cbLineSize"
767
                                                      Width="66"
768
                                                      Height="22"
769
                                                      Margin="2"
770
                                                      HorizontalAlignment="Stretch"
771
                                                      VerticalAlignment="Center"
772
                                                      HorizontalContentAlignment="Center"
773
                                                      Maximum="10"
774
                                                      Minimum="1"
775
                                                      NumberDecimalDigits="0"
776
                                                      telerik:StyleManager.Theme="Windows7"
777
                                                      ToolTipService.ToolTip="Stroke Value"
778
                                                                                                          ValueChanged="cbLineSize_ValueChanged"
779
                                                      
780
                                                      Value="{Binding LineSize, Source={x:Static common:ViewerDataModel.Instance}}"
781
                                                      />
782
                        </telerik:RadButtonGroup>
783
                    </telerik:RadOrderedWrapPanel>
784
                </telerik:RadRibbonGroup>
785

    
786
                <telerik:RadRibbonGroup 
787
                                        telerik:ScreenTip.Description="Show the File Task options."
788
                                        telerik:ScreenTip.Title="File" Header="PAGE"
789
                                        Visibility="Visible">
790
                    <Grid Margin="0,-1,0,0">
791
                        <Grid.ColumnDefinitions>
792
                            <ColumnDefinition/>
793
                            <ColumnDefinition/>
794
                        </Grid.ColumnDefinitions>
795
                        <Grid.RowDefinitions>
796
                            <RowDefinition/>
797
                            <RowDefinition/>
798
                        </Grid.RowDefinitions>
799

    
800
                        <TextBox Text="1" Width="30" Padding="0"  Grid.Row="0" Grid.Column="0" VerticalAlignment="Center" HorizontalContentAlignment="Center"  Margin="5,0" x:Name="tlcurrentPage" KeyDown="tlcurrentPage_KeyDown"/>
801
                        <TextBlock Grid.Row="0" Grid.Column="1" Margin="0,7,5,0">
802
                            <TextBlock Text="/"  Padding="3"   VerticalAlignment="Center" HorizontalAlignment="Center"/>
803
                            <TextBlock Text="{Binding Document_Info.Count, Source={x:Static common:ViewerDataModel.Instance}}" Padding="3" VerticalAlignment="Center" HorizontalAlignment="Center" x:Name="tlPageCount"/>
804
                        </TextBlock>
805

    
806
                        <telerik:RadButton Grid.Row="1" Grid.Column="0" BorderThickness="0" Click="PageGoEvent" CommandParameter="Down" Background="Transparent">
807
                            <telerik:RadButton.Content>
808
                                <Image Source="/KCOM;component/Resources/Images/MenuImage_new/pagearrow.png" Stretch="Uniform" Width="20" Height="20"/>
809
                            </telerik:RadButton.Content>
810
                        </telerik:RadButton>
811
                        <telerik:RadButton Grid.Row="1" Grid.Column="1" BorderThickness="0" Click="PageGoEvent" CommandParameter="Up" Background="Transparent">
812
                            <telerik:RadButton.Content>
813
                                <Image Source="/KCOM;component/Resources/Images/MenuImage_new/pagearrow.png" Stretch="Uniform" Width="20" Height="20" RenderTransformOrigin="0.5,0.5">
814
                                    <Image.RenderTransform>
815
                                        <RotateTransform Angle="180"/>
816
                                    </Image.RenderTransform>
817
                                </Image>
818
                            </telerik:RadButton.Content>
819
                        </telerik:RadButton>
820
                    </Grid>
821
                </telerik:RadRibbonGroup>
822

    
823
                <telerik:RadRibbonGroup DialogLauncherVisibility="Collapsed" Header="VIEW"
824
                                        telerik:ScreenTip.Description="Show the File Task options."
825
                                        telerik:ScreenTip.Title="File"
826
                                        Visibility="Visible">
827
                    <telerik:RadCollapsiblePanel>
828
                        <telerik:RadRibbonToggleButton 
829
                                                       CollapseToMedium="WhenGroupIsMedium"
830
                                                       CollapseToSmall="WhenGroupIsSmall"
831
                                                       CommandParameter="zoomout"
832
                                                       LargeImage="/KCOM;component/Resources/Images/MenuImage_new/minus.png"
833
                                                       Size="Small"
834
                                                       Click="viewEvent"
835
                                                       Tag="ZoomOut"
836
                                                       telerik:ScreenTip.Description="줌 축소를 합니다"
837
                                                       telerik:ScreenTip.Title="Zoom Out"
838
                                                       Text="Zoom Out" />
839
                        <telerik:RadRibbonToggleButton 
840
                                                       CollapseToMedium="WhenGroupIsMedium"
841
                                                       CollapseToSmall="WhenGroupIsSmall"
842
                                                       CommandParameter="Rotate_M"
843
                                                       LargeImage="/KCOM;component/Resources/Images/MenuImage_new/Rotate_Minus.png"
844
                                                       Size="Small"
845
                                                       Click="viewEvent"
846
                                                       Tag="Rotate_M"
847
                                                       telerik:ScreenTip.Description="반시계 방향으로 회전합니다."
848
                                                       telerik:ScreenTip.Title="Rotate left"
849
                                                       Text="Rotate left" />
850

    
851
                        <telerik:RadRibbonToggleButton 
852
                                                       CollapseToMedium="WhenGroupIsMedium"
853
                                                       CollapseToSmall="WhenGroupIsSmall"
854
                                                       CommandParameter="DragZoom"
855
                                                       LargeImage="/KCOM;component/Resources/Images/MenuImage_new/zoom-in-tool.png"
856
                                                       Size="Small"
857
                                                       Click="ControlEvent"
858
                                                       Tag="DragZoom"
859
                                                       telerik:ScreenTip.Description="드래그 하여 줌 확대를 합니다."
860
                                                       telerik:ScreenTip.Title="Drag zoom in"
861
                                                       Text="Drag zoom in" />
862
                        
863
                    </telerik:RadCollapsiblePanel>
864
                    <telerik:RadCollapsiblePanel>
865
                        <telerik:RadRibbonToggleButton 
866
                                                       CollapseToMedium="WhenGroupIsMedium"
867
                                                       CollapseToSmall="WhenGroupIsSmall"
868
                                                       CommandParameter="zoomin"
869
                                                       LargeImage="/KCOM;component/Resources/Images/MenuImage_new/plus.png"
870
                                                       Size="Small"
871
                                                       Click="viewEvent"
872
                                                       Tag="zoomin"
873
                                                       telerik:ScreenTip.Description="줌 확대를 합니다"
874
                                                       telerik:ScreenTip.Title="Zoom In"
875
                                                       Text="Zoom In" />
876

    
877
                        <telerik:RadRibbonToggleButton 
878
                                                       CollapseToMedium="WhenGroupIsMedium"
879
                                                       CollapseToSmall="WhenGroupIsSmall"
880
                                                       CommandParameter="Rotate_P"
881
                                                       LargeImage="/KCOM;component/Resources/Images/MenuImage_new/Rotate_Plus.png"
882
                                                       Size="Small"
883
                                                       Click="viewEvent"
884
                                                       Tag="Rotate_P"
885
                                                       telerik:ScreenTip.Description="시계 방향으로 회전합니다."
886
                                                       telerik:ScreenTip.Title="Rotate right"
887
                                                       Text="Rotate right" />
888
                        <telerik:RadRibbonToggleButton 
889
                                                       CollapseToMedium="WhenGroupIsMedium"
890
                                                       CollapseToSmall="WhenGroupIsSmall"
891
                                                       CommandParameter="fullscreen"
892
                                                       LargeImage="/KCOM;component/Resources/Images/MenuImage_new/fullscreen.png"
893
                                                       Size="Small"
894
                                                       Click="viewEvent"
895
                                                       Tag="fullscreen"
896
                                                       telerik:ScreenTip.Description="화면을 최대화 합니다."
897
                                                       telerik:ScreenTip.Title="maximize"
898
                                                       Text="maximize" />
899

    
900

    
901
                    </telerik:RadCollapsiblePanel>
902
                    <telerik:RadCollapsiblePanel>
903
                        <telerik:RadRibbonToggleButton 
904
                                                       CollapseToMedium="WhenGroupIsMedium"
905
                                                       CollapseToSmall="WhenGroupIsSmall"
906
                                                       CommandParameter="fitHeight"
907
                                                       LargeImage="/KCOM;component/Resources/Images/MenuImage_new/expand.png"
908
                                                       Size="Small"
909
                                                       Click="viewEvent"
910
                                                       Tag="fitHeight"
911
                                                       telerik:ScreenTip.Description="화면을 맞춥니다."
912
                                                       telerik:ScreenTip.Title="Fit"
913
                                                       Text="Fit" />
914

    
915
                        <telerik:RadRibbonToggleButton 
916
                                                       CollapseToMedium="WhenGroupIsMedium"
917
                                                       CollapseToSmall="WhenGroupIsSmall"
918
                                                       CommandParameter="Rotate_half"
919
                                                       LargeImage="/KCOM;component/Resources/Images/MenuImage_new/flip.png"
920
                                                       Size="Small"
921
                                                       Click="viewEvent"
922
                                                       Tag="Rotate_half"
923
                                                       telerik:ScreenTip.Description="화면의 상하가 반전 됩니다."
924
                                                       telerik:ScreenTip.Title="Upside down"
925
                                                       Text="Upside down" />
926

    
927

    
928
                        <telerik:RadRibbonToggleButton ></telerik:RadRibbonToggleButton>
929
                    </telerik:RadCollapsiblePanel>
930
                    
931
                    <!--<Grid Margin="0,-1,0,0">
932
                        <Grid.ColumnDefinitions>
933
                            <ColumnDefinition/>
934
                            <ColumnDefinition/>
935
                            <ColumnDefinition/>
936
                        </Grid.ColumnDefinitions>
937
                        <Grid.RowDefinitions>
938
                            <RowDefinition/>
939
                            <RowDefinition/>
940
                            <RowDefinition/>
941
                        </Grid.RowDefinitions>-->
942

    
943
                        <!--<StackPanel Orientation="Horizontal"  Grid.Row="0">-->
944

    
945

    
946
                            <!--<telerik:RadToggleButton CommandParameter="Shape" Tag="RectShape_Fill" Grid.Column="0" Grid.Row="0" Width="30" Height="30"
947
                                                       telerik:ScreenTip.Description="사각마크를 쉽게 그립니다"
948
                                                       telerik:ScreenTip.Title="Rectangle Mark" Click="ControlEvent">
949
                                <Image Source="/KCOM;component/Resources/Images/MenuImage_new/markRect.png" />
950
                            </telerik:RadToggleButton>-->
951

    
952
                            <!--<telerik:RadToggleButton CommandParameter="Shape" Tag="RectShape_Fill" Grid.Column="0" Grid.Row="0" Width="30" Height="30"
953
                                                       telerik:ScreenTip.Description="사각마크를 쉽게 그립니다"
954
                                                       telerik:ScreenTip.Title="Rectangle Mark" Click="ControlEvent">
955
                                <Image Source="/KCOM;component/Resources/Images/MenuImage_new/markRect.png" />-->
956

    
957

    
958
                        
959
                        
960
                        
961

    
962

    
963
                        <!--<telerik:RadToggleButton BorderThickness="0" Grid.Row="2" Grid.Column="0" Click="viewEvent" CommandParameter="fitHeight" Background="Transparent" Width="29" Height="29"
964
                                               telerik:ScreenTip.Description="화면을 맞춥니다"
965
                                               telerik:ScreenTip.Title="Fit">
966
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/expand.png"/>
967
                        </telerik:RadToggleButton>
968

969
                        <telerik:RadToggleButton BorderThickness="0" Grid.Row="2" Grid.Column="1" Click="viewEvent" CommandParameter="fullscreen" Background="Transparent" Width="29" Height="29"
970
                                               telerik:ScreenTip.Description="화면을 최대화 합니다"
971
                                               telerik:ScreenTip.Title="maximize">
972
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/fullscreen.png"/>
973
                        </telerik:RadToggleButton>-->
974

    
975

    
976
                        <!--<telerik:RadToggleButton BorderThickness="0" Grid.Row="0" Grid.Column="0" Click="viewEvent" CommandParameter="zoomout" Background="Transparent" Width="29" Height="29"
977
                                               telerik:ScreenTip.Description="줌 축소를 합니다"
978
                                               telerik:ScreenTip.Title="Zoom Out">
979
                                <Image Source="/KCOM;component/Resources/Images/MenuImage_new/minus.png"/>
980
                            </telerik:RadToggleButton>-->
981
                        <!--<telerik:RadToggleButton BorderThickness="0" Grid.Row="0" Grid.Column="1" Click="viewEvent" CommandParameter="zoomin" Background="Transparent" Width="29" Height="29"
982
                                               telerik:ScreenTip.Description="줌 확대를 합니다"
983
                                               telerik:ScreenTip.Title="Zoom In">
984
                                <Image Source="/KCOM;component/Resources/Images/MenuImage_new/plus.png"/>
985
                            </telerik:RadToggleButton>-->
986

    
987
                        <!--<telerik:RadToggleButton BorderThickness="0" Grid.Row="0" Grid.Column="2" Click="ControlEvent" CommandParameter="boundzoom" Background="Transparent" Width="29" Height="29"
988
                                               telerik:ScreenTip.Description="드래그 하여 줌 확대를 합니다."
989
                                               telerik:ScreenTip.Title="Drag zoom in">
990
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/zoom-in-tool.png"/>
991
                        </telerik:RadToggleButton>-->
992

    
993

    
994
                        <!--<telerik:RadToggleButton BorderThickness="0" Grid.Row="1" Grid.Column="0" Click="viewEvent" CommandParameter="Rotate_M" Background="Transparent" Width="29" Height="29"
995
                                               telerik:ScreenTip.Description="반시계 방향으로 회전합니다"
996
                                               telerik:ScreenTip.Title="Rotate left">
997
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_New/Rotate_Minus.png"/>
998
                            </telerik:RadToggleButton>
999

1000
                        <telerik:RadToggleButton BorderThickness="0" Grid.Row="1" Grid.Column="1" Click="viewEvent" CommandParameter="Rotate_P" Background="Transparent" Width="29" Height="29"
1001
                                               telerik:ScreenTip.Description="시계 방향으로 회전합니다"
1002
                                               telerik:ScreenTip.Title="Rotate right">
1003
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_New/Rotate_Plus.png"/>
1004
                            </telerik:RadToggleButton>
1005

1006
                        <telerik:RadToggleButton BorderThickness="0" Grid.Row="1" Grid.Column="2" Click="viewEvent" CommandParameter="Rotate_half" Background="Transparent" Width="29" Height="29"
1007
                                               telerik:ScreenTip.Description="화면의 상하가 반전 됩니다"
1008
                                               telerik:ScreenTip.Title="Upside down">
1009
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/flip.png"/>
1010
                        </telerik:RadToggleButton>-->
1011

    
1012
                        <!--<telerik:RadToggleButton BorderThickness="0" Grid.Row="2" Grid.Column="0" Click="viewEvent" CommandParameter="fitHeight" Background="Transparent" Width="29" Height="29"
1013
                                               telerik:ScreenTip.Description="화면을 맞춥니다"
1014
                                               telerik:ScreenTip.Title="Fit">
1015
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/expand.png"/>
1016
                        </telerik:RadToggleButton>
1017
                        
1018
                        <telerik:RadToggleButton BorderThickness="0" Grid.Row="2" Grid.Column="1" Click="viewEvent" CommandParameter="fullscreen" Background="Transparent" Width="29" Height="29"
1019
                                               telerik:ScreenTip.Description="화면을 최대화 합니다"
1020
                                               telerik:ScreenTip.Title="maximize">
1021
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/fullscreen.png"/>
1022
                        </telerik:RadToggleButton>-->
1023
                        <!--<telerik:RadButton BorderThickness="0" Grid.Row="1" Grid.Column="0" Click="viewEvent" CommandParameter="zoomout" Background="Transparent" 
1024
                                               telerik:ScreenTip.Description="줌 축소를 합니다"
1025
                                               telerik:ScreenTip.Title="Zoom Out">
1026
                                <Image Source="/KCOM;component/Resources/Images/MenuImage_new/minus.png" Stretch="Uniform" Width="20" Height="20"/>
1027
                            </telerik:RadButton>
1028
                            <telerik:RadButton BorderThickness="0" Grid.Row="1" Grid.Column="1" Click="viewEvent" CommandParameter="zoomin" Background="Transparent"
1029
                                               telerik:ScreenTip.Description="줌 확대를 합니다"
1030
                                               telerik:ScreenTip.Title="Zoom In">
1031
                                <Image Source="/KCOM;component/Resources/Images/MenuImage_new/plus.png" Stretch="Uniform" Width="20" Height="20"/>
1032
                            </telerik:RadButton>
1033
                            <telerik:RadButton BorderThickness="0" Click="viewEvent" CommandParameter="fitHeight" Background="Transparent"
1034
                                               telerik:ScreenTip.Description="화면을 맞춥니다"
1035
                                               telerik:ScreenTip.Title="Fit">
1036
                                <Image Source="/KCOM;component/Resources/Images/MenuImage_new/expand.png" Stretch="Uniform" Width="20" Height="20"/>
1037
                            </telerik:RadButton>
1038
                            <telerik:RadButton BorderThickness="0"  Click="viewEvent" CommandParameter="fullscreen" Background="Transparent"
1039
                                               telerik:ScreenTip.Description="화면을 최대화 합니다"
1040
                                               telerik:ScreenTip.Title="maximize">
1041
                                <Image Source="/KCOM;component/Resources/Images/MenuImage_new/fullscreen.png" Stretch="Uniform" Width="20" Height="20"/>
1042
                            </telerik:RadButton>-->
1043
                        <!--</StackPanel>-->
1044

    
1045
                        <!--<StackPanel Orientation="Horizontal"  Grid.Row="1">
1046
                            <telerik:RadButton BorderThickness="0" Click="viewEvent" CommandParameter="Rotate_M" Background="Transparent"
1047
                                               telerik:ScreenTip.Description="반시계 방향으로 회전합니다"
1048
                                               telerik:ScreenTip.Title="Rotate left">
1049
                                <telerik:RadButton.Content>
1050
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_New/Rotate_Minus.png" Stretch="Uniform" Width="20" Height="20"/>
1051
                                </telerik:RadButton.Content>
1052
                            </telerik:RadButton>
1053

1054
                            <telerik:RadButton BorderThickness="0" Click="viewEvent" CommandParameter="Rotate_P" Background="Transparent"
1055
                                               telerik:ScreenTip.Description="시계 방향으로 회전합니다"
1056
                                               telerik:ScreenTip.Title="Rotate right">
1057
                                <telerik:RadButton.Content>
1058
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_New/Rotate_Plus.png" Stretch="Uniform" Width="20" Height="20"/>
1059
                                </telerik:RadButton.Content>
1060
                            </telerik:RadButton>
1061

1062
                            <telerik:RadButton BorderThickness="0" Click="viewEvent" CommandParameter="Rotate_half" Background="Transparent"
1063
                                               telerik:ScreenTip.Description="화면의 상하가 반전 됩니다"
1064
                                               telerik:ScreenTip.Title="Upside down">
1065
                                <telerik:RadButton.Content>
1066
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_new/flip.png" Stretch="Uniform" Width="20" Height="20"/>
1067
                                </telerik:RadButton.Content>
1068
                            </telerik:RadButton>
1069

1070
                            --><!--<telerik:RadRibbonToggleButton 
1071
                                                       CollapseToMedium="WhenGroupIsMedium"
1072
                                                       CollapseToSmall="WhenGroupIsSmall"
1073
                                                       CommandParameter="Select"
1074
                                                       LargeImage="/KCOM;component/Resources/Images/MenuImage_new/select.png"
1075
                                                       Size="Medium"
1076
                                                       Click="ControlEvent"
1077
                                                       Tag="Select"
1078
                                                       x:Name="btnSelection"
1079
                                                       telerik:ScreenTip.Description="범위를 선택하여 마크업을 선택합니다"
1080
                                                       telerik:ScreenTip.Title="Eraser"
1081
                                                       Text="Selection"/>--><!--
1082
                            <telerik:RadRibbonToggleButton 
1083
                                                       CollapseToMedium="WhenGroupIsMedium"
1084
                                                       CollapseToSmall="WhenGroupIsSmall"
1085
                                                       CommandParameter="DragZoom"
1086
                                                       LargeImage="/KCOM;component/Resources/Images/MenuImage_new/zoom-in-tool.png"
1087
                                                       Size="Medium"
1088
                                                       Width="20"
1089
                                                       Height="20"
1090
                                                       Click="ControlEvent"
1091
                                                       Tag="Select"
1092
                                                       x:Name="btnDragZoom"
1093
                                                       telerik:ScreenTip.Description="범위를 선택하여 마크업을 선택합니다"
1094
                                                       telerik:ScreenTip.Title="Eraser"/>
1095

1096
                            --><!--<telerik:RadButton BorderThickness="0" Click="viewEvent" CommandParameter="boundzoom" Background="Transparent"
1097
                                               telerik:ScreenTip.Description="드래그 하여 줌 확대를 합니다."
1098
                                               telerik:ScreenTip.Title="Drag zoom in">
1099
                                <telerik:RadButton.Content>
1100
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_new/zoom-in-tool.png" Stretch="Uniform" Width="20" Height="20"/>
1101
                                </telerik:RadButton.Content>
1102
                            </telerik:RadButton>-->
1103

    
1104
                            <!--<Image Source="/KCOM;component/Resources/Images/MenuImage_new/zoom-in-tool.png" Stretch="Uniform" Width="26" Height="26"/>--><!--
1105

1106
                        </StackPanel>-->
1107
                    <!--</Grid>-->
1108
                </telerik:RadRibbonGroup>
1109

    
1110

    
1111
                <telerik:RadRibbonGroup DialogLauncherVisibility="Collapsed"
1112
                                        Header="IK Test" Visibility="Collapsed"
1113
                                        telerik:ScreenTip.Description="인구 테스트 기능"
1114
                                        telerik:ScreenTip.Title="Approval">
1115
                    <telerik:RadCollapsiblePanel Margin="3,0,3,0">
1116
                        <!--강인구 추가 Mark Click 이벤트 추가-->
1117
                        <telerik:RadRibbonToggleButton MaxWidth="100"
1118
                                                       CollapseToSmall="WhenGroupIsMedium"
1119
                                                       Size="Medium"
1120
                                                       Tag="AutoSave"
1121
                                                       telerik:ScreenTip.Description="자동 저장을 합니다."
1122
                                                       telerik:ScreenTip.Title="Auto Save" Click="AutoSave"
1123
                                                       Text="AutoSave" />
1124

    
1125
                    </telerik:RadCollapsiblePanel>
1126
                </telerik:RadRibbonGroup>
1127
            </telerik:RadRibbonTab>
1128

    
1129
            <!--<telerik:RadRibbonTab Header="VIEW">
1130

1131
                <telerik:RadRibbonGroup DialogLauncherVisibility="Collapsed"
1132
                                        telerik:ScreenTip.Description="Show the File Task options."
1133
                                        telerik:ScreenTip.Title="File" Header="PAGE"
1134
                                        Visibility="Visible">
1135
                    <Grid Margin="0,-1,0,0">
1136
                        <Grid.ColumnDefinitions>
1137
                            <ColumnDefinition/>
1138
                            <ColumnDefinition/>
1139
                        </Grid.ColumnDefinitions>
1140
                        <Grid.RowDefinitions>
1141
                            <RowDefinition/>
1142
                            <RowDefinition/>
1143
                        </Grid.RowDefinitions>
1144

1145
                        <TextBox Text="1" Width="30" Padding="0"  Grid.Row="0" Grid.Column="0" VerticalAlignment="Center" HorizontalContentAlignment="Center"  Margin="5,0" x:Name="tlcurrentPage" KeyDown="tlcurrentPage_KeyDown"/>
1146
                        <TextBlock Grid.Row="0" Grid.Column="1" Margin="0,7,5,0">
1147
                            <TextBlock Text="/"  Padding="3"   VerticalAlignment="Center" HorizontalAlignment="Center"/>
1148
                            <TextBlock Text="{Binding Document_Info.Count, Source={x:Static common:ViewerDataModel.Instance}}" Padding="3" VerticalAlignment="Center" HorizontalAlignment="Center" x:Name="tlPageCount"/>
1149
                        </TextBlock>
1150

1151
                        <telerik:RadButton Grid.Row="1" Grid.Column="0" BorderThickness="0" Click="PageGoEvent" CommandParameter="Down" Width="29" Height="29">
1152
                                <telerik:RadButton.Content>
1153
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_new/pagearrow.png"/>
1154
                                </telerik:RadButton.Content>
1155
                            </telerik:RadButton>
1156
                        <telerik:RadButton Grid.Row="1" Grid.Column="1" BorderThickness="0" Click="PageGoEvent" CommandParameter="Up" Width="29" Height="29" >
1157
                                <telerik:RadButton.Content>
1158
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_new/pagearrow.png" RenderTransformOrigin="0.5,0.5">
1159
                                        <Image.RenderTransform>
1160
                                            <RotateTransform Angle="180"/>
1161
                                        </Image.RenderTransform>
1162
                                    </Image>
1163
                                </telerik:RadButton.Content>
1164
                            </telerik:RadButton>
1165
                    </Grid>
1166
                </telerik:RadRibbonGroup>
1167

1168
                <telerik:RadRibbonGroup DialogLauncherVisibility="Collapsed" Header="ZOOM"
1169
                                        telerik:ScreenTip.Description="Show the File Task options."
1170
                                        telerik:ScreenTip.Title="File"
1171
                                        Visibility="Visible">
1172
                    <Grid>
1173
                    <Grid.RowDefinitions>
1174
                        <RowDefinition/>
1175
                        <RowDefinition/>
1176
                    </Grid.RowDefinitions>
1177

1178
                            <StackPanel Orientation="Horizontal"  Grid.Row="0">
1179
                            <telerik:RadButton BorderThickness="0" Grid.Row="1" Grid.Column="0" Click="viewEvent" CommandParameter="zoomout" Width="29" Height="29">
1180
                                <Image Source="/KCOM;component/Resources/Images/MenuImage_new/minus.png"/>
1181
                            </telerik:RadButton>
1182
                            <telerik:RadButton BorderThickness="0" Grid.Row="1" Grid.Column="1" Click="viewEvent" CommandParameter="zoomin" Width="29" Height="29">
1183
                                <Image Source="/KCOM;component/Resources/Images/MenuImage_new/plus.png"/>
1184
                            </telerik:RadButton>
1185
                            <telerik:RadButton BorderThickness="0" Click="viewEvent" CommandParameter="fitHeight">
1186
                                <Image Source="/KCOM;component/Resources/Images/MenuImage_new/expand.png" Stretch="Uniform" Width="20" Height="20"/>
1187
                            </telerik:RadButton>
1188
                            <telerik:RadButton BorderThickness="0"  Click="viewEvent" CommandParameter="fullscreen">
1189
                                <Image Source="/KCOM;component/Resources/Images/MenuImage_new/fullscreen.png" Stretch="Uniform" Width="20" Height="20"/>
1190
                            </telerik:RadButton>
1191
                            </StackPanel>
1192
                        
1193
                        <StackPanel Orientation="Horizontal"  Grid.Row="1">
1194
                            <telerik:RadButton BorderThickness="0" Click="viewEvent" CommandParameter="Rotate_M">
1195
                                <telerik:RadButton.Content>
1196
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_New/Rotate_Minus.png" Stretch="Uniform" Width="20" Height="20"/>
1197
                                </telerik:RadButton.Content>
1198
                            </telerik:RadButton>
1199

1200
                            <telerik:RadButton BorderThickness="0" Click="viewEvent" CommandParameter="Rotate_P">
1201
                                <telerik:RadButton.Content>
1202
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_New/Rotate_Plus.png" Stretch="Uniform" Width="20" Height="20"/>
1203
                                </telerik:RadButton.Content>
1204
                            </telerik:RadButton>
1205

1206
                            <telerik:RadButton BorderThickness="0" Click="viewEvent" CommandParameter="Rotate_half">
1207
                                <telerik:RadButton.Content>
1208
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_new/flip.png" Stretch="Uniform" Width="20" Height="20"/>
1209
                                </telerik:RadButton.Content>
1210
                            </telerik:RadButton>
1211
                        </StackPanel>
1212
                    </Grid>
1213
                </telerik:RadRibbonGroup>
1214

1215
                <telerik:RadRibbonGroup DialogLauncherVisibility="Collapsed" Header="ROTATE"
1216
                                        telerik:ScreenTip.Description="Show the File Task options."
1217
                                        telerik:ScreenTip.Title="File"
1218
                                        Visibility="Visible">
1219
                    <telerik:RadOrderedWrapPanel>
1220
                        <StackPanel Orientation="Horizontal">
1221

1222
                            <telerik:RadButton BorderThickness="0" Click="viewEvent" CommandParameter="Rotate_M">
1223
                                <telerik:RadButton.Content>
1224
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_New/Rotate_Minus.png" Stretch="Uniform" Width="20" Height="20"/>
1225
                                </telerik:RadButton.Content>
1226
                            </telerik:RadButton>
1227

1228
                            <telerik:RadButton BorderThickness="0" Click="viewEvent" CommandParameter="Rotate_P">
1229
                                <telerik:RadButton.Content>
1230
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_New/Rotate_Plus.png" Stretch="Uniform" Width="20" Height="20"/>
1231
                                </telerik:RadButton.Content>
1232
                            </telerik:RadButton>
1233

1234
                            <telerik:RadButton BorderThickness="0" Click="viewEvent" CommandParameter="Rotate_half">
1235
                                <telerik:RadButton.Content>
1236
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_new/flip.png" Stretch="Uniform" Width="20" Height="20"/>
1237
                                </telerik:RadButton.Content>
1238
                            </telerik:RadButton>
1239

1240
                        </StackPanel>
1241
                    </telerik:RadOrderedWrapPanel>
1242
                </telerik:RadRibbonGroup>
1243

1244
                <telerik:RadRibbonGroup DialogLauncherVisibility="Collapsed" Header="ETC"
1245
                                        telerik:ScreenTip.Description="Show the File Task options."
1246
                                        telerik:ScreenTip.Title="File"
1247
                                        Visibility="Visible">
1248
                    <telerik:RadOrderedWrapPanel>
1249
                        <StackPanel Orientation="Horizontal">
1250
                            <telerik:RadButton Margin="0,0,5,0" BorderThickness="0" Click="PanoramaEvent">
1251
                                <telerik:RadButton.Content>
1252
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_New/panorama.png" Stretch="Uniform" Width="26" Height="26"/>
1253
                                </telerik:RadButton.Content>
1254
                            </telerik:RadButton>
1255
                        </StackPanel>
1256
                    </telerik:RadOrderedWrapPanel>
1257
                </telerik:RadRibbonGroup>
1258
            </telerik:RadRibbonTab>-->
1259

    
1260
            <!--<telerik:RadRibbonTab Header="VIEW">
1261

1262
                <telerik:RadRibbonGroup DialogLauncherVisibility="Collapsed"
1263
                                        telerik:ScreenTip.Description="Show the File Task options."
1264
                                        telerik:ScreenTip.Title="File" Header="PAGE"
1265
                                        Visibility="Visible">
1266
                    <telerik:RadOrderedWrapPanel>
1267
                        <StackPanel Orientation="Horizontal">
1268
                            <TextBox Text="1" Width="30" Padding="0" VerticalAlignment="Center" HorizontalContentAlignment="Center"  Margin="5,0" x:Name="tlcurrentPage" KeyDown="tlcurrentPage_KeyDown"/>
1269
                            <TextBlock Text="/"  Padding="3" VerticalAlignment="Center" HorizontalAlignment="Center"/>
1270
                            <TextBlock Text="{Binding Document_Info.Count, Source={x:Static common:ViewerDataModel.Instance}}" Padding="3" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="5,0" x:Name="tlPageCount"/>
1271
                            <telerik:RadButton Margin="0,0,5,0" BorderThickness="0" Click="PageGoEvent" CommandParameter="Down">
1272
                                <telerik:RadButton.Content>
1273
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_new/pagearrow.png" Stretch="Uniform" Width="26" Height="26"/>
1274
                                </telerik:RadButton.Content>
1275
                            </telerik:RadButton>
1276
                            <telerik:RadButton Margin="0,0,5,0" BorderThickness="0" Click="PageGoEvent" CommandParameter="Up">
1277
                                <telerik:RadButton.Content>
1278
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_new/pagearrow.png" Stretch="Uniform" Width="26" Height="26" RenderTransformOrigin="0.5,0.5">
1279
                                        <Image.RenderTransform>
1280
                                            <RotateTransform Angle="180"/>
1281
                                        </Image.RenderTransform>
1282
                                    </Image>
1283
                                </telerik:RadButton.Content>
1284
                            </telerik:RadButton>
1285
                        </StackPanel>
1286
                    </telerik:RadOrderedWrapPanel>
1287
                </telerik:RadRibbonGroup>
1288

1289
                <telerik:RadRibbonGroup DialogLauncherVisibility="Collapsed" Header="ZOOM"
1290
                                        telerik:ScreenTip.Description="Show the File Task options."
1291
                                        telerik:ScreenTip.Title="File"
1292
                                        Visibility="Visible">
1293
                    <telerik:RadOrderedWrapPanel>
1294
                        <StackPanel Orientation="Horizontal">
1295
                            --><!--<telerik:RadRibbonButton Size="Large" LargeImage="/KCOM;component/Resources/Images/MenuImage_new/minus.png" Margin="0,0,5,0" Width="30" Height="30"/>
1296
                            <telerik:RadRibbonButton Size="Large" LargeImage="/KCOM;component/Resources/Images/MenuImage_new/plus.png" Margin="5,0"/>-->
1297
                            <!--<telerik:RadComboBox Background="White"  VerticalAlignment="Center" Padding="5" SelectedIndex="4" Width="75" telerik:StyleManager.Theme="Office2016" Margin="5,0">
1298
                                <telerik:RadComboBox.Items>
1299
                                    <telerik:RadComboBoxItem Content="10%"/>
1300
                                    <telerik:RadComboBoxItem Content="20%"/>
1301
                                    <telerik:RadComboBoxItem Content="50%"/>
1302
                                    <telerik:RadComboBoxItem Content="75%"/>
1303
                                    <telerik:RadComboBoxItem Content="100%"/>
1304
                                    <telerik:RadComboBoxItem Content="200%"/>
1305
                                </telerik:RadComboBox.Items>
1306
                            </telerik:RadComboBox>--><!--
1307
                            <telerik:RadButton Margin="0,0,5,0" BorderThickness="0" Click="viewEvent" CommandParameter="zoomout">
1308
                                <telerik:RadButton.Content>
1309
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_new/minus.png" Stretch="Uniform" Width="26" Height="26"/>
1310
                                </telerik:RadButton.Content>
1311
                            </telerik:RadButton>
1312

1313
                            <telerik:RadButton Margin="0,0,5,0" BorderThickness="0" Click="viewEvent" CommandParameter="zoomin">
1314
                                <telerik:RadButton.Content>
1315
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_new/plus.png" Stretch="Uniform" Width="26" Height="26"/>
1316
                                </telerik:RadButton.Content>
1317
                            </telerik:RadButton>
1318
                            <telerik:RadButton Margin="0,0,5,0" BorderThickness="0" Click="viewEvent" CommandParameter="fitWidth">
1319
                                <telerik:RadButton.Content>
1320
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_new/fitWindownWidth.png" Stretch="Uniform" Width="26" Height="26"/>
1321
                                </telerik:RadButton.Content>
1322
                            </telerik:RadButton>
1323

1324
                            <telerik:RadButton Margin="0,0,5,0" BorderThickness="0" Click="viewEvent" CommandParameter="fitHeight">
1325
                                <telerik:RadButton.Content>
1326
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_new/fitWindownHeight.png" Stretch="Uniform" Width="26" Height="26"/>
1327
                                </telerik:RadButton.Content>
1328
                            </telerik:RadButton>
1329

1330
                            <telerik:RadButton Margin="0,0,5,0" BorderThickness="0"  Click="viewEvent" CommandParameter="fullscreen">
1331
                                <telerik:RadButton.Content>
1332
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_new/expand.png" Stretch="Uniform" Width="26" Height="26"/>
1333
                                </telerik:RadButton.Content>
1334
                            </telerik:RadButton>
1335

1336
                            <telerik:RadButton Margin="0,0,5,0" BorderThickness="0" Click="viewEvent" CommandParameter="boundzoom" Visibility="Collapsed">
1337
                                <telerik:RadButton.Content>
1338
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_new/zoom-in-tool.png" Stretch="Uniform" Width="26" Height="26"/>
1339
                                </telerik:RadButton.Content>
1340
                            </telerik:RadButton>
1341
                        </StackPanel>
1342
                    </telerik:RadOrderedWrapPanel>
1343
                </telerik:RadRibbonGroup>
1344

1345
                <telerik:RadRibbonGroup DialogLauncherVisibility="Collapsed" Header="ROTATE"
1346
                                        telerik:ScreenTip.Description="Show the File Task options."
1347
                                        telerik:ScreenTip.Title="File"
1348
                                        Visibility="Visible">
1349
                    <telerik:RadOrderedWrapPanel>
1350
                        <StackPanel Orientation="Horizontal">
1351

1352
                            <telerik:RadButton Margin="0,0,5,0" BorderThickness="0" Click="viewEvent" CommandParameter="Rotate_M">
1353
                                <telerik:RadButton.Content>
1354
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_New/Rotate_Minus.png" Stretch="Uniform" Width="26" Height="26"/>
1355
                                </telerik:RadButton.Content>
1356
                            </telerik:RadButton>
1357

1358
                            <telerik:RadButton Margin="0,0,5,0" BorderThickness="0" Click="viewEvent" CommandParameter="Rotate_P">
1359
                                <telerik:RadButton.Content>
1360
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_New/Rotate_Plus.png" Stretch="Uniform" Width="26" Height="26"/>
1361
                                </telerik:RadButton.Content>
1362
                            </telerik:RadButton>
1363

1364
                            <telerik:RadButton Margin="0,0,5,0" BorderThickness="0" Click="viewEvent" CommandParameter="Rotate_half">
1365
                                <telerik:RadButton.Content>
1366
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_new/flip.png" Stretch="Uniform" Width="26" Height="26"/>
1367
                                    
1368
                                </telerik:RadButton.Content>
1369
                            </telerik:RadButton>
1370

1371
                        </StackPanel>
1372
                    </telerik:RadOrderedWrapPanel>
1373
                </telerik:RadRibbonGroup>
1374

1375
                <telerik:RadRibbonGroup DialogLauncherVisibility="Collapsed" Header="ETC"
1376
                                        telerik:ScreenTip.Description="Show the File Task options."
1377
                                        telerik:ScreenTip.Title="File"
1378
                                        Visibility="Visible">
1379
                    <telerik:RadOrderedWrapPanel>
1380
                        <StackPanel Orientation="Horizontal">
1381
                            <telerik:RadButton Margin="0,0,5,0" BorderThickness="0" Click="PanoramaEvent">
1382
                                <telerik:RadButton.Content>
1383
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_New/panorama.png" Stretch="Uniform" Width="26" Height="26"/>
1384
                                </telerik:RadButton.Content>
1385
                            </telerik:RadButton>
1386
                        </StackPanel>
1387
                    </telerik:RadOrderedWrapPanel>
1388
                </telerik:RadRibbonGroup>
1389
            </telerik:RadRibbonTab>-->
1390
            
1391
            <telerik:RadRibbonTab Header="COMMENT MANAGER">
1392
                <telerik:RadRibbonGroup DialogLauncherVisibility="Collapsed"
1393
                                        telerik:ScreenTip.Description="Show the File Task options."
1394
                                        telerik:ScreenTip.Title="File" Header="MANAGER"
1395
                                        Visibility="Visible">
1396
                    <telerik:RadOrderedWrapPanel>
1397
                        <StackPanel Orientation="Horizontal">
1398
                            <telerik:RadButton Margin="0,0,5,0" BorderThickness="0" Click="CheckEvent" CommandParameter="Check">
1399
                                <telerik:RadButton.Content>
1400
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_new/checklist.png" Stretch="Uniform" Width="26" Height="26"/>
1401
                                </telerik:RadButton.Content>
1402
                            </telerik:RadButton>
1403
                        </StackPanel>
1404
                    </telerik:RadOrderedWrapPanel>
1405

    
1406
                    <!--<telerik:RadOrderedWrapPanel>
1407
                        <StackPanel Orientation="Horizontal">
1408
                            <telerik:RadButton Margin="0,0,5,0" BorderThickness="0">
1409
                                <telerik:RadButton.Content>
1410
                                    <TextBlock Text="CommentList" />
1411
                                </telerik:RadButton.Content>
1412
                            </telerik:RadButton>
1413
                        </StackPanel>
1414
                    </telerik:RadOrderedWrapPanel>-->
1415

    
1416
                    <!--<telerik:RadOrderedWrapPanel>
1417
                        <StackPanel Orientation="Horizontal">
1418
                            <telerik:RadButton Margin="0,0,5,0" BorderThickness="0">
1419
                                <telerik:RadButton.Content>
1420
                                    <TextBlock Text="Compare" />
1421
                                </telerik:RadButton.Content>
1422
                            </telerik:RadButton>
1423
                        </StackPanel>
1424
                    </telerik:RadOrderedWrapPanel>-->
1425
                </telerik:RadRibbonGroup>
1426
                <!--<telerik:RadButton Margin="0,0,5,0" BorderThickness="0" Click="CheckEvent">-->
1427
                                <!--<telerik:RadButton.Content>
1428
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_new/minus.png" Stretch="Uniform" Width="26" Height="26"/>
1429
                                </telerik:RadButton.Content>-->
1430
                            <!--</telerik:RadButton>-->
1431
            </telerik:RadRibbonTab>
1432

    
1433
            <telerik:RadRibbonTab Header="DEMO" Visibility="Collapsed">
1434

    
1435
                <telerik:RadRibbonGroup>
1436
                    <telerik:RadOrderedWrapPanel>
1437
                        <StackPanel Orientation="Horizontal">
1438
                            <telerik:RadRibbonButton
1439
                                                       CollapseToMedium="WhenGroupIsMedium"
1440
                                                       CollapseToSmall="WhenGroupIsSmall"
1441
                                                       CommandParameter="Print"
1442
                                                       Size="Medium"
1443
                                                       Tag="Print" x:Name="btnFromFile" Click="btnFromFile_Click"
1444
                                                       Text="From File" />
1445
                            
1446
                            <telerik:RadRibbonButton
1447
                                                       CollapseToMedium="WhenGroupIsMedium"
1448
                                                       CollapseToSmall="WhenGroupIsSmall"
1449
                                                       CommandParameter="PDF"
1450
                                                       Size="Medium" Click="btnSync_Click"
1451
                                                       Tag="PDF" x:Name="btnSync"
1452
                                                       Text="Sync" />
1453

    
1454
                            <!--<telerik:RadButton Margin="0,0,5,0" BorderThickness="0">
1455
                            <telerik:RadButton.Content>
1456
                                <TextBlock Text="Compare" />
1457
                            </telerik:RadButton.Content>-->
1458
                        <!--</telerik:RadButton>-->
1459
                        </StackPanel>
1460
                    </telerik:RadOrderedWrapPanel>
1461
                </telerik:RadRibbonGroup>
1462
                <!--<telerik:RadRibbonTab Header="Comment"/>
1463
            <telerik:RadRibbonTab Header="Edit"/>
1464
            <telerik:RadRibbonTab Header="Page"/>
1465
            <telerik:RadRibbonTab Header="Project"/>
1466
            <telerik:RadRibbonTab Header="Help"/>-->
1467
            </telerik:RadRibbonTab>
1468
        </telerik:RadRibbonView>
1469
    </Grid>
1470
</UserControl>
클립보드 이미지 추가 (최대 크기: 500 MB)