프로젝트

일반

사용자정보

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

markus / KCOM / Views / TopMenu.xaml @ b2d0f316

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

1
<UserControl
2
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4
    xmlns:common="clr-namespace:KCOM.Common"
5
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
6
    xmlns:fonts="clr-namespace:Markus.Fonts;assembly=Markus.Fonts"
7
    xmlns:local="clr-namespace:KCOM.Views"
8
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
9
    xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
10
    xmlns:Globalization="clr-namespace:System.Globalization;assembly=mscorlib"
11
    x:Class="KCOM.Views.TopMenu"
12
    d:DesignHeight="250"
13
    d:DesignWidth="1600"
14
    mc:Ignorable="d">
15
    <!--  d:DesignHeight="250" d:DesignWidth="1600">  -->
16
    <UserControl.Resources>
17
        <Style TargetType="{x:Type telerik:RadToggleButton}">
18
            <Setter Property="telerik:StyleManager.Theme" Value="VisualStudio2013" />
19
            <Setter Property="BorderThickness" Value="0" />
20
            <Setter Property="Background" Value="Transparent" />
21
        </Style>
22
        <Style TargetType="{x:Type telerik:RadRibbonComboBox}">
23
            <Setter Property="telerik:StyleManager.Theme" Value="VisualStudio2013" />
24
        </Style>
25
        <Style TargetType="{x:Type telerik:RadRibbonButton}">
26
            <Setter Property="telerik:StyleManager.Theme" Value="VisualStudio2013" />
27
        </Style>
28
        <Style TargetType="{x:Type telerik:RadRibbonToggleButton}">
29
            <Setter Property="telerik:StyleManager.Theme" Value="VisualStudio2013" />
30
        </Style>
31
    </UserControl.Resources>
32
    <Grid>
33
        <telerik:RadRibbonView
34
            x:Name="radRibbonView"
35
            Title="KCOM"
36
            MaxHeight="Infinity"
37
            VerticalAlignment="Top"
38
            telerik:StyleManager.Theme="Office2016"
39
            ApplicationButtonVisibility="Collapsed"
40
            ApplicationName="세부 내용 입력란"
41
            BorderThickness="0.5"
42
            IsApplicationMenuOpen="False"
43
            IsBackstageOpen="False"
44
            IsMinimizable="True"
45
            IsMinimized="False"
46
            MinimizeButtonVisibility="Visible"
47
            QuickAccessToolBarPosition="AboveRibbon"
48
            SelectedIndex="1"
49
            TitleBarVisibility="Collapsed">
50
            <!--<telerik:RadRibbonView.QuickAccessToolBar>
51
                <telerik:QuickAccessToolBar telerik:StyleManager.Theme="Office2016">
52
                    <telerik:QuickAccessToolBar>
53
                        <telerik:RadRibbonButton Text="Save" SmallImage="/KCOM;component/Resources/Images/MenuImage_new/topdf.png"
54
                                        Size="Small"
55
                                        telerik:KeyTipService.AccessText="1" />
56
                        <telerik:RadRibbonButton Text="Undo" SmallImage="/KCOM;component/Resources/Images/MenuImage_new/topdf.png"
57
                                        Size="Small"
58
                                        telerik:KeyTipService.AccessText="2" />
59
                        <telerik:RadRibbonButton Text="Print" SmallImage="/KCOM;component/Resources/Images/MenuImage_new/topdf.png"
60
                                        Size="Small"
61
                                        telerik:KeyTipService.AccessText="3" />
62
                    </telerik:QuickAccessToolBar>
63
                </telerik:QuickAccessToolBar>
64
            </telerik:RadRibbonView.QuickAccessToolBar>-->
65
            <telerik:RadRibbonView.BorderBrush>
66
                <SolidColorBrush Color="{DynamicResource {x:Static SystemColors.ActiveBorderColorKey}}" />
67
            </telerik:RadRibbonView.BorderBrush>
68

    
69
            <telerik:RadRibbonTab Header="HOME" Visibility="Visible">
70
                <telerik:RadRibbonGroup
71
                    telerik:ScreenTip.Description="Show the File Task options."
72
                    telerik:ScreenTip.Title="File"
73
                    DialogLauncherVisibility="Collapsed"
74
                    Visibility="Visible">
75
                    <telerik:RadOrderedWrapPanel>
76
                        <StackPanel Orientation="Horizontal">
77
                            <telerik:RadRibbonButton
78
                                Click="PrintEvent"
79
                                Content="Print"
80
                                LargeImage="/KCOM;component/Resources/Images/MenuImage_new/printer.png"
81
                                Size="Large" />
82
                            <telerik:RadRibbonButton
83
                                Click="PrintEvent"
84
                                Content="Export"
85
                                LargeImage="/KCOM;component/Resources/Images/MenuImage_new/topdf.png"
86
                                Size="Large" />
87
                            <telerik:RadRibbonButton
88
                                Click="SaveEventCallback"
89
                                Content="SAVE"
90
                                LargeImage="/KCOM;component/Resources/Images/MenuImage_new/diskette2.png"
91
                                Size="Large" />
92
                            <Grid Margin="0,-1,0,0">
93
                                <Grid.ColumnDefinitions>
94
                                    <ColumnDefinition />
95
                                </Grid.ColumnDefinitions>
96
                                <Grid.RowDefinitions>
97
                                    <RowDefinition />
98
                                    <RowDefinition />
99
                                </Grid.RowDefinitions>
100
                                <CheckBox
101
                                    x:Name="cbAutoSave"
102
                                    Grid.Row="0"
103
                                    Grid.Column="0"
104
                                    Margin="10,5,2,0"
105
                                    HorizontalAlignment="Left"
106
                                    VerticalAlignment="Center"
107
                                    Checked="cbAutoSave_Checked"
108
                                    Content="Auto Save"
109
                                    IsChecked="False"
110
                                    Unchecked="cbAutoSave_Checked" />
111

    
112
                                <telerik:RadButtonGroup
113
                                    Grid.Row="1"
114
                                    Grid.Column="0"
115
                                    Height="20"
116
                                    Margin="10,0,0,0"
117
                                    telerik:StyleManager.Theme="Windows8"
118
                                    BorderThickness="1">
119
                                    <TextBlock
120
                                        Width="40"
121
                                        HorizontalAlignment="Center"
122
                                        VerticalAlignment="Center"
123
                                        FontSize="10"
124
                                        Text="Interval"
125
                                        TextAlignment="Center" />
126
                                    <telerik:RadNumericUpDown
127
                                        x:Name="cbSaveInterval"
128
                                        Width="60"
129
                                        Height="20"
130
                                        Margin="2"
131
                                        HorizontalAlignment="Stretch"
132
                                        VerticalAlignment="Center"
133
                                        HorizontalContentAlignment="Center"
134
                                        telerik:StyleManager.Theme="Windows7"
135
                                        Maximum="100"
136
                                        Minimum="1"
137
                                        NumberDecimalDigits="0"
138
                                        ToolTipService.ToolTip="Save Interval Value"
139
                                        ValueChanged="cbSaveInterval_ValueChanged"
140
                                        Value="{Binding SaveInterval, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}" />
141
                                </telerik:RadButtonGroup>
142

    
143
                            </Grid>
144
                            <!--<telerik:RadRibbonButton Content="GO"
145
                                                 LargeImage="/KCOM;component/Resources/Images/MenuImage_new/print.png"
146
                                                 Size="Large"/>-->
147
                        </StackPanel>
148
                    </telerik:RadOrderedWrapPanel>
149
                    <!--<telerik:RadCollapsiblePanel>
150
                        <telerik:RadRibbonButton
151
                                                       CollapseToMedium="WhenGroupIsMedium"
152
                                                       CollapseToSmall="WhenGroupIsSmall"
153
                                                       CommandParameter="Print"
154
                                                       LargeImage="/KCOM;component/Resources/Images/MenuImage_new/print.png"
155
                                                       Size="Medium"
156
                                                       Tag="Print"
157
                                                       telerik:ScreenTip.Description="Use basic pen"
158
                                                       telerik:ScreenTip.Title="Free Mark Pen"
159
                                                       Text="Print" />
160
                        <telerik:RadRibbonButton
161
                                                       CollapseToMedium="WhenGroupIsMedium"
162
                                                       CollapseToSmall="WhenGroupIsSmall"
163
                                                       CommandParameter="PDF"
164
                                                       LargeImage="/KCOM;component/Resources/Images/MenuImage_new/print.png"
165
                                                       Size="Medium"
166
                                                       Tag="PDF"
167
                                                       telerik:ScreenTip.Description="Use basic pen."
168
                                                       telerik:ScreenTip.Title="Free Mark Pen"
169
                                                       Text="PDF" />
170
                    </telerik:RadCollapsiblePanel>-->
171
                </telerik:RadRibbonGroup>
172
                <!--<telerik:RadRibbonGroup DialogLauncherVisibility="Collapsed"
173
                                        telerik:ScreenTip.Description="Show the File Task options."
174
                                        telerik:ScreenTip.Title="File"
175
                                        Visibility="Visible">
176
                    <telerik:RadCollapsiblePanel>-->
177
                <!--<telerik:RadRibbonButton
178
                                                       CollapseToMedium="WhenGroupIsMedium"
179
                                                       CollapseToSmall="WhenGroupIsSmall"
180
                                                       CommandParameter="Print"
181
                                                       Size="Medium"
182
                                                       Tag="Print" x:Name="btnFromFile" Click="btnFromFile_Click"
183
                                                       telerik:ScreenTip.Description="Use basic pen."
184
                                                       telerik:ScreenTip.Title="Free Mark Pen"
185
                                                       Text="From File" />-->
186
                <!--<telerik:RadRibbonButton
187
                                                       CollapseToMedium="WhenGroupIsMedium"
188
                                                       CollapseToSmall="WhenGroupIsSmall"
189
                                                       CommandParameter="PDF"
190
                                                       Size="Medium" Click="btnSync_Click"
191
                                                       Tag="PDF" x:Name="btnSync"
192
                                                       telerik:ScreenTip.Description="Use basic pen."
193
                                                       telerik:ScreenTip.Title="Free Mark Pen"
194
                                                       Text="Sync" />-->
195
                <!--</telerik:RadCollapsiblePanel>
196
                </telerik:RadRibbonGroup>-->
197
            </telerik:RadRibbonTab>
198

    
199
            <telerik:RadRibbonTab Header="COMMENT">
200

    
201
                <telerik:RadRibbonGroup
202
                    DialogLauncherVisibility="Collapsed"
203
                    Header="CONTROL"
204
                    Icon="/KCOM;component/Resources/Images/MenuImage_New/small/control.png"
205
                    IsEnabled="True">
206
                    <telerik:RadCollapsiblePanel>
207
                        <telerik:RadRibbonToggleButton
208
                            telerik:ScreenTip.Description="Undo the work"
209
                            telerik:ScreenTip.Title="Undo"
210
                            Click="ControlEvent"
211
                            CollapseToMedium="WhenGroupIsMedium"
212
                            CollapseToSmall="WhenGroupIsSmall"
213
                            CommandParameter="Undo"
214
                            LargeImage="/KCOM;component/Resources/Images/MenuImage_new/undo3.png"
215
                            Size="Medium"
216
                            Tag="Undo"
217
                            Text="Undo" />
218
                        <telerik:RadRibbonToggleButton
219
                            telerik:ScreenTip.Description="Copy markup"
220
                            telerik:ScreenTip.Title="Copy"
221
                            Click="ControlEvent"
222
                            CollapseToMedium="WhenGroupIsMedium"
223
                            CollapseToSmall="WhenGroupIsSmall"
224
                            CommandParameter="Copy"
225
                            LargeImage="/KCOM;component/Resources/Images/MenuImage_new/copy2.png"
226
                            Size="Medium"
227
                            Tag="Copy"
228
                            Text="Copy" />
229
                        <telerik:RadRibbonToggleButton
230
                            telerik:ScreenTip.Description="Delete the Markup"
231
                            telerik:ScreenTip.Title="Eraser"
232
                            Click="ControlEvent"
233
                            CollapseToMedium="WhenGroupIsMedium"
234
                            CollapseToSmall="WhenGroupIsSmall"
235
                            CommandParameter="Ink"
236
                            LargeImage="/KCOM;component/Resources/Images/MenuImage_new/eraser.png"
237
                            Size="Medium"
238
                            Tag="Eraser"
239
                            Text="Eraser" />
240
                    </telerik:RadCollapsiblePanel>
241
                    <telerik:RadCollapsiblePanel>
242
                        <telerik:RadRibbonToggleButton
243
                            telerik:ScreenTip.Description="Redo the work"
244
                            telerik:ScreenTip.Title="Redo"
245
                            Click="ControlEvent"
246
                            CollapseToMedium="WhenGroupIsMedium"
247
                            CollapseToSmall="WhenGroupIsSmall"
248
                            CommandParameter="Redo"
249
                            LargeImage="/KCOM;component/Resources/Images/MenuImage_new/Redo3.png"
250
                            Size="Medium"
251
                            Tag="Redo"
252
                            Text="Redo" />
253
                        <telerik:RadRibbonToggleButton
254
                            telerik:ScreenTip.Description="Cut selected markup"
255
                            telerik:ScreenTip.Title="Cut"
256
                            Click="ControlEvent"
257
                            CollapseToMedium="WhenGroupIsMedium"
258
                            CollapseToSmall="WhenGroupIsSmall"
259
                            CommandParameter="Cut"
260
                            LargeImage="/KCOM;component/Resources/Images/MenuImage_new/cut1.png"
261
                            Size="Medium"
262
                            Tag="Cut"
263
                            Text="Cut" />
264
                        <telerik:RadRibbonToggleButton
265
                            telerik:ScreenTip.Description="Delete selected markup"
266
                            telerik:ScreenTip.Title="Delete"
267
                            Click="ControlEvent"
268
                            CollapseToMedium="WhenGroupIsMedium"
269
                            CollapseToSmall="WhenGroupIsSmall"
270
                            CommandParameter="Delete"
271
                            LargeImage="/KCOM;component/Resources/Images/MenuImage_new/delete3.png"
272
                            Size="Medium"
273
                            Tag="Delete"
274
                            Text="Delete" />
275
                    </telerik:RadCollapsiblePanel>
276
                    <telerik:RadCollapsiblePanel>
277
                        <telerik:RadRibbonToggleButton
278
                            x:Name="btnSelection"
279
                            telerik:ScreenTip.Description="Select an area of markup"
280
                            telerik:ScreenTip.Title="Selection"
281
                            Click="ControlEvent"
282
                            CollapseToMedium="WhenGroupIsMedium"
283
                            CollapseToSmall="WhenGroupIsSmall"
284
                            CommandParameter="Select"
285
                            LargeImage="/KCOM;component/Resources/Images/MenuImage_new/select.png"
286
                            Size="Medium"
287
                            Tag="Select"
288
                            Text="Selection" />
289
                        <telerik:RadRibbonToggleButton
290
                            telerik:ScreenTip.Description="Paste markup"
291
                            telerik:ScreenTip.Title="Paste"
292
                            Click="ControlEvent"
293
                            CollapseToMedium="WhenGroupIsMedium"
294
                            CollapseToSmall="WhenGroupIsSmall"
295
                            CommandParameter="Paste"
296
                            LargeImage="/KCOM;component/Resources/Images/MenuImage_new/paste1.png"
297
                            Size="Medium"
298
                            Tag="Ink"
299
                            Text="Paste" />
300
                        <telerik:RadRibbonToggleButton />
301
                    </telerik:RadCollapsiblePanel>
302
                </telerik:RadRibbonGroup>
303

    
304
                <telerik:RadRibbonGroup
305
                    x:Name="LineControlGroup"
306
                    telerik:ScreenTip.Description="Show the File Task options."
307
                    telerik:ScreenTip.Title="File"
308
                    DialogLauncherVisibility="Collapsed"
309
                    Header="LINE"
310
                    Icon="/KCOM;component/Resources/Images/MenuImage_New/small/line.png"
311
                    Visibility="Visible">
312
                    <Grid Margin="0,-1,0,0">
