Chapter 6: Styles – How to Change a Report’s Appearance · 2017. 8. 14. · Chapter 6: Styles...

16
Chapter 6: Styles – How to Change a Report’s Appearance Figure 6.1: Various Border Looks in ODS PDF Created by Changing the RULES= Attribute

Transcript of Chapter 6: Styles – How to Change a Report’s Appearance · 2017. 8. 14. · Chapter 6: Styles...

Page 1: Chapter 6: Styles – How to Change a Report’s Appearance · 2017. 8. 14. · Chapter 6: Styles – How to Change a Report’s Appearance 189. Output 6.9: Rows with a Quantity Less

Chapter 6: Styles – How to Change a Report’s Appearance

Figure 6.1: Various Border Looks in ODS PDF Created by Changing the RULES= Attribute

Page 2: Chapter 6: Styles – How to Change a Report’s Appearance · 2017. 8. 14. · Chapter 6: Styles – How to Change a Report’s Appearance 189. Output 6.9: Rows with a Quantity Less

186 The SAS Programmer’s PROC REPORT Handbook: Basic to Advanced Reporting Techniques

Output 6.1: A Border is Placed under the Headers and between the Columns

Output 6.2: A Border Is Drawn to Distinguish the Last Column

Output 6.3: A Border is Inserted between Values of Product Line

Page 3: Chapter 6: Styles – How to Change a Report’s Appearance · 2017. 8. 14. · Chapter 6: Styles – How to Change a Report’s Appearance 189. Output 6.9: Rows with a Quantity Less

Chapter 6: Styles – How to Change a Report’s Appearance 187

Output 6.4: A Border Is Drawn under the ACROSS Variable Values

Output 6.5: A Border is Drawn Under a Spanning Header

Page 4: Chapter 6: Styles – How to Change a Report’s Appearance · 2017. 8. 14. · Chapter 6: Styles – How to Change a Report’s Appearance 189. Output 6.9: Rows with a Quantity Less

188 The SAS Programmer’s PROC REPORT Handbook: Basic to Advanced Reporting Techniques

Output 6.6: Borders Separate the Header into Sections

Output 6.7: Background Color of Retail Price Varies Based on What Value Range It Falls Into

Output 6.8: Background Color Changes for Each Cell Based on Country

Page 5: Chapter 6: Styles – How to Change a Report’s Appearance · 2017. 8. 14. · Chapter 6: Styles – How to Change a Report’s Appearance 189. Output 6.9: Rows with a Quantity Less

Chapter 6: Styles – How to Change a Report’s Appearance 189

Output 6.9: Rows with a Quantity Less Than 50 Are Red and Italic

Output 6.10: Customer Group with Gold in the Name Are Highlighted

Output 6.11: Color on the Diagonal

Page 6: Chapter 6: Styles – How to Change a Report’s Appearance · 2017. 8. 14. · Chapter 6: Styles – How to Change a Report’s Appearance 189. Output 6.9: Rows with a Quantity Less

190 The SAS Programmer’s PROC REPORT Handbook: Basic to Advanced Reporting Techniques

Output 6.12: Background Color Is Changed for Columns under an ACROSS

Output 6.13: Background Color Is Changed Based on Customer Country

Output 6.14: Attributes for Retail Price Based on Quantity Ordered

Output 6.15: Cells Highlighted on the Diagonal under an ACROSS Variable

Output 6.16: All Header Cells Have a Background of Green and Foreground of White

Page 7: Chapter 6: Styles – How to Change a Report’s Appearance · 2017. 8. 14. · Chapter 6: Styles – How to Change a Report’s Appearance 189. Output 6.9: Rows with a Quantity Less

Chapter 6: Styles – How to Change a Report’s Appearance 191

Output 6.17: The Gender Header Background Color Is Changed

Output 6.18: The Spanning Header Has a Green Background and White Foreground

Output 6.19: The Label and Values for Gender Have a Yellow Background

Output 6.20: Each Gender Value Has a Different Background Color

Output 6.21: A Spanning Header Provides the ACROSS Label and Background Color

