개정판 b627aa5a
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