313
                        <Grid.ColumnDefinitions>
314
                            <ColumnDefinition />
315
                            <ColumnDefinition />
316
                            <ColumnDefinition />
317
                            <ColumnDefinition />
318
                        </Grid.ColumnDefinitions>
319
                        <Grid.RowDefinitions>
320
                            <RowDefinition />
321
                            <RowDefinition />
322
                            <RowDefinition />
323
                        </Grid.RowDefinitions>
324

    
325
                        <telerik:RadToggleButton
326
                            Grid.Row="0"
327
                            Grid.Column="0"
328
                            Width="30"
329
                            Height="30"
330
                            Click="ControlEvent"
331
                            CommandParameter="Line"
332
                            Tag="Line3">
333
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_New/line.png" />
334
                        </telerik:RadToggleButton>
335
                        <telerik:RadToggleButton
336
                            Grid.Row="0"
337
                            Grid.Column="1"
338
                            Width="30"
339
                            Height="30"
340
                            Click="ControlEvent"
341
                            CommandParameter="Arrow"
342
                            Tag="Normal">
343
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_New/Arrow.png" />
344
                        </telerik:RadToggleButton>
345
                        <telerik:RadToggleButton
346
                            Grid.Row="0"
347
                            Grid.Column="2"
348
                            Width="30"
349
                            Height="30"
350
                            Click="ControlEvent"
351
                            CommandParameter="ArrowMulti"
352
                            Tag="Normal">
353
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_New/arrowTrans.png" />
354
                        </telerik:RadToggleButton>
355
                        <telerik:RadToggleButton
356
                            Grid.Row="1"
357
                            Grid.Column="0"
358
                            Width="30"
359
                            Height="30"
360
                            Click="ControlEvent"
361
                            CommandParameter="TwinLine"
362
                            Tag="Arrow">
363
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_New/dimension.png" />
364
                        </telerik:RadToggleButton>
365
                        <telerik:RadToggleButton
366
                            Grid.Row="1"
367
                            Grid.Column="1"
368
                            Width="30"
369
                            Height="30"
370
                            Click="ControlEvent"
371
                            CommandParameter="DimLine"
372
                            Tag="Dim">
373
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_New/dimensionEx.png" />
374
                        </telerik:RadToggleButton>
375
                        <telerik:RadToggleButton
376
                            Grid.Row="1"
377
                            Grid.Column="2"
378
                            Width="30"
379
                            Height="30"
380
                            Click="ControlEvent"
381
                            CommandParameter="CancelLine"
382
                            Tag="Line3">
383
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_New/lineDelete.png" />
384
                        </telerik:RadToggleButton>
385
                        <telerik:RadToggleButton
386
                            Grid.Row="2"
387
                            Grid.Column="0"
388
                            Width="30"
389
                            Height="30"
390
                            Click="ControlEvent"
391
                            CommandParameter="Arc"
392
                            Tag="Arc">
393
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_New/arc.png" />
394
                        </telerik:RadToggleButton>
395
                        <telerik:RadToggleButton
396
                            Grid.Row="2"
397
                            Grid.Column="1"
398
                            Width="30"
399
                            Height="30"
400
                            Click="ControlEvent"
401
                            CommandParameter="ArrowArc"
402
                            Tag="ArrowArc">
403
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_New/arrowarc.png" />
404
                        </telerik:RadToggleButton>
405
                        <telerik:RadToggleButton
406
                            Grid.Row="2"
407
                            Grid.Column="2"
408
                            Width="30"
409
                            Height="30"
410
                            Click="ControlEvent"
411
                            CommandParameter="ChainLine"
412
                            Tag="Chain">
413
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_New/lineChain.png" />
414
                        </telerik:RadToggleButton>
415
                        <!--<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}}" />-->
416
                        <CheckBox
417
                            Grid.Row="0"
418
                            Grid.Column="3"
419
                            Margin="10,5,2,0"
420
                            HorizontalAlignment="Left"
421
                            VerticalAlignment="Center"
422
                            Content="Axis Lock"
423
                            IsChecked="{Binding IsAxisLock, Source={x:Static common:ViewerDataModel.Instance}}" />
424

    
425
                        <telerik:RadButtonGroup
426
                            Grid.Row="1"
427
                            Grid.Column="3"
428
                            Height="20"
429
                            Margin="10,0,0,0"
430
                            telerik:StyleManager.Theme="Windows8"
431
                            BorderThickness="1">
432
                            <TextBlock
433
                                Width="40"
434
                                HorizontalAlignment="Center"
435
                                VerticalAlignment="Center"
436
                                FontSize="10"
437
                                Text="Interval"
438
                                TextAlignment="Center" />
439
                            <telerik:RadNumericUpDown
440
                                x:Name="cbIntervalSize"
441
                                Width="60"
442
                                Height="20"
443
                                Margin="2"
444
                                HorizontalAlignment="Stretch"
445
                                VerticalAlignment="Center"
446
                                HorizontalContentAlignment="Center"
447
                                telerik:StyleManager.Theme="Windows7"
448
                                Maximum="100"
449
                                Minimum="5"
450
                                NumberDecimalDigits="0"
451
                                ToolTipService.ToolTip="Interval Value"
452
                                ValueChanged="cbIntervalSize_ValueChanged"
453
                                Value="{Binding Interval, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}" PreviewKeyDown="cbIntervalSize_PreviewKeyDown" PreviewTextInput="cbIntervalSize_PreviewTextInput" />
454
                        </telerik:RadButtonGroup>
455

    
456

    
457
                    </Grid>
458
                </telerik:RadRibbonGroup>
459

    
460

    
461
                <telerik:RadRibbonGroup
462
                    x:Name="ShapeControlGroup"
463
                    telerik:ScreenTip.Description="Show the File Task options."
464
                    telerik:ScreenTip.Title="File"
465
                    DialogLauncherVisibility="Collapsed"
466
                    Header="SHAPE"
467
                    Icon="/KCOM;component/Resources/Images/MenuImage_New/small/shape.png"
468
                    Visibility="Visible">
469
                    <Grid Margin="0,-1,0,0">
470
                        <Grid.ColumnDefinitions>
471
                            <ColumnDefinition />
472
                            <ColumnDefinition />
473
                            <ColumnDefinition />
474
                            <ColumnDefinition />
475
                        </Grid.ColumnDefinitions>
476
                        <Grid.RowDefinitions>
477
                            <RowDefinition />
478
                            <RowDefinition />
479
                            <RowDefinition />
480
                        </Grid.RowDefinitions>
481

    
482
                        <telerik:RadToggleButton
483
                            Grid.Row="0"
484
                            Grid.Column="0"
485
                            Width="30"
486
                            Height="30"
487
                            Click="ControlEvent"
488
                            CommandParameter="PolygonCloud"
489
                            Tag="Cloud">
490
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/Cloud.png" />
491
                        </telerik:RadToggleButton>
492
                        <telerik:RadToggleButton
493
                            Grid.Row="0"
494
                            Grid.Column="1"
495
                            Width="30"
496
                            Height="30"
497
                            Click="ControlEvent"
498
                            CommandParameter="RectCloud"
499
                            Tag="RectCloud">
500
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/cloudRect.png" />
501
                        </telerik:RadToggleButton>
502

    
503

    
504

    
505
                        <!--<telerik:RadButtonGroup Height="20" Grid.Column="2" Grid.Row="2" Grid.ColumnSpan="2" Width="120" Margin="-30,6,10,-1"
506
                                                BorderThickness="1"
507
                                                telerik:StyleManager.Theme="Windows8">
508
                            <TextBlock Width="50"
509
                                       Margin="2"
510
                                       HorizontalAlignment="Center"
511
                                       VerticalAlignment="Center"
512
                                       FontSize="10"
513
                                       Text="ArcSize"
514
                                       TextAlignment="Center" />
515
                            <telerik:RadNumericUpDown x:Name="cbArcSize"
516
                                                      Width="66"
517
                                                      Height="22"
518
                                                      Margin="2"
519
                                                      HorizontalAlignment="Stretch"
520
                                                      VerticalAlignment="Center"
521
                                                      HorizontalContentAlignment="Center"
522
                                                      Maximum="10"
523
                                                      Minimum="1"
524
                                                      NumberDecimalDigits="0"
525
                                                      telerik:StyleManager.Theme="Windows7"
526
                                                      ToolTipService.ToolTip="Stroke Value"
527
                                                                                                          ValueChanged="cbLineSize_ValueChanged"
528

529
                                                      Value="{Binding LineSize, Source={x:Static common:ViewerDataModel.Instance}}"
530
                                                      />
531
                        </telerik:RadButtonGroup>-->
532
                        <!--  강인구 추가  -->
533
                        <CheckBox
534
                            x:Name="cbFillShape"
535
                            Grid.Row="0"
536
                            Grid.Column="2"
537
                            Margin="10,5,2,0"
538
                            HorizontalAlignment="Left"
539
                            VerticalAlignment="Center"
540
                            Checked="FillShapeEvent"
541
                            Content="Fill"
542
                            IsChecked="{Binding checkFillShape, Source={x:Static common:ViewerDataModel.Instance}}"
543
                            Unchecked="FillShapeEvent" />
544
                        <CheckBox
545
                            x:Name="cbHatchShape"
546
                            Grid.Row="0"
547
                            Grid.Column="3"
548
                            Margin="2,5,2,0"
549
                            HorizontalAlignment="Left"
550
                            VerticalAlignment="Center"
551
                            Checked="HatchShapeEvent"
552
                            Content="Hatch"
553
                            IsChecked="{Binding checkHatchShape, Source={x:Static common:ViewerDataModel.Instance}}"
554
                            Unchecked="HatchShapeEvent" />
555

    
556
                        <telerik:RadToggleButton
557
                            Grid.Row="1"
558
                            Grid.Column="0"
559
                            Width="30"
560
                            Height="30"
561
                            Click="ControlEvent"
562
                            CommandParameter="Polygon"
563
                            Tag="Poly">
564
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/polygon.png" />
565
                        </telerik:RadToggleButton>
566
                        <telerik:RadToggleButton
567
                            Grid.Row="1"
568
                            Grid.Column="1"
569
                            Width="30"
570
                            Height="30"
571
                            Click="ControlEvent"
572
                            CommandParameter="Rectangle"
573
                            Tag="RectShape">
574
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/rectangle.png" />
575
                        </telerik:RadToggleButton>
576
                        <telerik:RadToggleButton
577
                            Grid.Row="2"
578
                            Grid.Column="0"
579
                            Width="30"
580
                            Height="30"
581
                            Click="ControlEvent"
582
                            CommandParameter="Triangle"
583
                            Tag="TriShape">
584
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/triangle.png" />
585
                        </telerik:RadToggleButton>
586
                        <telerik:RadToggleButton
587
                            Grid.Row="2"
588
                            Grid.Column="1"
589
                            Width="30"
590
                            Height="30"
591
                            Click="ControlEvent"
592
                            CommandParameter="Circle"
593
                            Tag="CicleShape">
594
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/circle.png" />
595
                        </telerik:RadToggleButton>
596
                        <telerik:RadDockPanel
597
                            Grid.Row="1"
598
                            Grid.Column="2"
599
                            Grid.ColumnSpan="2">
600
                            <TextBlock
601
                                Margin="10,0,0,4"
602
                                HorizontalAlignment="Center"
603
                                VerticalAlignment="Bottom"
604
                                FontSize="10"
605
                                Text="Opacity" />
606
                            <telerik:RadSlider
607
                                Width="70"
608
                                Margin="10,4,10,-2"
609
                                HorizontalAlignment="Center"
610
                                VerticalAlignment="Center"
611
                                telerik:StyleManager.Theme="VisualStudio2013"
612
                                HandlesVisibility="Visible"
613
                                Maximum="1"
614
                                Minimum="0"
615
                                ValueChanged="sdOpacity_ValueChanged"
616
                                Value="{Binding ControlOpacity, Source={x:Static common:ViewerDataModel.Instance}}" />
617
                        </telerik:RadDockPanel>
618

    
619
                        <telerik:RadDockPanel
620
                            Grid.Row="2"
621
                            Grid.Column="2"
622
                            Grid.ColumnSpan="2"
623
                            Margin="10,3,0,0">
624
                            <TextBlock
625
                                Width="50"
626
                                HorizontalAlignment="Center"
627
                                VerticalAlignment="Center"
628
                                FontSize="10"
629
                                Text="ArcLength"
630
                                TextAlignment="Center" />
631
                            <telerik:RadNumericUpDown
632
                                x:Name="cbArcLength"
633
                                Width="60"
634
                                Height="Auto"
635
                                HorizontalAlignment="Stretch"
636
                                VerticalAlignment="Center"
637
                                HorizontalContentAlignment="Center"
638
                                telerik:StyleManager.Theme="Windows7"
639
                                Maximum="100"
640
                                Minimum="5"
641
                                NumberDecimalDigits="0"
642
                                ToolTipService.ToolTip="Interval Value"
643
                                ValueChanged="cbArcLength_ValueChanged"
644
                                Value="{Binding ArcLength, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}" PreviewKeyDown="cbArcLength_PreviewKeyDown" PreviewTextInput="cbArcLength_PreviewTextInput" />
645
                        </telerik:RadDockPanel>
646

    
647

    
648

    
649
                    </Grid>
650
                </telerik:RadRibbonGroup>
651
                <telerik:RadRibbonGroup DialogLauncherVisibility="Collapsed" Header="MACRO">
652
                    <Grid VerticalAlignment="Top">
653
                        <telerik:RadToggleButton
654
                            Width="64"
655
                            Height="30"
656
                            BorderThickness="1"
657
                            Click="ControlEvent"
658
                            CommandParameter="MACRO;1"
659
                            Tag="Normal">
660
                            <StackPanel Background="Transparent" Orientation="Horizontal">
661
                                <Image Source="/KCOM;component/Resources/Images/MenuImage_new/cloudRect.png" />
662
                                <TextBlock Text="+" />
663
                                <Image Source="/KCOM;component/Resources/Images/MenuImage_new/ArrowTextBorder.png" />
664
                            </StackPanel>
665
                        </telerik:RadToggleButton>
666
                    </Grid>
667
                </telerik:RadRibbonGroup>
668
                <telerik:RadRibbonGroup
669
                    x:Name="TextControlGroup"
670
                    DialogLauncherVisibility="Collapsed"
671
                    Header="TEXT"
672
                    Icon="/KCOM;component/Resources/Images/MenuImage_New/small/text.png">
673

    
674
                    <Grid Margin="0,-1,0,0">
675
                        <Grid.ColumnDefinitions>
676
                            <ColumnDefinition />
677
                            <ColumnDefinition />
678
                            <ColumnDefinition />
679
                            <ColumnDefinition />
680
                        </Grid.ColumnDefinitions>
681
                        <Grid.RowDefinitions>
682
                            <RowDefinition />
683
                            <RowDefinition />
684
                            <RowDefinition />
685
                        </Grid.RowDefinitions>
686
                        <telerik:RadToggleButton
687
                            Width="30"
688
                            Height="30"
689
                            Click="ControlEvent"
690
                            CommandParameter="Text"
691
                            Tag="Normal">
692
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/text.png" />
693
                        </telerik:RadToggleButton>
694
                        <telerik:RadToggleButton
695
                            Grid.Column="1"
696
                            Width="30"
697
                            Height="30"
698
                            Click="ControlEvent"
699
                            CommandParameter="TextBorder"
700
                            Tag="Border">
701
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/textBorder.png" />
702
                        </telerik:RadToggleButton>
703
                        <telerik:RadToggleButton
704
                            Grid.Column="2"
705
                            Width="30"
706
                            Height="30"
707
                            Click="ControlEvent"
708
                            CommandParameter="TextCloud"
709
                            Tag="Cloud">
710
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/textCloud.png" />
711
                        </telerik:RadToggleButton>
712
                        <CheckBox
713
                            Grid.Column="3"
714
                            Margin="2,5,2,0"
715
                            HorizontalAlignment="Left"
716
                            VerticalAlignment="Center"
