BackForward

ods path sashelp.tmplmst(read) sashelp.tmplmst(update); /*duotmpl.template*/
proc template;
   define style Styles.duostyle;
      style fonts
         "Fonts used in the default style" /
         'TitleFont2' = ("Arial Narrow, Helvetica, Helv",13pt,Bold Italic)
         'TitleFont' = ("Arial Narrow, Helvetica, Helv",14pt,Bold Italic)
         'StrongFont' = ("Arial Narrow, Helvetica, Helv",12pt,Bold)
         'EmphasisFont' = ("Arial Narrow, Helvetica, Helv",12pt,Italic)
         'FixedEmphasisFont' = ("Courier",8pt,Italic)
         'FixedStrongFont' = ("Courier",8pt,Bold)
         'FixedHeadingFont' = ("Courier",8pt)
         'BatchFixedFont' = ("Courier, Arial Narrow,SAS Monospace",8pt)
         'FixedFont' = ("Courier, Arial Narrow, ",8pt)
         'headingEmphasisFont' = ("Arial Narrow, Helvetica, Helv",12pt,Bold Italic)
         'headingFont' = ("Arial Narrow, Helvetica, Helv",12pt,Bold)
         'docFont' = ("Courier, Arial Narrow, Helvetica, Helv",8pt);
      style color_list
         "Colors used in the default style" /
         'fgB2' = cx0066AA
         'fgB1' = cx004488
         'fgA4' = cxAAFFAA
         'bgA4' = cxE0E0E0 /*cx880000*/
         'bgA3' = CXFFFFFF /*cxD3D3D3*/ /*Background outside the table*/
         'fgA2' = cx0033AA /*CX2A3440*/ /* Header Color*/
         'bgA2' = cxE0E0E0 /*cxB0B0B0*/ /*Background in the first row */
         'fgA1' = CX100F26 /*cx000000*/ /*Data color*/
         'fgA3' = cxB0B0B0 /*cxD3D3D3*/ /*Border Color*/
         'bgA1' = cxE0E0E0 /*cxF0F0F0*/ /*Background in the first column*/
         'fgA' = cx660099 /*CX100F26*/ /*cx002288*/ /*Title Text*/
         'bgA' = CXFFFFFF /*cxE0E0E0*/; /*Title background*/
      style colors
         "Abstract colors used in the default style" /
         'headerfgemph' = color_list('fgA2')
         'headerbgemph' = color_list('bgA2')
         'headerfgstrong' = color_list('fgA2')
         'headerbgstrong' = color_list('bgA2')
         'headerfg' = color_list('fgA2')
         'headerbg' = color_list('bgA2')
         'datafgemph' = color_list('fgA1')
         'databgemph' = color_list('bgA3')
         'datafgstrong' = color_list('fgA1')
         'databgstrong' = color_list('bgA3')
         'datafg' = color_list('fgA1')
         'databg' = color_list('bgA3')
         'batchfg' = color_list('fgA1')
         'batchbg' = color_list('bgA3')
         'tableborder' = color_list('fgA3')
         'tablebg' = color_list('fgA3')
         'notefg' = color_list('fgA')
         'notebg' = color_list('bgA')
         'bylinefg' = color_list('fgA2')
         'bylinebg' = color_list('bgA2')
         'captionfg' = color_list('fgA1')
         'captionbg' = color_list('bgA')
         'proctitlefg' = color_list('fgA')
         'proctitlebg' = color_list('bgA')
         'titlefg' = color_list('fgA')
         'titlebg' = color_list('bgA')
         'systitlefg' = color_list('fgA')
         'systitlebg' = color_list('bgA')
         'Conentryfg' = color_list('fgA')
         'Confolderfg' = color_list('fgA')
         'Contitlefg' = color_list('fgA')
         'link2' = color_list('fgB2')
         'link1' = color_list('fgB1')
         'contentfg' = color_list('fgA2')
         'contentbg' = color_list('bgA2')
         'docfg' = color_list('fgA')
         'docbg' = color_list('bgA');
      style html
         "Common HTML text used in the default style" /
         'expandAll' = ""
         'posthtml flyover line' = "
" 'prehtml flyover line' = "
" 'prehtml flyover bullet' = %nrstr("·") 'posthtml flyover' = "" 'prehtml flyover' = "" 'break' = "
" 'Line' = "
" 'PageBreakLine' = %nrstr("

 


