You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by the_mountain <st...@web.de> on 2014/06/03 09:56:08 UTC
Adobe TextLayout Problem
Hello,
I get an XML file from an Adobe.air Programm and must convert this file to
an PDF file.
First step is to convert the XML to a fo file with xslt and then i convert
the fo to PDF.
In the XML file there ist a formatted content like thie
<textFlow>
<flashx.textLayout.elements.TextFlow>
<TextFlow whiteSpaceCollapse="preserve" version="2.0.0"
xmlns="http://ns.adobe.com/textLayout/2008">
<list listStyleType="disc">
<li>
<p>
Liste1 - normal
</p>
</li>
<li>
<p>
Liste2 -
kursiv
</p>
</li>
<li>
<p>
Liste3 -
fett
</p>
</li>
<li>
<p>
Liste4 -
underlinde
</p>
</li>
<li>
<p>
Liste5 -
coloured red
</p>
</li>
</list>
</TextFlow>
</flashx.textLayout.elements.TextFlow>
</textFlow>
how can i convert this style with the xsl file to fo and later to pdf?
--
View this message in context: http://apache-fop.1065347.n5.nabble.com/Adobe-TextLayout-Problem-tp40735.html
Sent from the FOP - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: Adobe TextLayout Problem
Posted by Pascal Sancho <ps...@gmail.com>.
Hi,
you need 1st some background in both:
- xslt (Xml transformation) (see [1]),
- xsl-fo (see [2])
Then the process looks like this:
- stage 0: develop your own xslt
- stage 1: transform your xml, using your xslt, into xsl-fo
- stage 2: feed fop with your xsl-fo and get pdf.
Note that stage 1 and 2 can be done in a single fop call (for
convenience), using command line.
Also, You can start with the Fop website at [3].
[1 ]http://www.w3schools.com/xsl/
[2] http://www.w3schools.com/xslfo/
[3] http://xmlgraphics.apache.org/fop/quickstartguide.html
2014-06-03 9:56 GMT+02:00 the_mountain <st...@web.de>:
> Hello,
>
> I get an XML file from an Adobe.air Programm and must convert this file to
> an PDF file.
> First step is to convert the XML to a fo file with xslt and then i convert
> the fo to PDF.
>
> In the XML file there ist a formatted content like thie
>
> <textFlow>
> <flashx.textLayout.elements.TextFlow>
> <TextFlow whiteSpaceCollapse="preserve" version="2.0.0"
> xmlns="http://ns.adobe.com/textLayout/2008">
> <list listStyleType="disc">
> <li>
> <p>
> Liste1 - normal
> </p>
> </li>
> <li>
> <p>
> Liste2 -
> kursiv
> </p>
> </li>
> <li>
> <p>
> Liste3 -
> fett
> </p>
> </li>
> <li>
> <p>
> Liste4 -
> underlinde
> </p>
> </li>
> <li>
> <p>
> Liste5 -
> coloured red
> </p>
> </li>
> </list>
> </TextFlow>
> </flashx.textLayout.elements.TextFlow>
> </textFlow>
>
> how can i convert this style with the xsl file to fo and later to pdf?
>
>
>
>
> --
> View this message in context: http://apache-fop.1065347.n5.nabble.com/Adobe-TextLayout-Problem-tp40735.html
> Sent from the FOP - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
--
pascal
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org