[Cascavel-pm] [OT] Gambiarra do Word
fernandolouis em terra.com.br
fernandolouis em terra.com.br
Quarta Dezembro 5 10:57:37 PST 2007
um simples arquivo word, em que só está escrito uma única palavra: perl
tem o seguinte código-fonte:
# inicío
<html xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:w="urn:schemas-microsoft-com:office:word"
xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 9">
<meta name=Originator content="Microsoft Word 9">
<link rel=File-List href="./perl_arquivos/filelist.xml">
<title>perl</title>
<!--[if gte mso 9]><xml>
<o:DocumentProperties>
<o:Author>Servidor</o:Author>
<o:Template>Normal</o:Template>
<o:LastAuthor>Servidor</o:LastAuthor>
<o:Revision>1</o:Revision>
<o:TotalTime>0</o:TotalTime>
<o:Created>2007-12-05T18:55:00Z</o:Created>
<o:LastSaved>2007-12-05T18:55:00Z</o:LastSaved>
<o:Pages>1</o:Pages>
<o:Characters>4</o:Characters>
<o:Company>Nenhum</o:Company>
<o:Lines>1</o:Lines>
<o:Paragraphs>1</o:Paragraphs>
<o:CharactersWithSpaces>4</o:CharactersWithSpaces>
<o:Version>9.2812</o:Version>
</o:DocumentProperties>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:View>Print</w:View>
<w:HyphenationZone>21</w:HyphenationZone>
<w:Compatibility>
<w:FootnoteLayoutLikeWW8/>
<w:ShapeLayoutLikeWW8/>
<w:AlignTablesRowByRow/>
<w:ForgetLastTabAlignment/>
<w:DoNotUseHTMLParagraphAutoSpacing/>
<w:LayoutRawTableWidth/>
<w:LayoutTableRowsApart/>
</w:Compatibility>
<w:DoNotOptimizeForBrowser/>
</w:WordDocument>
</xml><![endif]-->
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-parent:"";
margin:0cm;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";}
@page Section1
{size:612.0pt 792.0pt;
margin:70.85pt 3.0cm 70.85pt 3.0cm;
mso-header-margin:35.4pt;
mso-footer-margin:35.4pt;
mso-paper-source:0;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=PT-BR style='tab-interval:35.4pt'>
<div class=Section1>
<p class=MsoNormal>perl</p>
</div>
</body>
</html>
# fim
[]s,
Fernando
----- Original Message -----
From: "Nilson Santos Figueiredo Junior" <acid06 em gmail.com>
To: "Cascavel Perl Mongers" <cascavel-pm em pm.org>
Sent: Wednesday, December 05, 2007 4:20 PM
Subject: Re: [Cascavel-pm] [OT] Gambiarra do Word
On Dec 5, 2007 4:14 PM, <fernandolouis em terra.com.br> wrote:
> Recente?
>
> Consegui esse cabeçalho do word 2000...
Esse não é o formato do Word. Isso é o que o Word faz quando salva como
HTML.
O Word também sabe ler HTML convencional.
-Nilson Santos F. Jr.
_______________________________________________
Cascavel-pm mailing list
Cascavel-pm em pm.org
http://mail.pm.org/mailman/listinfo/cascavel-pm
Mais detalhes sobre a lista de discussão Cascavel-pm