Copyright 2007, Information Builders. Slide 1 The Most Requested Features and Techniques for Stylesheets Renee Teatro Information Builders.

Slides:



Advertisements
Similar presentations
Tables Feb. 14, Tables Great way to organize and display information Laid out in columns and rows Think of an excel spreadsheet Defined with tag.
Advertisements

Cascading Style Sheets (CSS). Cascading Style Sheets With the explosive growth of the World Wide Web, designers and programmers quickly explored and reached.
CSS Cascading Style Sheets. Objectives Using Inline Styles Working with Selectors Using Embedded Styles Using an External Style Sheet Applying a Style.
HTML Overview - Cascading Style Sheets (CSS). Before We Begin Make a copy of one of your HTML file you have previously created Make a copy of one of your.
Presenter: James Huang Date: Sept. 26,  Introduction  Basics  Lists  Links  Forms  CSS 2.
Making Things Look Nice: Visual Appearance and CSS CMPT 281.
It’s All About Style The Basics of Style Sheets Presented by Barry Diehl.
Cascading Style Sheets. CSS stands for Cascading Style Sheets and is a simple styling language which allows attaching style to HTML elements. CSS is a.
1 Pengantar Teknologi Internet W03: CSS Cascading Style Sheets.
Recognizing the Benefits of Using CSS 1. The Evolution of CSS CSS was developed to standardize display information CSS was slow to be supported by browsers.
กระบวนวิชา CSS. What is CSS? CSS stands for Cascading Style Sheets Styles define how to display HTML elements Styles were added to HTML 4.0 to.
Web Design with Cascading Style Sheet Lan Vu. Overview Introduction to CSS Designing CSS Using Visual Studio to create CSS Using template for web design.
Mickey Grackin IT Specialist National Institute of Standards and Technology WebFOCUS Report Design: PDF vs. HTML.
The University of North Carolina at Greensboro
Chapter 6 Web Typography
HCI 201 Week 6 Client Side Image Maps Introduction to CSS.
HTML and XHTML Controlling the Display Of Web Content.
4.01 Cascading Style Sheets
CM143 Week 4 Introducing CSS. Cascading Style Sheets A definition for the style in which an element of the webpage will be displayed Border width, colour,
FOCUS and WebFOCUS Output Formats: The More You Know
Web Design is a class created to nurture the minds of high school techies, and introduce those without prior knowledge to the field.
1 The Structure of a Web Table beginning of the table structure first row of three in the table end of the table structure table cells You do not need.
Cascading Style Sheet. What is CSS? CSS stands for Cascading Style Sheets. CSS are a series of instruction that specify how markup elements should appear.
Creating a Simple Page: HTML Overview
Chapter 11 Cascading Style Sheets: Part I The Web Warrior Guide to Web Design Technologies.
Cascading Style Sheets (CSS) 1.  What is CSS?  Why CSS?  How to write a CSS? 2.
1 Jason Miley Richard Young June, 2008 Using WebFOCUS to Consolidate Multiple Legacy Data Stores Copyright 2007, Information Builders. Slide 1.
Learning Web Design: Chapter 4. HTML  Hypertext Markup Language (HTML)  Uses tags to tell the browser the start and end of a certain kind of formatting.
 This presentation introduces the following: › 3 types of CSS › CSS syntax › CSS comments › CSS and color › The box model.
