Using Heading1 style in RTF

  • Thread starter Thread starter guy underhill
  • Start date Start date
G

guy underhill

Hi - i am creating .doc files on the fly from .asp pages. I want to
mark up some headings using the Heading1 (and Heading2, Heading3)
format. I figure stylesheets is the answer, and i can create a style
of my own:

\stylesheet
\*\cs1 \fs40\b\i guy1;}
\*\cs2 \fs40\b\i Heading 1;}
}

'Now use the guy1 style:
'(works fine):
\cs1 \fs40\b\i this is guy1\plain\line

'Now use the Heading 1 style:
'(does not work)
\s2 this is Heading1

how do i define Heading 1 above in the stylesheet? - is it the
whitespace that is causing the problem?

thanks



"Hanging on in quite desperation is the English way"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top