Home     |     .Net Programming    |     cSharp Home    |     Sql Server Home    |     Javascript / Client Side Development     |     Ajax Programming

Ruby on Rails Development     |     Perl Programming     |     C Programming Language     |     C++ Programming     |     IT Jobs

Python Programming Language     |     Laptop Suggestions?    |     TCL Scripting     |     Fortran Programming     |     Scheme Programming Language


 
 
Cervo Technologies
The Right Source to Outsource

MS Dynamics CRM 3.0

Fortran Programming Language

Writing RTF files.


There have been sporaduic mentions of writing RTF files and HTML as
methods of excellent control over report writing. I noticed a comment
on RTF as needing far too much header preparation work to be really
useful,

The following is what I find is about the useful minimum header
information shown ad literals for writing strings.

      DATA CCA/'{\rtf1\ansi \deff1\deflang1033{\fonttbl'/
C I use Courier, but put font style here as next line
      DATA CCB/'{\f1\fmodern\fcharset0\fprq1 Courier
New;}}'/
      DATA CCD/'{\stylesheet{\f1\fs20 \snext0 Normal;}'/
      DATA CCE/'{\*\cs10 \additive Default Paragraph Font;}}'/
      DATA CCF/'{\info{\title (actual title) }}'/
C chooses either LETTER size
      DATA CLP/'\paperw12242\paperh15842\paperw15842\paperh12242'/
C or A4 size
paper
      DATA C4P/'\paperw11907\paperh16840\paperw16840\paperh11907'/
C then
      DATA
CCM/'\margl1134\margr0851\margt0851\margb0851\lndscpsxn'/
      DATA CCN/'\deftab708\widowctrl
\hyphcaps0\fet0\sectd'/
      DATA CCQ/'\endnhere\pard\plain\sl-148 \slmult1'/
      DATA
CCO/'\linex0\headery709\footery709\colsx709'/
C SELECT DEFAULT SIZE AS fsNN
      DATA CCR/'{\f1\fs16\lang1033 '/

C REPORT GOES HERE

      DATA CCX/'}{\par }}'/

Add to del.icio.us | Digg this | Stumble it | Powered by Megasolutions Inc