Bold in Word (AREV Specific)
At 27 APR 2001 04:58:56AM j scutt wrote:
I have a symbolic field which collects data from a number of sources. Within the field each source is separated using a heading which when printed in ARev I use @(-50) etc to display in Bold.
If I want to export this field for printing in Word how does Word know which words to put into bold. I have looked a documents through ARev and there doesn't seem to be an obvious way.
Thanks
At 27 APR 2001 06:39AM Oystein Reigem wrote:
J,
Do you write to a text file, which later is to be opened in Word and printed from the latter? What about making a Word macro that can convert from your codes to the necessary Word formatting?
(If you need everything to run automatically I'm not the right person to ask. I'm an OI developer and not Arev.)
A different suggestion: Write data in RTF format instead. (Or both if you still need the old format.) It's not too hard. I've appended an example. (You might need a different codepage and have to change that ansicpg1252 in the first line.)
- Oystein -
{\rtf1\ansi\ansicpg1252\uc1
{\fonttbl
{\f1\froman\fcharset0 Courier New;}
}
{\fonttbl
{\f2\froman\fcharset0 Times New Roman;}
}
{\colortbl;
\red0\green0\blue0;
\red0\green0\blue255;
\red0\green255\blue255;
\red0\green255\blue0;
\red255\green0\blue255;
\red255\green0\blue0;
\red255\green255\blue0;
\red255\green255\blue255;
\red0\green0\blue128;
\red0\green128\blue128;
\red0\green128\blue0;
\red128\green0\blue128;
\red128\green0\blue0;
\red128\green128\blue0;
\red128\green128\blue128;
\red192\green192\blue192; }
\pard
\plain
\f1
\fs20
This displays in 10 pt regular Courier New.
\par
Here's something in {\i italics} and {\b bold}.
\par
Now I'll try out various foreground colours:
\par
{\cf1 A}
{\cf2 A}
{\cf3 A}
{\cf4 A}
{\cf5 A}
{\cf6 A}
{\cf7 A}
{\cf8 A}
{\cf9 A}
{\cf10 A}
{\cf11 A}
{\cf12 A}
{\cf13 A}
{\cf14 A}
{\cf15 A}
{\cf16 A}
\par
Let's go down to {\fs10 5 points} and up to {\fs40 20 points} before returning to normal.
\par
What about {\ul underlining a few words}?
\par
Now for that {\f2 other font - Times New Roman}. And back to Courier New again.
\par
}
At 28 APR 2001 05:05AM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:
Apart from Oystein's fine suggestion to use RTF format, a HTML file can contain bold and font instructions readily when contructed from AREV.
World Leaders in all things RevSoft
At 18 MAY 2001 02:02PM j scutt wrote:
Thanks for both your help