프로젝트

일반

사용자정보

개정판 0cda2a88

ID0cda2a885008c0503d20d124631932685c72d462
상위 b4b23404
하위 65d2042f, 2c629eec, 4cb62752, 71208c63, 606884bf, 64374bd8, 7f8a2ff4, 20ef6ffe, b2c6901f, 2c3eae15, 77190232, 6b24246c

김태성이(가) 약 5년 전에 추가함

markus 성능개선
- 일정 페이지범위를 local 저장소에 저장
- Markup데이터를 페이지 로딩전 미리 로드

Change-Id: Ib6ef3d770a360c40acf01d6de04668bee653eee4

차이점 보기:

KCOM/Controls/thumbnailControl.xaml
9 9
             <!--d:DesignHeight="110" d:DesignWidth="80">-->
10 10
    
11 11
    <Grid x:Name="LayoutRoot">
12
        <Grid.Resources>
13
            <Storyboard x:Key="FadeImageStoryboard" RepeatBehavior="Forever">
14
                <DoubleAnimation From="1.0" 
15
                                 To="0.0" 
16
                                 Duration="0:0:0.1"
17
                                 AutoReverse="True" 
18
                                 Storyboard.TargetName="LayoutRoot"
19
                                 Storyboard.TargetProperty="Opacity" />
20
            </Storyboard>
21
        </Grid.Resources>
22
        
23
        <!--d:LayoutOverrides="Width, Height"-->
24
        <!--<Grid  RenderTransformOrigin="0.5,0.5">
25
            <Grid.RowDefinitions>
26
                <RowDefinition Height="*"/>
27
                <RowDefinition Height="Auto"/>
28
            </Grid.RowDefinitions>
29
            <Grid.RenderTransform>
30
                <RotateTransform Angle="{Binding Angle}"/>
31
            </Grid.RenderTransform>
32
            <Border Margin="10,5" HorizontalAlignment="Stretch" BorderBrush="{DynamicResource KCOMColor_ReadOnlyBorderBrush}" BorderThickness="1,1,1.5,1.5">
33
                <Image Stretch="Uniform" Source="{Binding ImageUri}" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"/>
34
            </Border>
35
            
36
            <Border HorizontalAlignment="Stretch"  Background="Transparent" BorderBrush="Black" BorderThickness="0.2" VerticalAlignment="Bottom" Grid.Row="1">
37
                <Grid>
38
                    <Rectangle Fill="{DynamicResource KCOMColor_ActiveBrush}"/>
39
                    <TextBlock Text="{Binding PageNumber, FallbackValue=PageNo}" FontStyle="Italic" FontSize="14" HorizontalAlignment="Center"/>
40
                </Grid>
41
            </Border>
42
        </Grid>-->
43
        <!--강인구 수정-->
44 12
        <Grid>
45 13
            <Grid.RowDefinitions>
46 14
                <RowDefinition Height="*"/>
47 15
                <RowDefinition Height="Auto"/>
48 16
            </Grid.RowDefinitions>
49

  
17
            <Grid.ColumnDefinitions>
18
                
19
            </Grid.ColumnDefinitions>
50 20
            <Grid Grid.Row="0"  RenderTransformOrigin="0.5,0.5">
51 21
                <Grid.RenderTransform>
52 22
                    <RotateTransform Angle="{Binding Angle, Mode=TwoWay}"/>
53 23
                </Grid.RenderTransform>
54
                <Border Margin="20,15" HorizontalAlignment="Stretch" BorderBrush="{DynamicResource KCOMColor_ReadOnlyBorderBrush}" BorderThickness="1,1,1.5,1.5">
24
                <Border Margin="20,7,20,5" HorizontalAlignment="Stretch" BorderBrush="{DynamicResource KCOMColor_ReadOnlyBorderBrush}" BorderThickness="1,1,1.5,1.5">
55 25
                <!--<Border Margin="10,5" HorizontalAlignment="Stretch" BorderBrush="{DynamicResource KCOMColor_ReadOnlyBorderBrush}" BorderThickness="0">-->
56 26
                    <!--<Image Stretch="Uniform" Source="{Binding ImageUri}" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"/>-->
57 27
                    <Grid RenderTransformOrigin="0.5,0.5">
58 28
                        
59 29
                        <!--<Image Stretch="Uniform" Source="{Binding ImageUri}" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Margin="10"/>-->
60
                        <Image Stretch="Uniform" Source="{Binding ImageUri}" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"/>
30
                        <Image Stretch="Uniform" Source="{Binding ImageUri,IsAsync=True}" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"/>
61 31
                    </Grid>
62 32
                </Border>
63 33
            </Grid>
64

  
65
            <Border HorizontalAlignment="Stretch"  Background="Transparent" BorderBrush="Black" BorderThickness="0.2" VerticalAlignment="Bottom" Grid.Row="1">
34
            <Border HorizontalAlignment="Stretch"  Background="Transparent" BorderBrush="Black" BorderThickness="0.2" VerticalAlignment="Bottom" Grid.Row="1" Margin="0,0,0,2">
66 35
                <Grid>
67 36
                    <TextBlock Text="{Binding PageNumber, FallbackValue=PageNo}" FontStyle="Italic" FontSize="14" HorizontalAlignment="Center"/>
68 37
                </Grid>

내보내기 Unified diff

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