프로젝트

일반

사용자정보

개정판 54a28343

ID54a283437aead516546aa61b4f0e99ea888b1e4c
상위 87d56836
하위 d97dbc7f

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

Thumbnail 로딩 방식 수정

Change-Id: Iad91569fc06e4eecfe9d5a7a9ece9567ad161874

차이점 보기:

KCOM/Services/BaseServices.cs
266 266
                ViewerDataModel.Instance.Document_Info.Add(item);
267 267
            }
268 268
            Logger.sendReqLog("GetMarkupInfoItemsAsync", _ViewInfo.ProjectNO + "," + _DocInfo.ID, 1);
269
            BaseClient.GetMarkupInfoItemsAsync(_ViewInfo.ProjectNO, _DocInfo.ID);
270
            CurrentDoc = new Common.DocumentSet
269
           CurrentDoc = new Common.DocumentSet
271 270
            {
272 271
                docInfo = _DocInfo,
273 272
                Document_Id = _DocInfo.DOCUMENT_ID,
......
295 294
            //.Replace("jpg", "png")을 붙이는 이유는 MainUrl에 확장명이 jpg로 설정한 경우가 있기 때문
296 295

  
297 296
            #endregion
298
            App.PageStorage = new PageManager.PageStorage(MainUrl.Replace("jpg", "png"), tempStoragePath, _DocInfo.PAGE_COUNT);
297
            App.PageStorage = new PageManager.PageStorage(MainUrl.Replace("jpg","png"), tempStoragePath,"png", _DocInfo.PAGE_COUNT);
298
         
299
            await this.pageNavigator.SetPageNaviAsync(CurrentDoc.docInfo.DOCPAGE.ToList(), MainUrl);
299 300

  
300
            this.pageNavigator.SetPageNavi(CurrentDoc.docInfo.DOCPAGE.ToList(), MainUrl);
301
        }
301 302

  
302
            ViewerDataModel.Instance.MarkupControls_USER.Clear();
303
        private async void pageNavigator_ThumbInitialized(object sender,EventArgs e)
304
        {
305
            BaseClient.GetMarkupInfoItemsAsync(_ViewInfo.ProjectNO, _DocInfo.ID);
303 306

  
307
            ViewerDataModel.Instance.MarkupControls_USER.Clear();
304 308
            //ViewerDataModel.Instance.SystemMain.dzMainMenu.TempLoad();
305 309

  
306 310
            #region 단어 검색용 파일 다운로드
307 311

  
308 312
            await DownloadOriginalFileAsync();
309
        
310 313

  
311 314
            #endregion
312 315

  
......
315 318

  
316 319
        }
317 320

  
321

  
318 322
        /// <summary>
319 323
        /// get markupinfo and markupitem from database
320 324
        ///  - 1. called when document is loaded

내보내기 Unified diff

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