Embedded images
This commit is contained in:
@@ -3100,6 +3100,9 @@ namespace VEPROMS
|
||||
{
|
||||
infotabRO.Visible = _LastStepRTB.MyItemInfo.MyDocVersion.DocVersionAssociationCount > 0;
|
||||
infotabTransition.Visible = !_CurrentItem.IsFigure;
|
||||
// don't allow ro insert for a non-ro figure. First check that it is visible (from above line of code),
|
||||
// and allow for non-figures or ro figures (for replace of existing ro figures)
|
||||
infotabRO.Visible = infotabRO.Visible && (!_CurrentItem.IsFigure || (_CurrentItem.IsFigure && _CurrentItem.MyContent.MyImage == null));
|
||||
displayRO.Enabled = _LastStepRTB.EditMode || _LastStepRTB.IsRoTable;
|
||||
displayTransition.Enabled = _LastStepRTB.EditMode;
|
||||
}
|
||||
@@ -3155,6 +3158,8 @@ namespace VEPROMS
|
||||
E_ROValueType.Table : (SelectedStepTabPanel.MyStepPanel.SelectedEditItem.MyItemInfo.IsFigure) ? E_ROValueType.Image : E_ROValueType.Text;
|
||||
if (_LastStepRTB.IsRoTable && _LastStepRTB.MyItemInfo.MyContent.ContentRoUsageCount > 0)
|
||||
displayRO.CurROLink = _LastStepRTB.MyItemInfo.MyContent.ContentRoUsages[0];
|
||||
if (_LastStepRTB.IsRoFigure && _LastStepRTB.MyItemInfo.MyContent.ContentRoUsageCount > 0)
|
||||
displayRO.CurROLink = _LastStepRTB.MyItemInfo.MyContent.ContentRoUsages[0];
|
||||
// if this is an enhanced step (linked from a source document), don't bring up the ro or transition panel,
|
||||
// and don't allow replace on the find/replace dialog.
|
||||
if (args.MyItemInfo.IsEnhancedStep)
|
||||
|
Reference in New Issue
Block a user