Hide last authors
Achraf El Kari 1.1 1 {{box cssClass="floatinginfobox" title="**Contents**"}}
2 {{toc/}}
3 {{/box}}
4
Rabie Chettahi 1.5 5 = Definition =
Achraf El Kari 1.1 6
Rabie Chettahi 11.4 7 XmlToPdf connector is to transform data from xml to pdf format, this connector has a specific xsl format called **xsl-fo (**eXtensible Stylesheet Language - Formatting Objects),
Achraf El Kari 1.1 8
Rabie Chettahi 1.5 9 = Icon =
Achraf El Kari 1.1 10
Rabie Chettahi 9.2 11 [[image:1622623889352-242.png]]
Achraf El Kari 1.1 12
Rabie Chettahi 4.1 13
Rabie Chettahi 1.5 14 = Configuration =
Rabie Chettahi 9.2 15
Rabie Chettahi 12.2 16 Generally the XmlToPdf Connector is used with an XmlToXml to adjust the xsl-fo elements.
Rabie Chettahi 9.2 17
18 [[image:1622624000830-921.png]]
19
20
Rabie Chettahi 12.2 21 After adding the xsl-fo to the XmlToXml connector we need to add an output file name in XmlToPdf connector
22
23 [[image:1622629145450-762.png]]
24
25
26
Rabie Chettahi 11.3 27 = XSL-FO structure =
28
Rabie Chettahi 11.2 29 [[image:1622627940452-633.png]]
Rabie Chettahi 9.2 30
Rabie Chettahi 11.2 31
32 **-"fo:root"  :  **Mandatory element for the FO-xsl
33
34 -**"fo:layout-master-set"  :  **for page information like height and width
35
Rabie Chettahi 18.1 36 -**"fo:page-sequence"  :   **the content of the pdf page
Rabie Chettahi 11.2 37
38 -**"fo:static-content"  : **for a static content as like in the beginning ( flow-name="xsl-region-before" ) or the footer of the page (flow-name="xsl-region-after")
39
Rabie Chettahi 18.1 40 -**"fo:flow" :   **the Dynamic content of the pdf pages.
Rabie Chettahi 11.2 41
Rabie Chettahi 10.2 42
Rabie Chettahi 18.1 43 = Example =
Rabie Chettahi 10.2 44
Rabie Chettahi 18.1 45 Please find in the attachment the xml fo (Order_FO_for_PDF.xml) to generate this following pdf:
Rabie Chettahi 10.2 46
Rabie Chettahi 15.2 47 [[image:1622629719334-533.png]]
Rabie Chettahi 11.3 48
Rabie Chettahi 15.2 49
Rabie Chettahi 10.2 50
This wiki is hosted and managed by iXPath
Powered by XWiki 13.3 debian