프로젝트

일반

사용자정보

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

markus / KCOM / Views / TopMenu.xaml @ 38d69491

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

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

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

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

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

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

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

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

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

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

    
455

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

    
459

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

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

    
502
                        <!--  강인구 추가  -->
503
                        <CheckBox
504
                            x:Name="cbFillShape"
505
                            Grid.Row="0"
506
                            Grid.Column="2"
507
                            Margin="10,5,2,0"
508
                            HorizontalAlignment="Left"
509
                            VerticalAlignment="Center"
510
                            Checked="FillShapeEvent"
511
                            Content="Fill"
512
                            IsChecked="{Binding checkFillShape, Source={x:Static common:ViewerDataModel.Instance}}"
513
                            Unchecked="FillShapeEvent" />
514
                        <CheckBox
515
                            x:Name="cbHatchShape"
516
                            Grid.Row="0"
517
                            Grid.Column="3"
518
                            Margin="2,5,2,0"
519
                            HorizontalAlignment="Left"
520
                            VerticalAlignment="Center"
521
                            Checked="HatchShapeEvent"
522
                            Content="Hatch"
523
                            IsChecked="{Binding checkHatchShape, Source={x:Static common:ViewerDataModel.Instance}}"
524
                            Unchecked="HatchShapeEvent" />
525

    
526
                        <telerik:RadToggleButton
527
                            Grid.Row="1"
528
                            Grid.Column="0"
529
                            Width="30"
530
                            Height="30"
531
                            Click="ControlEvent"
532
                            CommandParameter="Polygon"
533
                            Tag="Poly">
534
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/polygon.png" />
535
                        </telerik:RadToggleButton>
536
                        <telerik:RadToggleButton
537
                            Grid.Row="1"
538
                            Grid.Column="1"
539
                            Width="30"
540
                            Height="30"
541
                            Click="ControlEvent"
542
                            CommandParameter="Rectangle"
543
                            Tag="RectShape">
544
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/rectangle.png" />
545
                        </telerik:RadToggleButton>
546
                        <telerik:RadToggleButton
547
                            Grid.Row="2"
548
                            Grid.Column="0"
549
                            Width="30"
550
                            Height="30"
551
                            Click="ControlEvent"
552
                            CommandParameter="Triangle"
553
                            Tag="TriShape">
554
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/triangle.png" />
555
                        </telerik:RadToggleButton>
556
                        <telerik:RadToggleButton
557
                            Grid.Row="2"
558
                            Grid.Column="1"
559
                            Width="30"
560
                            Height="30"
561
                            Click="ControlEvent"
562
                            CommandParameter="Circle"
563
                            Tag="CicleShape">
564
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/circle.png" />
565
                        </telerik:RadToggleButton>
566
                        <telerik:RadDockPanel
567
                            Grid.Row="1"
568
                            Grid.Column="2"
569
                            Grid.ColumnSpan="2">
570
                            <TextBlock
571
                                Margin="10,0,0,4"
572
                                HorizontalAlignment="Center"
573
                                VerticalAlignment="Bottom"
574
                                FontSize="10"
575
                                Text="Opacity" />
576
                            <telerik:RadSlider
577
                                Width="70"
578
                                Margin="10,4,10,-2"
579
                                HorizontalAlignment="Center"
580
                                VerticalAlignment="Center"
581
                                telerik:StyleManager.Theme="VisualStudio2013"
582
                                HandlesVisibility="Visible"
583
                                Maximum="1"
584
                                Minimum="0"
585
                                ValueChanged="sdOpacity_ValueChanged"
586
                                Value="{Binding ControlOpacity, Source={x:Static common:ViewerDataModel.Instance}}" />
587
                        </telerik:RadDockPanel>
588

    
589
                        <telerik:RadDockPanel
590
                            Grid.Row="2"
591
                            Grid.Column="2"
592
                            Grid.ColumnSpan="2"
593
                            Margin="10,3,0,0">
