개정판 2b19f5f2
issue #679 rotation doc update modify
KCOM/Events/Implementation/TopMenuEvent.cs | ||
---|---|---|
517 | 517 |
//save.MarkupSave(menu.gridViewMarkup.SelectedItems.FirstOrDefault() as IKCOM.MarkupInfoItem); |
518 | 518 |
} |
519 | 519 |
} |
520 |
save.PageAngleSave(App.ViewInfo.ProjectNO, ViewerDataModel.Instance.Document_Info.OrderBy(i => i.PAGE_NUMBER).ToList());
|
|
521 |
|
|
520 |
save.PageAngleSave(App.ViewInfo.ProjectNO, ViewerDataModel.Instance.RotationDocs);
|
|
521 |
|
|
522 | 522 |
} |
523 | 523 |
catch (Exception ex) |
524 | 524 |
{ |
... | ... | |
1567 | 1567 |
instance.PAGE_ANGLE = int.Parse(instanceMain.dzMainMenu.rotate.Angle.ToString()); |
1568 | 1568 |
|
1569 | 1569 |
instanceMain.dzMainMenu.pageNavigator.setPageChange(data); |
1570 |
|
|
1571 |
//rotation page add or update |
|
1572 |
var rotationdoc = ViewerDataModel.Instance.RotationDocs.Where(d => d.ID == instance.ID).FirstOrDefault(); |
|
1573 |
if (rotationdoc != null) |
|
1574 |
{ |
|
1575 |
rotationdoc.PAGE_ANGLE = instance.PAGE_ANGLE; |
|
1576 |
} |
|
1577 |
else |
|
1578 |
{ |
|
1579 |
ViewerDataModel.Instance.RotationDocs.Add(instance); |
|
1580 |
} |
|
1570 | 1581 |
}); |
1571 | 1582 |
} |
1572 | 1583 |
#endregion |
내보내기 Unified diff