Tips n Techniques Jenny Lalik. Report Styling Enhancements for 7.7  Accordion By Row  Excel 2007 Output Format  Hide Null Across Columns  Pass dates.
CSS CSS is short for C ascading S tyle S heets. It is a new web page layout method that has been added to HTML to give web developers more control over.
CSS Basic (cascading style sheets)
Cascading Style Sheets. What is CSS? Short for Cascading Style Sheets, a new feature being added to HTML that gives more control over how pages are displayed.
Essentials of HTML Class 4 Instructor: Jeanne Hart
XP 2 HTML Tutorial 1: Developing a Basic Web Page.
HTML: Hyptertext Markup Language Doman’s Sections.
Tips n Techniques Jenny Lalik. Report Styling Enhancements for 7.7  Accordion By Row  Excel 2007 Output Format  Hide Null Across Columns  Pass dates.
Introduction HTML (Hypertext Markup Language) is used to create document on the World Wide Web. HTML is not a programming language, it is a markup language.
INTRODUCTION TO CSS. TOPICS TO BE DISCUSSED……….  Introduction Introduction  Features of CSS Features of CSS  Creating Style Sheet Creating Style Sheet.
Copyright 2007, Information Builders. Slide 1 FOCUS Internals: Part 2 Update for 7.6.x Renee Teatro FUN Conference August 2008 Internals of Output Processing.
HTML GUIDE Press F5 and then Click on the links on the left to get to the section you want Section 1: Getting Started Section 2: Moving Banner Section.
Cascading Style Sheets CSS. Source W3Schools
DYNAMIC HTML What is Dynamic HTML: HTML code that allow you to change/ specify the style of your web pages. Example: specify style sheet, object model.
Cascading Style Sheets
CSS Cascading Style Sheets A very brief introduction CSS, Cascading Style Sheets1.
Style Sheets. Coding Style Sheets  Style sheets use RULES to create the style  A selector (a tag or user-defined style name)  and then declarations.
Copyright 2007, Information Builders. Slide 1 TABLE FILE: The Basics Noreen Redden FOCWizard June, 2008.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
XP 2 HTML Tutorial 1: Developing a Basic Web Page.
XP 1 HTML Tutorial 1: Developing a Basic Web Page.
OV Copyright © 2008 Element K Content LLC. All rights reserved. Working with Web Pages  An Introduction to Cascading Style Sheets  Format a Web.
NASRULLAHIBA.  It is time to take your web designing skills to the next level with Cascading Style Sheets (CSS). They are a way to control the look and.
Rendering XML Documents ©NIITeXtensible Markup Language/Lesson 5/Slide 1 of 46 Objectives In this session, you will learn to: * Define rendering * Identify.
Chapter 1: Intro to HTML Section 1: HTML Structure Presentation Section 2: Layout of an HTML File Section 3: Working with Lists & Tables Section 4: HTML.
1 Cascading Style Sheet (CSS). 2 Cascading Style Sheets (CSS)  a style defines the appearance of a document element. o E.g., font size, font color etc…
Style Sheets.
4.01 Cascading Style Sheets
>> Introduction to CSS
IS 360 Declaring CSS Styles
Cascading Style Sheets (CSS)
Cascading Style Sheets - Building a stylesheet
Cascading Style Sheets™ (CSS)
Tutorial 3 Working with Cascading Style Sheets
Exercise 9 Skills You create and use styles to create formatting rules that can easily by applied to other pages in the Web site. You can create internal.
Session 3: Basic CSS Spring 2009
Cascading Style Sheets - Building a stylesheet
Lesson 3: Cascading Style Sheets (CSS) and Graphical Elements
4.01 Cascading Style Sheets
Presentation transcript:

Copyright 2007, Information Builders. Slide 1 The Most Requested Features and Techniques for Stylesheets Renee Teatro Information Builders

Copyright 2007, Information Builders. Slide 2 The Stylesheet Facility – Features and Techniques LINEBREAK Attribute: TYPE=REPORT,LINEBREAK='type',$  WebFOCUS Release  Respect CARRIAGE RETURNs (CR) and LINE FEEDs (LF)  ALPHANUMERIC fields – both An and AnV formats  REPORT is the type of report component. TYPE must be REPORT; otherwise an error will result.  'type‘ specifies that line breaks will be inserted in a report based on the following:  LF  Inserts a line break after each line-feed character found in all An and AnV fields.  CR  Inserts a line break after each carriage-return character found in all An and AnV fields.  LFCR  Inserts a line break after each combination of a line-feed character followed by a carriage-return character found in all An and AnV fields.  CRLF  Inserts a line break after each combination of a carriage-return character followed by a line-feed character found in all An and AnV fields.  If An/AnV fields are included in HEADINGs (SUBHEADs, SUBFOOTs), WRAP=n attribute must be included in the Stylesheet syntax for these fields to make the LINEBREAK attribute effective.