594
                            <TextBlock
595
                                Width="50"
596
                                HorizontalAlignment="Center"
597
                                VerticalAlignment="Center"
598
                                FontSize="10"
599
                                Text="ArcLength"
600
                                TextAlignment="Center" />
601
                            <telerik:RadNumericUpDown
602
                                x:Name="cbArcLength"
603
                                Width="60"
604
                                Height="Auto"
605
                                HorizontalAlignment="Stretch"
606
                                VerticalAlignment="Center"
607
                                HorizontalContentAlignment="Center"
608
                                telerik:StyleManager.Theme="Windows7"
609
                                Maximum="100"
610
                                Minimum="5"
611
                                NumberDecimalDigits="0"
612
                                ToolTipService.ToolTip="Interval Value"
613
                                ValueChanged="cbArcLength_ValueChanged"
614
                                Value="{Binding ArcLength, Source={x:Static common:ViewerDataModel.Instance}, Mode=TwoWay}" />
615
                        </telerik:RadDockPanel>
616

    
617

    
618

    
619
                        <!--<telerik:RadButtonGroup Height="20" Grid.Column="2" Grid.Row="2" Grid.ColumnSpan="2" Width="120" Margin="-30,6,10,-1"
620
                                                BorderThickness="1"
621
                                                telerik:StyleManager.Theme="Windows8">
622
                            <TextBlock Width="50"
623
                                       Margin="2"
624
                                       HorizontalAlignment="Center"
625
                                       VerticalAlignment="Center"
626
                                       FontSize="10"
627
                                       Text="ArcSize"
628
                                       TextAlignment="Center" />
629
                            <telerik:RadNumericUpDown x:Name="cbArcSize"
630
                                                      Width="66"
631
                                                      Height="22"
632
                                                      Margin="2"
633
                                                      HorizontalAlignment="Stretch"
634
                                                      VerticalAlignment="Center"
635
                                                      HorizontalContentAlignment="Center"
636
                                                      Maximum="10"
637
                                                      Minimum="1"
638
                                                      NumberDecimalDigits="0"
639
                                                      telerik:StyleManager.Theme="Windows7"
640
                                                      ToolTipService.ToolTip="Stroke Value"
641
                                                                                                          ValueChanged="cbLineSize_ValueChanged"
642

643
                                                      Value="{Binding LineSize, Source={x:Static common:ViewerDataModel.Instance}}"
644
                                                      />
645
                        </telerik:RadButtonGroup>-->
646
                    </Grid>
647
                </telerik:RadRibbonGroup>
648
                <telerik:RadRibbonGroup DialogLauncherVisibility="Collapsed" Header="MACRO">
649
                    <Grid VerticalAlignment="Top">
650
                        <telerik:RadToggleButton
651
                            Width="64"
652
                            Height="30"
653
                            BorderThickness="1"
654
                            Click="ControlEvent"
655
                            CommandParameter="MACRO;1"
656
                            Tag="Normal">
657
                            <StackPanel Background="Transparent" Orientation="Horizontal">
658
                                <Image Source="/KCOM;component/Resources/Images/MenuImage_new/cloudRect.png" />
659
                                <TextBlock Text="+" />
660
                                <Image Source="/KCOM;component/Resources/Images/MenuImage_new/ArrowTextBorder.png" />
661
                            </StackPanel>
662
                        </telerik:RadToggleButton>
663
                    </Grid>
664
                </telerik:RadRibbonGroup>
665
                <telerik:RadRibbonGroup
666
                    x:Name="TextControlGroup"
667
                    DialogLauncherVisibility="Collapsed"
668
                    Header="TEXT"
669
                    Icon="/KCOM;component/Resources/Images/MenuImage_New/small/text.png">
670

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

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

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

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

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

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

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

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

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

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

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

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

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

    
1030
                    </Grid>
1031
                </telerik:RadRibbonGroup>
1032

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

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

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

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

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

