Problem Note 45138: Creating an RTF file using a modified version of TAGSETS.RTF generates an RTF file without any style information
Creating an RTF file using a modified version of TAGSETS.RTF in SAS® 9.3 creates an RTF file that does not contain any style information.
To circumvent this problem, add the MEASURED option in the modified tagset to flag that this is a measured destination. Also, the default style has to be set by using the DEFAULT_STYLE= option.
The example code below demonstrates a workaround generating a modified version of TAGSETS.RTF in SAS 9.3 while maintaining the styles.
proc template;
measured;
define tagset tagsets.newrtf;
parent=tagsets.rtf;
default_style="styles.rtf" ;
end;
run;
ods tagsets.newrtf file="c:\temp.rtf";
proc print data=sashelp.class;
run;
ods tagsets.newrtf close;
Operating System and Release Information
| SAS System | Base SAS | z/OS | 9.3 | | | |
| Z64 | 9.3 | | | |
| Microsoft® Windows® for x64 | 9.3 | | | |
| Microsoft Windows 95/98 | 9.3 | | | |
| Microsoft Windows 2000 Advanced Server | 9.3 | | | |
| Microsoft Windows 2000 Datacenter Server | 9.3 | | | |
| Microsoft Windows 2000 Server | 9.3 | | | |
| Microsoft Windows 2000 Professional | 9.3 | | | |
| Microsoft Windows NT Workstation | 9.3 | | | |
| Microsoft Windows Server 2003 Datacenter Edition | 9.3 | | | |
| Microsoft Windows Server 2003 Enterprise Edition | 9.3 | | | |
| Microsoft Windows Server 2003 Standard Edition | 9.3 | | | |
| Microsoft Windows Server 2003 for x64 | 9.3 | | | |
| Microsoft Windows Server 2008 | 9.3 | | | |
| Microsoft Windows Server 2008 for x64 | 9.3 | | | |
| Microsoft Windows XP Professional | 9.3 | | | |
| Windows 7 Enterprise 32 bit | 9.3 | | | |
| Windows 7 Enterprise x64 | 9.3 | | | |
| Windows 7 Home Premium 32 bit | 9.3 | | | |
| Windows 7 Home Premium x64 | 9.3 | | | |
| Windows 7 Professional 32 bit | 9.3 | | | |
| Windows 7 Professional x64 | 9.3 | | | |
| Windows 7 Ultimate 32 bit | 9.3 | | | |
| Windows 7 Ultimate x64 | 9.3 | | | |
| Windows Millennium Edition (Me) | 9.3 | | | |
| Windows Vista | 9.3 | | | |
| Windows Vista for x64 | 9.3 | | | |
| 64-bit Enabled AIX | 9.3 | | | |
| 64-bit Enabled HP-UX | 9.3 | | | |
| 64-bit Enabled Solaris | 9.3 | | | |
| HP-UX IPF | 9.3 | | | |
| Linux | 9.3 | | | |
| Linux for x64 | 9.3 | | | |
| Solaris for x64 | 9.3 | | | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Creating an RTF file using a modified version of TAGSETS.RTF generates an RTF file without any style information.
| Type: | Problem Note |
| Priority: | high |
| Date Modified: | 2011-12-14 15:57:52 |
| Date Created: | 2011-12-14 09:31:13 |