[Doxygen-users] RE: sample rtf stylesheet
Brought to you by:
dimitri
From: Randall, L. <l-r...@ti...> - 2004-03-03 15:24:23
|
Open a command prompt. =20 Go to any directory in which you want to generate a stylesheet file.=20 (I use C:\temp just because it's easy.) =20 Type "doxygen -w rtf rtfstyle.cfg" =20 (You can use any name, and can use ".txt" as the extension.) Move the file to a directory. =20 Open the file. You will see: Heading1 =3D \s1\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs36\kerning36\cgrid \sbasedon0 \snext0 Heading 1 If you are using a Template style in Word, simply change the RIGHT SIDE name to a Template style name, and attach and add the Template to your document. The below is from my actual mapping. (The Doxygen is inserted under one main heading, hence the mapping of "Heading1" to "2_Heading", etc.) Heading1 =3D \s1\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs36\kerning36\cgrid \sbasedon0 \snext0 2_Heading Heading2 =3D \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid \sbasedon0 \snext0 3_Heading Heading3 =3D \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid \sbasedon0 \snext0 mp_Topic If you are not using a Template, or do not want to map to a Template, you will have to set the style parameters. The below should be close: Heading1 =3D \s1\sb360\sa120\keepn\widctlpar\adjustright=20 \b\f35\fs44\kerning32\cgrid \sbasedon0 \snext0 Heading 1 Heading2 =3D \s1\sb280\sa60\keepn\widctlpar\adjustright \b\f35\fs28\kerning28\cgrid \sbasedon0 \snext0 heading 2 Regards, Larry Randall -----Original Message----- From: dox...@li... [mailto:dox...@li...] On Behalf Of Stolper, Beth Sent: Tuesday, March 02, 2004 15:53 To: dox...@li... Subject: [Doxygen-users] sample rtf stylesheet I need to publish a document very soon but want to change some of Doxygen's default/basic styles. Where can I find a sample rtf stylesheet or explain how to go about doing this?=20 TIA -Beth |