mirror of
https://github.com/tbluemel/rtf.js.git
synced 2026-11-30 16:47:59 +01:00
+3
@@ -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);
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
@@ -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) {
|
||||
|
||||
@@ -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 & 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>
|
||||
|
||||
Reference in New Issue
Block a user