717
                            Checked="HighlightEvent"
718
                            Content="Highlight"
719
                            IsChecked="{Binding checkHighlight, Source={x:Static common:ViewerDataModel.Instance}}"
720
                            Unchecked="HighlightEvent" />
721
                        <!--<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}}" />-->
722

    
723
                        <telerik:RadToggleButton
724
                            Grid.Row="1"
725
                            Grid.Column="0"
726
                            Width="30"
727
                            Height="30"
728
                            Click="ControlEvent"
729
                            CommandParameter="ArrowText"
730
                            Tag="ArrowText_Normal">
731
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/ArrowText.png" />
732
                        </telerik:RadToggleButton>
733
                        <telerik:RadToggleButton
734
                            Grid.Row="1"
735
                            Grid.Column="1"
736
                            Width="30"
737
                            Height="30"
738
                            Click="ControlEvent"
739
                            CommandParameter="ArrowText"
740
                            Tag="ArrowText_Border">
741
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/ArrowTextBorder.png" />
742
                        </telerik:RadToggleButton>
743
                        <telerik:RadToggleButton
744
                            Grid.Row="1"
745
                            Grid.Column="2"
746
                            Width="30"
747
                            Height="30"
748
                            Click="ControlEvent"
749
                            CommandParameter="ArrowText"
750
                            Tag="ArrowText_Cloud">
751
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/arrowTextCloud.png" />
752
                        </telerik:RadToggleButton>
753

    
754
                        <telerik:RadToggleButton
755
                            Grid.Row="2"
756
                            Grid.Column="0"
757
                            Width="30"
758
                            Height="30"
759
                            Click="ControlEvent"
760
                            CommandParameter="ArrowText"
761
                            Tag="ArrowTextFix_Normal">
762
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/ArrowTextTrans.png" />
763
                        </telerik:RadToggleButton>
764
                        <telerik:RadToggleButton
765
                            Grid.Row="2"
766
                            Grid.Column="1"
767
                            Width="30"
768
                            Height="30"
769
                            Click="ControlEvent"
770
                            CommandParameter="ArrowText"
771
                            Tag="ArrowTextFix_Border">
772
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/arrowTransBorder.png" />
773
                        </telerik:RadToggleButton>
774
                        <telerik:RadToggleButton
775
                            Grid.Row="2"
776
                            Grid.Column="2"
777
                            Width="30"
778
                            Height="30"
779
                            Click="ControlEvent"
780
                            CommandParameter="ArrowText"
781
                            Tag="ArrowTextFix_Cloud">
782
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/arrowTransCloud.png" />
783
                        </telerik:RadToggleButton>
784
                    </Grid>
785
                </telerik:RadRibbonGroup>
786

    
787
                <telerik:RadRibbonGroup
788
                    DialogLauncherVisibility="Collapsed"
789
                    Header="FONT"
790
                    Icon="/KCOM;component/Resources/Images/MenuImage_New/small/font.png">
791

    
792
                    <telerik:RadOrderedWrapPanel>
793
                        <StackPanel Orientation="Horizontal">
794
                            <telerik:RadRibbonComboBox
795
                                x:Name="comboFontFamily"
796
                                Width="60"
797
                                telerik:ScreenTip.Description="Change the font face."
798
                                telerik:ScreenTip.Title="Font"
799
                                IsEditable="False"
800
                                SelectedIndex="0">
801
                                <telerik:RadRibbonComboBox.ItemTemplate>
802
                                    <DataTemplate>
803
                                        <Grid>
804
                                            <TextBlock
805
                                                FontFamily="{Binding FontFamily}"
806
                                                FontSize="14"
807
                                                Text="{Binding FamilyNames[0]}" />
808
                                        </Grid>
809
                                    </DataTemplate>
810
                                </telerik:RadRibbonComboBox.ItemTemplate>
811
                            </telerik:RadRibbonComboBox>
812
                            <telerik:RadNumericUpDown
813
                                x:Name="comboFontSize"
814
                                MinWidth="42"
815
                                MaxWidth="32"
816
                                HorizontalContentAlignment="Center"
817
                                telerik:StyleManager.Theme="Windows7"
818
                                Maximum="999"
819
                                Minimum="1"
820
                                NumberDecimalDigits="0"
821
                                ToolTipService.ToolTip="Stroke Value"
822
                                ValueChanged="comboFontSize_ValueChanged"
823
                                Value="{Binding TextSize, Source={x:Static common:ViewerDataModel.Instance}}" PreviewTextInput="comboFontSize_PreviewTextInput" PreviewKeyDown="comboFontSize_PreviewKeyDown" >
824
                            </telerik:RadNumericUpDown>
825
                        </StackPanel>
826
                        <StackPanel Orientation="Horizontal">
827
                            <telerik:RadToggleButton
828
                                x:Name="btnBold"
829
                                Width="32"
830
                                Height="32"
831
                                telerik:ScreenTip.Description="Make the selected text bold."
832
                                telerik:ScreenTip.Title="Bold"
833
                                Checked="btnBold_Checked"
834
                                IsChecked="{Binding checkTextWeight, Source={x:Static common:ViewerDataModel.Instance}}"
835
                                Unchecked="btnBold_Checked">
836
                                <Image Source="/KCOM;component/Resources/Images/MenuImage_new/bold.png" />
837
                            </telerik:RadToggleButton>
838
                            <telerik:RadToggleButton
839
                                x:Name="btnItalic"
840
                                Width="32"
841
                                Height="32"
842
                                telerik:ScreenTip.Description="Italicize the selected text."
843
                                telerik:ScreenTip.Title="Italic"
844
                                Checked="btnItalic_Checked"
845
                                IsChecked="{Binding checkTextStyle, Source={x:Static common:ViewerDataModel.Instance}}"
846
                                Unchecked="btnItalic_Checked">
847
                                <Image Source="/KCOM;component/Resources/Images/MenuImage_new/italic.png" />
848
                            </telerik:RadToggleButton>
849
                            <telerik:RadToggleButton
850
                                x:Name="btnUnderLine"
851
                                Width="32"
852
                                Height="32"
853
                                telerik:ScreenTip.Description="Underline the selected text."
854
                                telerik:ScreenTip.Title="Underline"
855
                                Checked="btnUnderLine_Checked"
856
                                IsChecked="{Binding checkUnderLine, Source={x:Static common:ViewerDataModel.Instance}}"
857
                                Unchecked="btnUnderLine_Checked">
858
                                <Image Source="/KCOM;component/Resources/Images/MenuImage_new/underline.png" />
859
                            </telerik:RadToggleButton>
860
                        </StackPanel>
861
                    </telerik:RadOrderedWrapPanel>
862
                </telerik:RadRibbonGroup>
863

    
864
                <telerik:RadRibbonGroup
865
                    x:Name="PenControlGroup"
866
                    telerik:ScreenTip.Description="Use pen tool to draw"
867
                    telerik:ScreenTip.Title="Pen"
868
                    DialogLauncherVisibility="Collapsed"
869
                    Header="PEN"
870
                    Icon="/KCOM;component/Resources/Images/MenuImage_New/small/pen.png"
871
                    IsEnabled="True">
872
                    <telerik:RadCollapsiblePanel>
873
                        <telerik:RadToggleButton
874
                            Width="30"
875
                            Height="30"
876
                            telerik:ScreenTip.Description="Use basic pen."
877
                            telerik:ScreenTip.Title="Free Mark Pen"
878
                            Click="ControlEvent"
879
                            CommandParameter="Ink"
880
                            Tag="Pensil">
881
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/pen.png" />
882
                        </telerik:RadToggleButton>
883
                        <!--<telerik:RadRibbonToggleButton
884
                                                       CollapseToMedium="WhenGroupIsMedium"
885
                                                       CollapseToSmall="WhenGroupIsSmall"
886
                                                       CommandParameter="Select"
887
                                                       LargeImage="/KCOM;component/Resources/Images/MenuImage_new/select.png"
888
                                                       Size="Medium"
889
                                                       Click="ControlEvent"
890
                                                       Tag="Ink"
891
                                                       telerik:ScreenTip.Description="Select markup that is drawn with a pen"
892
                                                       telerik:ScreenTip.Title="Select Ink Strokes"
893
                                                       Text="Selection" />-->
894
                        <!--<telerik:RadRibbonToggleButton
895
                                                       CollapseToMedium="WhenGroupIsMedium"
896
                                                       CollapseToSmall="WhenGroupIsSmall"
897
                                                       CommandParameter="Ink"
898
                                                       LargeImage="/KCOM;component/Resources/Images/MenuImage_new/eraserLine.png"
899
                                                       Size="Medium"
900
                                                       Click="ControlEvent"
901
                                                       Tag="EraserClear"
902
                                                       telerik:ScreenTip.Description="펜으로 그린 부분을 점 단위로 제거합니다"
903
                                                       telerik:ScreenTip.Title="Dot Unit Eraser"
904
                                                       Text="Eraser(Dot)" />-->
905
                        <!--<telerik:RadRibbonToggleButton
906
                                                       CollapseToMedium="WhenGroupIsMedium"
907
                                                       CollapseToSmall="WhenGroupIsSmall"
908
                                                       CommandParameter="Ink"
909
                                                       LargeImage="/KCOM;component/Resources/Images/MenuImage_new/eraser.png"
910
                                                       Size="Medium"
911
                                                       Click="ControlEvent"
912
                                                       Tag="Eraser"
913
                                                       telerik:ScreenTip.Description="펜으로 그린 부분을 선 단위로 적으로 제거합니다"
914
                                                       telerik:ScreenTip.Title="Path Unit Eraser"
915
                                                       Text="Eraser(Path)" />-->
916
                    </telerik:RadCollapsiblePanel>
917
                </telerik:RadRibbonGroup>
918

    
919
                <telerik:RadRibbonGroup
920
                    x:Name="AppStampControlGroup"
921
                    telerik:ScreenTip.Description="Stamp , Image , Date 등을 만듭니다"
922
                    telerik:ScreenTip.Title="Approval"
923
                    DialogLauncherVisibility="Collapsed"
924
                    Header="Approval Stamp"
925
                    Icon="/KCOM;component/Resources/Images/MenuImage_New/small/stamp.png">
926
                    <Grid Margin="0,-1,0,0">
927
                        <Grid.ColumnDefinitions>
928
                            <ColumnDefinition />
929
                            <ColumnDefinition />
930
                            <ColumnDefinition />
931
                        </Grid.ColumnDefinitions>
932
                        <Grid.RowDefinitions>
933
                            <RowDefinition />
934
                            <RowDefinition />
935
                            <RowDefinition />
936
                        </Grid.RowDefinitions>
937

    
938
                        <!--  강인구 추가 Mark Click 이벤트 추가  -->
939
                        <telerik:RadToggleButton
940
                            Grid.Row="0"
941
                            Grid.Column="0"
942
                            Width="30"
943
                            Height="30"
944
                            telerik:ScreenTip.Description="Draw square mark easily"
945
                            telerik:ScreenTip.Title="Rectangle Mark"
946
                            Click="ControlEvent"
947
                            CommandParameter="Shape"
948
                            Tag="RectShape_Fill">
949
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/markRect.png" />
950
                        </telerik:RadToggleButton>
951
                        <!--  강인구 추가 Stamp Click 이벤트 추가  -->
952
                        <telerik:RadToggleButton
953
                            x:Name="btnTopStamp"
954
                            Grid.Row="0"
955
                            Grid.Column="1"
956
                            Width="30"
957
                            Height="30"
958
                            telerik:ScreenTip.Description="Draw approved mark easily"
959
                            telerik:ScreenTip.Title="Approved"
960
                            Click="ControlEvent"
961
                            CommandParameter="SymbolN"
962
                            Tag="approved"
963
                            Visibility="Visible">
964
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/stamp.png" />
965
                        </telerik:RadToggleButton>
966

    
967
                        <!--  강인구 추가 Sign Click 이벤트 추가  -->
968
                        <telerik:RadToggleButton
969
                            Grid.Row="0"
970
                            Grid.Column="2"
971
                            Width="30"
972
                            Height="30"
973
                            telerik:ScreenTip.Description="Draw signature easily"
974
                            telerik:ScreenTip.Title="Signature"
975
                            Click="ControlEvent"
976
                            CommandParameter="Sign"
977
                            Tag="Sign">
978
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/signReal.png" />
979
                        </telerik:RadToggleButton>
980

    
981
                        <!--  강인구 추가 check Click 이벤트 추가  -->
982
                        <telerik:RadToggleButton
983
                            Grid.Row="1"
984
                            Grid.Column="0"
985
                            Width="30"
986
                            Height="30"
987
                            telerik:ScreenTip.Description="Draw check mark easily"
988
                            telerik:ScreenTip.Title="Check Mark"
989
                            Click="ControlEvent"
990
                            CommandParameter="Check"
991
                            Tag="Check">
992
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/markCheck.png" />
993
                        </telerik:RadToggleButton>
994

    
995
                        <telerik:RadToggleButton
996
                            Grid.Row="1"
997
                            Grid.Column="1"
998
                            Width="30"
999
                            Height="30"
1000
                            telerik:ScreenTip.Description="Add image easily"
1001
                            telerik:ScreenTip.Title="Image"
1002
                            Click="ControlEvent"
1003
                            CommandParameter="Image"
1004
                            Tag="Image">
1005
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/Picture.png" />
1006
                        </telerik:RadToggleButton>
1007

    
1008
                        <telerik:RadToggleButton
1009
                            Grid.Row="1"
1010
                            Grid.Column="2"
1011
                            Width="30"
1012
                            Height="30"
1013
                            telerik:ScreenTip.Description="Insert a date"
1014
                            telerik:ScreenTip.Title="Date"
1015
                            Click="ControlEvent"
1016
                            CommandParameter="Date"
1017
                            Tag="Date">
1018
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/calendar.png" />
1019
                        </telerik:RadToggleButton>
1020

    
1021
                        <telerik:RadToggleButton
1022
                            x:Name="btn_Batch"
1023
                            Grid.Row="2"
1024
                            Grid.Column="0"
1025
                            Width="30"
1026
                            Height="30"
1027
                            telerik:ScreenTip.Title="batch Approval"
1028
                            Click="ControlEvent"
1029
                            CommandParameter="Batch"
1030
                            Tag="Batch">
1031
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/chronometer.png" />
1032
                        </telerik:RadToggleButton>
1033

    
1034
                    </Grid>
1035
                </telerik:RadRibbonGroup>
1036

    
1037
                <!--<telerik:RadRibbonGroup DialogLauncherVisibility="Collapsed"
1038
                                        Header="Approval Stamp"
1039
                                        telerik:ScreenTip.Description="Create stamp, image, date MARK"
1040
                                        telerik:ScreenTip.Title="Approval">
1041
                    <telerik:RadCollapsiblePanel Margin="3,0,3,0">
1042
                -->
1043
                <!--  강인구 추가 Mark Click 이벤트 추가  -->
1044
                <!--
1045
                        <telerik:RadRibbonToggleButton MaxWidth="100"
1046
                                                       CollapseToSmall="WhenGroupIsMedium"
1047
                                                       CommandParameter="Shape"
1048
                                                       Size="Medium"
1049
                                                       SmallImage="/KCOM;component/Resources/Images/MenuImage_new/markRect.png"
1050
                                                       Tag="RectShape_Fill"
1051
                                                       telerik:ScreenTip.Description="사각마크를 쉽게 그립니다"
1052
                                                       telerik:ScreenTip.Title="Rectangle Mark" Click="ControlEvent"
1053
                                                       />
1054
                -->
1055
                <!--  강인구 추가 Stamp Click 이벤트 추가  -->
1056
                <!--
1057
                        <telerik:RadRibbonToggleButton MaxWidth="100"
1058
                                                       CollapseToSmall="WhenGroupIsMedium"
1059
                                                       CommandParameter="SymbolN"
1060
                                                       Size="Medium"
1061
                                                       SmallImage="/KCOM;component/Resources/Images/MenuImage_new/stamp.png"
1062
                                                       Tag="approved" Visibility="Visible"  x:Name="btnTopStamp"
