WCN OFN BCK Format improvement

uncomment rofst access from previous update
This commit is contained in:
Kathy Ruffing 2014-02-10 15:18:30 +00:00
parent 1dd420fb09
commit 3fff776046
2 changed files with 6 additions and 5 deletions

View File

@ -2837,8 +2837,13 @@ namespace VEPROMS.CSLA.Library
{
_MyTab.BasicTab = isAlpha ? alpha : ordinal.ToString();
newtab = FormatStepData.TabData.IdentAltPrint.Substring(indxnewtab + 1);
if (newtab.Contains("{numeric}") || newtab.Contains("{LNK Step Num}"))
{
newtab = tbformat;
newtab = @"\ul " + newtab.Substring(0,newtab.IndexOf(":")+1) + @"\ulnone " + newtab.Substring(newtab.IndexOf(":")+1);
}
// also see if there is the 'pagelist' string in this tab:
if ((FormatStepData.TabData.Font.Style & E_Style.Underline) == E_Style.Underline)
else if ((FormatStepData.TabData.Font.Style & E_Style.Underline) == E_Style.Underline)
// the reason that the underline commands were not included in format file is that the '\' character
// is used as a separator and the following code will not impact other formats
HighLevelStepTabPageList = @"\ul " + FormatStepData.TabData.IdentAltPrint.Substring(0, indxnewtab).Trim() + @"\ulnone " + tbformat;

View File

@ -1729,12 +1729,8 @@ namespace Volian.Print.Library
// DocVersionInfo dvi = proc.ActiveParent as DocVersionInfo;
DocVersionInfo dvi = proc.MyDocVersion;
ROFstInfo rofst = dvi.DocVersionAssociations[0].MyROFst;
rofst.docVer = dvi;
ROFSTLookup lookup = rofst.ROFSTLookup;
/** Jim's changes
//rofst.docVer = dvi;
ROFSTLookup lookup = rofst.GetROFSTLookup(dvi);
***/
string linkInfoText = itemInfo.MyContent.Text.Replace(@"\v ", "");
Match m = Regex.Match(linkInfoText, @"(.*)[#]Link:([A-Za-z]*):(.*)");
if (m.Groups.Count < 4)