Page 8: Chapter 6: Styles – How to Change a Report’s Appearance · 2017. 8. 14. · Chapter 6: Styles – How to Change a Report’s Appearance 189. Output 6.9: Rows with a Quantity Less

192 The SAS Programmer’s PROC REPORT Handbook: Basic to Advanced Reporting Techniques

Output 6.22: The Row from the LINE Statement Has a Blue Background

Page 9: Chapter 6: Styles – How to Change a Report’s Appearance · 2017. 8. 14. · Chapter 6: Styles – How to Change a Report’s Appearance 189. Output 6.9: Rows with a Quantity Less

Chapter 6: Styles – How to Change a Report’s Appearance 193

Output 6.23: Each LINE Statement Has Its Own Attributes

Page 10: Chapter 6: Styles – How to Change a Report’s Appearance · 2017. 8. 14. · Chapter 6: Styles – How to Change a Report’s Appearance 189. Output 6.9: Rows with a Quantity Less

194 The SAS Programmer’s PROC REPORT Handbook: Basic to Advanced Reporting Techniques

Output 6.24: Multiple Attribute Changes Are Applied to Every Cell – Partial Listing

Page 11: Chapter 6: Styles – How to Change a Report’s Appearance · 2017. 8. 14. · Chapter 6: Styles – How to Change a Report’s Appearance 189. Output 6.9: Rows with a Quantity Less

Chapter 6: Styles – How to Change a Report’s Appearance 195

Output 6.25: Every Other Row Has a Light Gray Background

Output 6.26: HTML Output Inserted Unwanted Borders Between Rows

Page 12: Chapter 6: Styles – How to Change a Report’s Appearance · 2017. 8. 14. · Chapter 6: Styles – How to Change a Report’s Appearance 189. Output 6.9: Rows with a Quantity Less

196 The SAS Programmer’s PROC REPORT Handbook: Basic to Advanced Reporting Techniques

Output 6.27: Remove Border Lines between Groups in HTML Output

Output 6.28: Values For the Last Column Are Generated By a Formula

Output 6.29: PREIMAGE= Places the Logo Above the Table

Page 13: Chapter 6: Styles – How to Change a Report’s Appearance · 2017. 8. 14. · Chapter 6: Styles – How to Change a Report’s Appearance 189. Output 6.9: Rows with a Quantity Less

Chapter 6: Styles – How to Change a Report’s Appearance 197

Output 6.30: POSTIMAGE= Places the Logo Below the Table

Output 6.31: The N Column Contains a Value and an Image

Output 6.32: A COMPUTED Columns Contains an Image

Page 14: Chapter 6: Styles – How to Change a Report’s Appearance · 2017. 8. 14. · Chapter 6: Styles – How to Change a Report’s Appearance 189. Output 6.9: Rows with a Quantity Less

198 The SAS Programmer’s PROC REPORT Handbook: Basic to Advanced Reporting Techniques

Output 6.33: A Separate Image Is Displayed for Each ORDER_TYPE Value

Output 6.34: Each ORDER_TYPE Value Has a Unique Background Image

Page 15: Chapter 6: Styles – How to Change a Report’s Appearance · 2017. 8. 14. · Chapter 6: Styles – How to Change a Report’s Appearance 189. Output 6.9: Rows with a Quantity Less

Chapter 6: Styles – How to Change a Report’s Appearance 199

Output 6.35: PDF Designates the Flyover for the Hyperlinked Cell with a Note Icon

Output 6.36: Each N Cell Has a Hyperlink and a Flyover Note Icon

Output 6.37: Each Customer Type Value Links to a Different File

Page 16: Chapter 6: Styles – How to Change a Report’s Appearance · 2017. 8. 14. · Chapter 6: Styles – How to Change a Report’s Appearance 189. Output 6.9: Rows with a Quantity Less

200 The SAS Programmer’s PROC REPORT Handbook: Basic to Advanced Reporting Techniques

Output 6.38: HTML Indicates Each Cell Is a Hyperlink

Output 6.39: TEXTDECORATION= Helps Distinguish Links in PDF Cells