[EMAIL PROTECTED] Wed Apr 07 00:22:24 2004 Return-Path: <[EMAIL PROTECTED]> X-Sender: [EMAIL PROTECTED] X-Apparently-To: [email protected] Received: (qmail 22709 invoked from network); 7 Apr 2004 07:22:23 -0000 Received: from unknown (66.218.66.172) by m16.grp.scd.yahoo.com with QMQP; 7 Apr 2004 07:22:23 -0000 Received: from unknown (HELO smtp.tietoenator.dk) (212.88.83.71) by mta4.grp.scd.yahoo.com with SMTP; 7 Apr 2004 07:22:22 -0000 Received: from dagur.corpdk.inside ([212.88.83.120]) by smtp.tietoenator.dk (SAVSMTP 3.1.2.35) with SMTP id M2004040709221906282 for <[email protected]>; Wed, 07 Apr 2004 09:22:19 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C41C71.0EA1A4F0" Date: Wed, 7 Apr 2004 09:22:17 +0200 Message-ID: <[EMAIL PROTECTED]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Flex + xsl:fo ->svg Thread-Index: AcQcFMDwnf+DLfp3Sj6201OU049LmwAW4I7A To: <[email protected]> X-eGroups-Remote-IP: 212.88.83.71 From: "Tor Kristensen" <[EMAIL PROTECTED]> Subject: Flex + xsl:fo ->svg X-Yahoo-Group-Post: member; u=146851498 X-Yahoo-Profile: tor_kristensen
------_=_NextPart_001_01C41C71.0EA1A4F0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi all, =20 I ran some tests yesterday on a pdf generation system I built for a client using XSL:FO and FOP. ( http://xml.apache.org <http://xml.apache.org/> ) =20 I was a tiny bit skeptical of Flex's native SVG embedding, so I had my system generate a 18 page, heavily formatted SVG document and embedded it into my mxml app. While the 18 pages etc made display slower than desired, all of the formatting, including complex table structures, was rendered correctly. =20 Using a dynamic XSL:FO engine like fop to format xml content as flex readable SVG documents seems to be a good method to allow flex users to browse pdf-like documents. =20 It's always nice to be pleasently surprised. ;) =20 Cheers t =20 ------_=_NextPart_001_01C41C71.0EA1A4F0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:o=3D"urn:schemas-microsoft-com:office:office" xmlns:w=3D"urn:sc= hemas-microsoft-com:office:word" xmlns=3D"http://www.w3.org/TR/REC-html40"> <head> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; charset=3Dus-ascii"= > <meta name=3DProgId content=3DWord.Document> <meta name=3DGenerator content=3D"Microsoft Word 11"> <meta name=3DOriginator content=3D"Microsoft Word 11"> <link rel=3DFile-List href=3D"cid:[EMAIL PROTECTED]"> <!--[if gte mso 9]><xml> <o:OfficeDocumentSettings> <o:DoNotRelyOnCSS/> </o:OfficeDocumentSettings> </xml><![endif]--><!--[if gte mso 9]><xml> <w:WordDocument> <w:GrammarState>Clean</w:GrammarState> <w:DocumentKind>DocumentEmail</w:DocumentKind> <w:EnvelopeVis/> <w:ValidateAgainstSchemas/> <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid> <w:IgnoreMixedContent>false</w:IgnoreMixedContent> <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText> <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel> </w:WordDocument> </xml><![endif]--><!--[if gte mso 9]><xml> <w:LatentStyles DefLockedState=3D"false" LatentStyleCount=3D"156"> </w:LatentStyles> </xml><![endif]--> <style> <!-- /* Font Definitions */ @font-face {font-family:Wingdings; panose-1:5 0 0 0 0 0 0 0 0 0; mso-font-charset:2; mso-generic-font-family:auto; mso-font-pitch:variable; mso-font-signature:0 268435456 0 0 -2147483648 0;} @font-face {font-family:"Bookman Old Style"; panose-1:2 5 6 4 5 5 5 2 2 4; mso-font-charset:0; mso-generic-font-family:roman; mso-font-pitch:variable; mso-font-signature:647 0 0 0 159 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-parent:""; margin:0in; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:12.0pt; font-family:"Times New Roman"; mso-fareast-font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline; text-underline:single;} a:visited, span.MsoHyperlinkFollowed {color:blue; text-decoration:underline; text-underline:single;} p {mso-margin-top-alt:auto; margin-right:0in; mso-margin-bottom-alt:auto; margin-left:0in; mso-pagination:widow-orphan; font-size:12.0pt; font-family:"Times New Roman"; mso-fareast-font-family:"Times New Roman";} tt {font-family:"Courier New"; mso-ascii-font-family:"Courier New"; mso-fareast-font-family:"Times New Roman"; mso-hansi-font-family:"Courier New"; mso-bidi-font-family:"Courier New";} span.emailstyle18 {mso-style-name:emailstyle18; font-family:Arial; mso-ascii-font-family:Arial; mso-hansi-font-family:Arial; mso-bidi-font-family:Arial; color:#5050B4;} span.emailstyle19 {mso-style-name:emailstyle19; font-family:"Bookman Old Style"; mso-ascii-font-family:"Bookman Old Style"; mso-hansi-font-family:"Bookman Old Style"; color:blue; mso-text-animation:none; font-weight:normal; font-style:normal; text-decoration:none; text-underline:none; text-decoration:none; text-line-through:none;} span.EmailStyle21 {mso-style-type:personal-reply; mso-style-noshow:yes; mso-ansi-font-size:10.0pt; mso-bidi-font-size:10.0pt; font-family:Arial; mso-ascii-font-family:Arial; mso-hansi-font-family:Arial; mso-bidi-font-family:Arial; color:#5050B4;} span.GramE {mso-style-name:""; mso-gram-e:yes;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in; mso-header-margin:.5in; mso-footer-margin:.5in; mso-paper-source:0;} div.Section1 {page:Section1;} /* List Definitions */ @list l0 {mso-list-id:522938170; mso-list-template-ids:-575107856;} @list l0:level1 {mso-level-number-format:bullet; mso-level-text:\F0B7; mso-level-tab-stop:.5in; mso-level-number-position:left; text-indent:-.25in; mso-ansi-font-size:10.0pt; font-family:Symbol;} ol {margin-bottom:0in;} ul {margin-bottom:0in;} --> </style> <!--[if gte mso 10]> <style> /* Style Definitions */=20 table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin:0in; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman"; mso-ansi-language:#0400; mso-fareast-language:#0400; mso-bidi-language:#0400;} </style> <![endif]--> </head> <body lang=3DEN-US link=3Dblue vlink=3Dblue style=3D'tab-interval:.5in'> <div class=3DSection1> <p class=3DMsoNormal><font size=3D2 color=3D"#5050b4" face=3DArial><span la= ng=3DDA style=3D'font-size:10.0pt;font-family:Arial;color:#5050B4;mso-ansi-language= :DA'>Hi all,<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#5050b4" face=3DArial><span la= ng=3DDA style=3D'font-size:10.0pt;font-family:Arial;color:#5050B4;mso-ansi-language= :DA'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#5050b4" face=3DArial><span la= ng=3DDA style=3D'font-size:10.0pt;font-family:Arial;color:#5050B4;mso-ansi-language= :DA'><span style=3D'mso-tab-count:1'> &= nbsp; </span></span></font><font size=3D2 color=3D"#5050b4" face=3DArial><span style=3D'font-size:10.0pt;font-family:= Arial; color:#5050B4'>I ran some tests yesterday on a pdf generation system I buil= t for a client using XSL<span class=3DGramE>:FO</span> and FOP.<o:p></o:p></s= pan></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#5050b4" face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial;color:#5050B4'><span style=3D'mso-tab-count:1'> &= nbsp; </span><span class=3DGramE>( </span><a href=3D"http://xml.apache.org/">http://xml.apache.org</a> )<o:p></o:p></spa= n></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#5050b4" face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial;color:#5050B4'><o:p> </o:p= ></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#5050b4" face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial;color:#5050B4'><span style=3D'mso-tab-count:1'> &= nbsp; </span>I was a tiny bit skeptical of Flex’s native SVG embedding, so I had my system generate a 18 page, heavily format= ted SVG document and embedded it into my mxml app.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#5050b4" face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial;color:#5050B4'><span style=3D'mso-tab-count:1'> &= nbsp; </span>While the 18 pages etc made display slower than desired, all of the formatting, including complex table structu= res, was rendered correctly.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#5050b4" face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial;color:#5050B4'><o:p> </o:p= ></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#5050b4" face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial;color:#5050B4'><span style=3D'mso-tab-count:1'> &= nbsp; </span>Using a dynamic XSL<span class=3DGramE>:FO</span> engine like fop to format xml content as flex read= able SVG documents seems to be a good method to allow flex users to browse pdf-l= ike documents.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#5050b4" face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial;color:#5050B4'><o:p> </o:p= ></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#5050b4" face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial;color:#5050B4'><span style=3D'mso-tab-count:1'> &= nbsp; </span>It’s always nice to be pleasently surprised. ;)<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#5050b4" face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial;color:#5050B4'><o:p> </o:p= ></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#5050b4" face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial;color:#5050B4'>Cheers<o:p></o:p= ></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#5050b4" face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial;color:#5050B4'>t<o:p></o:p></sp= an></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#5050b4" face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial;color:#5050B4'><o:p> </o:p= ></span></font></p> </div> </body> </html> ------_=_NextPart_001_01C41C71.0EA1A4F0--