1111
                    </telerik:RadCollapsiblePanel>
1112
                </telerik:RadRibbonGroup>-->
1113

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

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

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

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

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

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

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

    
1358

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

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

    
1385

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

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

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

    
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
                            </telerik:RadToggleButton>-->
1409

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

    
1415

    
1416

    
1417

    
1418

    
1419

    
1420

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

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

    
1433

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

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

    
1451

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    
1713

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

    
1743

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

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

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

1827
                        <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"/>
1828
                        <TextBlock Grid.Row="0" Grid.Column="1" Margin="0,7,5,0">
1829
                            <TextBlock Text="/"  Padding="3"   VerticalAlignment="Center" HorizontalAlignment="Center"/>
1830
                            <TextBlock Text="{Binding Document_Info.Count, Source={x:Static common:ViewerDataModel.Instance}}" Padding="3" VerticalAlignment="Center" HorizontalAlignment="Center" x:Name="tlPageCount_readonly"/>
1831
                        </TextBlock>
1832

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

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

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

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

    
1928

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

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

    
1955

    
1956
                        <telerik:RadRibbonToggleButton />
1957
                    </telerik:RadCollapsiblePanel>
1958

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

    
1971
                    <!--<StackPanel Orientation="Horizontal"  Grid.Row="0">-->
1972

    
1973

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

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

    
1985

    
1986

    
1987

    
1988

    
1989

    
1990

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

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

    
2003

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

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

    
2021

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

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

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

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

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

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

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

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

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

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

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

2138
                        </StackPanel>-->
2139
                    <!--</Grid>-->
2140
                </telerik:RadRibbonGroup>
2141
            </telerik:RadRibbonTab>
2142
            <!--<telerik:RadRibbonTab Header="VIEW">
2143

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

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

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

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

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

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

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

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

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

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

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

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

2253
                        </StackPanel>
2254
                    </telerik:RadOrderedWrapPanel>
2255
                </telerik:RadRibbonGroup>
2256

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

    
2273
            <!--<telerik:RadRibbonTab Header="VIEW">
2274

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

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

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

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

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

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

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

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

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

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

2383
                                </telerik:RadButton.Content>
2384
                            </telerik:RadButton>
2385

2386
                        </StackPanel>
2387
                    </telerik:RadOrderedWrapPanel>
2388
                </telerik:RadRibbonGroup>
2389

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

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

    
2431
                    <!--<telerik:RadOrderedWrapPanel>
2432
                        <StackPanel Orientation="Horizontal">
2433
                            <telerik:RadButton Margin="0,0,5,0" BorderThickness="0">
2434
                                <telerik:RadButton.Content>
2435
                                    <TextBlock Text="CommentList" />
2436
                                </telerik:RadButton.Content>
2437
                            </telerik:RadButton>
2438
                        </StackPanel>
2439
                    </telerik:RadOrderedWrapPanel>-->
2440

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

    
2500
                <telerik:RadRibbonGroup>
2501
                    <telerik:RadOrderedWrapPanel>
2502
                        <StackPanel Orientation="Horizontal">
2503
                            <telerik:RadRibbonButton
2504
                                x:Name="btnFromFile"
2505
                                Click="btnFromFile_Click"
2506
                                CollapseToMedium="WhenGroupIsMedium"
2507
                                CollapseToSmall="WhenGroupIsSmall"
2508
                                CommandParameter="Print"
2509
                                Size="Medium"
2510
                                Tag="Print"
2511
                                Text="From File" />
2512

    
2513
                            <telerik:RadRibbonButton
2514
                                x:Name="btnSync"
2515
                                Click="btnSync_Click"
2516
                                CollapseToMedium="WhenGroupIsMedium"
2517
                                CollapseToSmall="WhenGroupIsSmall"
2518
                                CommandParameter="PDF"
2519
                                Size="Medium"
2520
                                Tag="PDF"
2521
                                Text="Sync" />
2522

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