This commit is contained in:
Kathy Ruffing 2008-04-10 14:48:41 +00:00
parent 83ed44670d
commit bc0f82c21f
2 changed files with 3 additions and 2 deletions

View File

@ -0,0 +1 @@

View File

@ -108,7 +108,7 @@ namespace Volian.Controls.Library
txt = txt.Replace("\n", "\r\n\\par ");
//txt = Regex.Replace(txt, "(.){([0-9]*){([0-9 ]*)}}",FixTransition);
//txt = Regex.Replace(txt, @"(.)\\v TRAN", FixTransition);
MatchCollection mc = Regex.Matches(txt, @"(.)\\v (TRAN|RO)\\v0 ([^\\]*)\\v ([^\\]*)\\v0");
MatchCollection mc = Regex.Matches(txt, @"(.)\\v (TRAN|ReferencedObject)\\v0 ([^\\]*)\\v ([^\\]*)\\v0");
//string[] parts = Regex.Split(txt, "(.){{(.*)}{(.*)}}");
if (mc.Count > 0)
{
@ -122,7 +122,7 @@ namespace Volian.Controls.Library
AddLink50(linkUrl, linkValue);
else
AddLink20(linkUrl, linkValue);
//AddRtf(string.Format("{0} \\v RO - {1} \\v0",ROValue,ROID));
//AddRtf(string.Format("{0} \\v ReferencedObject - {1} \\v0",ROValue,ROID));
lastIndex = m.Index + m.Length;
}
AddRtf(txt.Substring(lastIndex, txt.Length - lastIndex));