Added code to handle fNarrator and Non-Supported vertical tab in ReplaceWords
This commit is contained in:
parent
5a395ec0d2
commit
6cb0edbf98
@ -1316,11 +1316,13 @@ namespace fmtxml
|
||||
wkstr = Regex.Replace(wkstr, @"\x16([^\x16 ]*?)(?:[\x16]|(?= )|\Z)(.*?)", @"\ul $1\ulnone $2");
|
||||
|
||||
//narrator
|
||||
wkstr = Regex.Replace(wkstr, @"\x86([^\x86 ]*?)(?:[\x86]|(?= )|\Z)(.*?)", @"\f{Narrator}$1\f0$2");
|
||||
//wkstr = Regex.Replace(wkstr, @"\x86([^\x86 ]*?)(?:[\x86]|(?= )|\Z)(.*?)", @"\f{Narrator}$1\f0$2");
|
||||
wkstr = Regex.Replace(wkstr, @"\x86([^\x86 ]*?)(?:[\x86]|(?= )|\Z)(.*?)", @"$1$2");
|
||||
|
||||
// remove hanging indent, vertical tab
|
||||
wkstr = Regex.Replace(wkstr, @"\x02", @"\NonSupported Hanging Indent (Hex x02)");
|
||||
wkstr = Regex.Replace(wkstr, @"\x0B", @"\NonSupported Vertical Tab (Hex x0b");
|
||||
//wkstr = Regex.Replace(wkstr, @"\x0B", @"\NonSupported Vertical Tab (Hex x0b");
|
||||
wkstr = Regex.Replace(wkstr, @"\x0B", @"");
|
||||
|
||||
// remove some unknown chars for ano & fpl - these plants are not supported
|
||||
// as of conversion date.
|
||||
|
Loading…
x
Reference in New Issue
Block a user