Problem Note 35183: VJUST style attribute is ignored by the ExcelXP tagset
The VJUST= style attribute can be used in the HTML, PRINTER (PCL/PDF/PS), and RTF destinations to control vertical justification of a cell. The valid values are T (TOP), M (MIDDLE) and B (BOTTOM). If this style attribute is used to override the default for a cell, the style override is ignored when output is created with the EXCELXP tagset.
To circumvent the problem, use PROC TEMPLATE to create a customized style element with the desired vertical justification setting, and reference that element in the STYLE= option in PROC TABULATE, REPORT, or PRINT. Please see the Full Code tab for an example.
Operating System and Release Information
SAS System | Base SAS | z/OS | 9.1 TS1M3 SP4 | 9.3 TS1M0 |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.1 TS1M3 SP4 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.1 TS1M3 SP4 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.1 TS1M3 SP4 | 9.3 TS1M0 |
Microsoft Windows XP 64-bit Edition | 9.1 TS1M3 SP4 | 9.3 TS1M0 |
Microsoft Windows 2000 Advanced Server | 9.1 TS1M3 SP4 | |
Microsoft Windows 2000 Datacenter Server | 9.1 TS1M3 SP4 | |
Microsoft Windows 2000 Server | 9.1 TS1M3 SP4 | |
Microsoft Windows 2000 Professional | 9.1 TS1M3 SP4 | |
Microsoft Windows NT Workstation | 9.1 TS1M3 SP4 | |
Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M3 SP4 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M3 SP4 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M3 SP4 | 9.3 TS1M0 |
Microsoft Windows XP Professional | 9.1 TS1M3 SP4 | 9.3 TS1M0 |
Windows Vista | 9.1 TS1M3 SP4 | 9.3 TS1M0 |
64-bit Enabled AIX | 9.1 TS1M3 SP4 | 9.3 TS1M0 |
64-bit Enabled HP-UX | 9.1 TS1M3 SP4 | 9.3 TS1M0 |
64-bit Enabled Solaris | 9.1 TS1M3 SP4 | 9.3 TS1M0 |
HP-UX IPF | 9.1 TS1M3 SP4 | 9.3 TS1M0 |
Linux | 9.1 TS1M3 SP4 | 9.3 TS1M0 |
Linux on Itanium | 9.1 TS1M3 SP4 | 9.3 TS1M0 |
OpenVMS Alpha | 9.1 TS1M3 SP4 | 9.3 TS1M0 |
Solaris for x64 | 9.1 TS1M3 SP4 | 9.3 TS1M0 |
Tru64 UNIX | 9.1 TS1M3 SP4 | 9.3 TS1M0 |
*
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.
The sample code shows how to set VJUST=T (TOP) for the row header AGE in PROC TABULATE.
proc template;
define style styles.test;
parent=styles.sasweb;
style topc from rowheader /
vjust=top
font_face=Arial
font_size=10pt
borderwidth=1px;
end;
run;
ods listing close;
ods tagsets.ExcelXP file="vjust_t.xml" style=styles.test;
proc tabulate data=sashelp.class;
class age name;
classlev age / style=topc;
var height;
table age*name, height*sum=' '*f=8.;
run;
ods tagsets.ExcelXP close;
ods listing;
Vertical justification is ignored by the ExcelXP tagset.
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2009-04-20 10:52:18 |
Date Created: | 2009-03-18 12:26:09 |