<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: textLayout to print?</title>
	<atom:link href="http://joshua.almirun.com/tech/ria/flex/textlayout-to-print/feed" rel="self" type="application/rss+xml" />
	<link>http://joshua.almirun.com/tech/ria/flex/textlayout-to-print</link>
	<description>technology, politics, armchair philosophy</description>
	<lastBuildDate>Mon, 12 Sep 2011 14:57:24 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Luc Van Pelt</title>
		<link>http://joshua.almirun.com/tech/ria/flex/textlayout-to-print/comment-page-1#comment-3000</link>
		<dc:creator>Luc Van Pelt</dc:creator>
		<pubDate>Tue, 25 Nov 2008 16:18:38 +0000</pubDate>
		<guid isPermaLink="false">http://joshua.almirun.com/?p=198#comment-3000</guid>
		<description>You could write your own import-exportconfiguration like this:
var conf:ImportExportConfiguration = ImportExportConfiguration.defaultConfiguration;
conf.overrideIEInfo(&quot;p&quot;, ParagraphElement, fnImport, fnExport);

fnImport and fnExport are pointers to functions that do the real work:

public static function fnImport(textImporter:Object, tag:XML, parent:FlowElement):void {
}
public static function fnExport(textExporter:Object, p:ParagraphElement):XMLList {
}

In these function you can convert easily to other XML structures.

You can add your own markup the same way using

conf.addIEInfo(&quot;myfield&quot;, MyField, fnImport, fnExport);

Here I&#039;ve modified the default configuration.
You could also create a new instance and pass it to the export() function of the TextFlow.</description>
		<content:encoded><![CDATA[<p>You could write your own import-exportconfiguration like this:<br />
var conf:ImportExportConfiguration = ImportExportConfiguration.defaultConfiguration;<br />
conf.overrideIEInfo(&#8220;p&#8221;, ParagraphElement, fnImport, fnExport);</p>
<p>fnImport and fnExport are pointers to functions that do the real work:</p>
<p>public static function fnImport(textImporter:Object, tag:XML, parent:FlowElement):void {<br />
}<br />
public static function fnExport(textExporter:Object, p:ParagraphElement):XMLList {<br />
}</p>
<p>In these function you can convert easily to other XML structures.</p>
<p>You can add your own markup the same way using</p>
<p>conf.addIEInfo(&#8220;myfield&#8221;, MyField, fnImport, fnExport);</p>
<p>Here I&#8217;ve modified the default configuration.<br />
You could also create a new instance and pass it to the export() function of the TextFlow.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom Chiverton</title>
		<link>http://joshua.almirun.com/tech/ria/flex/textlayout-to-print/comment-page-1#comment-2963</link>
		<dc:creator>Tom Chiverton</dc:creator>
		<pubDate>Mon, 24 Nov 2008 13:36:07 +0000</pubDate>
		<guid isPermaLink="false">http://joshua.almirun.com/?p=198#comment-2963</guid>
		<description>You could just take a client-side snapshot and print that...</description>
		<content:encoded><![CDATA[<p>You could just take a client-side snapshot and print that&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