1063
                                                       telerik:ScreenTip.Description="Approved를 쉽게 그립니다"
1064
                                                       telerik:ScreenTip.Title="Approved"  Click="ControlEvent"
1065
                                                       />
1066
                -->
1067
                <!--  강인구 추가 Sign Click 이벤트 추가  -->
1068
                <!--
1069
                        <telerik:RadRibbonToggleButton MaxWidth="100"
1070
                                                       CollapseToSmall="WhenGroupIsMedium"
1071
                                                       CommandParameter="Sign"
1072
                                                       Size="Medium"
1073
                                                       SmallImage="/KCOM;component/Resources/Images/MenuImage_new/signReal.png"
1074
                                                       Tag="Sign"
1075
                                                       telerik:ScreenTip.Description="Signature를 쉽게 그립니다"
1076
                                                       telerik:ScreenTip.Title="Signature" Click="ControlEvent"/>
1077

1078
                -->
1079
                <!--  강인구 추가 check Click 이벤트 추가  -->
1080
                <!--
1081
                        <telerik:RadRibbonToggleButton MaxWidth="100"
1082
                                                       CollapseToSmall="WhenGroupIsMedium"
1083
                                                       CommandParameter="Check"
1084
                                                       Size="Medium"
1085
                                                       SmallImage="/KCOM;component/Resources/Images/MenuImage_new/markCheck.png"
1086
                                                       Tag="Check"
1087
                                                       telerik:ScreenTip.Description="체크마크를 쉽게 그립니다"
1088
                                                       telerik:ScreenTip.Title="Check Mark" Click="ControlEvent"/>
1089

1090
                        <telerik:RadRibbonToggleButton MaxWidth="100"
1091
                                                       CollapseToSmall="WhenGroupIsMedium"
1092
                                                       CommandParameter="Image"
1093
                                                       Size="Medium" Click="ControlEvent"
1094
                                                       SmallImage="/KCOM;component/Resources/Images/MenuImage_New/Picture.png"
1095
                                                       Tag="Image"
1096
                                                       telerik:ScreenTip.Description="Image를 쉽게 추가합니다"
1097
                                                       telerik:ScreenTip.Title="Image"/>
1098

1099
                        <telerik:RadRibbonToggleButton MaxWidth="100"
1100
                                                       CollapseToSmall="WhenGroupIsMedium"
1101
                                                       CommandParameter="Date"
1102
                                                       Size="Medium"
1103
                                                       SmallImage="/KCOM;component/Resources/Images/MenuImage_New/calendar.png"
1104
                                                       Tag="Date" Click="ControlEvent"
1105
                                                       telerik:ScreenTip.Description="날짜를 삽입합니다"
1106
                                                       telerik:ScreenTip.Title="Date"/>
1107

1108
                        <telerik:RadRibbonToggleButton MaxWidth="100" x:Name="btn_Batch"
1109
                                                       CollapseToSmall="WhenGroupIsMedium"
1110
                                                       CommandParameter="Batch"
1111
                                                       Size="Medium" SmallImage="/KCOM;component/Resources/Images/MenuImage_New/chronometer.png"
1112
                                                       Tag="Batch"
1113
                                                       telerik:ScreenTip.Title="batch Approval" Click="ControlEvent"/>
1114

1115
                    </telerik:RadCollapsiblePanel>
1116
                </telerik:RadRibbonGroup>-->
1117

    
1118
                <telerik:RadRibbonGroup
1119
                    telerik:ScreenTip.Description="Set  line and shape option"
1120
                    telerik:ScreenTip.Title="Adjustment(Line,Shape)"
1121
                    DialogLauncherVisibility="Collapsed"
1122
                    Header="Adjustment (Line,Shape)"
1123
                    Icon="/KCOM;component/Resources/Images/MenuImage_New/small/linestyle.png">
1124
                    <telerik:RadOrderedWrapPanel Margin="3,0,3,0">
1125
                        <telerik:RadButtonGroup
1126
                            Height="30"
1127
                            telerik:StyleManager.Theme="Windows8"
1128
                            BorderThickness="1">
1129
                            <TextBlock
1130
                                Width="50"
1131
                                Margin="2"
1132
                                HorizontalAlignment="Center"
1133
                                VerticalAlignment="Center"
1134
                                FontSize="10"
1135
                                Text="Style"
1136
                                TextAlignment="Center" />
1137
                            <telerik:RadComboBox
1138
                                x:Name="cbDashStyle"
1139
                                Width="60"
1140
                                Margin="5,0,5,0"
1141
                                telerik:StyleManager.Theme="Office2016"
1142
                                Background="Transparent"
1143
                                SelectedIndex="0"
1144
                                SelectionChanged="cbDashStyle_SelectionChanged"
1145
                                ToolTipService.ToolTip="Dash Style">
1146
                                <telerik:RadComboBox.ItemTemplate>
1147
                                    <DataTemplate>
1148
                                        <StackPanel
1149
                                            Height="10"
1150
                                            Margin="5"
1151
                                            VerticalAlignment="Center">
1152
                                            <Line
1153
                                                Stroke="Red"
1154
                                                StrokeDashArray="{Binding dashData}"
1155
                                                StrokeDashOffset="1"
1156
                                                StrokeThickness="2"
1157
                                                X1="0"
1158
                                                X2="150"
1159
                                                Y1="5"
1160
                                                Y2="5" />
1161
                                        </StackPanel>
1162
                                    </DataTemplate>
1163
                                </telerik:RadComboBox.ItemTemplate>
1164
                            </telerik:RadComboBox>
1165
                        </telerik:RadButtonGroup>
1166
                        <telerik:RadButtonGroup
1167
                            Height="30"
1168
                            telerik:StyleManager.Theme="Windows8"
1169
                            BorderThickness="1">
1170
                            <TextBlock
1171
                                Width="50"
1172
                                Margin="2"
1173
                                HorizontalAlignment="Center"
1174
                                VerticalAlignment="Center"
1175
                                FontSize="10"
1176
                                Text="Thickness"
1177
                                TextAlignment="Center" />
1178
                            <telerik:RadNumericUpDown
1179
                                x:Name="cbLineSize"
1180
                                Width="66"
1181
                                Height="22"
1182
                                Margin="2"
1183
                                HorizontalAlignment="Stretch"
1184
                                VerticalAlignment="Center"
1185
                                HorizontalContentAlignment="Center"
1186
                                telerik:StyleManager.Theme="Windows7"
1187
                                Maximum="99"
1188
                                Minimum="1"
1189
                                NumberDecimalDigits="0"
1190
                                ToolTipService.ToolTip="Stroke Value"
1191
                                ValueChanged="cbLineSize_ValueChanged"
1192
                                Value="{Binding LineSize, Source={x:Static common:ViewerDataModel.Instance}}" PreviewKeyDown="cbLineSize_PreviewKeyDown" PreviewTextInput="cbLineSize_PreviewTextInput" />
1193
                        </telerik:RadButtonGroup>
1194
                    </telerik:RadOrderedWrapPanel>
1195
                </telerik:RadRibbonGroup>
1196

    
1197
                <telerik:RadRibbonGroup
1198
                    telerik:ScreenTip.Description="Show the File Task options."
1199
                    telerik:ScreenTip.Title="File"
1200
                    Header="PAGE"
1201
                    Icon="/KCOM;component/Resources/Images/MenuImage_New/small/page.png"
1202
                    Visibility="Visible">
1203
                    <Grid Margin="0,-1,0,0">
1204
                        <Grid.ColumnDefinitions>
1205
                            <ColumnDefinition />
1206
                            <ColumnDefinition />
1207
                        </Grid.ColumnDefinitions>
1208
                        <Grid.RowDefinitions>
1209
                            <RowDefinition />
1210
                            <RowDefinition />
1211
                        </Grid.RowDefinitions>
1212

    
1213
                        <TextBox
1214
                            x:Name="tlcurrentPage"
1215
                            Grid.Row="0"
1216
                            Grid.Column="0"
1217
                            Width="30"
1218
                            Margin="5,0"
1219
                            Padding="0"
1220
                            VerticalAlignment="Center"
1221
                            HorizontalContentAlignment="Center"
1222
                            BorderThickness="3"
1223
                            KeyDown="tlcurrentPage_KeyDown"
1224
                            PreviewTextInput="TlcurrentPage_PreviewTextInput"
1225
                            Text="1"
1226
                            TextChanged="TlcurrentPage_TextChanged" />
1227
                        <TextBlock
1228
                            Grid.Row="0"
1229
                            Grid.Column="1"
1230
                            Margin="0,7,5,0"><InlineUIContainer>
1231
                            <TextBlock
1232
                                Padding="3"
1233
                                HorizontalAlignment="Center"
1234
                                VerticalAlignment="Center"
1235
                                Text="/" />
1236
                            </InlineUIContainer><Run Text=" "/><InlineUIContainer>
1237
                            <TextBlock
1238
                                x:Name="tlPageCount"
1239
                                Padding="3"
1240
                                HorizontalAlignment="Center"
1241
                                VerticalAlignment="Center"
1242
                                Text="{Binding Document_Info.Count, Source={x:Static common:ViewerDataModel.Instance}}" />
1243
                            </InlineUIContainer></TextBlock>
1244

    
1245
                        <telerik:RadButton
1246
                            Grid.Row="1"
1247
                            Grid.Column="0"
1248
                            Background="Transparent"
1249
                            BorderThickness="0"
1250
                            Click="PageGoEvent"
1251
                            CommandParameter="Down">
1252
                            <Image
1253
                                    Width="20"
1254
                                    Height="20"
1255
                                    Source="/KCOM;component/Resources/Images/MenuImage_new/pagearrow.png"
1256
                                    Stretch="Uniform" />
1257
                        </telerik:RadButton>
1258
                        <telerik:RadButton
1259
                            Grid.Row="1"
1260
                            Grid.Column="1"
1261
                            Background="Transparent"
1262
                            BorderThickness="0"
1263
                            Click="PageGoEvent"
1264
                            CommandParameter="Up">
1265
                            <Image
1266
                                    Width="20"
1267
                                    Height="20"
1268
                                    RenderTransformOrigin="0.5,0.5"
1269
                                    Source="/KCOM;component/Resources/Images/MenuImage_new/pagearrow.png"
1270
                                    Stretch="Uniform">
1271
                                <Image.RenderTransform>
1272
                                    <RotateTransform Angle="180" />
1273
                                </Image.RenderTransform>
1274
                            </Image>
1275
                        </telerik:RadButton>
1276
                    </Grid>
1277
                </telerik:RadRibbonGroup>
1278

    
1279
                <telerik:RadRibbonGroup
1280
                    telerik:ScreenTip.Description="Show the File Task options."
1281
                    telerik:ScreenTip.Title="File"
1282
                    DialogLauncherVisibility="Collapsed"
1283
                    Header="VIEW"
1284
                    Icon="/KCOM;component/Resources/Images/MenuImage_New/small/view.png"
1285
                    Visibility="Visible">
1286
                    <telerik:RadCollapsiblePanel>
1287
                        <telerik:RadRibbonToggleButton
1288
                            telerik:ScreenTip.Description="Zoom Out"
1289
                            telerik:ScreenTip.Title="Zoom Out"
1290
                            Click="viewEvent"
1291
                            CollapseToMedium="WhenGroupIsMedium"
1292
                            CollapseToSmall="WhenGroupIsSmall"
1293
                            CommandParameter="zoomout"
1294
                            LargeImage="/KCOM;component/Resources/Images/MenuImage_new/minus.png"
1295
                            Size="Small"
1296
                            Tag="ZoomOut"
1297
                            Text="Zoom Out" />
1298
                        <telerik:RadRibbonToggleButton
1299
                            telerik:ScreenTip.Description="Spin to counterclockwise"
1300
                            telerik:ScreenTip.Title="Rotate left"
1301
                            Click="viewEvent"
1302
                            CollapseToMedium="WhenGroupIsMedium"
1303
                            CollapseToSmall="WhenGroupIsSmall"
1304
                            CommandParameter="Rotate_M"
1305
                            LargeImage="/KCOM;component/Resources/Images/MenuImage_new/Rotate_Minus.png"
1306
                            Size="Small"
1307
                            Tag="Rotate_M"
1308
                            Text="Rotate left" />
1309

    
1310
                        <telerik:RadRibbonToggleButton
1311
                            telerik:ScreenTip.Description="Drag to zoom-in"
1312
                            telerik:ScreenTip.Title="Drag zoom in"
1313
                            Click="ControlEvent"
1314
                            CollapseToMedium="WhenGroupIsMedium"
1315
                            CollapseToSmall="WhenGroupIsSmall"
1316
                            CommandParameter="DragZoom"
1317
                            LargeImage="/KCOM;component/Resources/Images/MenuImage_new/zoom-in-tool.png"
1318
                            Size="Small"
1319
                            Tag="DragZoom"
1320
                            Text="Drag zoom in" />
1321

    
1322
                    </telerik:RadCollapsiblePanel>
1323
                    <telerik:RadCollapsiblePanel>
1324
                        <telerik:RadRibbonToggleButton
1325
                            telerik:ScreenTip.Description="Zoom In"
1326
                            telerik:ScreenTip.Title="Zoom In"
1327
                            Click="viewEvent"
1328
                            CollapseToMedium="WhenGroupIsMedium"
1329
                            CollapseToSmall="WhenGroupIsSmall"
1330
                            CommandParameter="zoomin"
1331
                            LargeImage="/KCOM;component/Resources/Images/MenuImage_new/plus.png"
1332
                            Size="Small"
1333
                            Tag="zoomin"
1334
                            Text="Zoom In" />
1335

    
1336
                        <telerik:RadRibbonToggleButton
1337
                            telerik:ScreenTip.Description="Spin to clockwise"
1338
                            telerik:ScreenTip.Title="Rotate right"
1339
                            Click="viewEvent"
1340
                            CollapseToMedium="WhenGroupIsMedium"
1341
                            CollapseToSmall="WhenGroupIsSmall"
1342
                            CommandParameter="Rotate_P"
1343
                            LargeImage="/KCOM;component/Resources/Images/MenuImage_new/Rotate_Plus.png"
1344
                            Size="Small"
1345
                            Tag="Rotate_P"
1346
                            Text="Rotate right" />
1347
                        <telerik:RadRibbonToggleButton
1348
                            telerik:ScreenTip.Description="Maximaize the screen"
1349
                            telerik:ScreenTip.Title="maximize"
1350
                            Click="viewEvent"
1351
                            CollapseToMedium="WhenGroupIsMedium"
1352
                            CollapseToSmall="WhenGroupIsSmall"
1353
                            CommandParameter="fullscreen"
1354
                            LargeImage="/KCOM;component/Resources/Images/MenuImage_new/fullscreen.png"
1355
                            Size="Small"
1356
                            Tag="fullscreen"
1357
                            Text="maximize" />
1358

    
1359

    
1360
                    </telerik:RadCollapsiblePanel>
1361
                    <telerik:RadCollapsiblePanel>
1362
                        <telerik:RadRibbonToggleButton
1363
                            telerik:ScreenTip.Description="Fit to screen"
1364
                            telerik:ScreenTip.Title="Fit"
1365
                            Click="viewEvent"
1366
                            CollapseToMedium="WhenGroupIsMedium"
1367
                            CollapseToSmall="WhenGroupIsSmall"
1368
                            CommandParameter="fitHeight"
1369
                            LargeImage="/KCOM;component/Resources/Images/MenuImage_new/expand.png"
1370
                            Size="Small"
1371
                            Tag="fitHeight"
1372
                            Text="Fit" />
1373

    
1374
                        <telerik:RadRibbonToggleButton
1375
                            telerik:ScreenTip.Description="Reverse upper and lower of screen"
1376
                            telerik:ScreenTip.Title="Upside down"
1377
                            Click="viewEvent"
1378
                            CollapseToMedium="WhenGroupIsMedium"
1379
                            CollapseToSmall="WhenGroupIsSmall"
1380
                            CommandParameter="Rotate_half"
1381
                            LargeImage="/KCOM;component/Resources/Images/MenuImage_new/flip.png"
