Handle Unit RO <UNIT-Number> in MS Word Documents

Comment-out a change that was made to raise the location of the "END" message.
Fixed logic to account for borders on figures.
This commit is contained in:
Rich
2013-11-12 19:53:15 +00:00
parent 3c52a7fd1c
commit d9a10aca59
2 changed files with 6 additions and 5 deletions

View File

@@ -808,7 +808,8 @@ namespace VEPROMS.CSLA.Library
// If multiple return values includes X-Y Plot, check to see if it is an X-Y Plot
if (val == null)
{
if(sel.Text == "<U-Text>") val =lookup.DocVersionInfo.DocVersionConfig.Unit_Text;
if(sel.Text.ToUpper() == "<U-TEXT>") val =lookup.DocVersionInfo.DocVersionConfig.Unit_Text;
else if (sel.Text.ToUpper() == "<U-NUMBER>") val = lookup.DocVersionInfo.DocVersionConfig.Unit_Number;
//val = "<U-ID>",MyDocVersion.DocVersionConfig.Unit_ID);
//text = text.Replace(@"<S\u8209?ID>", _MyItemInfo.MyDocVersion.DocVersionConfig.Unit_ProcedureSetID);
//text = text.Replace("<U>", _MyItemInfo.MyDocVersion.DocVersionConfig.Unit_Number);