>:) The problem is that i want to use Fonts and Different Sizes, bold,italic
>in my text. Not just a simple text.

Rob's answer may be better for you but remember - HTML can handle your
fonts, sizes, yada, yada.  Google "CSS".  

Using perl, write the text below to a file, name it test2.doc and then open
in Word.  You'll see the formatting.  I don't know about you but I'd rather
send time learning CSS than learning to drive M$ Word programmatically (not
that there's anything wrong with that).  One advantage to doing it this way
is that you can save it as .doc and Word can play with it or you can save as
.html, you only need to change the extension.  HTH. 

<html>
<STYLE TYPE="text/css">
<!--
H1
   {
   color:yellow;
   font-family:Verdana;
   font-size:50pt;
   font-style:italic;
   }
H2
   {
   color:green;
   font-family:Courier;
   font-size:40pt;
   font-style:italic;
   }
H3
   {
   color:blue;
   font-family:Garamond;
   font-size:30pt;
   font-style:italic;
   }
-->
</STYLE>
<H1>Help</H1>
<H2>Help</H2>
<H3>Help</H3>
</html>

-----Original Message-----
From: John [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 07, 2003 8:53 AM
To: Stout, Joel R; Perl Beginners
Subject: Re: Microsoft Word Creation


Have you got the code to test if you concept is what i need?


----- Original Message -----
From: "Stout, Joel R" <[EMAIL PROTECTED]>
To: "'John'" <[EMAIL PROTECTED]>; "Perl Beginners" <[EMAIL PROTECTED]>
Sent: Tuesday, October 07, 2003 6:32 PM
Subject: RE: Microsoft Word Creation


> Good place to ask.  Jenda and some others are great with perl and M$.  One
> thing I've done in the past is to write HTML but save it as a *.doc.
> Example:
>
> Open a file and write:
> <html><h1>test</h1><br/><p><b>test</b> <i>test</i> <u>test</u></p></html>
>
> Save it as test.doc.
>
> Open it in Word.  It show the formatting.  The user can then edit and save
> as a doc file (though the first option will be to save it as a htm file).
>
> Joel
>
>
> -----Original Message-----
> From: John [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, October 07, 2003 8:16 AM
> To: Perl Beginners
> Subject: Microsoft Word Creation
>
>
> I want to create a doc file that will contain my text, fonts, sizes as if
i
> wrote manually.
>
> Can i do that thing?
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to