프로젝트

일반

사용자정보

개정판 b627aa5a

IDb627aa5a86b9ee7c28400196c8fb4d118918393c
상위 b5d846ad
하위 a4aac5fe

김태성이(가) 일년 이상 전에 추가함

issue #0000 id2용으로 수정

Change-Id: I0d6c62813f9647d785dd7392f0563ad049e82117

차이점 보기:

KCOM/Services/BaseServices.cs
266 266
            }
267 267
            else
268 268
            {
269
                string sFolder = _ViewInfo.DocumentItemID.All(char.IsDigit) ? (Convert.ToUInt32(_ViewInfo.DocumentItemID) / 100).ToString() : (_ViewInfo.DocumentItemID.Length >= 5 ? _ViewInfo.DocumentItemID.Substring(0, 5) : _ViewInfo.DocumentItemID);
269
                //string sFolder = _ViewInfo.DocumentItemID.All(char.IsDigit) ? (Convert.ToUInt32(_ViewInfo.DocumentItemID) / 100).ToString() : (_ViewInfo.DocumentItemID.Length >= 5 ? _ViewInfo.DocumentItemID.Substring(0, 5) : _ViewInfo.DocumentItemID);
270 270

  
271 271
                /// 화면의 좌측 Thumbnail의 주소
272
                var MainUrl = string.Format(CommonLib.Common.GetConfigString("mainServerImageWebPath", "URL", "", App.isExternal).Replace("png", "jpg"), _ViewInfo.ProjectNO, sFolder, _ViewInfo.DocumentItemID, "{PageNo}");
272
                //var MainUrl = string.Format(CommonLib.Common.GetConfigString("mainServerImageWebPath", "URL", "", App.isExternal).Replace("png", "jpg"), _ViewInfo.ProjectNO, sFolder, _ViewInfo.DocumentItemID, "{PageNo}");
273

  
274
                // SEC 전용 
275
                var MainUrl = string.Format(CommonLib.Common.GetConfigString("mainServerImageWebPath", "URL", "", App.isExternal), _ViewInfo.ProjectNO, _ViewInfo.DocumentItemID);
276

  
273 277
                _DocInfo = e.Result;
274 278
                _DocInfo.ORIGINAL_FILE = HttpUtility.UrlDecode(_DocInfo.ORIGINAL_FILE);
275 279
                foreach (var item in _DocInfo.DOCPAGE.OrderBy(order => order.PAGE_NUMBER))
......
312 316

  
313 317
                //App.SamplePageStorage = new PageManager.PageStorage(MainUrl.Replace("png", "jpg"), tempStoragePath, "jpg", _DocInfo.PAGE_COUNT);
314 318
                await this.pageNavigator.SetPageNaviAsync(CurrentDoc.docInfo.DOCPAGE.ToList(), MainUrl);
319

  
320
                //this.pageNavigator._thumbnailItems = new ObservableCollection<ThumbnailItem>
321
                //{
322
                //    new ThumbnailItem
323
                //    {
324
                //        Angle = 0,
325
                //        DisplayColorItems = new List<SetColorMarkupItem>(),
326
                //        Height = 100,
327
                //        Width = 100,
328
                //        ImageUri = new Uri("http://localhost"),
329
                //        IsActive = true,
330
                //        PageNumber = 1,
331
                //        PageUri = new Uri(MainUrl.Replace("jpg", "png")),
332
                //    }
333
                //};
334

  
335
                //this.pageNavigator.ChangePage(1);
315 336
            }
316 337
        }
317 338

  

내보내기 Unified diff

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