Merge pull request #61 from tbluemel/ignore-rtlch

Ignore rtlch
This commit is contained in:
Tom Zöhner
2020-06-03 16:10:55 +02:00
committed by GitHub
8 changed files with 51 additions and 5 deletions
Generated Vendored
+3
View File
@@ -832,6 +832,8 @@ var Parser = /** @class */ (function () {
// this will be followed by a \ud sub destination
return;
case "ud":
case "ltrch":
case "rtlch":
return;
default:
if (!this.parser.state.skipdestination) {
@@ -8924,6 +8926,7 @@ var FldinstDestination = /** @class */ (function (_super) {
};
FldinstDestination.prototype.parseType = function () {
var _this = this;
this.text = this.text.trim();
var sep = this.text.indexOf(" ");
if (sep > 0) {
var data_1 = this.text.substr(sep + 1);
Generated Vendored
+1 -1
View File
File diff suppressed because one or more lines are too long
Generated Vendored
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+5 -2
View File
@@ -95,10 +95,13 @@ function displayRtfFile(blob) {
}
});
} catch(e) {
if (e instanceof RTFJS.Error)
if (e instanceof RTFJS.Error) {
$("#content").text("Error: " + e.message);
else
throw e;
}
else {
throw e;
}
}
}
function stringToBinaryArray(string) {
+3
View File
@@ -292,7 +292,10 @@ export class Parser {
this.parseLoop(true, false); // skip the first sub destination (ansi)
// this will be followed by a \ud sub destination
return;
case "ud":
case "ltrch":
case "rtlch":
return;
default:
@@ -170,6 +170,7 @@ export class FldinstDestination extends DestinationTextBase {
}
private parseType() {
this.text = this.text.trim();
const sep = this.text.indexOf(" ");
if (sep > 0) {
let data = this.text.substr(sep + 1);
@@ -5,28 +5,64 @@
<div style="min-height: 12pt; text-align: left;">
</div>
<div style="min-height: 10pt; text-align: left;">
<a href="">
<span style="font-family: Arial; text-decoration: underline; color: rgb(0, 0, 255); font-size: 10pt;">INTRODUCTION
</span>
</a>
<span style="font-family: Arial; font-size: 10pt;"> ▪
</span>
<a href="">
<span style="font-family: Arial; text-decoration: underline; color: rgb(0, 0, 255); font-size: 10pt;">PURPOSE
</span>
</a>
<span style="font-family: Arial; font-size: 10pt;"> ▪
</span>
<a href="">
<span style="font-family: Arial; text-decoration: underline; color: rgb(0, 0, 255); font-size: 10pt;">SCOPE
</span>
</a>
<span style="font-family: Arial; font-size: 10pt;"> ▪
</span>
<a href="">
<span style="font-family: Arial; text-decoration: underline; color: rgb(0, 0, 255); font-size: 10pt;">DESCRIPTION
</span>
</a>
<span style="font-family: Arial; font-size: 10pt;">
</span>
</div>
<div style="min-height: 10pt; text-align: left;">
<a href="">
<span style="font-family: Arial; text-decoration: underline; color: rgb(0, 0, 255); font-size: 10pt;">DIAGRAMS
</span>
</a>
<span style="font-family: Arial; font-size: 10pt;"> ▪
</span>
<a href="">
<span style="font-family: Arial; text-decoration: underline; color: rgb(0, 0, 255); font-size: 10pt;">INPUTS/OUTPUTS
</span>
</a>
<span style="font-family: Arial; text-decoration: underline; font-size: 10pt;">
</span>
<span style="font-family: Arial; font-size: 10pt;">▪
</span>
<a href="">
<span style="font-family: Arial; text-decoration: underline; color: rgb(0, 0, 255); font-size: 10pt;">PROCESS RELATIONSHIPS
</span>
</a>
<span style="font-family: Arial; text-decoration: underline; font-size: 10pt;">
</span>
</div>
<div style="min-height: 10pt; text-align: left;">
<a href="">
<span style="font-family: Arial; text-decoration: underline; color: rgb(0, 0, 255); font-size: 10pt;">ROLES &amp; RESPONSIBILITIES
</span>
</a>
<span style="font-family: Arial; font-size: 10pt;"> ▪
</span>
<a href="">
<span style="font-family: Arial; text-decoration: underline; color: rgb(0, 0, 255); font-size: 10pt;">REVISION HISTORY
</span>
</a>
</div>
<div style="min-height: 10pt; text-align: left;">
</div>