Copyright 2007, Information Builders. Slide 3 The Stylesheet Facility – Features and Techniques LINEBREAK Attribute: TYPE=REPORT,LINEBREAK='type',$ DEFINE FILE CAR CR/A1 = HEXBYT(13, 'A1'); LF/A1 = HEXBYT(10, 'A1'); CRLF/A2 = CR || LF; ABC1/A5 = EDIT (COUNTRY, '99999'); ABC2/A10 = EDIT (COUNTRY, '$$$$$ '); ABC3/A30 = ABC1 || CRLF || ABC2; ABC4/A30V = ABC1 || CRLF || ABC2; END TABLE FILE CAR PRINT ABC3 ABC4 ON TABLE PCHOLD FORMAT PDF ON TABLE SET STYLE * TYPE=REPORT,LINEBREAK='CRLF',$ ENDSTYLE END Works for PDF and EXL2K What about HTML?

Copyright 2007, Information Builders. Slide 4 The Stylesheet Facility – Features and Techniques LINEBREAK Attribute: TYPE=REPORT,LINEBREAK='type',$ … PAGE 1 ABC3 ABC4 ENGLA ND ENGLA ND JAPAN JAPAN ITALY ITALY W GER MANY …

Copyright 2007, Information Builders. Slide 5 The Stylesheet Facility – Features and Techniques LINEBREAK Attribute: TYPE=REPORT,LINEBREAK='type',$ DEFINE FILE CAR CR/A1 = HEXBYT(13, 'A1'); LF/A1 = HEXBYT(10, 'A1'); CRLF/A2 = CR || LF; ABC1/A5 = EDIT (COUNTRY, '99999'); ABC2/A10 = EDIT (COUNTRY, '$$$$$ '); ABC3/A30 = ABC1 || CRLF || ABC2; ABC3A/A32=STRREP(32,ABC3,2,CRLF,4,' ',32,'A32'); ABC4/A30V = ABC1 || CRLF || ABC2; ABC4A/A32V=STRREP(32,ABC4,2,CRLF,4,' ',32,'A32V'); END TABLE FILE CAR PRINT ABC3A ABC4A ON TABLE PCHOLD FORMAT HTML END Use Global Replacement of CRLF with or Use tag at beginning and at end of field

Copyright 2007, Information Builders. Slide 6 The Stylesheet Facility – Features and Techniques Conditional Styling – WHEN Attribute TABLE FILE CAR PRINT COUNTRY CAR SEATS ON TABLE SET STYLE * DEFMACRO=COND1,STYLE=BOLD,COLOR=BLUE, WHEN=SEATS LT 4,$ DEFMACRO=COND2,COLOR=RED,WHEN=SEATS EQ 5,$ TYPE=DATA,MACRO=COND1,COLUMN=SEATS,$ TYPE=DATA,MACRO=COND2,COLUMN=SEATS,STYLE=ITALIC,$ ENDSTYLE END

Copyright 2007, Information Builders. Slide 7 The Stylesheet Facility – Features and Techniques Sequential Conditional Styling – WHEN Attribute TABLE FILE CAR " SALES REVENUE " SUM COUNTRY CAR BY HIGHEST SALES ON TABLE SET STYLE * TYPE=DATA,BACKCOLOR=AQUA,STYLE=BOLD, WHEN=SALES GT 25000,$ TYPE=DATA,BACKCOLOR=GREEN,STYLE=BOLD, WHEN=SALES GT 10000,$ TYPE=DATA,BACKCOLOR=PINK,STYLE=BOLD, WHEN=SALES GT 1,$ TYPE=DATA,BACKCOLOR=RED,STYLE=BOLD,$ END

Copyright 2007, Information Builders. Slide 8 The Stylesheet Facility – Features and Techniques Alternate Row Colors – BACKCOLOR Attribute TABLE FILE CAR PRINT CAR MODEL SEATS BY COUNTRY WHERE COUNTRY EQ 'ENGLAND' OR 'ITALY' ON TABLE SET STYLE * TYPE=DATA, BACKCOLOR=('AQUA' 'WHITE'),$ ENDSTYLE END

