Hi all,
I am trying to modify a script someone else created and make certain portions of it bold. Basic it is a sheet listing values but it will list a header value I want bold, list some data objects below I do not want bold, then list additional headers (bold) and data values (non bold) as it builds the RTF file. The script is using the following line to set the attributes of the file:
print OFILE "{\\rtf1\\ansi\\ansicpg1252\\deff0\\deflang1033{\\fonttbl{\\f0\\fmodern\\fprq1\\fcharset0 LinePrinter;}}\\landscape\\paperw15840\\paperh12240\\margl1440\\margr1440\\viewkind4\\uc1\\pard\\f0\\fs16";
And I can make the first column header bold and data value bold, but can not get it to print the next header in bold again. The script has many lines like:
print OFILE $header;
printToFile($value1);
through out it and am looking for an easy way to turn bold on and off when necessary. I am not a perl developer and have researched everywhere with no luck. Please help!!!
Thank you!
I am trying to modify a script someone else created and make certain portions of it bold. Basic it is a sheet listing values but it will list a header value I want bold, list some data objects below I do not want bold, then list additional headers (bold) and data values (non bold) as it builds the RTF file. The script is using the following line to set the attributes of the file:
print OFILE "{\\rtf1\\ansi\\ansicpg1252\\deff0\\deflang1033{\\fonttbl{\\f0\\fmodern\\fprq1\\fcharset0 LinePrinter;}}\\landscape\\paperw15840\\paperh12240\\margl1440\\margr1440\\viewkind4\\uc1\\pard\\f0\\fs16";
And I can make the first column header bold and data value bold, but can not get it to print the next header in bold again. The script has many lines like:
print OFILE $header;
printToFile($value1);
through out it and am looking for an easy way to turn bold on and off when necessary. I am not a perl developer and have researched everywhere with no luck. Please help!!!
Thank you!