프로젝트

일반

사용자정보

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

markus / KCOM / Views / TopMenu.xaml @ 5c5e04cc

이력 | 보기 | 이력해설 | 다운로드 (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
                <telerik:RadRibbonGroup
787
                    DialogLauncherVisibility="Collapsed"
788
                    Header="FONT"
789
                    Icon="/KCOM;component/Resources/Images/MenuImage_New/small/font.png">
790

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    
1278
                <telerik:RadRibbonGroup
1279
                    telerik:ScreenTip.Description="Show the File Task options."
1280
                    telerik:ScreenTip.Title="File"
1281
                    DialogLauncherVisibility="Collapsed"
1282
                    Header="VIEW"
1283
                    Icon="/KCOM;component/Resources/Images/MenuImage_New/small/view.png"
1284
                    Visibility="Visible">
1285
                    <telerik:RadCollapsiblePanel>
1286
                        <telerik:RadRibbonToggleButton
1287
                            telerik:ScreenTip.Description="Zoom Out"
1288
                            telerik:ScreenTip.Title="Zoom Out"
1289
                            Click="viewEvent"
1290
                            CollapseToMedium="WhenGroupIsMedium"
1291
                            CollapseToSmall="WhenGroupIsSmall"
1292
                            CommandParameter="zoomout"
1293
                            LargeImage="/KCOM;component/Resources/Images/MenuImage_new/minus.png"
1294
                            Size="Small"
1295
                            Tag="ZoomOut"
1296
                            Text="Zoom Out" />
1297
                        <telerik:RadRibbonToggleButton
1298
                            telerik:ScreenTip.Description="Spin to counterclockwise"
1299
                            telerik:ScreenTip.Title="Rotate left"
1300
                            Click="viewEvent"
1301
                            CollapseToMedium="WhenGroupIsMedium"
1302
                            CollapseToSmall="WhenGroupIsSmall"
1303
                            CommandParameter="Rotate_M"
1304
                            LargeImage="/KCOM;component/Resources/Images/MenuImage_new/Rotate_Minus.png"
1305
                            Size="Small"
1306
                            Tag="Rotate_M"
1307
                            Text="Rotate left" />
1308
                        <telerik:RadRibbonToggleButton
1309
                            telerik:ScreenTip.Description="Drag to zoom-in"
1310
                            telerik:ScreenTip.Title="Drag zoom in"
1311
                            Click="ControlEvent"
1312
                            CollapseToMedium="WhenGroupIsMedium"
1313
                            CollapseToSmall="WhenGroupIsSmall"
1314
                            CommandParameter="DragZoom"
1315
                            LargeImage="/KCOM;component/Resources/Images/MenuImage_new/zoom-in-tool.png"
1316
                            Size="Small"
1317
                            Tag="DragZoom"
1318
                            Text="Drag zoom in" />
1319
                    </telerik:RadCollapsiblePanel>
1320
                    <telerik:RadCollapsiblePanel>
1321
                        <telerik:RadRibbonToggleButton
1322
                            telerik:ScreenTip.Description="Zoom In"
1323
                            telerik:ScreenTip.Title="Zoom In"
1324
                            Click="viewEvent"
1325
                            CollapseToMedium="WhenGroupIsMedium"
1326
                            CollapseToSmall="WhenGroupIsSmall"
1327
                            CommandParameter="zoomin"
1328
                            LargeImage="/KCOM;component/Resources/Images/MenuImage_new/plus.png"
1329
                            Size="Small"
1330
                            Tag="zoomin"
1331
                            Text="Zoom In" />
1332
                        <telerik:RadRibbonToggleButton
1333
                            telerik:ScreenTip.Description="Spin to clockwise"
1334
                            telerik:ScreenTip.Title="Rotate right"
1335
                            Click="viewEvent"
1336
                            CollapseToMedium="WhenGroupIsMedium"
1337
                            CollapseToSmall="WhenGroupIsSmall"
1338
                            CommandParameter="Rotate_P"
1339
                            LargeImage="/KCOM;component/Resources/Images/MenuImage_new/Rotate_Plus.png"
1340
                            Size="Small"
1341
                            Tag="Rotate_P"
1342
                            Text="Rotate right" />
1343
                        <!--<telerik:RadRibbonToggleButton
1344
                            telerik:ScreenTip.Description="Maximaize the screen"
1345
                            telerik:ScreenTip.Title="maximize"
1346
                            Click="viewEvent"
1347
                            CollapseToMedium="WhenGroupIsMedium"
1348
                            CollapseToSmall="WhenGroupIsSmall"
1349
                            CommandParameter="fullscreen"
1350
                            LargeImage="/KCOM;component/Resources/Images/MenuImage_new/fullscreen.png"
1351
                            Size="Small"
1352
                            Tag="fullscreen"
1353
                            Text="maximize" />-->
1354
                        <telerik:RadRibbonToggleButton />
1355
                    </telerik:RadCollapsiblePanel>
1356
                    <telerik:RadCollapsiblePanel>
1357
                        <telerik:RadRibbonToggleButton
1358
                            telerik:ScreenTip.Description="Fit to screen"
1359
                            telerik:ScreenTip.Title="Fit"
1360
                            Click="viewEvent"
1361
                            CollapseToMedium="WhenGroupIsMedium"
1362
                            CollapseToSmall="WhenGroupIsSmall"
1363
                            CommandParameter="fitHeight"
1364
                            LargeImage="/KCOM;component/Resources/Images/MenuImage_new/expand.png"
1365
                            Size="Small"
1366
                            Tag="fitHeight"
1367
                            Text="Fit" />
1368

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

    
1383
                    <!--<Grid Margin="0,-1,0,0">
1384
                        <Grid.ColumnDefinitions>
1385
                            <ColumnDefinition/>
1386
                            <ColumnDefinition/>
1387
                            <ColumnDefinition/>
1388
                        </Grid.ColumnDefinitions>
1389
                        <Grid.RowDefinitions>
1390
                            <RowDefinition/>
1391
                            <RowDefinition/>
1392
                            <RowDefinition/>
1393
                        </Grid.RowDefinitions>-->
1394

    
1395
                    <!--<StackPanel Orientation="Horizontal"  Grid.Row="0">-->
1396

    
1397

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

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

    
1409

    
1410

    
1411

    
1412

    
1413

    
1414

    
1415
                    <!--<telerik:RadToggleButton BorderThickness="0" Grid.Row="2" Grid.Column="0" Click="viewEvent" CommandParameter="fitHeight" Background="Transparent" Width="29" Height="29"
1416
                                               telerik:ScreenTip.Description="화면을 맞춥니다"
1417
                                               telerik:ScreenTip.Title="Fit">
1418
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/expand.png"/>
1419
                        </telerik:RadToggleButton>
1420

1421
                        <telerik:RadToggleButton BorderThickness="0" Grid.Row="2" Grid.Column="1" Click="viewEvent" CommandParameter="fullscreen" Background="Transparent" Width="29" Height="29"
1422
                                               telerik:ScreenTip.Description="Maximaize the screen"
1423
                                               telerik:ScreenTip.Title="maximize">
1424
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/fullscreen.png"/>
1425
                        </telerik:RadToggleButton>-->
1426

    
1427

    
1428
                    <!--<telerik:RadToggleButton BorderThickness="0" Grid.Row="0" Grid.Column="0" Click="viewEvent" CommandParameter="zoomout" Background="Transparent" Width="29" Height="29"
1429
                                               telerik:ScreenTip.Description="줌 축소를 합니다"
1430
                                               telerik:ScreenTip.Title="Zoom Out">
1431
                                <Image Source="/KCOM;component/Resources/Images/MenuImage_new/minus.png"/>
1432
                            </telerik:RadToggleButton>-->
1433
                    <!--<telerik:RadToggleButton BorderThickness="0" Grid.Row="0" Grid.Column="1" Click="viewEvent" CommandParameter="zoomin" Background="Transparent" Width="29" Height="29"
1434
                                               telerik:ScreenTip.Description="Zoom In"
1435
                                               telerik:ScreenTip.Title="Zoom In">
1436
                                <Image Source="/KCOM;component/Resources/Images/MenuImage_new/plus.png"/>
1437
                            </telerik:RadToggleButton>-->
1438

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

    
1445

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

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

1458
                        <telerik:RadToggleButton BorderThickness="0" Grid.Row="1" Grid.Column="2" Click="viewEvent" CommandParameter="Rotate_half" Background="Transparent" Width="29" Height="29"
1459
                                               telerik:ScreenTip.Description="Reverse upper and lower of screen"
1460
                                               telerik:ScreenTip.Title="Upside down">
1461
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/flip.png"/>
1462
                        </telerik:RadToggleButton>-->
1463

    
1464
                    <!--<telerik:RadToggleButton BorderThickness="0" Grid.Row="2" Grid.Column="0" Click="viewEvent" CommandParameter="fitHeight" Background="Transparent" Width="29" Height="29"
1465
                                               telerik:ScreenTip.Description="화면을 맞춥니다"
1466
                                               telerik:ScreenTip.Title="Fit">
1467
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/expand.png"/>
1468
                        </telerik:RadToggleButton>
1469

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

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

1506
                            <telerik:RadButton BorderThickness="0" Click="viewEvent" CommandParameter="Rotate_P" Background="Transparent"
1507
                                               telerik:ScreenTip.Description="시계 방향으로 회전합니다"
1508
                                               telerik:ScreenTip.Title="Rotate right">
1509
                                <telerik:RadButton.Content>
1510
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_New/Rotate_Plus.png" Stretch="Uniform" Width="20" Height="20"/>
1511
                                </telerik:RadButton.Content>
1512
                            </telerik:RadButton>
1513

1514
                            <telerik:RadButton BorderThickness="0" Click="viewEvent" CommandParameter="Rotate_half" Background="Transparent"
1515
                                               telerik:ScreenTip.Description="화면의 상하가 반전 됩니다"
1516
                                               telerik:ScreenTip.Title="Upside down">
1517
                                <telerik:RadButton.Content>
1518
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_new/flip.png" Stretch="Uniform" Width="20" Height="20"/>
1519
                                </telerik:RadButton.Content>
1520
                            </telerik:RadButton>
1521

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

1550
                    -->
1551
                    <!--<telerik:RadButton BorderThickness="0" Click="viewEvent" CommandParameter="boundzoom" Background="Transparent"
1552
                                               telerik:ScreenTip.Description="드래그 하여 Zoom In."
1553
                                               telerik:ScreenTip.Title="Drag zoom in">
1554
                                <telerik:RadButton.Content>
1555
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_new/zoom-in-tool.png" Stretch="Uniform" Width="20" Height="20"/>
1556
                                </telerik:RadButton.Content>
1557
                            </telerik:RadButton>-->
1558

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

1562
                        </StackPanel>-->
1563
                    <!--</Grid>-->
1564
                </telerik:RadRibbonGroup>
1565

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

    
1704
                    </telerik:RadCollapsiblePanel>
1705
                </telerik:RadRibbonGroup>
1706

    
1707

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

    
1737

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

    
1772
                        <telerik:RadButton
1773
                            Grid.Row="1"
1774
                            Grid.Column="0"
1775
                            VerticalAlignment="Center"
1776
                            Background="Transparent"
1777
                            BorderThickness="0"
1778
                            Click="PageGoEvent"
1779
                            CommandParameter="Down">
1780
                            <Image
1781
                                    Width="20"
1782
                                    Height="20"
1783
                                    Source="/KCOM;component/Resources/Images/MenuImage_new/pagearrow.png"
1784
                                    Stretch="Uniform" />
1785
                        </telerik:RadButton>
1786

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

1817
                        <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"/>
1818
                        <TextBlock Grid.Row="0" Grid.Column="1" Margin="0,7,5,0">
1819
                            <TextBlock Text="/"  Padding="3"   VerticalAlignment="Center" HorizontalAlignment="Center"/>
1820
                            <TextBlock Text="{Binding Document_Info.Count, Source={x:Static common:ViewerDataModel.Instance}}" Padding="3" VerticalAlignment="Center" HorizontalAlignment="Center" x:Name="tlPageCount_readonly"/>
1821
                        </TextBlock>
1822

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

    
1869
                        <telerik:RadRibbonToggleButton
1870
                            telerik:ScreenTip.Description="Drag to zoom-in"
1871
                            telerik:ScreenTip.Title="Drag zoom in"
1872
                            Click="ControlEvent"
1873
                            CollapseToMedium="WhenGroupIsMedium"
1874
                            CollapseToSmall="WhenGroupIsSmall"
1875
                            CommandParameter="DragZoom"
1876
                            LargeImage="/KCOM;component/Resources/Images/MenuImage_new/zoom-in-tool.png"
1877
                            Size="Small"
1878
                            Tag="DragZoom"
1879
                            Text="Drag zoom in" />
1880

    
1881
                    </telerik:RadCollapsiblePanel>
1882
                    <telerik:RadCollapsiblePanel>
1883
                        <telerik:RadRibbonToggleButton
1884
                            telerik:ScreenTip.Description="Zoom In"
1885
                            telerik:ScreenTip.Title="Zoom In"
1886
                            Click="viewEvent"
1887
                            CollapseToMedium="WhenGroupIsMedium"
1888
                            CollapseToSmall="WhenGroupIsSmall"
1889
                            CommandParameter="zoomin"
1890
                            LargeImage="/KCOM;component/Resources/Images/MenuImage_new/plus.png"
1891
                            Size="Small"
1892
                            Tag="zoomin"
1893
                            Text="Zoom In" />
1894

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

    
1918

    
1919
                    </telerik:RadCollapsiblePanel>
1920
                    <telerik:RadCollapsiblePanel>
1921
                        <telerik:RadRibbonToggleButton
1922
                            telerik:ScreenTip.Description="Fit to screen"
1923
                            telerik:ScreenTip.Title="Fit"
1924
                            Click="viewEvent"
1925
                            CollapseToMedium="WhenGroupIsMedium"
1926
                            CollapseToSmall="WhenGroupIsSmall"
1927
                            CommandParameter="fitHeight"
1928
                            LargeImage="/KCOM;component/Resources/Images/MenuImage_new/expand.png"
1929
                            Size="Small"
1930
                            Tag="fitHeight"
1931
                            Text="Fit" />
1932

    
1933
                        <telerik:RadRibbonToggleButton
1934
                            telerik:ScreenTip.Description="Reverse upper and lower of screen"
1935
                            telerik:ScreenTip.Title="Upside down"
1936
                            Click="viewEvent"
1937
                            CollapseToMedium="WhenGroupIsMedium"
1938
                            CollapseToSmall="WhenGroupIsSmall"
1939
                            CommandParameter="Rotate_half"
1940
                            LargeImage="/KCOM;component/Resources/Images/MenuImage_new/flip.png"
1941
                            Size="Small"
1942
                            Tag="Rotate_half"
1943
                            Text="Upside down" />
1944

    
1945

    
1946
                        <telerik:RadRibbonToggleButton />
1947
                    </telerik:RadCollapsiblePanel>
1948

    
1949
                    <!--<Grid Margin="0,-1,0,0">
1950
                        <Grid.ColumnDefinitions>
1951
                            <ColumnDefinition/>
1952
                            <ColumnDefinition/>
1953
                            <ColumnDefinition/>
1954
                        </Grid.ColumnDefinitions>
1955
                        <Grid.RowDefinitions>
1956
                            <RowDefinition/>
1957
                            <RowDefinition/>
1958
                            <RowDefinition/>
1959
                        </Grid.RowDefinitions>-->
1960

    
1961
                    <!--<StackPanel Orientation="Horizontal"  Grid.Row="0">-->
1962

    
1963

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

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

    
1975

    
1976

    
1977

    
1978

    
1979

    
1980

    
1981
                    <!--<telerik:RadToggleButton BorderThickness="0" Grid.Row="2" Grid.Column="0" Click="viewEvent" CommandParameter="fitHeight" Background="Transparent" Width="29" Height="29"
1982
                                               telerik:ScreenTip.Description="화면을 맞춥니다"
1983
                                               telerik:ScreenTip.Title="Fit">
1984
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/expand.png"/>
1985
                        </telerik:RadToggleButton>
1986

1987
                        <telerik:RadToggleButton BorderThickness="0" Grid.Row="2" Grid.Column="1" Click="viewEvent" CommandParameter="fullscreen" Background="Transparent" Width="29" Height="29"
1988
                                               telerik:ScreenTip.Description="화면을 최대화 합니다"
1989
                                               telerik:ScreenTip.Title="maximize">
1990
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/fullscreen.png"/>
1991
                        </telerik:RadToggleButton>-->
1992

    
1993

    
1994
                    <!--<telerik:RadToggleButton BorderThickness="0" Grid.Row="0" Grid.Column="0" Click="viewEvent" CommandParameter="zoomout" Background="Transparent" Width="29" Height="29"
1995
                                               telerik:ScreenTip.Description="줌 축소를 합니다"
1996
                                               telerik:ScreenTip.Title="Zoom Out">
1997
                                <Image Source="/KCOM;component/Resources/Images/MenuImage_new/minus.png"/>
1998
                            </telerik:RadToggleButton>-->
1999
                    <!--<telerik:RadToggleButton BorderThickness="0" Grid.Row="0" Grid.Column="1" Click="viewEvent" CommandParameter="zoomin" Background="Transparent" Width="29" Height="29"
2000
                                               telerik:ScreenTip.Description="Zoom In"
2001
                                               telerik:ScreenTip.Title="Zoom In">
2002
                                <Image Source="/KCOM;component/Resources/Images/MenuImage_new/plus.png"/>
2003
                            </telerik:RadToggleButton>-->
2004

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

    
2011

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

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

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

    
2030
                    <!--<telerik:RadToggleButton BorderThickness="0" Grid.Row="2" Grid.Column="0" Click="viewEvent" CommandParameter="fitHeight" Background="Transparent" Width="29" Height="29"
2031
                                               telerik:ScreenTip.Description="화면을 맞춥니다"
2032
                                               telerik:ScreenTip.Title="Fit">
2033
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/expand.png"/>
2034
                        </telerik:RadToggleButton>
2035

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

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

2072
                            <telerik:RadButton BorderThickness="0" Click="viewEvent" CommandParameter="Rotate_P" Background="Transparent"
2073
                                               telerik:ScreenTip.Description="시계 방향으로 회전합니다"
2074
                                               telerik:ScreenTip.Title="Rotate right">
2075
                                <telerik:RadButton.Content>
2076
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_New/Rotate_Plus.png" Stretch="Uniform" Width="20" Height="20"/>
2077
                                </telerik:RadButton.Content>
2078
                            </telerik:RadButton>
2079

2080
                            <telerik:RadButton BorderThickness="0" Click="viewEvent" CommandParameter="Rotate_half" Background="Transparent"
2081
                                               telerik:ScreenTip.Description="화면의 상하가 반전 됩니다"
2082
                                               telerik:ScreenTip.Title="Upside down">
2083
                                <telerik:RadButton.Content>
2084
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_new/flip.png" Stretch="Uniform" Width="20" Height="20"/>
2085
                                </telerik:RadButton.Content>
2086
                            </telerik:RadButton>
2087

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

2116
                    -->
2117
                    <!--<telerik:RadButton BorderThickness="0" Click="viewEvent" CommandParameter="boundzoom" Background="Transparent"
2118
                                               telerik:ScreenTip.Description="드래그 하여 Zoom In."
2119
                                               telerik:ScreenTip.Title="Drag zoom in">
2120
                                <telerik:RadButton.Content>
2121
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_new/zoom-in-tool.png" Stretch="Uniform" Width="20" Height="20"/>
2122
                                </telerik:RadButton.Content>
2123
                            </telerik:RadButton>-->
2124

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

2128
                        </StackPanel>-->
2129
                    <!--</Grid>-->
2130
                </telerik:RadRibbonGroup>
2131
            </telerik:RadRibbonTab>
2132
            <!--<telerik:RadRibbonTab Header="VIEW">
2133

2134
                <telerik:RadRibbonGroup DialogLauncherVisibility="Collapsed"
2135
                                        telerik:ScreenTip.Description="Show the File Task options."
2136
                                        telerik:ScreenTip.Title="File" Header="PAGE"
2137
                                        Visibility="Visible">
2138
                    <Grid Margin="0,-1,0,0">
2139
                        <Grid.ColumnDefinitions>
2140
                            <ColumnDefinition/>
2141
                            <ColumnDefinition/>
2142
                        </Grid.ColumnDefinitions>
2143
                        <Grid.RowDefinitions>
2144
                            <RowDefinition/>
2145
                            <RowDefinition/>
2146
                        </Grid.RowDefinitions>
2147

2148
                        <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"/>
2149
                        <TextBlock Grid.Row="0" Grid.Column="1" Margin="0,7,5,0">
2150
                            <TextBlock Text="/"  Padding="3"   VerticalAlignment="Center" HorizontalAlignment="Center"/>
2151
                            <TextBlock Text="{Binding Document_Info.Count, Source={x:Static common:ViewerDataModel.Instance}}" Padding="3" VerticalAlignment="Center" HorizontalAlignment="Center" x:Name="tlPageCount"/>
2152
                        </TextBlock>
2153

2154
                        <telerik:RadButton Grid.Row="1" Grid.Column="0" BorderThickness="0" Click="PageGoEvent" CommandParameter="Down" Width="29" Height="29">
2155
                                <telerik:RadButton.Content>
2156
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_new/pagearrow.png"/>
2157
                                </telerik:RadButton.Content>
2158
                            </telerik:RadButton>
2159
                        <telerik:RadButton Grid.Row="1" Grid.Column="1" BorderThickness="0" Click="PageGoEvent" CommandParameter="Up" Width="29" Height="29" >
2160
                                <telerik:RadButton.Content>
2161
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_new/pagearrow.png" RenderTransformOrigin="0.5,0.5">
2162
                                        <Image.RenderTransform>
2163
                                            <RotateTransform Angle="180"/>
2164
                                        </Image.RenderTransform>
2165
                                    </Image>
2166
                                </telerik:RadButton.Content>
2167
                            </telerik:RadButton>
2168
                    </Grid>
2169
                </telerik:RadRibbonGroup>
2170

2171
                <telerik:RadRibbonGroup DialogLauncherVisibility="Collapsed" Header="ZOOM"
2172
                                        telerik:ScreenTip.Description="Show the File Task options."
2173
                                        telerik:ScreenTip.Title="File"
2174
                                        Visibility="Visible">
2175
                    <Grid>
2176
                    <Grid.RowDefinitions>
2177
                        <RowDefinition/>
2178
                        <RowDefinition/>
2179
                    </Grid.RowDefinitions>
2180

2181
                            <StackPanel Orientation="Horizontal"  Grid.Row="0">
2182
                            <telerik:RadButton BorderThickness="0" Grid.Row="1" Grid.Column="0" Click="viewEvent" CommandParameter="zoomout" Width="29" Height="29">
2183
                                <Image Source="/KCOM;component/Resources/Images/MenuImage_new/minus.png"/>
2184
                            </telerik:RadButton>
2185
                            <telerik:RadButton BorderThickness="0" Grid.Row="1" Grid.Column="1" Click="viewEvent" CommandParameter="zoomin" Width="29" Height="29">
2186
                                <Image Source="/KCOM;component/Resources/Images/MenuImage_new/plus.png"/>
2187
                            </telerik:RadButton>
2188
                            <telerik:RadButton BorderThickness="0" Click="viewEvent" CommandParameter="fitHeight">
2189
                                <Image Source="/KCOM;component/Resources/Images/MenuImage_new/expand.png" Stretch="Uniform" Width="20" Height="20"/>
2190
                            </telerik:RadButton>
2191
                            <telerik:RadButton BorderThickness="0"  Click="viewEvent" CommandParameter="fullscreen">
2192
                                <Image Source="/KCOM;component/Resources/Images/MenuImage_new/fullscreen.png" Stretch="Uniform" Width="20" Height="20"/>
2193
                            </telerik:RadButton>
2194
                            </StackPanel>
2195

2196
                        <StackPanel Orientation="Horizontal"  Grid.Row="1">
2197
                            <telerik:RadButton BorderThickness="0" Click="viewEvent" CommandParameter="Rotate_M">
2198
                                <telerik:RadButton.Content>
2199
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_New/Rotate_Minus.png" Stretch="Uniform" Width="20" Height="20"/>
2200
                                </telerik:RadButton.Content>
2201
                            </telerik:RadButton>
2202

2203
                            <telerik:RadButton BorderThickness="0" Click="viewEvent" CommandParameter="Rotate_P">
2204
                                <telerik:RadButton.Content>
2205
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_New/Rotate_Plus.png" Stretch="Uniform" Width="20" Height="20"/>
2206
                                </telerik:RadButton.Content>
2207
                            </telerik:RadButton>
2208

2209
                            <telerik:RadButton BorderThickness="0" Click="viewEvent" CommandParameter="Rotate_half">
2210
                                <telerik:RadButton.Content>
2211
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_new/flip.png" Stretch="Uniform" Width="20" Height="20"/>
2212
                                </telerik:RadButton.Content>
2213
                            </telerik:RadButton>
2214
                        </StackPanel>
2215
                    </Grid>
2216
                </telerik:RadRibbonGroup>
2217

2218
                <telerik:RadRibbonGroup DialogLauncherVisibility="Collapsed" Header="ROTATE"
2219
                                        telerik:ScreenTip.Description="Show the File Task options."
2220
                                        telerik:ScreenTip.Title="File"
2221
                                        Visibility="Visible">
2222
                    <telerik:RadOrderedWrapPanel>
2223
                        <StackPanel Orientation="Horizontal">
2224

2225
                            <telerik:RadButton BorderThickness="0" Click="viewEvent" CommandParameter="Rotate_M">
2226
                                <telerik:RadButton.Content>
2227
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_New/Rotate_Minus.png" Stretch="Uniform" Width="20" Height="20"/>
2228
                                </telerik:RadButton.Content>
2229
                            </telerik:RadButton>
2230

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

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

2243
                        </StackPanel>
2244
                    </telerik:RadOrderedWrapPanel>
2245
                </telerik:RadRibbonGroup>
2246

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

    
2263
            <!--<telerik:RadRibbonTab Header="VIEW">
2264

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

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

2318
                            <telerik:RadButton Margin="0,0,5,0" BorderThickness="0" Click="viewEvent" CommandParameter="zoomin">
2319
                                <telerik:RadButton.Content>
2320
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_new/plus.png" Stretch="Uniform" Width="26" Height="26"/>
2321
                                </telerik:RadButton.Content>
2322
                            </telerik:RadButton>
2323
                            <telerik:RadButton Margin="0,0,5,0" BorderThickness="0" Click="viewEvent" CommandParameter="fitWidth">
2324
                                <telerik:RadButton.Content>
2325
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_new/fitWindownWidth.png" Stretch="Uniform" Width="26" Height="26"/>
2326
                                </telerik:RadButton.Content>
2327
                            </telerik:RadButton>
2328

2329
                            <telerik:RadButton Margin="0,0,5,0" BorderThickness="0" Click="viewEvent" CommandParameter="fitHeight">
2330
                                <telerik:RadButton.Content>
2331
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_new/fitWindownHeight.png" Stretch="Uniform" Width="26" Height="26"/>
2332
                                </telerik:RadButton.Content>
2333
                            </telerik:RadButton>
2334

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

2341
                            <telerik:RadButton Margin="0,0,5,0" BorderThickness="0" Click="viewEvent" CommandParameter="boundzoom" Visibility="Collapsed">
2342
                                <telerik:RadButton.Content>
2343
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_new/zoom-in-tool.png" Stretch="Uniform" Width="26" Height="26"/>
2344
                                </telerik:RadButton.Content>
2345
                            </telerik:RadButton>
2346
                        </StackPanel>
2347
                    </telerik:RadOrderedWrapPanel>
2348
                </telerik:RadRibbonGroup>
2349

2350
                <telerik:RadRibbonGroup DialogLauncherVisibility="Collapsed" Header="ROTATE"
2351
                                        telerik:ScreenTip.Description="Show the File Task options."
2352
                                        telerik:ScreenTip.Title="File"
2353
                                        Visibility="Visible">
2354
                    <telerik:RadOrderedWrapPanel>
2355
                        <StackPanel Orientation="Horizontal">
2356

2357
                            <telerik:RadButton Margin="0,0,5,0" BorderThickness="0" Click="viewEvent" CommandParameter="Rotate_M">
2358
                                <telerik:RadButton.Content>
2359
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_New/Rotate_Minus.png" Stretch="Uniform" Width="26" Height="26"/>
2360
                                </telerik:RadButton.Content>
2361
                            </telerik:RadButton>
2362

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

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

2373
                                </telerik:RadButton.Content>
2374
                            </telerik:RadButton>
2375

2376
                        </StackPanel>
2377
                    </telerik:RadOrderedWrapPanel>
2378
                </telerik:RadRibbonGroup>
2379

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

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

    
2419
                    <!--<telerik:RadOrderedWrapPanel>
2420
                        <StackPanel Orientation="Horizontal">
2421
                            <telerik:RadButton Margin="0,0,5,0" BorderThickness="0">
2422
                                <telerik:RadButton.Content>
2423
                                    <TextBlock Text="CommentList" />
2424
                                </telerik:RadButton.Content>
2425
                            </telerik:RadButton>
2426
                        </StackPanel>
2427
                    </telerik:RadOrderedWrapPanel>-->
2428

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

    
2486
                <telerik:RadRibbonGroup>
2487
                    <telerik:RadOrderedWrapPanel>
2488
                        <StackPanel Orientation="Horizontal">
2489
                            <telerik:RadRibbonButton
2490
                                x:Name="btnFromFile"
2491
                                Click="btnFromFile_Click"
2492
                                CollapseToMedium="WhenGroupIsMedium"
2493
                                CollapseToSmall="WhenGroupIsSmall"
2494
                                CommandParameter="Print"
2495
                                Size="Medium"
2496
                                Tag="Print"
2497
                                Text="From File" />
2498

    
2499
                            <telerik:RadRibbonButton
2500
                                x:Name="btnSync"
2501
                                Click="btnSync_Click"
2502
                                CollapseToMedium="WhenGroupIsMedium"
2503
                                CollapseToSmall="WhenGroupIsSmall"
2504
                                CommandParameter="PDF"
2505
                                Size="Medium"
2506
                                Tag="PDF"
2507
                                Text="Sync" />
2508

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