:) The problem is that i want to use Fonts and Different Sizes, bold,italic
in my text. Not just a simple text.
in my text. Not just a simple text.
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
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" <Stout.Joel@emeryworld.com>
To: "'John'" <sc00170@cc.uoi.gr>; "Perl Beginners" <beginners@perl.org>
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
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: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
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
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: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org