1382
                            Size="Small"
1383
                            Tag="Rotate_half"
1384
                            Text="Upside down" />
1385

    
1386

    
1387
                        <telerik:RadRibbonToggleButton />
1388
                    </telerik:RadCollapsiblePanel>
1389

    
1390
                    <!--<Grid Margin="0,-1,0,0">
1391
                        <Grid.ColumnDefinitions>
1392
                            <ColumnDefinition/>
1393
                            <ColumnDefinition/>
1394
                            <ColumnDefinition/>
1395
                        </Grid.ColumnDefinitions>
1396
                        <Grid.RowDefinitions>
1397
                            <RowDefinition/>
1398
                            <RowDefinition/>
1399
                            <RowDefinition/>
1400
                        </Grid.RowDefinitions>-->
1401

    
1402
                    <!--<StackPanel Orientation="Horizontal"  Grid.Row="0">-->
1403

    
1404

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

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

    
1416

    
1417

    
1418

    
1419

    
1420

    
1421

    
1422
                    <!--<telerik:RadToggleButton BorderThickness="0" Grid.Row="2" Grid.Column="0" Click="viewEvent" CommandParameter="fitHeight" Background="Transparent" Width="29" Height="29"
1423
                                               telerik:ScreenTip.Description="화면을 맞춥니다"
1424
                                               telerik:ScreenTip.Title="Fit">
1425
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/expand.png"/>
1426
                        </telerik:RadToggleButton>
1427

1428
                        <telerik:RadToggleButton BorderThickness="0" Grid.Row="2" Grid.Column="1" Click="viewEvent" CommandParameter="fullscreen" Background="Transparent" Width="29" Height="29"
1429
                                               telerik:ScreenTip.Description="Maximaize the screen"
1430
                                               telerik:ScreenTip.Title="maximize">
1431
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/fullscreen.png"/>
1432
                        </telerik:RadToggleButton>-->
1433

    
1434

    
1435
                    <!--<telerik:RadToggleButton BorderThickness="0" Grid.Row="0" Grid.Column="0" Click="viewEvent" CommandParameter="zoomout" Background="Transparent" Width="29" Height="29"
1436
                                               telerik:ScreenTip.Description="줌 축소를 합니다"
1437
                                               telerik:ScreenTip.Title="Zoom Out">
1438
                                <Image Source="/KCOM;component/Resources/Images/MenuImage_new/minus.png"/>
1439
                            </telerik:RadToggleButton>-->
1440
                    <!--<telerik:RadToggleButton BorderThickness="0" Grid.Row="0" Grid.Column="1" Click="viewEvent" CommandParameter="zoomin" Background="Transparent" Width="29" Height="29"
1441
                                               telerik:ScreenTip.Description="Zoom In"
1442
                                               telerik:ScreenTip.Title="Zoom In">
1443
                                <Image Source="/KCOM;component/Resources/Images/MenuImage_new/plus.png"/>
1444
                            </telerik:RadToggleButton>-->
1445

    
1446
                    <!--<telerik:RadToggleButton BorderThickness="0" Grid.Row="0" Grid.Column="2" Click="ControlEvent" CommandParameter="boundzoom" Background="Transparent" Width="29" Height="29"
1447
                                               telerik:ScreenTip.Description="드래그 하여 Zoom In."
1448
                                               telerik:ScreenTip.Title="Drag zoom in">
1449
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/zoom-in-tool.png"/>
1450
                        </telerik:RadToggleButton>-->
1451

    
1452

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

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

1465
                        <telerik:RadToggleButton BorderThickness="0" Grid.Row="1" Grid.Column="2" Click="viewEvent" CommandParameter="Rotate_half" Background="Transparent" Width="29" Height="29"
1466
                                               telerik:ScreenTip.Description="Reverse upper and lower of screen"
1467
                                               telerik:ScreenTip.Title="Upside down">
1468
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/flip.png"/>
1469
                        </telerik:RadToggleButton>-->
1470

    
1471
                    <!--<telerik:RadToggleButton BorderThickness="0" Grid.Row="2" Grid.Column="0" Click="viewEvent" CommandParameter="fitHeight" Background="Transparent" Width="29" Height="29"
1472
                                               telerik:ScreenTip.Description="화면을 맞춥니다"
1473
                                               telerik:ScreenTip.Title="Fit">
1474
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/expand.png"/>
1475
                        </telerik:RadToggleButton>
1476

1477
                        <telerik:RadToggleButton BorderThickness="0" Grid.Row="2" Grid.Column="1" Click="viewEvent" CommandParameter="fullscreen" Background="Transparent" Width="29" Height="29"
1478
                                               telerik:ScreenTip.Description="화면을 최대화 합니다"
1479
                                               telerik:ScreenTip.Title="maximize">
1480
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/fullscreen.png"/>
1481
                        </telerik:RadToggleButton>-->
1482
                    <!--<telerik:RadButton BorderThickness="0" Grid.Row="1" Grid.Column="0" Click="viewEvent" CommandParameter="zoomout" Background="Transparent"
1483
                                               telerik:ScreenTip.Description="줌 축소를 합니다"
1484
                                               telerik:ScreenTip.Title="Zoom Out">
1485
                                <Image Source="/KCOM;component/Resources/Images/MenuImage_new/minus.png" Stretch="Uniform" Width="20" Height="20"/>
1486
                            </telerik:RadButton>
1487
                            <telerik:RadButton BorderThickness="0" Grid.Row="1" Grid.Column="1" Click="viewEvent" CommandParameter="zoomin" Background="Transparent"
1488
                                               telerik:ScreenTip.Description="Zoom In"
1489
                                               telerik:ScreenTip.Title="Zoom In">
1490
                                <Image Source="/KCOM;component/Resources/Images/MenuImage_new/plus.png" Stretch="Uniform" Width="20" Height="20"/>
1491
                            </telerik:RadButton>
1492
                            <telerik:RadButton BorderThickness="0" Click="viewEvent" CommandParameter="fitHeight" Background="Transparent"
1493
                                               telerik:ScreenTip.Description="화면을 맞춥니다"
1494
                                               telerik:ScreenTip.Title="Fit">
1495
                                <Image Source="/KCOM;component/Resources/Images/MenuImage_new/expand.png" Stretch="Uniform" Width="20" Height="20"/>
1496
                            </telerik:RadButton>
1497
                            <telerik:RadButton BorderThickness="0"  Click="viewEvent" CommandParameter="fullscreen" Background="Transparent"
1498
                                               telerik:ScreenTip.Description="화면을 최대화 합니다"
1499
                                               telerik:ScreenTip.Title="maximize">
1500
                                <Image Source="/KCOM;component/Resources/Images/MenuImage_new/fullscreen.png" Stretch="Uniform" Width="20" Height="20"/>
1501
                            </telerik:RadButton>-->
1502
                    <!--</StackPanel>-->
1503

    
1504
                    <!--<StackPanel Orientation="Horizontal"  Grid.Row="1">
1505
                            <telerik:RadButton BorderThickness="0" Click="viewEvent" CommandParameter="Rotate_M" Background="Transparent"
1506
                                               telerik:ScreenTip.Description="반시계 방향으로 회전합니다"
1507
                                               telerik:ScreenTip.Title="Rotate left">
1508
                                <telerik:RadButton.Content>
1509
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_New/Rotate_Minus.png" Stretch="Uniform" Width="20" Height="20"/>
1510
                                </telerik:RadButton.Content>
1511
                            </telerik:RadButton>
1512

1513
                            <telerik:RadButton BorderThickness="0" Click="viewEvent" CommandParameter="Rotate_P" Background="Transparent"
1514
                                               telerik:ScreenTip.Description="시계 방향으로 회전합니다"
1515
                                               telerik:ScreenTip.Title="Rotate right">
1516
                                <telerik:RadButton.Content>
1517
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_New/Rotate_Plus.png" Stretch="Uniform" Width="20" Height="20"/>
1518
                                </telerik:RadButton.Content>
1519
                            </telerik:RadButton>
1520

1521
                            <telerik:RadButton BorderThickness="0" Click="viewEvent" CommandParameter="Rotate_half" Background="Transparent"
1522
                                               telerik:ScreenTip.Description="화면의 상하가 반전 됩니다"
1523
                                               telerik:ScreenTip.Title="Upside down">
1524
                                <telerik:RadButton.Content>
1525
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_new/flip.png" Stretch="Uniform" Width="20" Height="20"/>
1526
                                </telerik:RadButton.Content>
1527
                            </telerik:RadButton>
1528

1529
                    -->
1530
                    <!--<telerik:RadRibbonToggleButton
1531
                                                       CollapseToMedium="WhenGroupIsMedium"
1532
                                                       CollapseToSmall="WhenGroupIsSmall"
1533
                                                       CommandParameter="Select"
1534
                                                       LargeImage="/KCOM;component/Resources/Images/MenuImage_new/select.png"
1535
                                                       Size="Medium"
1536
                                                       Click="ControlEvent"
1537
                                                       Tag="Select"
1538
                                                       x:Name="btnSelection"
1539
                                                       telerik:ScreenTip.Description="Select an area of markup"
1540
                                                       telerik:ScreenTip.Title="Eraser"
1541
                                                       Text="Selection"/>-->
1542
                    <!--
1543
                            <telerik:RadRibbonToggleButton
1544
                                                       CollapseToMedium="WhenGroupIsMedium"
1545
                                                       CollapseToSmall="WhenGroupIsSmall"
1546
                                                       CommandParameter="DragZoom"
1547
                                                       LargeImage="/KCOM;component/Resources/Images/MenuImage_new/zoom-in-tool.png"
1548
                                                       Size="Medium"
1549
                                                       Width="20"
1550
                                                       Height="20"
1551
                                                       Click="ControlEvent"
1552
                                                       Tag="Select"
1553
                                                       x:Name="btnDragZoom"
1554
                                                       telerik:ScreenTip.Description="Select an area of markup"
1555
                                                       telerik:ScreenTip.Title="Eraser"/>
1556

1557
                    -->
1558
                    <!--<telerik:RadButton BorderThickness="0" Click="viewEvent" CommandParameter="boundzoom" Background="Transparent"
1559
                                               telerik:ScreenTip.Description="드래그 하여 Zoom In."
1560
                                               telerik:ScreenTip.Title="Drag zoom in">
1561
                                <telerik:RadButton.Content>
1562
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_new/zoom-in-tool.png" Stretch="Uniform" Width="20" Height="20"/>
1563
                                </telerik:RadButton.Content>
1564
                            </telerik:RadButton>-->
1565

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

1569
                        </StackPanel>-->
1570
                    <!--</Grid>-->
1571
                </telerik:RadRibbonGroup>
1572

    
1573
                <telerik:RadRibbonGroup
1574
                    x:Name="AutoCAD"
1575
                    DialogLauncherVisibility="Collapsed"
1576
                    Header="AutoCAD"
1577
                    Icon="/KCOM;component/Resources/Images/MenuImage_New/small/font.png"
1578
                    IsEnabled="True">
1579
                    <telerik:RadCollapsiblePanel>
1580
                        <telerik:RadRibbonToggleButton
1581
                            telerik:ScreenTip.Description="Delete object that is included the whole objects of the set area"
1582
                            telerik:ScreenTip.Title="Inside White"
1583
                            Click="ControlEvent"
1584
                            CollapseToMedium="WhenGroupIsMedium"
1585
                            CollapseToSmall="WhenGroupIsSmall"
1586
                            CommandParameter="Inside"
1587
                            LargeImage="/KCOM;component/Resources/Images/MenuImage_New/inside.png"
1588
                            Size="Medium"
1589
                            Tag="Inside White"
1590
                            Text="Inside" />
1591
                        <telerik:RadRibbonToggleButton
1592
                            telerik:ScreenTip.Description="Delete all objects that are included in the set area"
1593
                            telerik:ScreenTip.Title="Overlap White"
1594
                            Click="ControlEvent"
1595
                            CollapseToMedium="WhenGroupIsMedium"
1596
                            CollapseToSmall="WhenGroupIsSmall"
1597
                            CommandParameter="Overlap"
1598
                            LargeImage="/KCOM;component/Resources/Images/MenuImage_New/overlap.png"
1599
                            Size="Medium"
1600
                            Tag="Overlap White"
1601
                            Text="Overlap" />
1602
                        <telerik:RadRibbonToggleButton
1603
                            telerik:ScreenTip.Description="Delete only set area"
1604
                            telerik:ScreenTip.Title="Clip White"
1605
                            Click="ControlEvent"
1606
                            CollapseToMedium="WhenGroupIsMedium"
1607
                            CollapseToSmall="WhenGroupIsSmall"
1608
                            CommandParameter="Clip"
1609
                            LargeImage="/KCOM;component/Resources/Images/MenuImage_New/clip.png"
1610
                            Size="Medium"
1611
                            Tag="Clip White"
1612
                            Text="Clip" />
1613
                    </telerik:RadCollapsiblePanel>
1614
                    <telerik:RadCollapsiblePanel>
1615
                        <telerik:RadRibbonToggleButton
1616
                            telerik:ScreenTip.Description="Export to cad file"
1617
                            telerik:ScreenTip.Title="Cad Export"
1618
                            Click="ControlEvent"
1619
                            CollapseToMedium="WhenGroupIsMedium"
1620
                            CollapseToSmall="WhenGroupIsSmall"
1621
                            CommandParameter="CadExport"
1622
                            LargeImage="/KCOM;component/Resources/Images/MenuImage_new/topdf.png"
1623
                            Size="Medium"
1624
                            Tag="Export"
1625
                            Text="Export" />
1626
                        <telerik:RadRibbonToggleButton
1627
                            telerik:ScreenTip.Description="Open Cad file using Viewer"
1628
                            telerik:ScreenTip.Title="Cad Viewer"
1629
                            Click="ControlEvent"
1630
                            CollapseToMedium="WhenGroupIsMedium"
1631
                            CollapseToSmall="WhenGroupIsSmall"
1632
                            CommandParameter="CadViewer"
1633
                            LargeImage="/KCOM;component/Resources/Images/MenuImage_new/View.png"
1634
                            Size="Medium"
1635
                            Tag="Viewer"
1636
                            Text="Viewer" />
1637
                        <telerik:RadRibbonToggleButton />
1638
                    </telerik:RadCollapsiblePanel>
1639
                </telerik:RadRibbonGroup>
1640
                <telerik:RadRibbonGroup
1641
                    x:Name="GROUP"
1642
                    DialogLauncherVisibility="Collapsed"
1643
                    Header="GROUP"
1644
                    Icon="/KCOM;component/Resources/Images/MenuImage_New/small/view.png"
1645
                    IsEnabled="True">
1646
                    <telerik:RadCollapsiblePanel>
1647
                        <telerik:RadRibbonToggleButton
1648
                            telerik:ScreenTip.Description="Group the set Markup"
1649
                            telerik:ScreenTip.Title="Group"
1650
                            Click="ControlEvent"
1651
                            CollapseToMedium="WhenGroupIsMedium"
1652
                            CollapseToSmall="WhenGroupIsSmall"
1653
                            CommandParameter="Group"
1654
                            LargeImage="/KCOM;component/Resources/Images/MenuImage_New/select.png"
1655
                            Size="Medium"
1656
                            Tag="Group"
1657
                            Text="Group" />
1658
                        <telerik:RadRibbonToggleButton
1659
                            telerik:ScreenTip.Description="Ungroup the grouping Markup"
1660
                            telerik:ScreenTip.Title="UnGroup"
1661
                            Click="ControlEvent"
1662
                            CollapseToMedium="WhenGroupIsMedium"
1663
                            CollapseToSmall="WhenGroupIsSmall"
1664
                            CommandParameter="UnGroup"
1665
                            LargeImage="/KCOM;component/Resources/Images/MenuImage_New/select.png"
1666
                            Size="Medium"
1667
                            Tag="UnGroup"
1668
                            Text="UnGroup" />
1669
                        <telerik:RadRibbonToggleButton />
1670
                    </telerik:RadCollapsiblePanel>
1671
                </telerik:RadRibbonGroup>
