Skip to content

Commit

Permalink
fixed the missing reference
Browse files Browse the repository at this point in the history
  • Loading branch information
proteux committed Dec 13, 2024
1 parent 55503df commit c53a7c0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/format.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ Format.prototype.formatText = function(text, colorTable, fontTable, safeText){
//Add one because color 0 is null
if(this.colorPos !== undefined && this.colorPos>=0) rtf+="\\cf" + (this.colorPos).toString();
if(this.fontSize >0) rtf += "\\fs" + (this.fontSize*2).toString();
if(this.align.length > 0) rtf += align;
if(this.align.length > 0) rtf += this.align;
if(this.leftIndent>0) rtf += "\\li" + (this.leftIndent*20).toString();
if(this.rightIndent>0) rtf += "\\ri" + this.rightIndent.toString();

Expand Down
8 changes: 8 additions & 0 deletions node-rtf.code-workspace
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"folders": [
{
"path": "."
}
],
"settings": {}
}

0 comments on commit c53a7c0

Please sign in to comment.