RTF Files are pretty easy to create, and can be opened in any word processor, windows, mac, linux, or unix. They
carry a distinct difference from PDF in being easily
editable by end users, whereas PDF authoring is usually
left to technical staff or automation.
If this sounds like what you need, try RTF::Document,
found at http://search.cpan.org/doc/RRWO/RTF-Document-0.64/Document.pm.
Or here's a code sample of a basic rtf if you prefer
to RYO.
{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fswiss\fcharset
+0 Arial;}{\f1\fnil\fcharset2 Symbol;}}
\viewkind4\uc1\pard\b\f0\fs28 Edwards School\b0\fs40\par
\fs20 Grade Report\par
\par
Blah - Blah\par
\pard{\pntext\f1\'B7\tab}{\*\pn\pnlvlblt\pnf1\pnindent0{\pntxtb\'B7}}\
+fi-720\li720 yaketty\par
{\pntext\f1\'B7\tab}scmaketty\par
{\pntext\f1\'B7\tab}placketty\par
}
-Jerry
http://www.mtsol.net "In my line of work, I don't invent many wheels. I just custom fit wheels already in place."
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|