프로젝트

일반

사용자정보

개정판 2b19f5f2

ID2b19f5f2335133bb2380f5da90d08aef595483a5
상위 385f016d
하위 4ca11b36

김동진이(가) 약 6년 전에 추가함

issue #679 rotation doc update modify

차이점 보기:

KCOM/Events/Implementation/TopMenuEvent.cs
517 517
                        //save.MarkupSave(menu.gridViewMarkup.SelectedItems.FirstOrDefault() as IKCOM.MarkupInfoItem);
518 518
                    }
519 519
                }
520
                save.PageAngleSave(App.ViewInfo.ProjectNO, ViewerDataModel.Instance.Document_Info.OrderBy(i => i.PAGE_NUMBER).ToList());
521
                
520
                save.PageAngleSave(App.ViewInfo.ProjectNO, ViewerDataModel.Instance.RotationDocs);
521

  
522 522
            }
523 523
            catch (Exception ex)
524 524
            {
......
1567 1567
                instance.PAGE_ANGLE = int.Parse(instanceMain.dzMainMenu.rotate.Angle.ToString());
1568 1568

  
1569 1569
                instanceMain.dzMainMenu.pageNavigator.setPageChange(data);
1570

  
1571
                //rotation page add or update
1572
                var rotationdoc = ViewerDataModel.Instance.RotationDocs.Where(d => d.ID == instance.ID).FirstOrDefault();
1573
                if (rotationdoc != null)
1574
                {
1575
                    rotationdoc.PAGE_ANGLE = instance.PAGE_ANGLE;
1576
                }
1577
                else
1578
                {
1579
                    ViewerDataModel.Instance.RotationDocs.Add(instance);
1580
                }
1570 1581
            });
1571 1582
        }
1572 1583
        #endregion

내보내기 Unified diff

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