1672
                <!--
1673
                <telerik:RadRibbonGroup DialogLauncherVisibility="Collapsed"
1674
                                        Icon="/KCOM;component/Resources/Images/MenuImage_New/small/view.png"
1675
                                        Header="CAPTURE"
1676
                                        IsEnabled="True"
1677
                                        telerik:ScreenTip.Description="Capture image to use for a symbol"
1678
                                        telerik:ScreenTip.Title="Capture">
1679
                    <telerik:RadCollapsiblePanel>
1680
                        <telerik:RadRibbonToggleButton
1681
                                                           CollapseToMedium="WhenGroupIsMedium"
1682
                                                           CollapseToSmall="WhenGroupIsSmall"
1683
                                                           CommandParameter="Capture"
1684
                                                           LargeImage="/KCOM;component/Resources/Images/MenuImage_New/selectInk.png"
1685
                                                           Size="Large"
1686
                                                           Click="ControlEvent"
1687
                                                           Tag="Capture"
1688
                                                           telerik:ScreenTip.Description="Symbol로 사용할 IMAGE를 Capture합니다."
1689
                                                           telerik:ScreenTip.Title="Capture"
1690
                                                           Text="Capture" />
1691
                    </telerik:RadCollapsiblePanel>
1692
                </telerik:RadRibbonGroup>-->
1693
                <telerik:RadRibbonGroup
1694
                    telerik:ScreenTip.Description="Save automatically"
1695
                    telerik:ScreenTip.Title="Auto Save"
1696
                    DialogLauncherVisibility="Collapsed"
1697
                    Header="Save Option"
1698
                    Visibility="Collapsed">
1699
                    <telerik:RadCollapsiblePanel Margin="3,0,3,0">
1700
                        <!--  강인구 추가 Mark Click 이벤트 추가  -->
1701
                        <telerik:RadRibbonToggleButton
1702
                            MaxWidth="100"
1703
                            telerik:ScreenTip.Description="Save automatically"
1704
                            telerik:ScreenTip.Title="Auto Save"
1705
                            Click="AutoSave"
1706
                            CollapseToSmall="WhenGroupIsMedium"
1707
                            Size="Medium"
1708
                            Tag="AutoSave"
1709
                            Text="AutoSave" />
1710

    
1711
                    </telerik:RadCollapsiblePanel>
1712
                </telerik:RadRibbonGroup>
1713

    
1714

    
1715
            </telerik:RadRibbonTab>
1716
            <telerik:RadRibbonTab
1717
                x:Name="ribbontab_ReadOnly"
1718
                Header="MENU"
1719
                Visibility="Collapsed">
1720
                <telerik:RadRibbonGroup
1721
                    telerik:ScreenTip.Description="Show the File Task options."
1722
                    telerik:ScreenTip.Title="File"
1723
                    DialogLauncherVisibility="Collapsed"
1724
                    Visibility="Visible">
1725
                    <telerik:RadOrderedWrapPanel>
1726
                        <StackPanel Orientation="Horizontal">
1727
                            <telerik:RadRibbonButton
1728
                                Click="PrintEvent"
1729
                                Content="Print"
1730
                                LargeImage="/KCOM;component/Resources/Images/MenuImage_new/printer.png"
1731
                                Size="Large" />
1732
                            <telerik:RadRibbonButton
1733
                                Click="PrintEvent"
1734
                                Content="Export"
1735
                                LargeImage="/KCOM;component/Resources/Images/MenuImage_new/topdf.png"
1736
                                Size="Large" />
1737
                            <telerik:RadRibbonButton
1738
                                x:Name="SAVE"
1739
                                Click="SaveEventCallback"
1740
                                Content="SAVE"
1741
                                LargeImage="/KCOM;component/Resources/Images/MenuImage_new/diskette2.png"
1742
                                Size="Large" />
1743

    
1744

    
1745
                            <!--<telerik:RadRibbonButton Content="GO"
1746
                                                 LargeImage="/KCOM;component/Resources/Images/MenuImage_new/print.png"
1747
                                                 Size="Large"/>-->
1748
                        </StackPanel>
1749
                    </telerik:RadOrderedWrapPanel>
1750
                </telerik:RadRibbonGroup>
1751
                <telerik:RadRibbonGroup
1752
                    telerik:ScreenTip.Description="Show the File Task options."
1753
                    telerik:ScreenTip.Title="File"
1754
                    Header="PAGE"
1755
                    Visibility="Visible">
1756
                    <StackPanel Orientation="Horizontal">
1757
                        <TextBox
1758
                            x:Name="tlcurrentPage_readonly"
1759
                            Grid.Row="0"
1760
                            Width="30"
1761
                            Margin="5,0"
1762
                            Padding="0"
1763
                            VerticalAlignment="Center"
1764
                            HorizontalContentAlignment="Center"
1765
                            KeyDown="tlcurrentPage_readonly_KeyDown"
1766
                            Text="1" />
1767
                        <TextBlock
1768
                            Padding="3"
1769
                            HorizontalAlignment="Center"
1770
                            VerticalAlignment="Center"
1771
                            Text="/" />
1772
                        <TextBlock
1773
                            x:Name="tlPageCount_readonly"
1774
                            Padding="3"
1775
                            HorizontalAlignment="Center"
1776
                            VerticalAlignment="Center"
1777
                            Text="{Binding Document_Info.Count, Source={x:Static common:ViewerDataModel.Instance}}" />
1778

    
1779
                        <telerik:RadButton
1780
                            Grid.Row="1"
1781
                            Grid.Column="0"
1782
                            VerticalAlignment="Center"
1783
                            Background="Transparent"
1784
                            BorderThickness="0"
1785
                            Click="PageGoEvent"
1786
                            CommandParameter="Down">
1787
                            <Image
1788
                                    Width="20"
1789
                                    Height="20"
1790
                                    Source="/KCOM;component/Resources/Images/MenuImage_new/pagearrow.png"
1791
                                    Stretch="Uniform" />
1792
                        </telerik:RadButton>
1793

    
1794
                        <telerik:RadButton
1795
                            Grid.Row="1"
1796
                            Grid.Column="1"
1797
                            VerticalAlignment="Center"
1798
                            Background="Transparent"
1799
                            BorderThickness="0"
1800
                            Click="PageGoEvent"
1801
                            CommandParameter="Up">
1802
                            <Image
1803
                                    Width="20"
1804
                                    Height="20"
1805
                                    RenderTransformOrigin="0.5,0.5"
1806
                                    Source="/KCOM;component/Resources/Images/MenuImage_new/pagearrow.png"
1807
                                    Stretch="Uniform">
1808
                                <Image.RenderTransform>
1809
                                    <RotateTransform Angle="180" />
1810
                                </Image.RenderTransform>
1811
                            </Image>
1812
                        </telerik:RadButton>
1813
                    </StackPanel>
1814
                    <!--<Grid Margin="0,-1,0,0">
1815
                        <Grid.ColumnDefinitions>
1816
                            <ColumnDefinition/>
1817
                            <ColumnDefinition/>
1818
                        </Grid.ColumnDefinitions>
1819
                        <Grid.RowDefinitions>
1820
                            <RowDefinition/>
1821
                            <RowDefinition/>
1822
                        </Grid.RowDefinitions>
1823

1824
                        <TextBox Text="1" Width="30" Padding="0"  Grid.Row="0" Grid.Column="0" VerticalAlignment="Center" HorizontalContentAlignment="Center"  Margin="5,0" x:Name="tlcurrentPage_readonly" KeyDown="tlcurrentPage_KeyDown"/>
1825
                        <TextBlock Grid.Row="0" Grid.Column="1" Margin="0,7,5,0">
1826
                            <TextBlock Text="/"  Padding="3"   VerticalAlignment="Center" HorizontalAlignment="Center"/>
1827
                            <TextBlock Text="{Binding Document_Info.Count, Source={x:Static common:ViewerDataModel.Instance}}" Padding="3" VerticalAlignment="Center" HorizontalAlignment="Center" x:Name="tlPageCount_readonly"/>
1828
                        </TextBlock>
1829

1830
                        <telerik:RadButton Grid.Row="1" Grid.Column="0" BorderThickness="0" Click="PageGoEvent" CommandParameter="Down" Background="Transparent">
1831
                            <telerik:RadButton.Content>
1832
                                <Image Source="/KCOM;component/Resources/Images/MenuImage_new/pagearrow.png" Stretch="Uniform" Width="20" Height="20"/>
1833
                            </telerik:RadButton.Content>
1834
                        </telerik:RadButton>
1835
                        <telerik:RadButton Grid.Row="1" Grid.Column="1" BorderThickness="0" Click="PageGoEvent" CommandParameter="Up" Background="Transparent">
1836
                            <telerik:RadButton.Content>
1837
                                <Image Source="/KCOM;component/Resources/Images/MenuImage_new/pagearrow.png" Stretch="Uniform" Width="20" Height="20" RenderTransformOrigin="0.5,0.5">
1838
                                    <Image.RenderTransform>
1839
                                        <RotateTransform Angle="180"/>
1840
                                    </Image.RenderTransform>
1841
                                </Image>
1842
                            </telerik:RadButton.Content>
1843
                        </telerik:RadButton>
1844
                    </Grid>-->
1845
                </telerik:RadRibbonGroup>
1846
                <telerik:RadRibbonGroup
1847
                    telerik:ScreenTip.Description="Show the File Task options."
1848
                    telerik:ScreenTip.Title="File"
1849
                    DialogLauncherVisibility="Collapsed"
1850
                    Header="VIEW"
1851
                    Visibility="Visible">
1852
                    <telerik:RadCollapsiblePanel>
1853
                        <telerik:RadRibbonToggleButton
1854
                            telerik:ScreenTip.Description="Zoom Out"
1855
                            telerik:ScreenTip.Title="Zoom Out"
1856
                            Click="viewEvent"
1857
                            CollapseToMedium="WhenGroupIsMedium"
1858
                            CollapseToSmall="WhenGroupIsSmall"
1859
                            CommandParameter="zoomout"
1860
                            LargeImage="/KCOM;component/Resources/Images/MenuImage_new/minus.png"
1861
                            Size="Small"
1862
                            Tag="ZoomOut"
1863
                            Text="Zoom Out" />
1864
                        <telerik:RadRibbonToggleButton
1865
                            telerik:ScreenTip.Description="Spin to counterclockwise"
1866
                            telerik:ScreenTip.Title="Rotate left"
1867
                            Click="viewEvent"
1868
                            CollapseToMedium="WhenGroupIsMedium"
1869
                            CollapseToSmall="WhenGroupIsSmall"
1870
                            CommandParameter="Rotate_M"
1871
                            LargeImage="/KCOM;component/Resources/Images/MenuImage_new/Rotate_Minus.png"
1872
                            Size="Small"
1873
                            Tag="Rotate_M"
1874
                            Text="Rotate left" />
1875

    
1876
                        <telerik:RadRibbonToggleButton
1877
                            telerik:ScreenTip.Description="Drag to zoom-in"
1878
                            telerik:ScreenTip.Title="Drag zoom in"
1879
                            Click="ControlEvent"
1880
                            CollapseToMedium="WhenGroupIsMedium"
1881
                            CollapseToSmall="WhenGroupIsSmall"
1882
                            CommandParameter="DragZoom"
1883
                            LargeImage="/KCOM;component/Resources/Images/MenuImage_new/zoom-in-tool.png"
1884
                            Size="Small"
1885
                            Tag="DragZoom"
1886
                            Text="Drag zoom in" />
1887

    
1888
                    </telerik:RadCollapsiblePanel>
1889
                    <telerik:RadCollapsiblePanel>
1890
                        <telerik:RadRibbonToggleButton
1891
                            telerik:ScreenTip.Description="Zoom In"
1892
                            telerik:ScreenTip.Title="Zoom In"
1893
                            Click="viewEvent"
1894
                            CollapseToMedium="WhenGroupIsMedium"
1895
                            CollapseToSmall="WhenGroupIsSmall"
1896
                            CommandParameter="zoomin"
1897
                            LargeImage="/KCOM;component/Resources/Images/MenuImage_new/plus.png"
1898
                            Size="Small"
1899
                            Tag="zoomin"
1900
                            Text="Zoom In" />
1901

    
1902
                        <telerik:RadRibbonToggleButton
1903
                            telerik:ScreenTip.Description="Spin to clockwise"
1904
                            telerik:ScreenTip.Title="Rotate right"
1905
                            Click="viewEvent"
1906
                            CollapseToMedium="WhenGroupIsMedium"
1907
                            CollapseToSmall="WhenGroupIsSmall"
1908
                            CommandParameter="Rotate_P"
1909
                            LargeImage="/KCOM;component/Resources/Images/MenuImage_new/Rotate_Plus.png"
1910
                            Size="Small"
1911
                            Tag="Rotate_P"
1912
                            Text="Rotate right" />
1913
                        <telerik:RadRibbonToggleButton
1914
                            telerik:ScreenTip.Description="Maximaize the screen"
1915
                            telerik:ScreenTip.Title="maximize"
1916
                            Click="viewEvent"
1917
                            CollapseToMedium="WhenGroupIsMedium"
1918
                            CollapseToSmall="WhenGroupIsSmall"
1919
                            CommandParameter="fullscreen"
1920
                            LargeImage="/KCOM;component/Resources/Images/MenuImage_new/fullscreen.png"
1921
                            Size="Small"
1922
                            Tag="fullscreen"
1923
                            Text="maximize" />
1924

    
1925

    
1926
                    </telerik:RadCollapsiblePanel>
1927
                    <telerik:RadCollapsiblePanel>
1928
                        <telerik:RadRibbonToggleButton
1929
                            telerik:ScreenTip.Description="Fit to screen"
1930
                            telerik:ScreenTip.Title="Fit"
1931
                            Click="viewEvent"
1932
                            CollapseToMedium="WhenGroupIsMedium"
1933
                            CollapseToSmall="WhenGroupIsSmall"
1934
                            CommandParameter="fitHeight"
1935
                            LargeImage="/KCOM;component/Resources/Images/MenuImage_new/expand.png"
1936
                            Size="Small"
1937
                            Tag="fitHeight"
1938
                            Text="Fit" />
1939

    
1940
                        <telerik:RadRibbonToggleButton
1941
                            telerik:ScreenTip.Description="Reverse upper and lower of screen"
1942
                            telerik:ScreenTip.Title="Upside down"
1943
                            Click="viewEvent"
1944
                            CollapseToMedium="WhenGroupIsMedium"
1945
                            CollapseToSmall="WhenGroupIsSmall"
1946
                            CommandParameter="Rotate_half"
1947
                            LargeImage="/KCOM;component/Resources/Images/MenuImage_new/flip.png"
1948
                            Size="Small"
1949
                            Tag="Rotate_half"
1950
                            Text="Upside down" />
1951

    
1952

    
1953
                        <telerik:RadRibbonToggleButton />
1954
                    </telerik:RadCollapsiblePanel>
1955

    
1956
                    <!--<Grid Margin="0,-1,0,0">
1957
                        <Grid.ColumnDefinitions>
1958
                            <ColumnDefinition/>
1959
                            <ColumnDefinition/>
1960
                            <ColumnDefinition/>
1961
                        </Grid.ColumnDefinitions>
1962
                        <Grid.RowDefinitions>
1963
                            <RowDefinition/>
1964
                            <RowDefinition/>
1965
                            <RowDefinition/>
1966
                        </Grid.RowDefinitions>-->
1967

    
1968
                    <!--<StackPanel Orientation="Horizontal"  Grid.Row="0">-->
1969

    
1970

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

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

    
1982

    
1983

    
1984

    
1985

    
1986

    
1987

    
1988
                    <!--<telerik:RadToggleButton BorderThickness="0" Grid.Row="2" Grid.Column="0" Click="viewEvent" CommandParameter="fitHeight" Background="Transparent" Width="29" Height="29"
1989
                                               telerik:ScreenTip.Description="화면을 맞춥니다"
1990
                                               telerik:ScreenTip.Title="Fit">
1991
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/expand.png"/>
1992
                        </telerik:RadToggleButton>
