Declared the format variable TabPtsPerChar as a “float?” so that it can have a null value
Fixed the RTF commands for the OR, AND, THEN, and WHEN replacewords Added logic so that TabPtsPerChar is not added to a format if the value is NULL
This commit is contained in:
@@ -17,10 +17,10 @@ namespace fmtxml
|
||||
|
||||
// replace words
|
||||
fmtdata.SectData.ReplaceStrData[0].ReplaceWith = @"\b \ul IF\ulnone \b0 ";
|
||||
fmtdata.SectData.ReplaceStrData[2].ReplaceWith = @"\par}\b \ul THEN\ulnone \b0 ";
|
||||
fmtdata.SectData.ReplaceStrData[2].ReplaceWith = @"{\par}\b \ul THEN\ulnone \b0 ";
|
||||
fmtdata.SectData.ReplaceStrData[3].ReplaceWith = @"\b \ul WHEN\ulnone \b0 ";
|
||||
fmtdata.SectData.ReplaceStrData[4].ReplaceWith = @"\par}\b \ul AND\ulnone \b0 ";
|
||||
fmtdata.SectData.ReplaceStrData[5].ReplaceWith = @"\par}\b \ul OR\ulnone \b0 ";
|
||||
fmtdata.SectData.ReplaceStrData[4].ReplaceWith = @"{\par}\b \ul AND\ulnone \b0 ";
|
||||
fmtdata.SectData.ReplaceStrData[5].ReplaceWith = @"{\par}\b \ul OR\ulnone \b0 ";
|
||||
}
|
||||
private void AddWCN2Fmt(ref FormatData fmtdata)
|
||||
{
|
||||
|
Reference in New Issue
Block a user