개정판 d48260a2
issue #1156:Convert error 시 alert 처리 수정.
Change-Id: I1dc380b2d72137842ec56248786fe426f5f22016
KCOM/Controls/Sample.xaml.cs | ||
---|---|---|
218 | 218 |
var thumbitem = this._thumbnailItems.Where(item => item.PageNumber == iPageNo).FirstOrDefault(); |
219 | 219 |
if ((PageChanged != null) && (thumbitem != null)) |
220 | 220 |
{ |
221 |
var uri = _DefaultUri.Replace("{PageNo}", thumbitem.PageNumber.ToString()); |
|
221 |
var uri = thumbitem.PageUri.ToString(); |
|
222 |
//_DefaultUri.Replace("{PageNo}", thumbitem.PageNumber.ToString()); |
|
222 | 223 |
|
223 |
var _DocPages = _PageList.Where(p => p.PAGE_NUMBER == thumbitem.PageNumber); |
|
224 |
if (_DocPages.Count() > 0)
|
|
224 |
var _DocPages = _PageList.Where(p => p.PAGE_NUMBER == thumbitem.PageNumber).FirstOrDefault();
|
|
225 |
if (_DocPages != null)
|
|
225 | 226 |
{ |
226 |
var _page = _DocPages.First(); |
|
227 |
|
|
228 | 227 |
PageChanged(this, new PageChangeEventArgs |
229 | 228 |
{ |
230 |
CurrentPage = _page,
|
|
229 |
CurrentPage = _DocPages,
|
|
231 | 230 |
PageUri = uri, |
232 | 231 |
PageNumber = thumbitem.PageNumber |
233 | 232 |
}); |
... | ... | |
477 | 476 |
//this.ImgListbox.ItemsSource = this._thumbnailItems; |
478 | 477 |
var template = this.ImgListbox.ItemTemplate; |
479 | 478 |
this.ImgListbox.ItemTemplate = null; |
480 |
this.ImgListbox.ItemTemplate = template; |
|
481 |
|
|
479 |
this.ImgListbox.ItemTemplate = template; |
|
482 | 480 |
} |
483 | 481 |
|
484 | 482 |
private void ThumbnailSet() |
KCOM/MARKUS.ini | ||
---|---|---|
37 | 37 |
[PortForwarding] |
38 | 38 |
HUB=5100:5100 |
39 | 39 |
RESOURCE=5977:5977 |
40 |
BASE=5979:5979 |
|
40 |
BASE=5979:5979 |
|
41 |
[GetImageResourceFailed] |
|
42 |
MSG=7ZW064u5IOusuOyEnOydmCB7MH0gUGFnZSBDb252ZXJ06rCAIOygleyDgeyggeydtOyngCDslYrsirXri4jri6QuIOq0gOumrOyekOyXkOqyjCDrrLjsnZjtlbQg7KO87IS47JqULg== |
KCOM/Views/MainMenu.xaml.cs | ||
---|---|---|
560 | 560 |
try |
561 | 561 |
{ |
562 | 562 |
ViewerDataModel.Instance.ImageViewPath = await ImageSourceHelper.GetDownloadImageAsync(pageUri, pageWidth, pageHeight); |
563 |
ScaleImage(pageWidth, pageHeight); |
|
564 |
|
|
565 |
ViewerDataModel.Instance.ImageViewWidth = pageWidth; |
|
566 |
ViewerDataModel.Instance.ImageViewHeight = pageHeight; |
|
567 |
|
|
568 |
zoomAndPanCanvas.Width = pageWidth; |
|
569 |
zoomAndPanCanvas.Height = pageHeight; |
|
570 |
|
|
571 |
Common.ViewerDataModel.Instance.ContentWidth = pageWidth; |
|
572 |
Common.ViewerDataModel.Instance.ContentHeight = pageHeight; |
|
573 |
|
|
574 |
inkBoard.Width = pageWidth; |
|
575 |
inkBoard.Height = pageHeight; |
|
563 |
|
|
576 | 564 |
} |
577 | 565 |
catch (Exception ex) |
578 | 566 |
{ |
579 |
string failedmsg = CommonLib.Common.GetAlertMessageString("GetConversionStateFailed", "MSG", "Too Many V/P Files are uploading instantaneously, This V/P file can not be open now. Please feel free to re-open wait a moment again!\n\n현재 일시적으로 많은 양의 V/P가 등록되고 있어 이 문서를 열람할 수 없습니다.\n잠시만 기다려 주신 후 다시 열람하여 주시기 바랍니다"); |
|
580 |
DialogMessage_Alert(failedmsg, "Warning"); |
|
567 |
ViewerDataModel.Instance.ImageViewPath = null; |
|
568 |
string imgfailedmsg = string.Format(CommonLib.Common.GetAlertMessageString("GetImageResourceFailed", "MSG", "해당 문서의 {0} Page Convert가 정상적이지 않습니다. 관리자에게 문의해 주세요."), pageNavigator.CurrentPage.PageNumber); |
|
569 |
DialogMessage_Alert(imgfailedmsg, "Warning"); |
|
581 | 570 |
App.FileLogger.Fatal(ex); |
582 | 571 |
} |
583 |
|
|
572 |
ScaleImage(pageWidth, pageHeight); |
|
573 |
|
|
574 |
ViewerDataModel.Instance.ImageViewWidth = pageWidth; |
|
575 |
ViewerDataModel.Instance.ImageViewHeight = pageHeight; |
|
576 |
|
|
577 |
zoomAndPanCanvas.Width = pageWidth; |
|
578 |
zoomAndPanCanvas.Height = pageHeight; |
|
579 |
|
|
580 |
Common.ViewerDataModel.Instance.ContentWidth = pageWidth; |
|
581 |
Common.ViewerDataModel.Instance.ContentHeight = pageHeight; |
|
582 |
|
|
583 |
inkBoard.Width = pageWidth; |
|
584 |
inkBoard.Height = pageHeight; |
|
584 | 585 |
|
585 | 586 |
#endregion |
586 | 587 |
|
Site/Daelim/ini/MARKUS.ini | ||
---|---|---|
37 | 37 |
[PortForwarding] |
38 | 38 |
HUB=5100:5100 |
39 | 39 |
RESOURCE=5977:5977 |
40 |
BASE=5978:5978 |
|
40 |
BASE=5978:5978 |
|
41 |
[GetImageResourceFailed] |
|
42 |
MSG=7ZW064u5IOusuOyEnOydmCB7MH0gUGFnZSBDb252ZXJ06rCAIOygleyDgeyggeydtOyngCDslYrsirXri4jri6QuIOq0gOumrOyekOyXkOqyjCDrrLjsnZjtlbQg7KO87IS47JqULg== |
Site/Daelim/ini/Test/MARKUS.ini | ||
---|---|---|
37 | 37 |
[PortForwarding] |
38 | 38 |
HUB=5100:5100 |
39 | 39 |
RESOURCE=5977:5977 |
40 |
BASE=5978:5978 |
|
40 |
BASE=5978:5978 |
|
41 |
[GetImageResourceFailed] |
|
42 |
MSG=7ZW064u5IOusuOyEnOydmCB7MH0gUGFnZSBDb252ZXJ06rCAIOygleyDgeyggeydtOyngCDslYrsirXri4jri6QuIOq0gOumrOyekOyXkOqyjCDrrLjsnZjtlbQg7KO87IS47JqULg== |
Site/PEMSS/MARKUS.ini | ||
---|---|---|
38 | 38 |
HUB=5100:5100 |
39 | 39 |
RESOURCE=5978:5978 |
40 | 40 |
BASE=5978:5978 |
41 |
[GetImageResourceFailed] |
|
42 |
MSG=7ZW064u5IOusuOyEnOydmCB7MH0gUGFnZSBDb252ZXJ06rCAIOygleyDgeyggeydtOyngCDslYrsirXri4jri6QuIOq0gOumrOyekOyXkOqyjCDrrLjsnZjtlbQg7KO87IS47JqULg== |
내보내기 Unified diff