1993

1994
                        <telerik:RadToggleButton BorderThickness="0" Grid.Row="2" Grid.Column="1" Click="viewEvent" CommandParameter="fullscreen" Background="Transparent" Width="29" Height="29"
1995
                                               telerik:ScreenTip.Description="화면을 최대화 합니다"
1996
                                               telerik:ScreenTip.Title="maximize">
1997
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/fullscreen.png"/>
1998
                        </telerik:RadToggleButton>-->
1999

    
2000

    
2001
                    <!--<telerik:RadToggleButton BorderThickness="0" Grid.Row="0" Grid.Column="0" Click="viewEvent" CommandParameter="zoomout" Background="Transparent" Width="29" Height="29"
2002
                                               telerik:ScreenTip.Description="줌 축소를 합니다"
2003
                                               telerik:ScreenTip.Title="Zoom Out">
2004
                                <Image Source="/KCOM;component/Resources/Images/MenuImage_new/minus.png"/>
2005
                            </telerik:RadToggleButton>-->
2006
                    <!--<telerik:RadToggleButton BorderThickness="0" Grid.Row="0" Grid.Column="1" Click="viewEvent" CommandParameter="zoomin" Background="Transparent" Width="29" Height="29"
2007
                                               telerik:ScreenTip.Description="Zoom In"
2008
                                               telerik:ScreenTip.Title="Zoom In">
2009
                                <Image Source="/KCOM;component/Resources/Images/MenuImage_new/plus.png"/>
2010
                            </telerik:RadToggleButton>-->
2011

    
2012
                    <!--<telerik:RadToggleButton BorderThickness="0" Grid.Row="0" Grid.Column="2" Click="ControlEvent" CommandParameter="boundzoom" Background="Transparent" Width="29" Height="29"
2013
                                               telerik:ScreenTip.Description="드래그 하여 Zoom In."
2014
                                               telerik:ScreenTip.Title="Drag zoom in">
2015
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/zoom-in-tool.png"/>
2016
                        </telerik:RadToggleButton>-->
2017

    
2018

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

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

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

    
2037
                    <!--<telerik:RadToggleButton BorderThickness="0" Grid.Row="2" Grid.Column="0" Click="viewEvent" CommandParameter="fitHeight" Background="Transparent" Width="29" Height="29"
2038
                                               telerik:ScreenTip.Description="화면을 맞춥니다"
2039
                                               telerik:ScreenTip.Title="Fit">
2040
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/expand.png"/>
2041
                        </telerik:RadToggleButton>
2042

2043
                        <telerik:RadToggleButton BorderThickness="0" Grid.Row="2" Grid.Column="1" Click="viewEvent" CommandParameter="fullscreen" Background="Transparent" Width="29" Height="29"
2044
                                               telerik:ScreenTip.Description="화면을 최대화 합니다"
2045
                                               telerik:ScreenTip.Title="maximize">
2046
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/fullscreen.png"/>
2047
                        </telerik:RadToggleButton>-->
2048
                    <!--<telerik:RadButton BorderThickness="0" Grid.Row="1" Grid.Column="0" Click="viewEvent" CommandParameter="zoomout" Background="Transparent"
2049
                                               telerik:ScreenTip.Description="줌 축소를 합니다"
2050
                                               telerik:ScreenTip.Title="Zoom Out">
2051
                                <Image Source="/KCOM;component/Resources/Images/MenuImage_new/minus.png" Stretch="Uniform" Width="20" Height="20"/>
2052
                            </telerik:RadButton>
2053
                            <telerik:RadButton BorderThickness="0" Grid.Row="1" Grid.Column="1" Click="viewEvent" CommandParameter="zoomin" Background="Transparent"
2054
                                               telerik:ScreenTip.Description="Zoom In"
2055
                                               telerik:ScreenTip.Title="Zoom In">
2056
                                <Image Source="/KCOM;component/Resources/Images/MenuImage_new/plus.png" Stretch="Uniform" Width="20" Height="20"/>
2057
                            </telerik:RadButton>
2058
                            <telerik:RadButton BorderThickness="0" Click="viewEvent" CommandParameter="fitHeight" Background="Transparent"
2059
                                               telerik:ScreenTip.Description="화면을 맞춥니다"
2060
                                               telerik:ScreenTip.Title="Fit">
2061
                                <Image Source="/KCOM;component/Resources/Images/MenuImage_new/expand.png" Stretch="Uniform" Width="20" Height="20"/>
2062
                            </telerik:RadButton>
2063
                            <telerik:RadButton BorderThickness="0"  Click="viewEvent" CommandParameter="fullscreen" Background="Transparent"
2064
                                               telerik:ScreenTip.Description="화면을 최대화 합니다"
2065
                                               telerik:ScreenTip.Title="maximize">
2066
                                <Image Source="/KCOM;component/Resources/Images/MenuImage_new/fullscreen.png" Stretch="Uniform" Width="20" Height="20"/>
2067
                            </telerik:RadButton>-->
2068
                    <!--</StackPanel>-->
2069

    
2070
                    <!--<StackPanel Orientation="Horizontal"  Grid.Row="1">
2071
                            <telerik:RadButton BorderThickness="0" Click="viewEvent" CommandParameter="Rotate_M" Background="Transparent"
2072
                                               telerik:ScreenTip.Description="반시계 방향으로 회전합니다"
2073
                                               telerik:ScreenTip.Title="Rotate left">
2074
                                <telerik:RadButton.Content>
2075
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_New/Rotate_Minus.png" Stretch="Uniform" Width="20" Height="20"/>
2076
                                </telerik:RadButton.Content>
2077
                            </telerik:RadButton>
2078

2079
                            <telerik:RadButton BorderThickness="0" Click="viewEvent" CommandParameter="Rotate_P" Background="Transparent"
2080
                                               telerik:ScreenTip.Description="시계 방향으로 회전합니다"
2081
                                               telerik:ScreenTip.Title="Rotate right">
2082
                                <telerik:RadButton.Content>
2083
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_New/Rotate_Plus.png" Stretch="Uniform" Width="20" Height="20"/>
2084
                                </telerik:RadButton.Content>
2085
                            </telerik:RadButton>
2086

2087
                            <telerik:RadButton BorderThickness="0" Click="viewEvent" CommandParameter="Rotate_half" Background="Transparent"
2088
                                               telerik:ScreenTip.Description="화면의 상하가 반전 됩니다"
2089
                                               telerik:ScreenTip.Title="Upside down">
2090
                                <telerik:RadButton.Content>
2091
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_new/flip.png" Stretch="Uniform" Width="20" Height="20"/>
2092
                                </telerik:RadButton.Content>
2093
                            </telerik:RadButton>
2094

2095
                    -->
2096
                    <!--<telerik:RadRibbonToggleButton
2097
                                                       CollapseToMedium="WhenGroupIsMedium"
2098
                                                       CollapseToSmall="WhenGroupIsSmall"
2099
                                                       CommandParameter="Select"
2100
                                                       LargeImage="/KCOM;component/Resources/Images/MenuImage_new/select.png"
2101
                                                       Size="Medium"
2102
                                                       Click="ControlEvent"
2103
                                                       Tag="Select"
2104
                                                       x:Name="btnSelection"
2105
                                                       telerik:ScreenTip.Description="Select an area of markup"
2106
                                                       telerik:ScreenTip.Title="Eraser"
2107
                                                       Text="Selection"/>-->
2108
                    <!--
2109
                            <telerik:RadRibbonToggleButton
2110
                                                       CollapseToMedium="WhenGroupIsMedium"
2111
                                                       CollapseToSmall="WhenGroupIsSmall"
2112
                                                       CommandParameter="DragZoom"
2113
                                                       LargeImage="/KCOM;component/Resources/Images/MenuImage_new/zoom-in-tool.png"
2114
                                                       Size="Medium"
2115
                                                       Width="20"
2116
                                                       Height="20"
2117
                                                       Click="ControlEvent"
2118
                                                       Tag="Select"
2119
                                                       x:Name="btnDragZoom"
2120
                                                       telerik:ScreenTip.Description="Select an area of markup"
2121
                                                       telerik:ScreenTip.Title="Eraser"/>
2122

2123
                    -->
2124
                    <!--<telerik:RadButton BorderThickness="0" Click="viewEvent" CommandParameter="boundzoom" Background="Transparent"
2125
                                               telerik:ScreenTip.Description="드래그 하여 Zoom In."
2126
                                               telerik:ScreenTip.Title="Drag zoom in">
2127
                                <telerik:RadButton.Content>
2128
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_new/zoom-in-tool.png" Stretch="Uniform" Width="20" Height="20"/>
2129
                                </telerik:RadButton.Content>
2130
                            </telerik:RadButton>-->
2131

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

2135
                        </StackPanel>-->
2136
                    <!--</Grid>-->
2137
                </telerik:RadRibbonGroup>
2138
            </telerik:RadRibbonTab>
2139
            <!--<telerik:RadRibbonTab Header="VIEW">
2140

2141
                <telerik:RadRibbonGroup DialogLauncherVisibility="Collapsed"
2142
                                        telerik:ScreenTip.Description="Show the File Task options."
2143
                                        telerik:ScreenTip.Title="File" Header="PAGE"
2144
                                        Visibility="Visible">
2145
                    <Grid Margin="0,-1,0,0">
2146
                        <Grid.ColumnDefinitions>
2147
                            <ColumnDefinition/>
2148
                            <ColumnDefinition/>
2149
                        </Grid.ColumnDefinitions>
2150
                        <Grid.RowDefinitions>
2151
                            <RowDefinition/>
2152
                            <RowDefinition/>
2153
                        </Grid.RowDefinitions>
2154

2155
                        <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"/>
2156
                        <TextBlock Grid.Row="0" Grid.Column="1" Margin="0,7,5,0">
2157
                            <TextBlock Text="/"  Padding="3"   VerticalAlignment="Center" HorizontalAlignment="Center"/>
2158
                            <TextBlock Text="{Binding Document_Info.Count, Source={x:Static common:ViewerDataModel.Instance}}" Padding="3" VerticalAlignment="Center" HorizontalAlignment="Center" x:Name="tlPageCount"/>
2159
                        </TextBlock>
2160

2161
                        <telerik:RadButton Grid.Row="1" Grid.Column="0" BorderThickness="0" Click="PageGoEvent" CommandParameter="Down" Width="29" Height="29">
2162
                                <telerik:RadButton.Content>
2163
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_new/pagearrow.png"/>
2164
                                </telerik:RadButton.Content>
2165
                            </telerik:RadButton>
2166
                        <telerik:RadButton Grid.Row="1" Grid.Column="1" BorderThickness="0" Click="PageGoEvent" CommandParameter="Up" Width="29" Height="29" >
2167
                                <telerik:RadButton.Content>
2168
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_new/pagearrow.png" RenderTransformOrigin="0.5,0.5">
2169
                                        <Image.RenderTransform>
2170
                                            <RotateTransform Angle="180"/>
2171
                                        </Image.RenderTransform>
2172
                                    </Image>
2173
                                </telerik:RadButton.Content>
2174
                            </telerik:RadButton>
2175
                    </Grid>
2176
                </telerik:RadRibbonGroup>
2177

2178
                <telerik:RadRibbonGroup DialogLauncherVisibility="Collapsed" Header="ZOOM"
2179
                                        telerik:ScreenTip.Description="Show the File Task options."
2180
                                        telerik:ScreenTip.Title="File"
2181
                                        Visibility="Visible">
2182
                    <Grid>
2183
                    <Grid.RowDefinitions>
2184
                        <RowDefinition/>
2185
                        <RowDefinition/>
2186
                    </Grid.RowDefinitions>
2187

2188
                            <StackPanel Orientation="Horizontal"  Grid.Row="0">
2189
                            <telerik:RadButton BorderThickness="0" Grid.Row="1" Grid.Column="0" Click="viewEvent" CommandParameter="zoomout" Width="29" Height="29">
2190
                                <Image Source="/KCOM;component/Resources/Images/MenuImage_new/minus.png"/>
2191
                            </telerik:RadButton>
2192
                            <telerik:RadButton BorderThickness="0" Grid.Row="1" Grid.Column="1" Click="viewEvent" CommandParameter="zoomin" Width="29" Height="29">
2193
                                <Image Source="/KCOM;component/Resources/Images/MenuImage_new/plus.png"/>
2194
                            </telerik:RadButton>
2195
                            <telerik:RadButton BorderThickness="0" Click="viewEvent" CommandParameter="fitHeight">
2196
                                <Image Source="/KCOM;component/Resources/Images/MenuImage_new/expand.png" Stretch="Uniform" Width="20" Height="20"/>
2197
                            </telerik:RadButton>
2198
                            <telerik:RadButton BorderThickness="0"  Click="viewEvent" CommandParameter="fullscreen">
2199
                                <Image Source="/KCOM;component/Resources/Images/MenuImage_new/fullscreen.png" Stretch="Uniform" Width="20" Height="20"/>
2200
                            </telerik:RadButton>
2201
                            </StackPanel>
2202

2203
                        <StackPanel Orientation="Horizontal"  Grid.Row="1">
2204
                            <telerik:RadButton BorderThickness="0" Click="viewEvent" CommandParameter="Rotate_M">
2205
                                <telerik:RadButton.Content>
2206
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_New/Rotate_Minus.png" Stretch="Uniform" Width="20" Height="20"/>
2207
                                </telerik:RadButton.Content>
2208
                            </telerik:RadButton>
2209

2210
                            <telerik:RadButton BorderThickness="0" Click="viewEvent" CommandParameter="Rotate_P">
2211
                                <telerik:RadButton.Content>
2212
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_New/Rotate_Plus.png" Stretch="Uniform" Width="20" Height="20"/>
2213
                                </telerik:RadButton.Content>
2214
                            </telerik:RadButton>
2215

2216
                            <telerik:RadButton BorderThickness="0" Click="viewEvent" CommandParameter="Rotate_half">
2217
                                <telerik:RadButton.Content>
2218
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_new/flip.png" Stretch="Uniform" Width="20" Height="20"/>
2219
                                </telerik:RadButton.Content>
2220
                            </telerik:RadButton>
2221
                        </StackPanel>
2222
                    </Grid>
2223
                </telerik:RadRibbonGroup>
2224

2225
                <telerik:RadRibbonGroup DialogLauncherVisibility="Collapsed" Header="ROTATE"
2226
                                        telerik:ScreenTip.Description="Show the File Task options."
2227
                                        telerik:ScreenTip.Title="File"
2228
                                        Visibility="Visible">
2229
                    <telerik:RadOrderedWrapPanel>
2230
                        <StackPanel Orientation="Horizontal">
2231

2232
                            <telerik:RadButton BorderThickness="0" Click="viewEvent" CommandParameter="Rotate_M">
2233
                                <telerik:RadButton.Content>
2234
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_New/Rotate_Minus.png" Stretch="Uniform" Width="20" Height="20"/>
2235
                                </telerik:RadButton.Content>
2236
                            </telerik:RadButton>
2237

2238
                            <telerik:RadButton BorderThickness="0" Click="viewEvent" CommandParameter="Rotate_P">
2239
                                <telerik:RadButton.Content>
2240
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_New/Rotate_Plus.png" Stretch="Uniform" Width="20" Height="20"/>
2241
                                </telerik:RadButton.Content>
2242
                            </telerik:RadButton>
2243

2244
                            <telerik:RadButton BorderThickness="0" Click="viewEvent" CommandParameter="Rotate_half">
2245
                                <telerik:RadButton.Content>
2246
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_new/flip.png" Stretch="Uniform" Width="20" Height="20"/>
2247
                                </telerik:RadButton.Content>
2248
                            </telerik:RadButton>
2249

2250
                        </StackPanel>
2251
                    </telerik:RadOrderedWrapPanel>
2252
                </telerik:RadRibbonGroup>
2253

2254
                <telerik:RadRibbonGroup DialogLauncherVisibility="Collapsed" Header="ETC"
2255
                                        telerik:ScreenTip.Description="Show the File Task options."
2256
                                        telerik:ScreenTip.Title="File"