" ) 'fake bullet' = %nrstr("·"); style text "Common text." / 'Fatal Banner' = "FATAL:" 'Error Banner' = "ERROR:" 'Warn Banner' = "WARNING:" 'Note Banner' = "NOTE:" 'Pages Title' = "Table of Pages" 'Content Title' = "Table of Contents" 'suffix1' = " Procedure" 'prefix1' = "The "; style StartUpFunction "Controls the StartUp Function. TAGATTR is only element used."; style ShutDownFunction "Controls the Shut-Down Function. TAGATTR is only element used."; style Container "Abstract. Controls all container oriented elements." / font = Fonts('DocFont') foreground = colors('docfg') background = colors('docbg'); style Index from Container "Abstract. Controls Contents and Pages." / foreground = colors('contentfg') background = colors('contentbg'); style Document from Container "Abstract. Controls the various document bodies." / htmldoctype = "" htmlcontenttype = "text/html" protectspecialchars = auto linkcolor = colors('link2') visitedlinkcolor = colors('link1'); style Body from Document "Controls the Body file." / rightmargin = 8 leftmargin = 8 pagebreakhtml = html('PageBreakLine'); style Frame from Document "Controls the Frame file." / contentposition = L bodyscrollbar = auto bodysize = * contentscrollbar = auto contentsize = 23% framespacing = 1 frameborderwidth = 3 frameborder = on; style Contents from Document "Controls the Contents file." / bullet = "decimal" tagattr = " onload=""if (msie4 == 1)expandAll()""" pagebreakhtml = html('break') foreground = colors('contentfg') background = colors('contentbg') rightmargin = 8 leftmargin = 8; style Pages from Document "Controls the Pages file." / bullet = "decimal" tagattr = " onload=""if (msie4 == 1)expandAll()""" pagebreakhtml = html('break') foreground = colors('contentfg') background = colors('contentbg') rightmargin = 8 leftmargin = 8; style Date from Container "Abstract. Controls how date fields look." / outputwidth = 100% background = colors('contentbg') foreground = colors('contentfg'); style BodyDate from Date "Controls the date field in the Body file." / cellspacing = 0 cellpadding = 0 background = colors('docbg') foreground = colors('docfg'); style ContentsDate from Date "Controls the date in the Contents file."; style PagesDate from Date "Controls the date in the Pages file."; style IndexItem from Container "Abstract. Controls list items and folders for Contents and Pages." / leftmargin = 6pt posthtml = html('posthtml flyover') prehtml = html('prehtml flyover bullet') listentryanchor = on bullet = NONE background = colors('contentbg') foreground = colors('conentryfg'); style ContentFolder from IndexItem "Controls the generic folder definition in the Contents file." / listentryanchor = off foreground = colors('confolderfg'); style ByContentFolder from ContentFolder "Controls the byline folder in the Contents file."; style ContentItem from IndexItem "Controls the leafnode item in the Contents file."; style PagesItem from IndexItem "Controls the leafnode item in the Pages file."; style IndexProcName from Index "Abstract. Controls the proc name in the list files." / listentryanchor = off bullet = "decimal" posthtml = html('posthtml flyover') prehtml = html('prehtml flyover') posttext = text('suffix1') pretext = text('prefix1') foreground = colors('contitlefg'); style ContentProcName from IndexProcName "Controls the proc name in the Contents file."; style ContentProcLabel from ContentProcName "Controls the proc label in the Contents file." / posttext = _undef_ pretext = _undef_; style PagesProcName from IndexProcName "Controls the proc name in the Pages file."; style PagesProcLabel from PagesProcName "Controls the proc label in the Pages file." / posttext = _undef_ pretext = _undef_; style IndexAction from Index "Abstract. Determines what happens on mouse-over events for folders and items."; style FolderAction from IndexAction "Determines what happens on mouse-over events for folders."; style IndexTitle from Index "Abstract. Controls the title of Contents and Pages files." / posthtml = html('posthtml flyover line') prehtml = html('expandAll') font = fonts('EmphasisFont') foreground = colors('contitlefg'); style ContentTitle from IndexTitle "Controls the title of the Contents file." / pretext = text('content title'); style PagesTitle from IndexTitle "Controls the title of the Pages file." / pretext = text('pages title'); style SysTitleAndFooterContainer from Container "Controls container for system page title and system page footer." / rules = NONE frame = VOID outputwidth = 100% cellpadding = 1 cellspacing = 1 borderwidth = 0; style TitleAndNoteContainer from Container "Controls container for procedure defined titles and notes." / rules = NONE frame = VOID outputwidth = 100% cellpadding = 1 cellspacing = 1 borderwidth = 0; style TitlesAndFooters from Container "Abstract. Controls system page title text and system page footer te xt." / font = Fonts('TitleFont2') background = colors('systitlebg') foreground = colors('systitlefg'); style BylineContainer from Container "Controls container for the byline." / background = colors('Docbg') rules = NONE frame = VOID outputwidth = 100% cellpadding = 1 cellspacing = 1 borderwidth = 0; style SystemTitle from TitlesAndFooters "Controls system title text." / font = Fonts('TitleFont'); style SystemFooter from TitlesAndFooters "Controls system footer text." / font = Fonts('TitleFont'); style PageNo from TitlesAndFooters "Controls page numbers for printer" / cellspacing = 0 cellpadding = 0 font = fonts('strongFont'); style ExtendedPage from TitlesAndFooters "Msg when page won't fit." / just = C cellpadding = 2pt borderwidth = 1pt fillrulewidth = 0.5pt posttext = ", which would not fit on a single physical page" pretext = "Continuing contents of page " frame = box font = fonts('EmphasisFont'); style Byline from TitlesAndFooters "Controls byline text." / cellspacing = 0 cellpadding = 0 font = fonts('headingFont') background = colors('bylinebg') foreground = colors('bylinefg'); style ProcTitle from TitlesAndFooters "Controls procedure title text." / background = colors('proctitlebg') foreground = colors('proctitlefg'); style ProcTitleFixed from ProcTitle "Controls procedure title text, fixed font." / font = fonts('FixedStrongFont'); style Output from Container "Abstract. Controls basic output forms." / background = colors('tablebg') rules = GROUPS frame = BOX cellpadding = 7 cellspacing = 1 bordercolor = colors('tableborder') borderwidth = 1; style Table from Output "Controls overall table style."; style Batch from Output "Controls batch mode output." / font = fonts('BatchFixedFont') foreground = colors('batchfg') background = colors('batchbg'); style Graph from Output "Controls rudimentary graph output." / cellpadding = 0 cellspacing = 0 background = colors('docbg'); style Note from Container "Abstract. Controls the container for note banners and note contents ." / background = colors('notebg') foreground = colors('notefg'); style NoteBanner from Note "Controls the banner for NOTE:s." / pretext = text('Note Banner'); style NoteContent from Note "Controls the contents for NOTE:s."; style UserText from Note "Controls the TEXT= style"; style NoteContentFixed from NoteContent "Controls the contents for NOTE:s. Fixed font." / font = fonts('FixedFont'); style WarnBanner from Note "Controls the banner for WARNING:s." / pretext = text('Warn Banner'); style WarnContent from Note "Controls the contents of WARNING:s."; style WarnContentFixed from WarnContent "Controls the contents for WARNING:s. Fixed font." / font = fonts('FixedFont'); style ErrorBanner from Note "Controls the banner for ERROR:s." / pretext = text('Error Banner'); style ErrorContent from Note "Controls the contents of ERROR:s."; style ErrorContentFixed from ErrorContent "Controls the contents for ERROR:s. Fixed font." / font = fonts('FixedFont'); style FatalBanner from Note "Controls the banner for FATAL:s." / pretext = text('Fatal Banner'); style FatalContent from Note "Controls the contents of FATAL:s."; style FatalContentFixed from FatalContent "Controls the contents for FATAL:s. Fixed font." / font = fonts('FixedFont'); style Cell from Container "Abstract. Controls general cells."; style Data from Cell "Default style for data cells in columns." / foreground = colors('datafg') background = colors('databg'); style DataFixed from Data "Default style for data cells in columns. Fixed font." / font = fonts('FixedFont'); style DataEmpty from Data "Controls empty data cells in columns."; style DataEmphasis from Data "Controls emphasized data cells in columns." / foreground = colors('datafgemph') background = colors('databgemph') font = fonts('EmphasisFont'); style DataEmphasisFixed from DataEmphasis "Controls emphasized data cells in columns. Fixed font." / font = fonts('FixedEmphasisFont'); style DataStrong from Data "Controls strong (more emphasized) data cells in columns." / foreground = colors('datafgstrong') background = colors('databgstrong') font = fonts('StrongFont'); style DataStrongFixed from DataStrong "Controls strong (more emphasized) data cells in columns. Fixed font ." / font = fonts('FixedStrongFont'); style HeadersAndFooters from Cell "Abstract. Controls table headers and footers." / font = fonts('HeadingFont') foreground = colors('headerfg') background = colors('headerbg'); style Caption from HeadersAndFooters "Abstract. Controls caption field in proc tabulate." / cellspacing = 0 cellpadding = 0 foreground = colors('captionfg') background = colors('captionbg'); style BeforeCaption from Caption "Caption that comes before a table."; style AfterCaption from Caption "Caption that comes after a table."; style Header from HeadersAndFooters "Controls the headers of a table."; style HeaderFixed from Header "Controls the header of a table. Fixed font." / font = fonts('FixedFont'); style HeaderEmpty from Header "Controls empty table header cells."; style HeaderEmphasis from Header "Controls emphasized table header cells." / foreground = colors('headerfgemph') background = colors('headerbgemph') font = fonts('EmphasisFont'); style HeaderEmphasisFixed from HeaderEmphasis "Controls emphasized table header cells. Fixed font." / font = fonts('FixedEmphasisFont'); style HeaderStrong from Header "Controls strong (more emphasized) table header cells." / foreground = colors('headerfgstrong') background = colors('headerbgstrong') font = fonts('StrongFont'); style HeaderStrongFixed from HeaderStrong "Controls strong (more emphasized) table header cells. Fixed font." / font = fonts('FixedStrongFont'); style RowHeader from Header "Controls row headers."; style RowHeaderFixed from RowHeader "Controls row headers. Fixed font." / font = fonts('FixedFont'); style RowHeaderEmpty from RowHeader "Controls empty row headers."; style RowHeaderEmphasis from RowHeader "Controls emphasized row headers." / font = fonts('EmphasisFont'); style RowHeaderEmphasisFixed from RowHeaderEmphasis "Controls emphasized row headers. Fixed font." / font = fonts('FixedEmphasisFont'); style RowHeaderStrong from RowHeader "Controls strong (more emphasized) row headers." / font = fonts('StrongFont'); style RowHeaderStrongFixed from RowHeaderStrong "Controls strong (more emphasized) row headers. Fixed font." / font = fonts('FixedStrongFont'); style Footer from HeadersAndFooters "Controls table footers."; style FooterFixed from Footer "Controls table footers. Fixed font." / font = fonts('FixedFont'); style FooterEmpty from Footer "Controls empty table footers."; style FooterEmphasis from Footer "Controls emphasized table footers." / font = fonts('EmphasisFont'); style FooterEmphasisFixed from FooterEmphasis "Controls emphasized table footers. Fixed font." / font = fonts('FixedEmphasisFont'); style FooterStrong from Footer "Controls strong (more emphasized) table footers." / font = fonts('StrongFont'); style FooterStrongFixed from FooterStrong "Controls strong (more emphasized) table footers. Fixed font." / font = fonts('FixedStrongFont'); style RowFooter from Footer "Controls a row footer (label)."; style RowFooterFixed from RowFooter "Controls a row footer (label). Fixed font." / font = fonts('FixedFont'); style RowFooterEmpty from RowFooter "Controls an empty row footer (label)."; style RowFooterEmphasis from RowFooter "Controls an emphasized row footer (label)." / font = fonts('EmphasisFont'); style RowFooterEmphasisFixed from RowFooterEmphasis "Controls an emphasized row footer (label). Fixed font." / font = fonts('FixedEmphasisFont'); style RowFooterStrong from RowFooter "Controls a strong (more emphasized) row footer (label)." / font = fonts('StrongFont'); style RowFooterStrongFixed from RowFooterStrong "Controls a strong (more emphasized) row footer (label). Fixed font. " / font = fonts('FixedStrongFont'); end; run;