Copyright 2007, Information Builders. Slide 9 The Stylesheet Facility – Features and Techniques Alternate Row Colors – BACKCOLOR Attribute TABLE FILE CAR PRINT RCOST DCOST SEATS BY COUNTRY BY CAR BY MODEL ON TABLE SET STYLE * TYPE=DATA, BACKCOLOR=(BY=COUNTRY 'AQUA' 'WHITE' 'RED'),$ ENDSTYLE END

Copyright 2007, Information Builders. Slide 10 The Stylesheet Facility – Features and Techniques SKIPLINE Attribute – PDF Format TABLE FILE CAR PRINT DEALER_COST RETAIL_COST BY COUNTRY SKIP-LINE BY CAR BY MODEL ON TABLE PCHOLD FORMAT PDF ON TABLE SET STYLE * TYPE=SKIPLINE,BACKCOLOR=RED,$ ENDSTYLE END Designed for styling only – Not to generate line Works for PDF What about EXL2K and HTML?

Copyright 2007, Information Builders. Slide 11 The Stylesheet Facility – Features and Techniques SKIPLINE Attribute – Generate effect for EXL2K / HTML TABLE FILE CAR PRINT DEALER_COST RETAIL_COST BY COUNTRY SUBFOOT " BY CAR BY MODEL ON TABLE PCHOLD FORMAT EXL2K ON TABLE SET STYLE * TYPE=SUBFOOT,BACKCOLOR=RED,$ ENDSTYLE END Use ON sortfield SUBFOOT syntax to generate line Use TYPE=SUBFOOT for styling Works for both EXL2K and HTML

Copyright 2007, Information Builders. Slide 12 The Stylesheet Facility – Features and Techniques TITLETEXT Attribute: TYPE=REPORT,TITLETEXT=txt,$ TABLE FILE CAR SUM RCOST DCOST BY COUNTRY BY CAR BY MODEL ON TABLE PCHOLD FORMAT EXL2K ON TABLE SET STYLE * TYPE=REPORT,FONT=COURIER NEW, TITLETEXT='Car Sales Report',$ ENDSTYLE END What happens with HTML? Excel limits the length of worksheet titles to 31 characters. The following special characters cannot be used: ':', '?', '*', and '/'.

Copyright 2007, Information Builders. Slide 13 The Stylesheet Facility – Features and Techniques TITLETEXT Attribute: TYPE=REPORT,TITLETEXT=txt,$ TABLE FILE CAR SUM RCOST DCOST BY COUNTRY BY CAR BY MODEL ON TABLE PCHOLD FORMAT HTML ON TABLE SET STYLE * TYPE=REPORT,FONT=COURIER NEW, TITLETEXT='Car Sales Report',$ ENDSTYLE END Using HTML allows the Browser Title to be customized Feature not applicable to PDF

Copyright 2007, Information Builders. Slide 14 The Stylesheet Facility – Features and Techniques - (Dash) Option – Remove one attribute while retaining another TABLE FILE CAR PRINT 'CAR.ORIGIN.COUNTRY' 'CAR.COMP.CAR' 'CAR.CARREC.MODEL' ON TABLE SET PAGE-NUM OFF ON TABLE NOTOTAL ON TABLE PCHOLD FORMAT HTML ON TABLE SET HTMLCSS ON ON TABLE SET STYLE * TYPE=REPORT, GRID=OFF, $ TYPE=TITLE, STYLE=BOLD, $ TYPE=TITLE, STYLE=-UNDERLINE, WHEN=1 EQ 1, $ ENDSTYLE END

Copyright 2007, Information Builders. Slide 15 The Stylesheet Facility – Features and Techniques Conditional Display of SUBHEADs and SUBFOOTs TABLE FILE CAR SUM SALES BY COUNTRY ON COUNTRY SUBHEAD "This is my Subhead Text" WHEN SALES GT ON COUNTRY PAGE-BREAK ON TABLE SET STYLE * TYPE=SUBHEAD,BACKCOLOR=YELLOW,STYLE=BOLD,$ ENDSTYLE END