2257
                                        Visibility="Visible">
2258
                    <telerik:RadOrderedWrapPanel>
2259
                        <StackPanel Orientation="Horizontal">
2260
                            <telerik:RadButton Margin="0,0,5,0" BorderThickness="0" Click="PanoramaEvent">
2261
                                <telerik:RadButton.Content>
2262
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_New/panorama.png" Stretch="Uniform" Width="26" Height="26"/>
2263
                                </telerik:RadButton.Content>
2264
                            </telerik:RadButton>
2265
                        </StackPanel>
2266
                    </telerik:RadOrderedWrapPanel>
2267
                </telerik:RadRibbonGroup>
2268
            </telerik:RadRibbonTab>-->
2269

    
2270
            <!--<telerik:RadRibbonTab Header="VIEW">
2271

2272
                <telerik:RadRibbonGroup DialogLauncherVisibility="Collapsed"
2273
                                        telerik:ScreenTip.Description="Show the File Task options."
2274
                                        telerik:ScreenTip.Title="File" Header="PAGE"
2275
                                        Visibility="Visible">
2276
                    <telerik:RadOrderedWrapPanel>
2277
                        <StackPanel Orientation="Horizontal">
2278
                            <TextBox Text="1" Width="30" Padding="0" VerticalAlignment="Center" HorizontalContentAlignment="Center"  Margin="5,0" x:Name="tlcurrentPage" KeyDown="tlcurrentPage_KeyDown"/>
2279
                            <TextBlock Text="/"  Padding="3" VerticalAlignment="Center" HorizontalAlignment="Center"/>
2280
                            <TextBlock Text="{Binding Document_Info.Count, Source={x:Static common:ViewerDataModel.Instance}}" Padding="3" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="5,0" x:Name="tlPageCount"/>
2281
                            <telerik:RadButton Margin="0,0,5,0" BorderThickness="0" Click="PageGoEvent" CommandParameter="Down">
2282
                                <telerik:RadButton.Content>
2283
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_new/pagearrow.png" Stretch="Uniform" Width="26" Height="26"/>
2284
                                </telerik:RadButton.Content>
2285
                            </telerik:RadButton>
2286
                            <telerik:RadButton Margin="0,0,5,0" BorderThickness="0" Click="PageGoEvent" CommandParameter="Up">
2287
                                <telerik:RadButton.Content>
2288
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_new/pagearrow.png" Stretch="Uniform" Width="26" Height="26" RenderTransformOrigin="0.5,0.5">
2289
                                        <Image.RenderTransform>
2290
                                            <RotateTransform Angle="180"/>
2291
                                        </Image.RenderTransform>
2292
                                    </Image>
2293
                                </telerik:RadButton.Content>
2294
                            </telerik:RadButton>
2295
                        </StackPanel>
2296
                    </telerik:RadOrderedWrapPanel>
2297
                </telerik:RadRibbonGroup>
2298

2299
                <telerik:RadRibbonGroup DialogLauncherVisibility="Collapsed" Header="ZOOM"
2300
                                        telerik:ScreenTip.Description="Show the File Task options."
2301
                                        telerik:ScreenTip.Title="File"
2302
                                        Visibility="Visible">
2303
                    <telerik:RadOrderedWrapPanel>
2304
                        <StackPanel Orientation="Horizontal">
2305
            -->
2306
            <!--<telerik:RadRibbonButton Size="Large" LargeImage="/KCOM;component/Resources/Images/MenuImage_new/minus.png" Margin="0,0,5,0" Width="30" Height="30"/>
2307
                            <telerik:RadRibbonButton Size="Large" LargeImage="/KCOM;component/Resources/Images/MenuImage_new/plus.png" Margin="5,0"/>-->
2308
            <!--<telerik:RadComboBox Background="White"  VerticalAlignment="Center" Padding="5" SelectedIndex="4" Width="75" telerik:StyleManager.Theme="Office2016" Margin="5,0">
2309
                                <telerik:RadComboBox.Items>
2310
                                    <telerik:RadComboBoxItem Content="10%"/>
2311
                                    <telerik:RadComboBoxItem Content="20%"/>
2312
                                    <telerik:RadComboBoxItem Content="50%"/>
2313
                                    <telerik:RadComboBoxItem Content="75%"/>
2314
                                    <telerik:RadComboBoxItem Content="100%"/>
2315
                                    <telerik:RadComboBoxItem Content="200%"/>
2316
                                </telerik:RadComboBox.Items>
2317
                            </telerik:RadComboBox>-->
2318
            <!--
2319
                            <telerik:RadButton Margin="0,0,5,0" BorderThickness="0" Click="viewEvent" CommandParameter="zoomout">
2320
                                <telerik:RadButton.Content>
2321
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_new/minus.png" Stretch="Uniform" Width="26" Height="26"/>
2322
                                </telerik:RadButton.Content>
2323
                            </telerik:RadButton>
2324

2325
                            <telerik:RadButton Margin="0,0,5,0" BorderThickness="0" Click="viewEvent" CommandParameter="zoomin">
2326
                                <telerik:RadButton.Content>
2327
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_new/plus.png" Stretch="Uniform" Width="26" Height="26"/>
2328
                                </telerik:RadButton.Content>
2329
                            </telerik:RadButton>
2330
                            <telerik:RadButton Margin="0,0,5,0" BorderThickness="0" Click="viewEvent" CommandParameter="fitWidth">
2331
                                <telerik:RadButton.Content>
2332
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_new/fitWindownWidth.png" Stretch="Uniform" Width="26" Height="26"/>
2333
                                </telerik:RadButton.Content>
2334
                            </telerik:RadButton>
2335

2336
                            <telerik:RadButton Margin="0,0,5,0" BorderThickness="0" Click="viewEvent" CommandParameter="fitHeight">
2337
                                <telerik:RadButton.Content>
2338
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_new/fitWindownHeight.png" Stretch="Uniform" Width="26" Height="26"/>
2339
                                </telerik:RadButton.Content>
2340
                            </telerik:RadButton>
2341

2342
                            <telerik:RadButton Margin="0,0,5,0" BorderThickness="0"  Click="viewEvent" CommandParameter="fullscreen">
2343
                                <telerik:RadButton.Content>
2344
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_new/expand.png" Stretch="Uniform" Width="26" Height="26"/>
2345
                                </telerik:RadButton.Content>
2346
                            </telerik:RadButton>
2347

2348
                            <telerik:RadButton Margin="0,0,5,0" BorderThickness="0" Click="viewEvent" CommandParameter="boundzoom" Visibility="Collapsed">
2349
                                <telerik:RadButton.Content>
2350
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_new/zoom-in-tool.png" Stretch="Uniform" Width="26" Height="26"/>
2351
                                </telerik:RadButton.Content>
2352
                            </telerik:RadButton>
2353
                        </StackPanel>
2354
                    </telerik:RadOrderedWrapPanel>
2355
                </telerik:RadRibbonGroup>
2356

2357
                <telerik:RadRibbonGroup DialogLauncherVisibility="Collapsed" Header="ROTATE"
2358
                                        telerik:ScreenTip.Description="Show the File Task options."
2359
                                        telerik:ScreenTip.Title="File"
2360
                                        Visibility="Visible">
2361
                    <telerik:RadOrderedWrapPanel>
2362
                        <StackPanel Orientation="Horizontal">
2363

2364
                            <telerik:RadButton Margin="0,0,5,0" BorderThickness="0" Click="viewEvent" CommandParameter="Rotate_M">
2365
                                <telerik:RadButton.Content>
2366
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_New/Rotate_Minus.png" Stretch="Uniform" Width="26" Height="26"/>
2367
                                </telerik:RadButton.Content>
2368
                            </telerik:RadButton>
2369

2370
                            <telerik:RadButton Margin="0,0,5,0" BorderThickness="0" Click="viewEvent" CommandParameter="Rotate_P">
2371
                                <telerik:RadButton.Content>
2372
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_New/Rotate_Plus.png" Stretch="Uniform" Width="26" Height="26"/>
2373
                                </telerik:RadButton.Content>
2374
                            </telerik:RadButton>
2375

2376
                            <telerik:RadButton Margin="0,0,5,0" BorderThickness="0" Click="viewEvent" CommandParameter="Rotate_half">
2377
                                <telerik:RadButton.Content>
2378
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_new/flip.png" Stretch="Uniform" Width="26" Height="26"/>
2379

2380
                                </telerik:RadButton.Content>
2381
                            </telerik:RadButton>
2382

2383
                        </StackPanel>
2384
                    </telerik:RadOrderedWrapPanel>
2385
                </telerik:RadRibbonGroup>
2386

2387
                <telerik:RadRibbonGroup DialogLauncherVisibility="Collapsed" Header="ETC"
2388
                                        telerik:ScreenTip.Description="Show the File Task options."
2389
                                        telerik:ScreenTip.Title="File"
2390
                                        Visibility="Visible">
2391
                    <telerik:RadOrderedWrapPanel>
2392
                        <StackPanel Orientation="Horizontal">
2393
                            <telerik:RadButton Margin="0,0,5,0" BorderThickness="0" Click="PanoramaEvent">
2394
                                <telerik:RadButton.Content>
2395
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_New/panorama.png" Stretch="Uniform" Width="26" Height="26"/>
2396
                                </telerik:RadButton.Content>
2397
                            </telerik:RadButton>
2398
                        </StackPanel>
2399
                    </telerik:RadOrderedWrapPanel>
2400
                </telerik:RadRibbonGroup>
2401
            </telerik:RadRibbonTab>-->
2402

    
2403
            <telerik:RadRibbonTab Header="COMMENT MANAGER">
2404
                <telerik:RadRibbonGroup
2405
                    telerik:ScreenTip.Description="Show the File Task options."
2406
                    telerik:ScreenTip.Title="File"
2407
                    DialogLauncherVisibility="Collapsed"
2408
                    Header="Comment Manager"
2409
                    Visibility="Visible">
2410
                    <telerik:RadOrderedWrapPanel>
2411
                        <StackPanel Orientation="Horizontal">
2412
                            <telerik:RadButton
2413
                                Margin="0,0,5,0"
2414
                                BorderThickness="0"
2415
                                Click="CheckEvent"
2416
                                CommandParameter="Check">
2417
                                <Image
2418
                                        Width="26"
2419
                                        Height="26"
2420
                                        Source="/KCOM;component/Resources/Images/MenuImage_new/checklist.png"
2421
                                        Stretch="Uniform" />
2422
                            </telerik:RadButton>
2423
                        </StackPanel>
2424
                    </telerik:RadOrderedWrapPanel>
2425

    
2426
                    <!--<telerik:RadOrderedWrapPanel>
2427
                        <StackPanel Orientation="Horizontal">
2428
                            <telerik:RadButton Margin="0,0,5,0" BorderThickness="0">
2429
                                <telerik:RadButton.Content>
2430
                                    <TextBlock Text="CommentList" />
2431
                                </telerik:RadButton.Content>
2432
                            </telerik:RadButton>
2433
                        </StackPanel>
2434
                    </telerik:RadOrderedWrapPanel>-->
2435

    
2436
                    <!--<telerik:RadOrderedWrapPanel>
2437
                        <StackPanel Orientation="Horizontal">
2438
                            <telerik:RadButton Margin="0,0,5,0" BorderThickness="0">
2439
                                <telerik:RadButton.Content>
2440
                                    <TextBlock Text="Compare" />
2441
                                </telerik:RadButton.Content>
2442
                            </telerik:RadButton>
2443
                        </StackPanel>
2444
                    </telerik:RadOrderedWrapPanel>-->
2445
                </telerik:RadRibbonGroup>
2446
                <telerik:RadRibbonGroup
2447
                    telerik:ScreenTip.Description="Show the File Task options."
2448
                    telerik:ScreenTip.Title="File"
2449
                    DialogLauncherVisibility="Collapsed"
2450
                    Header="Sign Manager"
2451
                    Visibility="Visible">
2452
                    <telerik:RadOrderedWrapPanel>
2453
                        <StackPanel Orientation="Horizontal">
2454
                            <telerik:RadButton
2455
                                Margin="0,0,5,0"
2456
                                BorderThickness="0"
2457
                                Click="SignManagerEvent">
2458
                                <Image
2459
                                        Width="26"
2460
                                        Height="26"
2461
                                        Source="/KCOM;component/Resources/Images/MenuImage_new/signReal.png"
2462
                                        Stretch="Uniform" />
2463
                            </telerik:RadButton>
2464
                        </StackPanel>
2465
                    </telerik:RadOrderedWrapPanel>
2466
                </telerik:RadRibbonGroup>
2467
                <!--<telerik:RadButton Margin="0,0,5,0" BorderThickness="0" Click="CheckEvent">-->
2468
                <!--<telerik:RadButton.Content>
2469
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_new/minus.png" Stretch="Uniform" Width="26" Height="26"/>
2470
                                </telerik:RadButton.Content>-->
2471
                <!--</telerik:RadButton>-->
2472
            </telerik:RadRibbonTab>
2473
            <!--
2474
            <telerik:RadRibbonTab Header="OPTION">
2475
                <telerik:RadRibbonGroup DialogLauncherVisibility="Collapsed"
2476
                                        telerik:ScreenTip.Description="Show the Users options."
2477
                                        telerik:ScreenTip.Title="File" Header="OPTION"
2478
                                        Visibility="Visible">
2479
                    <telerik:RadOrderedWrapPanel>
2480
                        <StackPanel Orientation="Horizontal">
2481
                            <telerik:RadButton Margin="0,0,5,0" BorderThickness="0" Click="OptionEvent" CommandParameter="Option">
2482
                                <telerik:RadButton.Content>
2483
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_new/checklist.png" Stretch="Uniform" Width="26" Height="26"/>
2484
                                </telerik:RadButton.Content>
2485
                            </telerik:RadButton>
2486
                        </StackPanel>
2487
                    </telerik:RadOrderedWrapPanel>
2488
                </telerik:RadRibbonGroup>
2489
            </telerik:RadRibbonTab>
2490
            -->
2491
            <telerik:RadRibbonTab Header="DEMO" Visibility="Collapsed">
2492

    
2493
                <telerik:RadRibbonGroup>
2494
                    <telerik:RadOrderedWrapPanel>
2495
                        <StackPanel Orientation="Horizontal">
2496
                            <telerik:RadRibbonButton
2497
                                x:Name="btnFromFile"
2498
                                Click="btnFromFile_Click"
2499
                                CollapseToMedium="WhenGroupIsMedium"
2500
                                CollapseToSmall="WhenGroupIsSmall"
2501
                                CommandParameter="Print"
2502
                                Size="Medium"
2503
                                Tag="Print"
2504
                                Text="From File" />
2505

    
2506
                            <telerik:RadRibbonButton
2507
                                x:Name="btnSync"
2508
                                Click="btnSync_Click"
2509
                                CollapseToMedium="WhenGroupIsMedium"
2510
                                CollapseToSmall="WhenGroupIsSmall"
2511
                                CommandParameter="PDF"
2512
                                Size="Medium"
2513
                                Tag="PDF"
2514
                                Text="Sync" />
2515

    
2516
                            <!--<telerik:RadButton Margin="0,0,5,0" BorderThickness="0">
2517
                            <telerik:RadButton.Content>
2518
                                <TextBlock Text="Compare" />
2519
                            </telerik:RadButton.Content>-->
2520
                            <!--</telerik:RadButton>-->
2521
                        </StackPanel>
2522
                    </telerik:RadOrderedWrapPanel>
2523
                </telerik:RadRibbonGroup>
2524
                <!--<telerik:RadRibbonTab Header="Comment"/>
2525
            <telerik:RadRibbonTab Header="Edit"/>
2526
            <telerik:RadRibbonTab Header="Page"/>
2527
            <telerik:RadRibbonTab Header="Project"/>
2528
            <telerik:RadRibbonTab Header="Help"/>-->
2529
            </telerik:RadRibbonTab>
2530
        </telerik:RadRibbonView>
2531
    </Grid>
2532
</UserControl>
클립보드 이미지 추가 (최대 크기: 500 MB)