프로젝트

일반

사용자정보

개정판 b79d6e7f

IDb79d6e7fe47779e89433864a593fe62b9d09de65
상위 219bb41d
하위 1af0f150

백흠경이(가) 9달 전에 추가함

Fix: ArrowTextControl, TextControl에 ArcLength 적용

Change-Id: I02e837c6e9e97fc48008ee3753012f8025414ffb

차이점 보기:

KCOM/Controls/Symbol.xaml.cs
498 498
        }
499 499
        #endregion
500 500

  
501
        public UndoDataGroup UndoData { get; set; }
501
        public UndoDataGroup UndoDataGroup { get; set; }
502 502
        /// <summary>
503 503
        /// place symbol which has given id to original position which is created
504 504
        /// </summary>
......
543 543
                    string[] delimiterChars = { "|DZ|" };
544 544
                    string[] data = Data_.Split(delimiterChars, StringSplitOptions.RemoveEmptyEntries);
545 545

  
546
                    Multi_UndoData multi_UndoData = new Multi_UndoData();
547
                    UndoData = new UndoDataGroup()
546
                    UndoData multi_UndoData = new UndoData();
547
                    UndoDataGroup = new UndoDataGroup()
548 548
                    {
549 549
                        IsUndo = false,
550 550
                        Event = EventType.Create,
551 551
                        EventTime = DateTime.Now,
552
                        MarkupDataColl = new List<Multi_UndoData>()
552
                        MarkupDataColl = new List<UndoData>()
553 553
                    };
554 554
                    ViewerDataModel.Instance.UndoDataList.Where(data1 => data1.IsUndo == true).ToList().ForEach(i =>
555 555
                    {
......
572 572

  
573 573
                            multi_UndoData = this.ParentOfType<MainWindow>().dzMainMenu.Control_Style(item as MarkupToPDF.Common.CommentUserInfo);
574 574

  
575
                            UndoData.MarkupDataColl.Add(multi_UndoData);
576
                            ViewerDataModel.Instance.UndoDataList.Add(UndoData);
575
                            UndoDataGroup.MarkupDataColl.Add(multi_UndoData);
576
                            ViewerDataModel.Instance.UndoDataList.Add(UndoDataGroup);
577 577
                        }
578 578
                    }
579 579

  
......
686 686
                                            currentControl.EndPoint,
687 687
                                            currentControl.TopRightPoint,
688 688
                                        };
689
                    Multi_UndoData multi_UndoData = new Multi_UndoData();
690
                    UndoData = new UndoDataGroup()
689
                    UndoData multi_UndoData = new UndoData();
690
                    UndoDataGroup = new UndoDataGroup()
691 691
                    {
692 692
                        IsUndo = false,
693 693
                        Event = EventType.Create,
694 694
                        EventTime = DateTime.Now,
695
                        MarkupDataColl = new List<Multi_UndoData>()
695
                        MarkupDataColl = new List<UndoData>()
696 696
                    };
697 697
                    ViewerDataModel.Instance.UndoDataList.Where(data1 => data1.IsUndo == true).ToList().ForEach(i =>
698 698
                    {
......
701 701

  
702 702
                    //multi_UndoData = dzMainMenu.Control_Style(currentControl as MarkupToPDF.Common.CommentUserInfo);
703 703
                    multi_UndoData = this.ParentOfType<MainWindow>().dzMainMenu.Control_Style(currentControl as MarkupToPDF.Common.CommentUserInfo);
704
                    UndoData.MarkupDataColl.Add(multi_UndoData);
705
                    ViewerDataModel.Instance.UndoDataList.Add(UndoData);
704
                    UndoDataGroup.MarkupDataColl.Add(multi_UndoData);
705
                    ViewerDataModel.Instance.UndoDataList.Add(UndoDataGroup);
706 706

  
707 707
                    ViewerDataModel.Instance.MarkupControls_USER.Add(currentControl as MarkupToPDF.Common.CommentUserInfo);
708 708
                    currentControl.CommentID = Commons.shortGuid();
......
735 735
            }
736 736
        }
737 737

  
738
        public Multi_UndoData multi_UndoData;
738
        public UndoData multi_UndoData;
739 739
        private void ApplyDragSelectionRect()
740 740
        {
741
            multi_UndoData = new Multi_UndoData();
741
            multi_UndoData = new UndoData();
742 742

  
743
            UndoData = new UndoDataGroup()
743
            UndoDataGroup = new UndoDataGroup()
744 744
            {
745 745
                IsUndo = false,
746 746
                Event = EventType.Operation,
747 747
                EventTime = DateTime.Now,
748
                MarkupDataColl = new List<Multi_UndoData>()
748
                MarkupDataColl = new List<UndoData>()
749 749
            };
750 750

  
751 751
            this.ParentOfType<MainWindow>().dzMainMenu.dragSelectionBorder.Visibility = Visibility.Collapsed;
......
775 775
                    ViewerDataModel.Instance.MarkupControls_USER.Remove(item);
776 776

  
777 777
                    this.ParentOfType<MainWindow>().dzMainMenu.Control_Style(item);
778
                    UndoData.MarkupDataColl.Add(multi_UndoData);
779
                    multi_UndoData = new Multi_UndoData();
778
                    UndoDataGroup.MarkupDataColl.Add(multi_UndoData);
779
                    multi_UndoData = new UndoData();
780 780
                    if (item.GroupID > 0)
781 781
                    {
782 782

  
......
789 789
                {
790 790
                    ViewerDataModel.Instance.UndoDataList.Remove(i);
791 791
                });
792
                ViewerDataModel.Instance.UndoDataList.Add(UndoData);
792
                ViewerDataModel.Instance.UndoDataList.Add(UndoDataGroup);
793 793

  
794 794
                Controls.AdornerFinal final = new Controls.AdornerFinal(adornerSet);
795 795
                this.ParentOfType<MainWindow>().dzMainMenu.SelectLayer.Children.Add(final);

내보내기 Unified diff

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