Copyright 2007, Information Builders. Slide 16 The Stylesheet Facility – Features and Techniques Conditional Display of HEADINGs and FOOTINGs TABLE FILE CAR SUM SALES BY COUNTRY ON COUNTRY PAGE-BREAK FOOTING " Here is my Page Footing text -> Need More Sales" ON TABLE SET STYLE * TYPE=FOOTING,COLOR=WHITE, WHEN=SALES GT 30000,$ ENDSTYLE END

Copyright 2007, Information Builders. Slide 17 The Stylesheet Facility – Features and Techniques Conditional Style of COLUMN-TOTAL value TABLE FILE CAR SUM RCOST DCOST BY COUNTRY BY CAR ON TABLE COLUMN-TOTAL ON TABLE ROW-TOTAL ON TABLE SET ONLINE-FMT HTML ON TABLE SET STYLE * TYPE=TITLE,COLUMN=ROWTOTAL,BACKCOLOR=YELLOW,$ TYPE=DATA,COLUMN=ROWTOTAL,BACKCOLOR=WHITE,COLOR=BLUE,$ TYPE=GRANDTOTAL,COLOR=GREEN,STYLE=ITALIC,$ TYPE=GRANDTOTAL,COLUMN=DCOST,COLOR=PINK,STYLE=-ITALIC,FONT=COURIER,$ TYPE=GRANDTOTAL,COLUMN=RCOST,COLOR=RED,STYLE=BOLD, WHEN=RCOST GT ,$ ENDSTYLE END

Copyright 2007, Information Builders. Slide 18 The Stylesheet Facility – Features and Techniques Styling ROW-TOTAL TITLE when using ACROSS TABLE FILE CAR SUM DEALER_COST AS 'DC‘ RETAIL_COST AS 'RC' BY CAR ACROSS SEATS ON TABLE SET PAGE-NUM OFF ON TABLE ROW-TOTAL AS 'RTOTAL' ON TABLE COLUMN-TOTAL AS 'CTOTAL' ON TABLE SET ONLINE-FMT HTML ON TABLE SET HTMLCSS ON ON TABLE SET STYLE * TYPE=REPORT, GRID=OFF, FONT='ARIAL', SIZE=9, COLOR='BLACK', BACKCOLOR='NONE', STYLE=NORMAL, RIGHTGAP= , TOPGAP= , BOTTOMGAP= , $ TYPE=TABHEADING, SIZE=12, STYLE=BOLD, $ TYPE=HEADING, SIZE=12, STYLE=BOLD, $ TYPE=SUBHEAD, SIZE=10, STYLE=BOLD, $ TYPE=SUBTOTAL, BACKCOLOR=RGB( ), $ TYPE=ACROSSVALUE, COLUMN=ROWTOTAL, COLOR='RED', BACKCOLOR=RGB( ), TOPGAP= , BOTTOMGAP= , $ TYPE=GRANDTOTAL, BACKCOLOR=RGB( ), STYLE=BOLD, $ ENDSTYLE END

Copyright 2007, Information Builders. Slide 19 The Stylesheet Facility – Features and Techniques Vertical Line Between Columns TABLE FILE CAR PRINT COUNTRY CAR MODEL WHERE COUNTRY EQ 'JAPAN' OR 'FRANCE' ON TABLE SET STYLE * TYPE=DATA, COLUMN=N1, BORDER-LEFT=OFF,$ TYPE=DATA, COLUMN=N2, BORDER-LEFT=ON,$ TYPE=DATA, COLUMN=N3, BORDER-LEFT=ON,$ ENDSTYLE ON TABLE PCHOLD FORMAT PDF END

Copyright 2007, Information Builders. Slide 20 The Stylesheet Facility – Features and Techniques IMAGE and TEXT on Same Line in HEADING for PDF TABLE FILE CAR HEADING " Car Report </2" SUM RCOST DCOST BY COUNTRY ON TABLE SET ONLINE-FMT PDF ON TABLE SET STYLE * TYPE=HEADING, IMAGE=C:\ibi\WebFOCUS71\ibi_html\ib_logo.gif, SIZE=(.8.3),$ TYPE=HEADING,LINE=1,ITEM=2,OBJECT=TEXT, JUSTIFY=RIGHT,$ ENDSTYLE END

