| 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
|
|---|
| 2 | <html>
|
|---|
| 3 | <head>
|
|---|
| 4 | <meta name="GENERATOR" content="PasDoc 0.9.0">
|
|---|
| 5 | <meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
|
|---|
| 6 | <title>mimeinln</title>
|
|---|
| 7 | <link rel="StyleSheet" type="text/css" href="pasdoc.css">
|
|---|
| 8 | </head>
|
|---|
| 9 | <body bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#800080" alink="#FF0000">
|
|---|
| 10 | <h1 class="unit">Unit mimeinln</h1>
|
|---|
| 11 | <table class="sections">
|
|---|
| 12 | <tr>
|
|---|
| 13 | <td><a class="section" href="#@Description">Description</a></td><td><a class="section" href="#@Uses">uses</a></td><td>Classes, Interfaces, Objects and Records</td><td><a class="section" href="#@FuncsProcs">Functions and Procedures</a></td><td>Types</td><td>Constants</td><td>Variables</td></tr></table>
|
|---|
| 14 | <a name="@Description"></a><h2 class="description">Description</h2>
|
|---|
| 15 | <p>
|
|---|
| 16 | Utilities for inline MIME</p>
|
|---|
| 17 | <p>
|
|---|
| 18 | Support for Inline MIME encoding and decoding.
|
|---|
| 19 |
|
|---|
| 20 | <p>Used RFC: RFC-2047, RFC-2231</p>
|
|---|
| 21 | <a name="@Uses"></a><h2 class="uses">uses</h2>
|
|---|
| 22 | <ul class="useslist"><li>SysUtils</li><li>Classes</li><li><a href="synachar.html">synachar</a></li><li><a href="synacode.html">synacode</a></li><li><a href="synautil.html">synautil</a></li></ul><h2 class="overview">Overview</h2>
|
|---|
| 23 | <a name="@FuncsProcs"></a><h3 class="summary">Functions and Procedures</h3>
|
|---|
| 24 | <table class="summary">
|
|---|
| 25 | <tr class="list">
|
|---|
| 26 | <td class="itemcode"><code>function <b><a href="mimeinln.html#InlineDecode">InlineDecode</a></b>(const Value: string; CP: <a href="synachar.html#TMimeChar">TMimeChar</a>): string;</code></td>
|
|---|
| 27 | </tr>
|
|---|
| 28 | <tr class="list2">
|
|---|
| 29 | <td class="itemcode"><code>function <b><a href="mimeinln.html#InlineEncode">InlineEncode</a></b>(const Value: string; CP, MimeP: <a href="synachar.html#TMimeChar">TMimeChar</a>): string;</code></td>
|
|---|
| 30 | </tr>
|
|---|
| 31 | <tr class="list">
|
|---|
| 32 | <td class="itemcode"><code>function <b><a href="mimeinln.html#NeedInline">NeedInline</a></b>(const Value: AnsiString): boolean;</code></td>
|
|---|
| 33 | </tr>
|
|---|
| 34 | <tr class="list2">
|
|---|
| 35 | <td class="itemcode"><code>function <b><a href="mimeinln.html#InlineCodeEx">InlineCodeEx</a></b>(const Value: string; FromCP: <a href="synachar.html#TMimeChar">TMimeChar</a>): string;</code></td>
|
|---|
| 36 | </tr>
|
|---|
| 37 | <tr class="list">
|
|---|
| 38 | <td class="itemcode"><code>function <b><a href="mimeinln.html#InlineCode">InlineCode</a></b>(const Value: string): string;</code></td>
|
|---|
| 39 | </tr>
|
|---|
| 40 | <tr class="list2">
|
|---|
| 41 | <td class="itemcode"><code>function <b><a href="mimeinln.html#InlineEmailEx">InlineEmailEx</a></b>(const Value: string; FromCP: <a href="synachar.html#TMimeChar">TMimeChar</a>): string;</code></td>
|
|---|
| 42 | </tr>
|
|---|
| 43 | <tr class="list">
|
|---|
| 44 | <td class="itemcode"><code>function <b><a href="mimeinln.html#InlineEmail">InlineEmail</a></b>(const Value: string): string;</code></td>
|
|---|
| 45 | </tr>
|
|---|
| 46 | </table>
|
|---|
| 47 | <h2 class="description">Description</h2>
|
|---|
| 48 | <h3 class="detail">Functions and Procedures</h3>
|
|---|
| 49 | <table class="detail">
|
|---|
| 50 | <tr class="list">
|
|---|
| 51 | <td class="itemcode"><a name="InlineDecode"></a><code>function <b>InlineDecode</b>(const Value: string; CP: <a href="synachar.html#TMimeChar">TMimeChar</a>): string;</code></td>
|
|---|
| 52 | </tr>
|
|---|
| 53 | </table>
|
|---|
| 54 | <p>
|
|---|
| 55 | Decodes mime inline encoding (i.e. in headers) uses target characterset "CP".</p>
|
|---|
| 56 | <table class="detail">
|
|---|
| 57 | <tr class="list">
|
|---|
| 58 | <td class="itemcode"><a name="InlineEncode"></a><code>function <b>InlineEncode</b>(const Value: string; CP, MimeP: <a href="synachar.html#TMimeChar">TMimeChar</a>): string;</code></td>
|
|---|
| 59 | </tr>
|
|---|
| 60 | </table>
|
|---|
| 61 | <p>
|
|---|
| 62 | Encodes string to MIME inline encoding. The source characterset is "CP", and the target charset is "MimeP".</p>
|
|---|
| 63 | <table class="detail">
|
|---|
| 64 | <tr class="list">
|
|---|
| 65 | <td class="itemcode"><a name="NeedInline"></a><code>function <b>NeedInline</b>(const Value: AnsiString): boolean;</code></td>
|
|---|
| 66 | </tr>
|
|---|
| 67 | </table>
|
|---|
| 68 | <p>
|
|---|
| 69 | Returns <code>True</code>, if "Value" contains characters needed for inline coding.</p>
|
|---|
| 70 | <table class="detail">
|
|---|
| 71 | <tr class="list">
|
|---|
| 72 | <td class="itemcode"><a name="InlineCodeEx"></a><code>function <b>InlineCodeEx</b>(const Value: string; FromCP: <a href="synachar.html#TMimeChar">TMimeChar</a>): string;</code></td>
|
|---|
| 73 | </tr>
|
|---|
| 74 | </table>
|
|---|
| 75 | <p>
|
|---|
| 76 | Inline mime encoding similar to <a class="normal" href="mimeinln.html#InlineEncode">InlineEncode</a>, but you can specify source charset, and the target characterset is automatically assigned.</p>
|
|---|
| 77 | <table class="detail">
|
|---|
| 78 | <tr class="list">
|
|---|
| 79 | <td class="itemcode"><a name="InlineCode"></a><code>function <b>InlineCode</b>(const Value: string): string;</code></td>
|
|---|
| 80 | </tr>
|
|---|
| 81 | </table>
|
|---|
| 82 | <p>
|
|---|
| 83 | Inline MIME encoding similar to <a class="normal" href="mimeinln.html#InlineEncode">InlineEncode</a>, but the source charset is automatically set to the system default charset, and the target charset is automatically assigned from set of allowed encoding for MIME.</p>
|
|---|
| 84 | <table class="detail">
|
|---|
| 85 | <tr class="list">
|
|---|
| 86 | <td class="itemcode"><a name="InlineEmailEx"></a><code>function <b>InlineEmailEx</b>(const Value: string; FromCP: <a href="synachar.html#TMimeChar">TMimeChar</a>): string;</code></td>
|
|---|
| 87 | </tr>
|
|---|
| 88 | </table>
|
|---|
| 89 | <p>
|
|---|
| 90 | Converts e-mail address to canonical mime form. You can specify source charset.</p>
|
|---|
| 91 | <table class="detail">
|
|---|
| 92 | <tr class="list">
|
|---|
| 93 | <td class="itemcode"><a name="InlineEmail"></a><code>function <b>InlineEmail</b>(const Value: string): string;</code></td>
|
|---|
| 94 | </tr>
|
|---|
| 95 | </table>
|
|---|
| 96 | <p>
|
|---|
| 97 | Converts e-mail address to canonical mime form. Source charser it system default charset.</p>
|
|---|
| 98 | <hr noshade size="1"><span class="appinfo"><em>Generated by <a target="_parent" href="http://pasdoc.sourceforge.net/">PasDoc 0.9.0</a> on 2012-04-23 21:38:51</em>
|
|---|
| 99 | </span>
|
|---|
| 100 | </body></html>
|
|---|