Copyright 2007, Information Builders. Slide 21 The Stylesheet Facility – Features and Techniques Vertical Text Technique – Using PDF DEFINE FILE CAR HCNTR/I2 WITH CAR=IF HCNTR LT 5 THEN HCNTR + 1 ELSE 1; VCNTR/I2 WITH CAR=IF HCNTR EQ 1 THEN VCNTR + 1 ELSE VCNTR; BLANK/A1 WITH CAR=' '; END TABLE FILE CAR SUM BLANK AS '' COUNTRY AS '' MODEL AS '' CAR AS '' BY VCNTR NOPRINT ACROSS HCNTR NOPRINT ON TABLE NOTOTAL ON TABLE SET PAGE-NUM OFF ON TABLE PCHOLD FORMAT PDF ON TABLE SET STYLE * UNITS=IN,PAGESIZE='LETTER', LEFTMARGIN= ,RIGHTMARGIN= , TOPMARGIN= ,BOTTOMMARGIN= ,SQUEEZE=ON, ORIENTATION=PORTRAIT,$ TYPE=REPORT,FONT='TIMES NEW ROMAN',SIZE=10,COLOR='BLACK', BACKCOLOR=NONE, STYLE=NORMAL,$ TYPE=DATA,ACROSSCOLUMN=N2, SIZE=9,$ TYPE=TITLE,ACROSSCOLUMN=N2,SIZE=9,$ TYPE=REPORT,ACROSSCOLUMN=N2, WRAP= ,$ TYPE=DATA,ACROSSCOLUMN=N3, SIZE=9,$ TYPE=TITLE,ACROSSCOLUMN=N3,SIZE=9,$ TYPE=REPORT,ACROSSCOLUMN=N3, WRAP= ,$ TYPE=DATA,ACROSSCOLUMN=N4, SIZE=9,$ TYPE=TITLE,ACROSSCOLUMN=N4,SIZE=9,$ TYPE=REPORT,ACROSSCOLUMN=N4, WRAP= ,$ TYPE=ACROSSVALUE,JUSTIFY=RIGHT,$ ENDSTYLE END

Copyright 2007, Information Builders. Slide 22 The Stylesheet Facility – Features and Techniques Vertical Text Technique – Using PDF – Simplified Example TABLE FILE CAR SUM RCOST AS '' DCOST AS '' BY COUNTRY AS '' ON TABLE NOTOTAL ON TABLE SET PAGE-NUM OFF ON TABLE PCHOLD FORMAT PDF ON TABLE SET STYLE * UNITS=IN,PAGESIZE='LETTER', LEFTMARGIN= , RIGHTMARGIN= , TOPMARGIN= , BOTTOMMARGIN= , SQUEEZE=ON, ORIENTATION=PORTRAIT,$ TYPE=REPORT,FONT='TIMES NEW ROMAN', SIZE=10,COLOR='BLACK', BACKCOLOR=NONE,STYLE=NORMAL,$ TYPE=REPORT,COLUMN=COUNTRY,WRAP= , STYLE=BOLD,$ ENDSTYLE END What about HTML and EXL2K?

Copyright 2007, Information Builders. Slide 23 The Stylesheet Facility – Features and Techniques Vertical Text Technique – Using HTML TABLE FILE CAR PRINT CAR BY COUNTRY BY MODEL ON TABLE SET STYLE * TYPE=REPORT,CSSURL=vtext.css,$ TYPE=TITLE,CLASS=VTEXT,$ TYPE=DATA,CLASS=DCOLOR,$ ENDSTYLE END vtext.css:.DCOLOR {color:red; border:none}.VTEXT{ writing-mode: tb-rl; filter: flipV flipH; font: bold 13px Arial; } For EXL2K – Use EXCEL Template Feature Orientation option in EXCEL

Copyright 2007, Information Builders. Slide 24 The Stylesheet Facility – Features and Techniques Cascading Stylesheets  A simple language to add styling to HTML documents  A W3C standard (World Wide Web consortium)  Separates  Structural content of a document (HTML) from styling instruction (CSS)  CSS consists of one or more rules – Statements  Statement  Selector – tells the browser which elements to style  Declaration – tells the browser how to apply them

Copyright 2007, Information Builders. Slide 25 The Stylesheet Facility – Features and Techniques Cascading Stylesheets Benefits  Increased formatting options  Styling elements outside the scope of the WebFOCUS Stylesheet facility  Reduced transmission bandwidth  Create concise HTML output, reducing overhead to the browser  Reduced Coding  Ease of maintenance using a centralized CSS library  Adherence to standards  Same look and feel for all Web documents

Copyright 2007, Information Builders. Slide 26 The Stylesheet Facility – Features and Techniques Cascading Stylesheets Types of Cascading Style Sheets  Internal  Styling instructions are stored internally in the of the HTML document  Browser interprets these instructions  External  Separate files accessible to the browser  Inline  Stored within the tag of an HTML element, or within the of the document  Combine both content and style  Not recommended – but supported  Used when certain elements should not be overridden

Copyright 2007, Information Builders. Slide 27 The Stylesheet Facility – Features and Techniques Cascading Stylesheets Using CSS  Internal SET HTMLCSS = ON/OFF ON TABLE SET HTMLCSS = ON/OFF  External CSSURL=location/address TYPE=REPORT,CSSURL=vtext.css,$ $ Located in MRE Other Files TYPE=REPORT, CSSURL=\\ssg\ServerPaths\apps\Renee\vtext.css,$ $ Located in Application Directory for Adhoc reporting

Copyright 2007, Information Builders. Slide 28 The Stylesheet Facility – Features and Techniques Labels Technique PAGEMATRIX=(c r) Sets the number of columns and rows of labels on a page. ELEMENT=(w h) Sets the width and height of each label, expressed in the unit of measurement on the UNITS attribute. GUTTER=(h v) Sets the horizontal and vertical distance between each label, expressed in the unit of measurement on the UNITS attribute. MATRIXORDER={VERTICAL | HORIZONTAL} Sets the order in which the labels are printed. LABELPROMPT={OFF | ON } Sets the position of the first label on the mailing label sheet.

Copyright 2007, Information Builders. Slide 29 The Stylesheet Facility – Features and Techniques Labels Technique TABLE FILE CAR PRINT CAR AS '' BY CAR NOPRINT ON TABLE SET PAGE-NUM NOPAGE ON TABLE PCHOLD FORMAT PDF ON TABLE SET STYLE * UNITS=IN, PAGESIZE=LETTER, LEFTMARGIN=0.25, TOPMARGIN=0.5, PAGEMATRIX=(2 5), ELEMENT=( ) GUTTER=( ), $ ENDSTYLE END

Copyright 2007, Information Builders. Slide 30 The Stylesheet Facility – Features and Techniques Labels Technique TABLE FILE CAR PRINT CAR AS '' BY CAR NOPRINT ON TABLE SET PAGE-NUM NOPAGE ON TABLE PCHOLD FORMAT PDF ON TABLE SET STYLE * UNITS=IN, PAGESIZE=LETTER, LEFTMARGIN=0.25, TOPMARGIN=0.5, PAGEMATRIX=(3 4), ELEMENT=( ) GUTTER=( ), $ ENDSTYLE END

Copyright 2007, Information Builders. Slide 31 The Stylesheet Facility – Features and Techniques Labels Technique SET ONLINE-FMT = PDF TABLE FILE EMPLOYEE BY LAST_NAME NOPRINT BY FIRST_NAME NOPRINT ON FIRST_NAME PAGE-BREAK HEADING "<FIRST_NAME <LAST_NAME" "<ADDRESS_LN1" "<ADDRESS_LN2" "<ADDRESS_LN3" ON TABLE SET PAGE-NUM NOPAGE ON TABLE SET STYLE * UNITS=IN, PAGESIZE=LETTER, LEFTMARGIN=0.256, TOPMARGIN=0.5, PAGEMATRIX=(2 5), ELEMENT=(4 1), GUTTER=( ), $ ENDSTYLE END

Copyright 2007, Information Builders. Slide Copyright © 2004 Information Builders, Inc.